/*!
 * style.css
 * Auteur : IARY
 * Description : Grille minimaliste + classes aspect-ratio
 * Date : 2026
 */ 

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.woff2') format('woff2'),
        url('../fonts/icomoon.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

#mail { display:none; }
div#Messages {
  text-align: center;
}
div#Messages p {
  padding: 15px;
}
[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-arrow-right:before {
  content: "\e900";
}
.icon-arrow-up-right:before {
  content: "\e901";
}
.icon-award:before {
  content: "\e902";
}
.icon-calendar:before {
  content: "\e903";
}
.icon-check:before {
  content: "\e904";
}
.icon-chevron-left:before {
  content: "\e905";
}
.icon-chevron-right:before {
  content: "\e906";
}
.icon-chevron-up:before {
  content: "\e907";
}
.icon-compass:before {
  content: "\e908";
}
.icon-external-link:before {
  content: "\e909";
}
.icon-eye:before {
  content: "\e90a";
}
.icon-eye-off:before {
  content: "\e90b";
}
.icon-gift:before {
  content: "\e90c";
}
.icon-home:before {
  content: "\e90d";
}
.icon-instagram:before {
  content: "\e90e";
}
.icon-linkedin:before {
  content: "\e90f";
}
.icon-mail:before {
  content: "\e910";
}
.icon-map-pin:before {
  content: "\e911";
}
.icon-menu:before {
  content: "\e912";
}
.icon-phone:before {
  content: "\e913";
}
.icon-search:before {
  content: "\e914";
}
.icon-smartphone:before {
  content: "\e915";
}
.icon-smile:before {
  content: "\e916";
}
.icon-tool:before {
  content: "\e917";
}
.icon-user:before {
  content: "\e918";
}
.icon-x:before {
  content: "\e919";
}
.icon-x-circle:before {
  content: "\e91a";
}
.icon-youtube:before {
  content: "\e91b";
}

canvas {
  max-width: 100%;
}

ul.slick-dots {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
}
ul.slick-dots li button {
  text-indent: -9999px;
  cursor: pointer;
    padding: 0;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    background-color: var(--color-primary-hover);
}
ul.slick-dots li:hover button,
ul.slick-dots li.slick-active button,
ul.slick-dots li:focus button {
    outline: none;
    box-shadow: none;
    background-color: var(--color-primary);
}
/* ============================
   RESET & BASE TYPOGRAPHY
=============================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  color: #404040;
  background: var(--color-bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================
   TITRES ET TEXTE
=============================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-md);
}

/* ============================
   CONTAINERS & GRILLE
=============================== */

.container {
  width: 100%;
  padding-inline: var(--spacing-md);
  margin-inline: auto;
}

/* ============================
   GRILLE 12 COLONNES MOBILE-FIRST
   Avec 4 breakpoints : 
   - md: ≥768px
   - lg: ≥992px
   - xl: ≥1200px
   - xxl: ≥1400px
=============================== */


#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

/* Conteneur centré */
.loader-spinner {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Loader radial */
.radial-loader {
  width: 60px;
  height: 60px;
  border: 6px solid transparent;
  border-top: 6px solid #b4e4e5; /* couleur du loader */
  border-radius: 50%;
  animation: rotateLoader 1s linear infinite;
}

@keyframes rotateLoader {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: calc(-1 * var(--spacing-sm));
}

[class*="col-"] {
  padding-inline: var(--spacing-sm);
  flex: 0 0 auto;
  width: 100%; 
}

/* ---- MD (≥768px) ---- */
@media (min-width: 768px) {
  .col-md-1  { width: 8.3333%; }
  .col-md-2  { width: 16.6667%; }
  .col-md-3  { width: 25%; }
  .col-md-4  { width: 33.3333%; }
  .col-md-5  { width: 41.6667%; }
  .col-md-6  { width: 50%; }
  .col-md-7  { width: 58.3333%; }
  .col-md-8  { width: 66.6667%; }
  .col-md-9  { width: 75%; }
  .col-md-10 { width: 83.3333%; }
  .col-md-11 { width: 91.6667%; }
  .col-md-12 { width: 100%; }
}

/* ---- LG (≥992px) ---- */
@media (min-width: 992px) {
  .col-lg-1  { width: 8.3333%; }
  .col-lg-2  { width: 16.6667%; }
  .col-lg-3  { width: 25%; }
  .col-lg-4  { width: 33.3333%; }
  .col-lg-5  { width: 41.6667%; }
  .col-lg-6  { width: 50%; }
  .col-lg-7  { width: 58.3333%; }
  .col-lg-8  { width: 66.6667%; }
  .col-lg-9  { width: 75%; }
  .col-lg-10 { width: 83.3333%; }
  .col-lg-11 { width: 91.6667%; }
  .col-lg-12 { width: 100%; }
}

/* ---- XL (≥1200px) ---- */
@media (min-width: 1200px) {
  .col-xl-1  { width: 8.3333%; }
  .col-xl-2  { width: 16.6667%; }
  .col-xl-3  { width: 25%; }
  .col-xl-4  { width: 33.3333%; }
  .col-xl-5  { width: 41.6667%; }
  .col-xl-6  { width: 50%; }
  .col-xl-7  { width: 58.3333%; }
  .col-xl-8  { width: 66.6667%; }
  .col-xl-9  { width: 75%; }
  .col-xl-10 { width: 83.3333%; }
  .col-xl-11 { width: 91.6667%; }
  .col-xl-12 { width: 100%; }
}

/* ---- XXL (≥1400px) ---- */
@media (min-width: 1400px) {
  .col-xxl-1  { width: 8.3333%; }
  .col-xxl-2  { width: 16.6667%; }
  .col-xxl-3  { width: 25%; }
  .col-xxl-4  { width: 33.3333%; }
  .col-xxl-5  { width: 41.6667%; }
  .col-xxl-6  { width: 50%; }
  .col-xxl-7  { width: 58.3333%; }
  .col-xxl-8  { width: 66.6667%; }
  .col-xxl-9  { width: 75%; }
  .col-xxl-10 { width: 83.3333%; }
  .col-xxl-11 { width: 91.6667%; }
  .col-xxl-12 { width: 100%; }
}

/* ======================
   Aspect Ratio Containers
   Support fallback et moderne
======================== */

/* Base conteneur aspect ratio */
.aspect-ratio-box {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Fallback padding-top pour ratio */

/* 1:1 carré */
.aspect-ratio-box.aspect-ratio-1-1::before {
  content: "";
  display: block;
  padding-top: 100%;
}

/* 16:9 */
.aspect-ratio-box.aspect-ratio-16-9::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

/* 4:3 */
.aspect-ratio-box.aspect-ratio-4-3::before {
  content: "";
  display: block;
  padding-top: 75%;
}

/* 3:2 */
.aspect-ratio-box.aspect-ratio-3-2::before {
  content: "";
  display: block;
  padding-top: 66.6667%;
}

/* Contenu en absolu pour remplir le conteneur */
.aspect-ratio-box > * {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
}

/* Support moderne aspect-ratio */
@supports (aspect-ratio: 1 / 1) {
  .aspect-ratio-box {
    aspect-ratio: attr(data-ratio);
  }
}


/* ============================
   BOUTONS
=============================== */

.button {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  cursor: pointer;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.button:hover {
  background-color: var(--color-secondary-hover);
}

/* ============================
   FORMULAIRES
=============================== */

input,
select,
textarea,
button {
  font: inherit;
  padding: var(--spacing-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 100%;
}

label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: bold;
}

/* ============================
   UTILITAIRES
=============================== */

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }

.text-center { text-align: center; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

.hidden { display: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================
   MEDIA QUERIES (desktop only)
=============================== */

@media (min-width: 600px) {
  .container {
    max-width: 540px;
  }

  .row {
    flex-direction: row; 
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: var(--container-max-width);
  }
}


/* ============================
   STYLE DU SITE
=============================== */
/* HEADER */
.header {
  position: relative;
  z-index: 40;
  /*box-shadow: 0 0 20px rgb(0 0 0 / 23%);*/
  background-color: var(--color-white);
  padding: 10px 0;
}
/*.header::after {
  content: "";
  display: block;
  background: #168AFD;
  background: linear-gradient(90deg, rgba(22, 138, 253, 1) 0%, rgba(0, 111, 188, 1) 42%);
  height: 5px;
  position: absolute;
    bottom: 0;
    width: 100%;
}*/

.logo {
  font-size: var(--font-size-lg);
  font-weight: bold;
  color: var(--color-primary);
}

.menu-toggle,
.search-toggle {
  background: none;
  border: none;
  font-size: var(--font-size-lg);
  cursor: pointer;
  margin-left: var(--spacing-sm);
}

.nav {
  display: none;
  flex-direction: column;
  background: var(--color-bg);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: var(--spacing-md);
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}
@media (min-width: 768px) {
  .nav-list {
    position: relative;
    align-items: baseline;
    flex-wrap: wrap;
    width: auto;
    left: inherit;
    padding: 0;
    margin: 0 var(--spacing-m);
  }
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-list a {
  padding: 2px var(--spacing-sm);
  display: block;
  border-radius: var(--border-radius-50);
}
.nav-item:hover > a::before {
  transform: scale(1);
  opacity: 1;
  background-color: var(--color-white);
  box-shadow: 0px 3px 11px 0px rgb(0 36 70 / 7%);
}
.nav-item:hover > a {
  background: var(--color-primary);
  color: var(--color-white);
}

.nav-submenu {
  position: absolute;
  visibility: hidden;
  top: 100%;
  opacity: 0;
  transition: transform .1s linear .5s, opacity .1s linear .5s, visibility .1s linear .5s;
  z-index: 1;
  box-shadow:var(--box-shadows-light);
  flex-direction: column;
  padding-left: var(--spacing-sm);
  margin-top: var(--spacing-xs);
  transform: translateY(20px);
  left: 0;
  width: 280px;
      background: var(--color-white);
    padding: 10px;
}

@media (min-width: 768px) {
  .nav-item:hover > .nav-submenu {
      visibility: visible;
      opacity: 1;
      transition: transform .3s linear, opacity .3s linear, visibility .3s linear;
      transform: translateY(0);
  }
}


.search-form {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--color-bg);
  width: 100%;
  max-width: 300px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: var(--spacing-sm);
}

.search-form.active {
  transform: translateX(0);
}

/* Desktop */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: var(--spacing-md);
    padding: 0;
    width: auto;
    justify-content: center;
  }

  .nav-list {
    flex-direction: row;
    gap: var(--spacing-md);
  }

  .search-form {
    position: absolute;
    top: 100%;
    right: var(--spacing-md);
  }
}
.relative {
  position: relative;
}

/*
Contenu
*/
.ville-detail,
.hero-block,
.block-classement {
  background-image: url(../images/p/bgc-home.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
    padding: 115px 0 80px;
    text-align: center;
}

.ville-detail {
  text-align: left;
  background-attachment: fixed;
}

@media (min-width: 1200px) {
    .carousel-block .container,
    .ville-detail .container {
        max-width: 1088px;
    }
}
/*
Fond parallax
*/
.hero-block {
    position: relative;
    padding-top: 0;
}
#avisVillie.hero-block {
    padding-bottom: 0;
}
.formulaire-avis {
    padding-top: 60px;
    color: black;
}
.container-figure {
  background-color: #dff6f7;
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 400; /* Maintient le ratio sur toutes tailles d’écran */
  overflow: hidden;
}
.Mobile .container-figure {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3 / 4;
  height: 275px;
}
.container-figure img:not(:first-child) {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}
.Mobile .container-figure img:not(:first-child) {
    height: 27%;
}
.img-bg {
  position: relative;
  z-index: 3;
}
.Mobile .img-bg {
    object-fit: cover;
    height: 100%;
}
.img-parallax1 {
  z-index: 2;
}
.img-parallax2 {
  z-index: 3;
}
.container-figure img.img-scroll {
  z-index: 4;
  transition: transform 0.2s ease-out;
      top: 84px;
    width: 90%;
}
.Mobile .container-figure img.img-scroll {
    height: 70%;
}

/* Responsive fallback si aspect-ratio non supporté */
@supports not (aspect-ratio: 1 / 1) {
  .container-figure {
    height: auto;
    padding-top: 17.18%; /* 330 / 1920 = 17.18% */
  }
}

/* Réduction du mouvement sur mobile */
@media (max-width: 768px) {
  .img-parallax1,
  .img-parallax2 {
    transition: none;
    transform: none !important;
  }
}
/*div.hreo-img {
    height: 415px;
    position: relative;
    background-color: #e4f9f8;
    width: 100%;
    overflow: hidden;
    padding-top: 50px;
}
div.hreo-img img {
    width: 100%;
    height: 120%;
    object-fit: contain;
}*/
.hreo-img .item-texte {
    position: absolute;
    z-index: 10;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
}
#avisVillie .hreo-img .item-texte {
  width: 100%;
}
.hero-block .container {
  position: relative;
  z-index: 2;
}
.item-texte {
  margin-bottom: 30px;
}
.item-text2 {
  padding-top: 3rem;
}
.item-texte p {
    margin: 0 auto;
    letter-spacing: 1px;
}
/*.form-search {
  margin-bottom: 40px;
}*/
.form-inline {
  display: flex;
  justify-content: center;
  align-items: center;
}
.label-inline {
    padding-right: 20px;
    margin-bottom: 0;
}
.submit-button-inline-label {
  padding-right: 0;
}
.field-no-label {
  background-color: var(--color-light);
  transition: all .3s ease;
    padding: 10px 20px 10px 60px;
    border-radius: var(--border-radius-21);
    border-style: none;
    box-shadow: 0px 10px 27.5px 0px rgba(0, 4.000000000000042, 67, .05);
    min-width: 450px;
}
.field-no-label:focus {
  border: none;
}
.form-search form {
    position: relative;
}
button.submit-search {
    border: 0;
    background: none;
    padding: 0;
    position: absolute;
    width: 35px;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
}
.submit-button {
  border-radius: var(--border-radius-21);
  padding: 15px 40px 15px;
  background-color: var(--color-secondary);
  color: var(--color-text);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 0 auto;
  min-height: 40px;
  height: auto;
  border: none;
  line-height: inherit;
  transition: 0.4s ease-in-out;
  position: relative;
  overflow: hidden;
  max-width: 250px;
}
#dernier-avis .submit-button,
.atout .submit-button,
.avis-more .submit-button {
  max-width: inherit;
}
.submit-button span {
  position: relative;
  z-index: 2;
}
.submit-button::before {
    content: "";
    position: absolute;
    height: 100%;
    bottom: 0px;
    left: 0px;
    width: 0px;
    background-color: var(--color-primary);
    transition: 0.4s ease-out;
    border-radius: inherit;
}
.submit-button:hover::before {
    background-color: var(--color-secondary-hover);
    width: 100%;
}
.submit-button span i {
    margin-left: 5px;
    margin-top: 6px;
}


.contenu-1 {
  padding: 25px;
  background-color: var(--color-white);
  border-radius: 21px;
  box-shadow: 0px 3px 20px 0px rgba(0,0,0,.07);
  margin-top: -10rem;
  position: relative;
  overflow: hidden;
}
/*.contenu-1::before {
  content: "";
  position: absolute;
  bottom: 0;
  background-image: url(../images/p/maville-fond.png);
  background-repeat: no-repeat;
  background-size: contain;
  height: 376px;
    width: 100%;
    left: 0;
}
.Mobile .contenu-1::before {
  height: 179px;
}*/
/*.contenu-1 {
  margin-bottom: 0px;
  background: url(../images/p/photo-maville.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-transition: opacity .5s ease;
  -o-transition: opacity .5s ease;
  transition: opacity .5s ease;
  overflow: hidden;
  position: relative;
}
.overlay-mask {
  background: url(../images/p/img-mask-ville.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}*/
.Mobile .inner-section .row:first-child {
    flex-direction: column-reverse;
}
.item-section {
    padding: 60px;
    text-align: center;
    position: relative;
    color: var(--color-text);
}
.Mobile .item-section {
  padding: 10px;
}
.item-section h2,
.item-section-2 h2 {
  font-weight: 400;
}
.item-section strong,
.item-section-2 strong {
  color: #028405;
}
.item-section i {
  color: var(--color-text);
}
.item-section > div {
  border-radius: 33px;
  background-color: #ffeec2;
  box-shadow: 0px 23px 27.5px 0px rgba(0, 4.000000000000042, 67, .07);
  transition: background .3s, border .3s, border-radius .3s, box-shadow .3s;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 55px 21px 50px 35px;
  line-height: 150%;
}
.item-section-2 {
    margin-top: 60px;
}
.img-section2 {
    margin-bottom: -93px;
    margin-top: 36px;
}
.img-section2 img {
    max-width: 550px;
}
/*.contenu-1 .row:first-child .item-section > div {
  background-color: var(--color-secondary);
}
.contenu-1 .row:last-child .item-section > div {
  background-color: var(--color-primary);
}*/

#stat1 {
  max-width: 90%;
  margin-top: 4rem;
}
#stat2 {
    bottom: 30px;
    right: 14rem;
    position: absolute;
    width: 200px;
}
#stat3 {
    top: -23px;
    left: 0;
    position: absolute;
    width: 300px;
}

.block-color-home {
    background-color: #e0f6f8;
    padding: 60px 0 200px;
    position: relative;
}
.block-color-home .row {
  justify-content: space-between;
}
.avis-more {
    text-align: center;
}
.avis-more .submit-button {
    display: inline-block;
    max-width: max-content;
}
.item-color-bg {
  color: var(--color-text);
  text-align: center;
  padding-top: 2rem;
}
.item-color-bg h2 {
  color: var(--color-text);
}
.item-color-bg h2 strong {
    display: block;
    font-size: 36px;
    font-weight: 300;
}
.strong-text {
    text-align: center;
    font-size: 24px;
    color: var(--color-text);
    /*margin-top: 5rem;*/
}
.text-soutient {
  padding: 40px 120px 0 120px;
}
.block-classement h2,
.text-soutient h2 {
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--color-primary);
}
.Mobile .block-blog h2,
.Mobile .block-classement h2,
.Mobile .text-soutient h2 {
  font-size: 24px
}

.imgSoutient figure {
  box-shadow: 0px 23px 27.5px 0px rgba(0, 4.000000000000042, 67, .07);
  aspect-ratio: 175 / 128;
  background-color: #f7f7f7;
  border-radius: 30px;
  margin-top: -10rem;
  overflow: hidden;
}
.imgSoutient figure > img,
.item-list-ville figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.imgSoutient figure > img {
  object-fit: contain;
}
.block-color-home ul li,
.block-soutient ul li,
.block-infos ul li {
    padding-left: 35px;
    text-align: left;
    position: relative;
}
.block-color-home ul li::before,
.block-soutient ul li::before,
.block-infos ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  background-image: url(../images/p/icon-check.webp);
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
}
.block-color-home ul li {
    font-size: 18px;
    margin-bottom: 12px;
}
.block-color-home .col-md-4:last-child p strong {
    text-align: left;
    display: block;
}
section.block-soutient {
    position: relative;
}
section.block-soutient .list-ville {
    margin-top: 50px;
}
.atout {
    margin-top: 40px;
}
.atout-item {
    display: flex;
    padding-left: 3rem;
    gap: 30px;
    color: var(--color-text);
}
.atout-item span {
    display: block;
    font-size: 16px;
}

.text-soutient strong {
    color: var(--color-primary);
}
.atout-item img {
    margin-bottom: 1rem;
}
.accroche {
    text-align: center;
    margin-top: 30px;
}
.accroche a {
    display: inline-block;
    width: auto;
}
.block-infos .text-soutient {
  padding: 60px 0 35px 120px;
}
.align-items-center {
  align-items: center;
}
.block-infos .imgSoutient {
  position: relative;
  left: 5rem;
  top: 7rem;
}
.block-infos .imgSoutient figure {
    aspect-ratio: 116 / 120;
    margin-top: 0;
    background-color: white;
}
section.block-infos {
  padding-bottom: 60px;
    position: relative;
    z-index: 1;
}
.plateforme {
  border-radius: 33px;
  background-color: var(--color-secondary);
  background-position: center;
  padding: 40px;
  font-size: 24px;
  color: var(--color-text);
  margin-top: -8rem;
}
.plateforme h3 {
  color: var(--color-text);
}
.block-classement {
  padding-top: 200px;
  margin-top: -150px;
  position: relative;
}

.item-list-ville {
  background-color: var(--color-primary-hover);
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, .07);
    transition: background .3s, border .3s, border-radius .3s, box-shadow .3s;
    padding: 7px;
    border-radius: 8px;
}
.item-list-ville figure {
  aspect-ratio: 79 / 50;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--color-text);
}
.item-list-ville figure img {
  transition: all .3s ease;
}
.item-list-ville figure img:hover {
    transform: scale(1.1);
    opacity: .6;
}
.block-blog .list-ville {
    margin-bottom: 60px;
}
.ville-desc {
    text-align: center;
    padding: 15px 15px 10px;
    font-size: 20px;
    display: block;
}
.blog-container .ville-desc {
    text-align: left;
}
.ville-desc span {
    display: block;
    font-weight: bold;
    color: var(--color-white);
}
.item-clasement {
    background-color: var(--color-white);
    padding: 20px;
    border-radius: 12px;
    margin: 0 15px 15px;
}
.btn-more {
  display: inline-block;
    color: var(--color-text);
    transition: all .3s linear;
}
.btn-more::after {
    content: "";
    display: block;
    border-bottom: 1px solid var(--color-primary);
    margin-top: 7px;
    transition: all .3s linear;
    width: 35%;
}
.btn-more:hover::after {
    width: 100%;
}
.topHeader {
  position: sticky;
  top: 0;
  z-index: 1000;
    padding: 10px 0;
    background-color: var(--color-secondary-hover);
}
.navflex {
    align-items: center;
    display: flex;
    justify-content: space-around;
}
.avis {
    border-top: 1px solid;
    margin-top: 60px;
    padding-top: 60px;
}
/*.item-avis:before {
    content: '';
    background: url(../images/p/quote-left.webp) no-repeat top left;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    width: 35px;
    height: 30px;
}
.item-avis:after {
    content: '';
    background: url(../images/p/quote-right.webp) no-repeat top left;
    background-size: contain;
    position: absolute;
    bottom: 0px;
    right: 0;
    width: 35px;
    height: 30px;
}*/
.rating-star img {
  width: 180px;
    border: 2px solid var(--color-border);
    border-radius: 9px;
}
.block-avis .desc {
    color: black;
    font-weight: bold;
    font-size: 20px;
}
.block-avis .desc a {
    color: var(--color-primary-color);
}
.carousel-avis {
    margin-top: 30px;
}
.bloc_chiffre,
.item-avis {
    padding: 20px;
    line-height: 25px;
    position: relative;
    text-align: left;
    background-color: var(--color-white);
    box-shadow: 0px 23px 27.5px 0px rgba(0, 4.000000000000042, 67, .07);
    border-radius: 20px;
    margin: 75px 15px 50px;
}
span.avatar_author {
    width: 100px;
    height: 100px;
    display: block;
    margin: -97px auto 15px;
}
.block-blog {
  padding: 60px 0;
  background-color: var(--color-primary);
}
.block-blog h2 {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 36px;
    color: var(--color-text);
    text-align: center;
}
.block-blog .item-list-ville {
  background-color: var(--color-white);
}
.item-list-ville a.ville-desc .desc_ {
  font-weight: normal;
  text-align: left;
  font-size: 16px;
  color: var(--color-body);
}
section.pre-footer {
    padding: 60px 0;
    background-color: var(--color-primary-hover);
}
.item-preF {
    color: var(--color-white);
    font-size: 20px;
}
.text-item_ {
    /*padding-top: 35px;*/
    text-align: center;
    color: var(--color-text);
}
.item-footer li {
    margin-bottom: 15px;
    line-height: 20px;
    padding-left: 20px;
    position: relative;
    transition: all .3s ease;
}
.item-footer li:hover {
    margin-left: 7px;
}
.item-footer li::before {
    content: "\e900";
    font-family: 'icomoon';
    position: absolute;
    left: 0;
    font-size: 16px;
}
.lien-voisin {
    margin-top: 35px;
}

.img-section2:has(#lien1) {
  position: relative;
}
.img-section2 img#lien1 {
  max-width: 100%;
}
.img-section2 img#lien2 {
    position: absolute;
    left: 0;
    max-width: 100%;
    top: 3rem;
}
/*
Footer
*/
#footer {
    padding: 45px 0;
}
.copyright {
    text-align: center;
    font-size: 14px;
    border-top: 1px solid;
    margin-top: 35px;
    padding-top: 35px;
    letter-spacing: 1px;
}

/*
Slider text
*/
.item-texte h1,
.item-texte h2 {
    font-size: 36px;
    font-weight: 300;
    color: var(--color-text);
}
.ville-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  font-weight: 800;
  color: var(--color-primary-hover);
  overflow: hidden;
}
#avisVillie .ville-slider {
    font-size: 36px;
}

.vertical-slider {
  height: 72px;
  overflow: hidden;
  position: relative;
}
.ville-slider span {
  margin-right: 7px; 
}

.slider-words {
  display: flex;
  flex-direction: column;
  position: relative;
}

.slider-words div {
  height: 72px;
  line-height: 72px;
  text-align: left;
  color: var(--color-primary);
}

.item-clasement ol {
  list-style: none;
  counter-reset: decimal-counter;
  padding-left: 0;
  text-align: left;
}
.item-clasement h3 {
    border-bottom: 2px solid #dddd;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.item-clasement ol li {
  counter-increment: decimal-counter;
  position: relative;
  margin-bottom: 15px;
  padding-left: 2em;
}

.item-clasement ol li::before {
  content: "0" counter(decimal-counter) ".";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}
.item-clasement ol li:nth-child(1) a:hover {
  color: var(--color-primary);
}
.item-clasement ol li:nth-child(2)::before,
.item-clasement ol li:nth-child(2) a:hover {
  color: #fcbf26;
}
.item-clasement ol li:nth-child(3)::before,
.item-clasement ol li:nth-child(3) a:hover {
  color: #f0866f;
}
.item-clasement ol li:nth-child(4)::before,
.item-clasement ol li:nth-child(4) a:hover {
  color: #565f79;
}
.item-clasement ol li:nth-child(5)::before,
.item-clasement ol li:nth-child(5) a:hover {
  color: #c371ea;
}

.text-item_ .submit-button {
    background-color: #feb546;
    max-width: inherit;
    display: inline;
}
a.submit-button.temoignage_btn {
    background-color: transparent;
    border: 1px solid black;
    margin-top: 4px;
}
.text-soutient hr {
      margin-top: 35px;
    margin-bottom: 35px;
}
@media(max-width: 767px) {
  .navflex {
    display: block;
    text-align: center;
  }
  .field-no-label {
    min-width: 100%;
  }
  .label-inline {
    padding-right: 0;
  }
  .hreo-img .item-texte {
    width: 100%;
    top: 0;
  }
  .item-color-bg h2 strong {
    font-size: 29px;
  }
  .ville-slider {
    font-size: 30px;
  }
  .item-texte h1, .item-texte h2 {
    font-size: 28px;
    font-weight: 300;
    color: var(--color-text);
  }
  #stat2 {
    bottom: 82px;
    right: 61px;
    width: 100px;
  }
  #stat3 {
    top: -78px;
    width: 150px;
  }
  .img-section2 img {
    max-width: 100%;
  }
  .atout-item {
    display: block;
    padding-left: 0;
    text-align: center;
  }
  .atout-item > div {
    margin-bottom: 15px;
  }
  .block-infos .text-soutient,
  .text-soutient {
    padding: 10px;
  }
  .item-list-ville {
    margin-bottom: 15px;
  }
  .block-infos .imgSoutient {
    position: static;
  }
  .plateforme {
    margin-top: 22px;
  }
  .block-classement .col-md-4 {
    margin-bottom: 22px;
  }
  .item-avis {
    padding: 40px 10px 0;
  }
  /*.item-avis:before {
    left: 0;
    width: 56px;
  }
  .item-avis:after {
    bottom: -74px;
    width: 56px;
    height: 70px;
  }*/
  .avis .accroche {
    margin-top: 53px;
  }
}

.block-infos .imgSoutient {
  position: relative;
}
.block-infos .imgSoutient figure img:not(:first-child) {
  position: absolute;
}
.block-infos .imgSoutient figure img:nth-child(2) {
  position: absolute;
    left: 0;
    top: -30rem;
    width: 450px;
    object-fit: contain;
}
.block-infos .imgSoutient figure img:nth-child(3) {
      position: absolute;
    right: -93px;
    width: 250px;
    height: 100%;
    object-fit: contain;
    bottom: 270px;
    z-index: 10;
}
.Mobile .block-infos .imgSoutient figure img:nth-child(2) {
  top: -33rem;
  width: 100%;
  height: 100px;
}

.Mobile .block-infos .imgSoutient figure img:nth-child(3) {
    width: 180px;
    height: 193px;
    bottom: 44rem;
    right: 0;
}
.Mobile .block-infos .imgSoutient {
    left: auto;
    top: auto;
}
.img-section3 {
    position: relative;
}
#sect2,
#sect3 {
    position: absolute;
}
#sect1 {
    position: relative;
    z-index: 2;
}
#sect2 {
    left: 0;
    top: -10rem;
}
#sect3 {
    width: 120px;
    left: 0;
    top: 0;
}
.avis-valides {
    margin-top: 60px;
}
#dernieravis h3 {
    margin-bottom: 25px;
    color: var(--color-primary-hover);
    font-size: 26px;
}
#dernieravis .liste {
    columns: 200px 4;
    column-gap: 10px
}

#dernieravis .liste .list-dernieravis {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 14px;
    text-align: left;
}

#dernieravis .liste .list-dernieravis:nth-child(odd) {
    background: #eeeeee;
}

#dernieravis .liste .list-dernieravis span {
    font-weight: 500
}
.list-dernieravis a {
    margin: 0 7px;
    text-decoration: underline;
    color: #000000;
}
.list-dernieravis a:hover {
    text-decoration: none
}
.list-dernieravis strong {
    color: #001e01;
}
.encartPub {
    padding: 20px;
    background-color: rgb(255 255 255 / 18%);
    margin-top: 45px;
    border-radius: 15px;
    position: relative;
}
.encartPub:before {
    content: "Annonce publicitaire";
    text-align: center;
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #2a7b9b;
}
section.ville-detail,
.carousel-block {
    padding: 60px 0;
}
.carousel-block {
    background-color: #dff6f7;
    color: var(--color-text);
}
.carousel-img-ville-item {
    position: relative;
    height: 350px;
    background-color: #ddd;
    border-radius: 21px;
    overflow: hidden;
}
.carousel-img-ville-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-img-ville-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 18px 18px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.82) 100%);
    color: #ffffff;
}
.carousel-img-ville-meta .photo-legend {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}
.carousel-img-ville-meta .photo-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
    opacity: 0.95;
}
.carousel-img-ville-meta .photo-credit,
.carousel-img-ville-meta .photo-pseudo,
.carousel-img-ville-meta .photo-date {
    display: inline-flex;
    align-items: center;
}
.desc-ville-item {
    margin-left: 5rem;
}
.Mobile .desc-ville-item {
  margin-left: 0;
}

.ville-detail .container > div {
    margin-bottom: 60px;
}
section.ville-detail h2 {
    font-weight: normal;
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.services-list {
    display: grid;
    gap: 20px;
}

.services-list > .col-md-6 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.services-list .bloc_chiffre {
    background: #ffffff;
    border: 1px solid #e8eef3;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
}

.services-list .bloc_chiffre > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* width: 44px; */
    /* height: 44px; */
    margin-bottom: 12px;
}

.services-list .bloc_chiffre > span img {
    /* width: 40px; */
    /* height: 40px; */
    object-fit: contain;
}

.services-list .bloc_chiffre .titre_h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 14px;
}

.services-list .item-block_chiffre ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.services-list .item-block_chiffre li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f3f8;
}

.services-list .item-block_chiffre li span:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0f172a;
    font-weight: 700;
}

@media (max-width: 640px) {
    .services-list .item-block_chiffre ul {
        grid-template-columns: 1fr;
    }
}

/*
Onglet ville statistiques
*/
.tabs {
  width: 100%;
  margin: auto;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-buttons div {
  padding: 10px 15px;
  cursor: pointer;
  background: #e9e9e9;
  margin-right: 5px;
  border-radius: 8px;
  transition: 0.3s;
}
.tab-buttons div {
  margin: 5px;
}

.tab-buttons .active {
  background: var(--color-primary);
    color: var(--color-text);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}
.heading-content {
  text-align: center;
}

.mention-heading {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, rgba(12, 79, 102, 0.95) 0%, rgba(41, 128, 185, 0.95) 100%);
    color: #ffffff;
}

.mention-heading .eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,.87);
}

.mention-heading h1 {
    margin: 0 auto 16px;
    max-width: 760px;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.05;
    font-weight: 700;
    color: #ffffff;
}

.mention-heading p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255,255,255,.9);
    font-size: 1rem;
    line-height: 1.8;
}

.mention-content {
    padding: 60px 0 100px;
    background-color: #f7f9fc;
}

.mention-article {
    background-color: #ffffff;
    padding: 40px 42px;
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
    color: var(--color-text);
    line-height: 1.9;
    max-width: 1040px;
    margin: 0 auto;
}

.mention-article h2,
.mention-article h3,
.mention-article h4 {
    color: var(--color-primary);
    margin-top: 2.2rem;
    margin-bottom: 1rem;
}

.mention-article p,
.mention-article ul,
.mention-article ol,
.mention-article dl {
    margin: 1.2rem 0;
}

.mention-article ul,
.mention-article ol {
    padding-left: 1.3rem;
}

.mention-article li {
    margin-bottom: 0.8rem;
}

.mention-article a {
    color: var(--color-primary);
    text-decoration: underline;
}

.mention-article a:hover {
    color: #0f62fe;
}

.mention-article blockquote {
    margin: 1.8rem 0;
    padding: 24px 28px;
    background-color: #f1f6fb;
    border-left: 4px solid var(--color-primary);
}

.mention-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.mention-article th,
.mention-article td {
    padding: 14px 16px;
    border: 1px solid #e8edf3;
    text-align: left;
}

.mention-article th {
    background-color: #f8fafc;
    font-weight: 700;
}

.contact-heading {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, rgba(10, 80, 108, 0.95) 0%, rgba(25, 118, 210, 0.95) 100%);
    color: #ffffff;
}

.contact-heading .eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
}

.contact-heading h1 {
    margin: 0 auto 16px;
    max-width: 760px;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.05;
    font-weight: 700;
    color: #ffffff;
}

.contact-heading p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255,255,255,.92);
    font-size: 1rem;
    line-height: 1.8;
}

.contact-content {
    padding: 60px 0 100px;
    background-color: #f7f9fc;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 32px;
    max-width: 1180px;
    margin: 0 auto;
}

.contact-details,
.contact-form {
    background-color: #ffffff;
    padding: 36px;
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.contact-details h2 {
    margin-top: 0;
    margin-bottom: 18px;
    color: var(--color-primary);
}

.contact-info-list {
    display: grid;
    gap: 20px;
    margin-top: 24px;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #1f2937;
}

.contact-info-item p,
.contact-info-item a {
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

.contact-info-item a {
    color: var(--color-primary);
    text-decoration: underline;
}

.contact-note {
    margin-top: 24px;
    color: #6b7280;
    font-size: 0.95rem;
}

.contact-form .form-group {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.contact-form label {
    font-weight: 600;
    color: #1f2937;
}

.contact-form .form-input {
    width: 100%;
    min-height: 48px;
    padding: 14px 16px;
    border: 1px solid #d2d6dc;
    border-radius: 12px;
    background: #f8fafc;
    color: #111827;
}

.contact-form textarea.form-input {
    min-height: 160px;
    resize: vertical;
}

.contact-form .form-actions {
    text-align: right;
    margin-top: 10px;
}

.contact-map {
    margin-top: 32px;
    min-height: 360px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

@media(max-width: 960px) {
    .contact-card {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px) {
    .contact-heading {
        padding: 60px 0 40px;
    }
    .contact-content {
        padding: 40px 0 80px;
    }
    .contact-details,
    .contact-form {
        padding: 28px;
    }
}

@media(max-width: 540px) {
    .contact-heading h1 {
        font-size: 2rem;
    }
}

.departements-heading {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.94) 0%, rgba(14, 116, 144, 0.95) 100%);
    color: #ffffff;
}

.departements-heading .eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
}

.departements-heading h1 {
    margin: 0 auto 16px;
    max-width: 760px;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.05;
    font-weight: 700;
    color: #ffffff;
}

.departements-heading p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255,255,255,.92);
    font-size: 1rem;
    line-height: 1.8;
}

.departements-listing {
    padding: 60px 0 100px;
    background-color: #f7f9fc;
}

.departements-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.department-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.department-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.city-image-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e5e7eb;
}

.city-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.department-card .city-content {
    padding: 22px 22px 24px;
}

.department-card .city-name {
    display: block;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.department-card .city-name a {
    color: #0f172a;
    font-weight: 700;
}

.department-card .location-info {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.department-card .location-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.95rem;
}

.department-card .location-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.department-card .department-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid #eef2f7;
}

.department-card .stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.department-card .stat-item strong {
    color: #0f172a;
    font-size: 1rem;
}

.department-card .stat-item span {
    color: #64748b;
    font-size: 0.85rem;
}

@media(max-width: 960px) {
    .departements-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width: 640px) {
    .departements-grid {
        grid-template-columns: 1fr;
    }
    .departements-heading {
        padding: 60px 0 40px;
    }
    .departements-listing {
        padding: 40px 0 80px;
    }
}

.regions-heading {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.95) 0%, rgba(5, 150, 105, 0.95) 100%);
    color: #ffffff;
}

.regions-heading .eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
}

.regions-heading h1 {
    margin: 0 auto 16px;
    max-width: 760px;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.05;
    font-weight: 700;
    color: #ffffff;
}

.regions-heading p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255,255,255,.92);
    font-size: 1rem;
    line-height: 1.8;
}

.regions-section {
    margin-bottom: 40px;
}

.regions-section h2 {
    margin-bottom: 20px;
    color: #0f172a;
    font-size: 1.6rem;
}

.region-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media(max-width: 640px) {
    .region-stats {
        grid-template-columns: 1fr;
    }
}

.search-heading {
    padding: 48px 0 32px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.95) 0%, rgba(59, 130, 246, 0.95) 100%);
    color: #ffffff;
}

@media(max-width: 640px) {
    .search-heading {
        padding: 14px 0 12px;
    }
}

.search-heading .eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
}

@media(max-width: 640px) {
    .search-heading .eyebrow {
        margin-bottom: 8px;
        font-size: 0.75rem;
    }
}

.search-heading h1 {
    margin: 0 auto 16px;
    max-width: 760px;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.05;
    font-weight: 700;
    color: #ffffff;
}

@media(max-width: 640px) {
    .search-heading h1 {
        margin: 0 auto 6px;
        font-size: 1.25rem;
        line-height: 1.15;
    }
}

.search-heading p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255,255,255,.92);
    font-size: 1rem;
    line-height: 1.8;
}

@media(max-width: 640px) {
    .search-heading p {
        display: none;
    }

    .search-heading p.search-results-count {
        display: block;
    }
}

.search-results-count {
    margin-top: 14px;
    font-size: 1.05rem;
}

@media(max-width: 640px) {
    .search-results-count {
        margin-top: 4px;
        font-size: 0.85rem;
    }
}

.search-results-section {
    padding: 60px 0 100px;
    background-color: #f7f9fc;
}

.search-results-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

@media(max-width: 768px) {
    .search-results-card {
        padding: 20px;
    }
}

.tab-content h3 {
    margin-top: 40px;
    text-align: center;
    margin-bottom: 20px;
    text-align: center;
}

/*
Chart js
*/
.Desktop #evolutionChartHabitat {
  height: 360px !important;
  margin: auto;
}
.Desktop #evolutionChart {
  height: 350px !important;
  width: auto !important;
}
.sources {
    font-size: 14px;
    margin-top: 15px;
    color: var(--color-text);
}
canvas#radarCriminaliteCanvas {
  max-width: 400px;
  margin: auto;
}
.bloc-radar {
    background-color: var(--color-light);
    padding: 40px;
    text-align: center;
}
.legend span:first-child {
  margin-right: 5px;
}
.legend span:before,
.legend span:last-child:before {
  content: "•";
  color: #c70039;
  margin-right: 5px;
  font-size: 25px;
  top: 5px;
  position: relative;
}
.legend span:last-child:before {
  color: var(--color-primary);
}
.legend span:last-child select {
  border-radius: 7px;
  color: #3e3e3e;
  font-size: 13px;
  line-height: 20px;
  border: 1px solid rgba(62, 62, 62, .15);
  outline: none;
  transition: all .5s ease-in-out;
  display: inline-block;
  width: auto;
  padding: 5px 10px;
}
.chart-container {
  padding:20px;
}
.villes-autours {
    max-width: 900px;
    margin: auto;
}
.villes-autours a {
    text-decoration: underline;
    margin: 7px;
    color: var(--color-text);
    display: inline-block;
}
.villes-autours a:hover {
    text-decoration: none;
    color: var(--color-primary);
}

.contenu-text {
    grid-template-columns: 1fr 1fr;
    display: grid;
    text-align: left;
    max-width: 960px;
    margin: auto;
    padding: 40px 20px;
    line-height: 28px;
    position: relative;
    background-color: var(--color-white);
    box-shadow: 0px 23px 27.5px 0px rgba(0, 4.000000000000042, 67, .07);
    border-radius: 20px;
}
.Mobile .contenu-text {
  display: block;
}
.adresse {
    padding-right: 3rem;
}
.heure h4,
.adresse h4 {
    border-bottom: 1px solid;
    margin-bottom: 15px;
    padding-bottom: 10px;
    color: var(--color-primary);
}
.adresse li i {
    margin-right: 9px;
}

/*
Bloc chiffre
*/
.bloc_chiffre {
  text-align: center;
  margin: 15px 0;
}
.population .bloc_chiffre {
  min-height: 232px;
}
.securite-guignes .bloc_chiffre {
    min-height: 180px;
}
#population h3 {
    text-align: center;
}
.securite-guignes > h3 {
  margin-top: 15px;
  margin-bottom: 18px;
  text-align: center;
}

.bloc_chiffre strong {
  display: block;
  display: block;
  margin-top: 5px;
  color: var(--color-text);
}
.item-block_chiffre {
    line-height: 100%;
}
.insee_voir_classement {
    text-decoration: underline;
    color: var(--color-primary);
}
.desc-ville-item a {
  text-decoration: underline;
  font-weight: bold;
  color: var(--color-text);
}
.desc-ville-item a.submit-button {
  margin-bottom: 20px;
  margin-left: 0;
  margin-left: 0;
  text-decoration: none;
  max-width: inherit;
}
.desc-ville-item i {
  color: var(--color-primary);
}
section.ville-detail .avis-villes h2,
section.ville-detail .statistiques-villes h2 {
  margin-bottom: 5px;
}
.evaluation-text {
  text-align: center;
  margin-bottom: 15px;
  font-size: 20px;
  color: var(--color-text);
}
.evaluation-text span,
.evaluation-text p {
  display: inline-block;
}
.evaluation-text span {
  position: relative;
  padding-left: 26px;
}
.evaluation-text a {
  text-decoration: underline;
  font-weight: bold;
}
.evaluation-text:before {
  content: "";
  background-image: url(../images/p/icon-star.svg);
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
}

.bloc_chiffre > span {
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: #f1f1f1;
}
.item-block_chiffre ul li {
    text-align: left;
    position: relative;
    border-bottom: 1px dashed #d6d6d6;
    padding-bottom: 8px;
    margin-bottom: 8px;
}
.titre_h4 {
    font-weight: bold;
    color: var(--color-text);
    font-size: 24px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    padding-bottom: 15px;
}
.item-block_chiffre ul li span {
    position: absolute;
    right: 0;
}
.item-block_chiffre ul li span {
    position: absolute;
    right: 0;
}
a.icon-map-pin {
    color: var(--color-primary);
    font-weight: bold;
    margin-right: 5px;
}

.contenu-avis-villes {
  display: flex;
  flex-direction: row;
  margin-bottom: 45px;
  gap: 20px;
}
.Mobile .contenu-avis-villes {
  display: block;
}
.bloc_notemoyenne {
  flex: 2;
  padding: 20px;
      position: relative;
    background-color: #dff6f7;
    border-radius: 15px;
    color: var(--color-text);
}
.bloc_notemoyenne h3 {
    font-size: 25px;
    margin: 0 0 15px 0;
}
.bloc_notemoyenne .total {
    font-size: 90px;
    line-height: 65px;
    color: var(--color-text);
}
.bloc_notemoyenne .total span {
    font-size: 20px;
}
.bloc_notemoyenne .notes {
    margin-top: -20px;
}
.bloc_notemoyenne .nbtotal {
    margin-top: 5px;
}
/*.bloc_notemoyenne:after {
    content: "";
    background: url(../images/p/villes/avis.svg) no-repeat bottom right;
    background-size: contain;
    width: 100%;
    height: 245px;
    position: absolute;
    bottom: 0;
    right: -10px;
    pointer-events: none;
}*/
.right-avis {
  flex: 10;
}
.right-avis .col-md-3 {
  max-width: 20%;
  flex: 0 20%;
}
.Mobile .right-avis .col-md-3 {
  max-width: 100%;
  flex: 0 100%;
}
.notes > i {
  background: url('../images/p/rating-sprit.webp') no-repeat;
  display: inline-block;
  height: 23px;
  width: 120px;
  margin-right: 15px;
}
.avis-0 {
  background-position: 0 0 !important;
}
.avis-1 {
  background-position: 0 -25px !important;
}
.avis-2 {
  background-position: 0 -50px !important;
}
.avis-3 {
  background-position: 0 -75px !important;
}
.avis-4 {
  background-position: 0 -100px !important;
}
.avis-5 {
  background-position: 0 -125px !important;
}
.avis-6 {
  background-position: 0 -150px !important;
}
.avis-7 {
  background-position: 0 -175px !important;
}
.avis-8 {
  background-position: 0 -200px !important;
}
.avis-9 {
  background-position: 0 -225px !important;
}
.avis-10 {
  background-position: 0 -250px !important;
}

.avis-villes h3 {
  text-align: center;
  margin-bottom: 25px;
}

/*
Commentaire
*/
#commentaires h2 {
    margin-bottom: 10px
}

#commentaires .stitre {
    margin: 0 auto;
    width: fit-content;
    background: #fff;
    color: #2a7b9b;
    padding: 5px;
    border-radius: 7px;
    border: 1px solid #2a7b9b;
    display: block;
    font-size: 13px;
    line-height: 18px;
    text-align: center
}

#commentaires .commentaires .commentaire:after {
    content: "";
    width: 1px;
    background: rgb(189.3020304569, 223.6345177665, 237.1979695431);
    height: calc(100% - 30px);
    position: absolute;
    top: 15px;
    left: 325px;
}

#commentaires .select{
    clear: both;
    background: #fff;
    padding: 10px;
    text-align: left;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 -10px 0 -10px;
    position: sticky;
    top: 100px;
    z-index: 5;
    width: calc(100% + 20px)
}

#commentaires .select select {
    background: #c70039;
    color: var(--color-white);
    padding: 10px;
    max-width: 200px;
    width: calc(50% - 10px)
}

#commentaires .select select option,
#commentaires .select select optgroup {
    background: #fff;
    color: #3e3e3e
}

#commentaires .select a {
    font-size: 18px;
    flex: 100%;
    text-align: center;
    display: inline-block
}

#commentaires .pinel {
    margin-top: 90px
}

#commentaires .commentaires {
  margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    gap: 5px
}

#commentaires .commentaires.aucun {
    margin-top: 0
}
.btn-block {
  display: flex;
}
#commentaires .commentaires .reponses {
    display: none;
    flex-direction: column;
    gap: 10px
}

#commentaires .commentaires .commentaire {
    background: var(--color-white);
    box-shadow: 0px 23px 27.5px 0px rgba(0, 4.000000000000042, 67, .07);
    border-radius: 7px;
    padding: 15px;
    display: block;
    text-decoration: none;
    color: #3e3e3e;
    position: relative;
}

@media(max-width: 768px) {
    #commentaires .commentaires .commentaire {
        width: 100%;
    }
}

#commentaires .commentaires .commentaire.bdmv {
    background: #dff6f7;
    padding-bottom: 15px
}

#commentaires .commentaires .commentaire.bdmv .auteur {
    margin-bottom: 15px
}

#commentaires .commentaires .commentaire.bdmv .auteur small {
    display: block;
    font-size: 15px
}

#commentaires .commentaires .commentaire.bdmv .description {
    padding-bottom: 0
}

#commentaires .commentaires .commentaire .auteur {
    font-size: 20px;
    margin-bottom: 10px;
    display: block
}

#commentaires .commentaires .commentaire .total {
    margin-bottom: 5px
}

#commentaires .commentaires .commentaire .notes {
    margin-bottom: 10px
}

#commentaires .commentaires .commentaire .notes span {
    display: inline-block;
    padding-left: 30px;
    position: relative;
    line-height: 24px;
    margin-right: 10px
}

#commentaires .commentaires .commentaire .notes span:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 24px;
    height: 24px;
    background: #ebebeb;
    border-radius: 7px;
    background-size: 18px 18px;
    background-repeat: no-repeat;
    background-position: center center
}

#commentaires .commentaires .commentaire .notes span.Securite:before {
    background-image: url("../images/p/villes/icons/icon-securite.webp")
}

#commentaires .commentaires .commentaire .notes span.Education:before {
    background-image: url("../images/p/villes/icons/icon-education.webp")
}

#commentaires .commentaires .commentaire .notes span.Sport:before {
    background-image: url("../images/p/villes/icons/icon-pop-active.webp")
}

#commentaires .commentaires .commentaire .notes span.Environnement:before {
    background-image: url("../images/p/villes/icons/icon-envireonnement.webp")
}

#commentaires .commentaires .commentaire .notes span.ViePratique:before {
    background-image: url("../images/p/villes/icons/icon-ville.webp")
}

#commentaires .commentaires .commentaire .date {
    margin-bottom: 5px;
    /* padding-left: 20px; */
}

#commentaires .commentaires .commentaire .description {
    display: block;
    padding-bottom: 20px;
    overflow-wrap: break-word;
    /* padding-left: 25px; */
}

#commentaires .commentaires .commentaire .repondre {
    color: #c70039;
    font-weight: 500;
    padding: 7px 15px;
    display: inline-block;
    border-radius: 50px;
    border: 1px solid #c70039;
    transition: all .5s ease-in-out;
    text-decoration: none;
    margin-right: 2px;
    background: rgba(0,0,0,0);
    cursor: pointer
}

#commentaires .commentaires .commentaire .repondre:hover {
    background: #c70039;
    color: var(--color-white)
}

#commentaires .commentaires .commentaire .pouces {
    display: inline-block
}

#commentaires .commentaires .commentaire .pouces .pouce {
    background: #fff;
    padding: 7px 15px;
    border-radius: 50px;
    display: inline-block;
    cursor: pointer;
    transition: all .5s ease-in-out;
    border: none
}

#commentaires .commentaires .commentaire .pouces .pouce i {
    color: #008302;
    font-size: 20px;
    margin-right: 5px;
    transition: all .5s ease-in-out
}

#commentaires .commentaires .commentaire .pouces .pouce:first-child {
    margin-right: 2px
}

#commentaires .commentaires .commentaire .pouces .pouce:last-child i {
    color: #c70039
}

#commentaires .commentaires .commentaire .pouces .pouce:hover,
#commentaires .commentaires .commentaire .pouces .pouce.actif{
    background: #008302
}

#commentaires .commentaires .commentaire .pouces .pouce:hover i,
#commentaires .commentaires .commentaire .pouces .pouce.actif i {
    color: var(--color-white)
}

#commentaires .commentaires .commentaire .pouces .pouce:hover:first-child,
#commentaires .commentaires .commentaire .pouces .pouce.actif:first-child {
    background: #008302
}

#commentaires .commentaires .commentaire .pouces .pouce:hover:last-child,
#commentaires .commentaires .commentaire .pouces .pouce.actif:last-child{
    background: #c70039
}

#commentaires .commentaires .commentaire .signalement {
    color: #c70039;
    text-decoration: underline;
    transition: all .5s ease-in-out;
    cursor: pointer;
    display: inline-block;
    background: rgba(0,0,0,0);
    border: none
}

#commentaires .commentaires .commentaire .signalement:hover {
    color: #3e3e3e
}

#commentaires .commentaires .commentaire.reponse {
    margin-left: 15px;
    background: rgb(189.3020304569,223.6345177665,237.1979695431)
}

#commentaires .commentaires .commentaire.reponse .auteur {
    position: relative
}

#commentaires .commentaires .commentaire.reponse .auteur:before {
    content: "";
    position: absolute;
    top: -15px;
    left: -30px;
    width: 10px;
    height: 15px;
    border-left: 2px solid #2a7b9b;
    border-bottom: 2px solid #2a7b9b
}

#commentaires .commentaires .commentaire.reponse .auteur:after {
    content: "";
    position: absolute;
    top: -6px;
    left: -30px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #2a7b9b;
    border-top: 2px solid #2a7b9b;
    transform: rotate(45deg)
}

#commentaires .commentaires .commentaire.reponse+.reponse .auteur:before,
#commentaires .commentaires .commentaire.reponse+.reponse .auteur:after {
    display: none
}

#commentaires .commentaires .commentaire.topcommentaire {
    background: #dff6f7;
}

#commentaires .commentaires .commentaire.topcommentaire .topinfo {
    position: absolute;
    top: -30px;
    right: 0;
    background: rgb(255,239.8,244.1537688442);
    color: #c70039;
    font-weight: bold;
    padding: 5px 10px 15px 10px;
    border-radius: 7px
}

#commentaires .commentaires .commentaire.topcommentaire .notes span:before {
    background-color: var(--color-white)
}

#commentaires .commentaires .voirreponse {
    display: block;
    margin-left: 15px;
    position: relative;
    background: rgba(0,0,0,0);
    border: none;
    transition: all .5s ease-in-out;
    text-align: left;
    cursor: pointer
}

#commentaires .commentaires .voirreponse:hover {
    color: #c70039
}

#commentaires .commentaires .voirreponse:before {
    content: "";
    position: absolute;
    top: -5px;
    left: -15px;
    width: 10px;
    height: 15px;
    border-left: 2px solid #2a7b9b;
    border-bottom: 2px solid #2a7b9b
}

#commentaires .commentaires .voirreponse:after {
    content: "";
    position: absolute;
    top: 4px;
    left: -15px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #2a7b9b;
    border-top: 2px solid #2a7b9b;
    transform: rotate(45deg)
}

#commentaires .commentaires .reclame {
    margin-top: 45px;
    margin-bottom: 45px
}

#commentaires .reclame {
    margin-left: -10px;
    margin-right: -10px;
    width: calc(100% + 20px)
}

#commentaires #emplacements{
    margin-top: 45px;
    margin-left: -10px;
    margin-right: -10px;
    width: calc(100% + 20px)
}


/*
Table
*/
.table-responsive {
    overflow-y: auto;
    font-size: 14px;
    color: var(--color-text);
}
.villeavis_voisine {
  color: var(--color-text);
  text-decoration: underline;
}
.table-responsive .top {
    color: var(--color-primary);
}
.table-responsive .flop {
    color: #c70039;
    font-weight: 500;
}
table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse
}

table thead {
    background: rgb(229.4289340102,242.7918781726,248.0710659898)
}

table thead tr th {
    text-align: left;
    padding: 10px 5px;
    font-weight: normal
}

table thead tr th:first-child {
    font-weight: bold;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px
}

table thead tr th:last-child {
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px
}

table tbody tr {
    border-bottom: 1px solid rgba(62,62,62,.15)
}

table tbody tr td {
    padding: 10px 5px;
    vertical-align: top
}

table tbody tr td.nowrap {
    white-space: nowrap
}

table tbody tr:last-child {
    border-bottom: none
}

table tbody tr:hover {
    background: rgb(229.4289340102,242.7918781726,248.0710659898)
}

.tab_compare select {
    margin: 0 5px -34px auto;
    width: fit-content;
    display: block;
    height: 30px;
    position: relative;
    padding: 5px 15px
}

.tab_compare table thead tr th {
    display: none
}

.tab_compare table thead tr th:first-child {
    display: table-cell;
    padding-left: 15px
}

.tab_compare table thead tr th.actif {
    text-align: right;
    white-space: nowrap;
    display: table-cell;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px
}

.tab_compare table tbody tr td {
    display: none
}

.tab_compare table tbody tr td:first-child {
    display: table-cell
}

.tab_compare table tbody tr td.actif {
    text-align: right;
    display: table-cell;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px
}

.tab_compare table tbody tr:nth-child(n+16) {
    display: none
}

.tab_compare .showmore {
    position: absolute;
    bottom: 20px;
    left: 50%;
    background: linear-gradient(to bottom, transparent, 5%, #ffffff);
    width: 100%;
    text-align: center;
    line-height: 40px;
    text-shadow: 0 0 10px #fff;
    cursor: pointer;
    transition: all .5s ease-in-out;
    max-width: 1200px;
    transform: translateX(-50%);
    border: none
}

.tab_compare .showmore:hover {
    color: #c70039
}

.tab_compare .showmore:after {
    content: "+";
    font-weight: 900;
    margin-left: 5px
}

.tab_compare .showmore:before {
    content: "+";
    font-weight: 900;
    margin-right: 5px
}

@media(min-width: 992px) {
    .tab_compare select {
        display:none
    }

    .tab_compare table thead tr th {
        display: table-cell
    }

    .tab_compare table thead tr th.actif {
        border-radius: 0
    }

    .tab_compare table tbody tr td {
        display: table-cell
    }

    .tab_compare table tbody tr td.actif {
        border-radius: 0
    }

    .tab_compare .showmore {
        bottom: 46px
    }

    table thead tr td,table thead tr th,table tbody tr td,table tbody tr th {
        padding-left: 10px;
        padding-right: 10px
    }
}

.lieux-dits .block-classement ol {
    text-align: center;
}
.lieux-dits .block-classement {
    margin-top: 0;
    padding: 0;
}
.lieux-dits  .item-clasement ol li {
    display: inline-block;
    margin: 15px;
    color: block;
    font-size: 20px;
}

#politique h3 {
    text-align: center;
    margin: 30px 0 20px 0
}
.commercant h3  {
  text-align: center;
  margin-bottom: 20px;
}

#politique .contenu {
    /* display: flex; */
    /* gap: 20px 50px; */
}
.Mobile #politique .contenu {
  flex-direction: column
}

#politique .contenu .tour1 {
    flex: 1
}

#politique .contenu .tour1 h4,
#politique .contenu .tour2 h4{
    text-align: center
}

#politique .contenu .tour1 .candidat,
#politique .contenu .tour2 .candidat {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px
}

#politique .contenu .tour1 .candidat .nom,
#politique .contenu .tour2 .candidat .nom{
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center
}

#politique .contenu .tour1 .candidat .nom img,
#politique .contenu .tour2 .candidat .nom img {
    width: 40px;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top center;
    border-radius: 100%;
    display: block
}

#politique .contenu .tour1 .candidat .jauge,
#politique .contenu .tour2 .candidat .jauge {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(62,62,62,.15);
    height: 8px;
    border-radius: 7px
}

#politique .contenu .tour1 .candidat .jauge span,
#politique .contenu .tour2 .candidat .jauge span {
    height: 8px;
    border-radius: 7px;
    background: #b00;
    display: block
}

#politique .contenu .tour1 .candidat .jauge.election_1 span,
#politique .contenu .tour2 .candidat .jauge.election_1 span{
    background: #d00
}

#politique .contenu .tour1 .candidat .jauge.election_2 span,
#politique .contenu .tour2 .candidat .jauge.election_2 span {
    background: #ffeb00
}

#politique .contenu .tour1 .candidat .jauge.election_3 span,
#politique .contenu .tour2 .candidat .jauge.election_3 span {
    background: #0055a4
}

#politique .contenu .tour1 .candidat .jauge.election_4 span,
#politique .contenu .tour2 .candidat .jauge.election_4 span{
    background: #0d378a
}

#politique .contenu .tour1 .candidat .jauge.election_5 span,
#politique .contenu .tour2 .candidat .jauge.election_5 span{
    background: #404040
}

#politique .contenu .tour1 .candidat .jauge.election_6 span,
#politique .contenu .tour2 .candidat .jauge.election_6 span {
    background: #cc2443
}

#politique .contenu .tour1 .candidat .jauge.election_7 span,
#politique .contenu .tour2 .candidat .jauge.election_7 span {
    background: #ff8080
}

#politique .contenu .tour1 .candidat .jauge.election_8 span,
#politique .contenu .tour2 .candidat .jauge.election_8 span{
    background: #00c000
}

#politique .contenu .tour1 .candidat .jauge.election_9 span,
#politique .contenu .tour2 .candidat .jauge.election_9 span {
    background: #06c
}

#politique .contenu .tour1 .candidat .jauge.election_10 span,
#politique .contenu .tour2 .candidat .jauge.election_10 span {
    background: #b00
}

#politique .contenu .tour1 .candidat .jauge.election_11 span,
#politique .contenu .tour2 .candidat .jauge.election_11 span {
    background: #0082c4
}

#politique .contenu .tour1 .candidat .score,
#politique .contenu .tour2 .candidat .score {
    flex: .5;
    text-align: right
}

#politique .contenu .tour1 .total,
#politique .contenu .tour2 .total {
    margin-top: 20px;
    font-size: 12px;
    line-height: 15px
}


/*
Page avis
*/
.formulaire-avis #form {
    padding-top: 0;
    padding-bottom: 0
}

.formulaire-avis form {
    display: flex;
    flex-direction: column
}

.formulaire-avis form label {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
    color: var(--color-text);
}

.formulaire-avis form fieldset {
    border: none;
    background: rgb(221 222 224);
    border-radius: 7px;
    padding: 10px;
    margin-bottom: 20px
}

.formulaire-avis form fieldset small {
    font-size: 12px;
    display: block;
    margin-top: 10px
}

.formulaire-avis form label[for=note_pseudo],.formulaire-avis form label[for=note_email] {
    display: none
}

.formulaire-avis form .form-btn {
    margin-top: 20px
}

.formulaire-avis form .error {
    display: none;
    color: #c70039
}

.formulaire-avis form .part:last-child {
    padding-bottom: 100px;
    background: url("../images/p/envoi.svg") no-repeat bottom right;
    background-size: contain
}

.formulaire-avis form #quartier {
    display: none
}

.formulaire-avis form #quartier.show {
    display: block
}

.formulaire-avis form .cadre_note_ville {
    position: relative
}

.formulaire-avis form .cadre_note_ville .result {
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 67px;
    background: #fff;
    color: #3e3e3e;
    list-style-type: none;
    padding: 0;
    margin: 0;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    box-shadow: 0 40px 40px 0 rgba(62,62,62,.4);
    max-height: calc(100vh - 50px);
    overflow: auto;
    z-index: 2
}

.formulaire-avis form .cadre_note_ville .result li a {
    display: block;
    padding: 14px 15px;
    color: inherit;
    text-decoration: none
}

.formulaire-avis form .cadre_note_ville .result li a:hover {
    color: #c70039
}

.formulaire-avis form .cadre_note_ville .result li.vide {
    padding: 14px 15px
}

.formulaire-avis form .vote>p {
    margin-bottom: 10px;
    font-size: 12px;
    font-style: italic
}

.formulaire-avis form .vote .form-group .notes {
    display: flex;
    flex-direction: row;
    background: url("../images/p/villes/icons/icon-securite.webp") no-repeat center left 10px #ffffff;
    border-radius: 7px;
    padding: 16px 10px 5px 65px;
    margin-bottom: 15px;
    background-size: 47px;
    justify-content: space-around;
}

.formulaire-avis form .vote .form-group .notes .radio {
    position: relative;
    flex: 1;
    text-align: center;
    padding-top: 35px;
    background: url("../images/note/note0.svg") no-repeat top center;
    background-size: 30px auto;
    cursor: pointer;
    opacity: .5;
    transition: all .5s ease-in-out;
    color: var(--color-text);
    max-width:45px;
}

/*.formulaire-avis form .vote .form-group .notes .radio:after {
    content: "";
    width: 30px;
    height: 30px;
    border: 2px solid var(--color-primary);
    display: block;
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 100%
}*/

.formulaire-avis form .vote .form-group .notes .radio:hover,
.formulaire-avis form .vote .form-group .notes .radio:has(input:checked) {
    opacity: 1
}

.formulaire-avis form .vote .form-group .notes .radio input {
    position: absolute;
    opacity: 0
}

.formulaire-avis form .vote .form-group .notes .radio:nth-child(2) {
    background-image: url("../images/note/note1.svg")
}

.formulaire-avis form .vote .form-group .notes .radio:nth-child(3) {
    background-image: url("../images/note/note2.svg")
}

.formulaire-avis form .vote .form-group .notes .radio:nth-child(4) {
    background-image: url("../images/note/note3.svg")
}

.formulaire-avis form .vote .form-group .notes .radio:nth-child(5) {
    background-image: url("../images/note/note4.svg")
}

.formulaire-avis form .vote .form-group .notes .radio:nth-child(6) {
    background-image: url("../images/note/note5.svg")
}

.formulaire-avis form .vote .form-group:nth-child(2) .notes {
    background-position: left 10px center
}

.formulaire-avis form .vote .form-group:nth-child(3) .notes {
    background-image: url("../images/p/villes/icons/icon-education.webp")
}

.formulaire-avis form .vote .form-group:nth-child(4) .notes {
    background-image: url("../images/p/villes/icons/icon-pop-active.webp")
}

.formulaire-avis form .vote .form-group:nth-child(5) .notes {
    background-image: url("../images/p/villes/icons/icon-envireonnement.webp")
}

.formulaire-avis form .vote .form-group:nth-child(6) .notes {
    margin-bottom: 0;
    background-image: url("../images/p/villes/icons/icon-ville.webp")
}

@media(min-width: 768px) {
    .formulaire-avis #intro {
        background-position:center left 5px,center right 5px
    }

    .formulaire-avis form {
        flex-direction: row;
        gap: 20px
    }

    .formulaire-avis form .part {
        flex: 1
    }

    .formulaire-avis form .part:last-child {
        padding-bottom: 200px
    }

    .formulaire-avis form {
        display: flex;
        flex-wrap: wrap;
    }

    .formulaire-avis form .part {
        flex: 1;
        min-width: 0;
    }

    .consent-section {
        width: 100%;
        margin-top: 20px;
        order: 3;
    }

    .form-submit-section {
        width: 100%;
        order: 4;
        margin-top: 20px;
        display: flex;
        justify-content: center;
    }

    .form-submit-section .submit-btn {
        width: auto;
        padding: 14px 32px;
        font-size: 1.05rem;
        font-weight: 700;
        border-radius: 50px;
        background-color: #007bff;
        color: #fff;
        border: none;
        box-shadow: 0 10px 24px rgba(0, 123, 255, 0.24);
        transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
        cursor: pointer;
        min-width: 220px;
    }

    .form-submit-section .submit-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 30px rgba(0, 123, 255, 0.28);
        background-color: #0069d9;
    }

    .formulaire-avis form fieldset {
        padding: 20px
    }

    .formulaire-avis form label[for=note_pseudo],.formulaire-avis form label[for=note_email] {
        display: block
    }

    .formulaire-avis form .vote .form-group .notes {
        padding-left: 75px
    }

    .formulaire-avis form .vote .form-group .notes .radio {
        padding-top: 45px;
        background-size: auto
    }

    .formulaire-avis form .vote .form-group .notes .radio:after {
        width: 45px;
        height: 45px;
        border-width: 5px
    }

    .formulaire-avis form .vote .form-group:nth-child(1) .notes {
        background-position: left 20px center
    }
}
/* Classe de base pour tous les réseaux sociaux */
.Rs {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
    margin-right:2px;
}

.Rs:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Facebook */
.RsFb {
    color: #1877F2;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/></svg>');
}

/* Instagram */
.RsInsta {
    color: #E4405F;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"/></svg>');
}

/* LinkedIn */
.RsLn {
    color: #0A66C2;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg>');
}

/* Twitter / X */
.RsTw {
    color: #000000;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg>');
}

/* YouTube */
.RsYt {
    color: #FF0000;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg>');
}

/* Variantes de taille (optionnel) */
.Rs-sm { width: 16px; height: 16px; }
.Rs-lg { width: 32px; height: 32px; }
.Rs-xl { width: 48px; height: 48px; }


.ligne-horaire.jour-actuel {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 6px 10px;
    font-weight: 600;
}


    /* Styles pour les avis */
        .avis-item {
            background: #f9f9f9;
            padding: 20px;
            margin-bottom: 20px;
            border-radius: 6px;
            border-left: 4px solid #4CAF50;
        }

        .avis-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .avis-auteur {
            font-weight: 600;
            color: #333;
            font-size: 16px;
        }

        .avis-date {
            color: #666;
            font-size: 14px;
        }

        .avis-contenu {
            color: #555;
            margin-bottom: 15px;
            line-height: 1.6;
        }

        .btn-repondre {
            background-color: #2196F3;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .btn-repondre:hover {
            background-color: #1976D2;
        }

        /* Styles pour la popup */
        .popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            animation: fadeIn 0.3s;
        }

        .popup-overlay.active {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .popup-content {
            background: white;
            padding: 30px;
            border-radius: 8px;
            width: 90%;
            max-width: 500px;
            position: relative;
            box-shadow: 0 5px 30px rgba(0,0,0,0.3);
            animation: slideUp 0.3s;
        }

        @keyframes slideUp {
            from {
                transform: translateY(50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .popup-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .popup-title {
            font-size: 22px;
            color: #333;
            font-weight: 600;
        }

        .btn-close {
            background: none;
            border: none;
            font-size: 28px;
            color: #666;
            cursor: pointer;
            line-height: 1;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            transition: background-color 0.3s;
        }

        .btn-close:hover {
            background-color: #f0f0f0;
            color: #333;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #333;
            font-weight: 500;
            font-size: 14px;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            font-family: inherit;
            transition: border-color 0.3s;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #2196F3;
        }

        .form-group textarea {
            min-height: 120px;
            resize: vertical;
        }

        .form-group small {
            display: block;
            margin-top: 5px;
            color: #666;
            font-size: 12px;
        }

        .form-actions {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
            margin-top: 25px;
        }

        .btn-submit {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: background-color 0.3s;
        }

        .btn-submit:hover {
            background-color: #45a049;
        }

        .btn-cancel {
            background-color: #f0f0f0;
            color: #333;
            border: none;
            padding: 12px 24px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: background-color 0.3s;
        }

        .btn-cancel:hover {
            background-color: #e0e0e0;
        }

        .error-message {
            color: #d32f2f;
            font-size: 12px;
            margin-top: 5px;
            display: none;
        }

        .success-message {
            background-color: #4CAF50;
            color: white;
            padding: 15px;
            border-radius: 4px;
            margin-bottom: 20px;
            display: none;
        }


        #commentaires .VoirReponses {
  color: #333;
  text-decoration: underline;
  transition: all .5s ease-in-out;
  cursor: pointer;
  display: inline-block;
  background: rgba(0,0,0,0);
  border: none;
  text-align: left;
}


/* Container pour aligner la flèche et le bouton */
.button-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Flèche avec animation au survol */
.arrow-2 {
    position: relative;
    width: 30px;
    height: 20px;
    flex-shrink: 0;
}

/* Ligne horizontale qui s'allonge au survol */
.arrow-2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 2px;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

/* Ligne verticale (partie | ) */
.arrow-2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 50%;
    width: 2px;
    height: 9px;
    background-color: #4CAF50;
}

/* Pointe de la flèche (partie > ) */
.arrow-2 .arrow-head {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #4CAF50;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    transition: left 0.3s ease;
}

/* Animation au survol : la ligne s'allonge et la pointe avance */
.button-wrapper:hover .arrow-2::before {
    width: 24px;
}

.button-wrapper:hover .arrow-2 .arrow-head {
    left: 22px;
}
.Reponses {
  display: none;
  width:100%;
  margin-bottom:10px;
}

      #map {
            width: 100%;
            height: 450px;            
        }


        .results-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            align-items: stretch;
            gap: 24px;
        }

        .city-card {
            width: 100%;
            box-sizing: border-box;
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

        .city-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        }

        .city-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
        }

        .city-content {
            padding: 20px;
        }

        .city-name {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 8px;
            line-height: 1.2;
            display: block;
        }

        .city-name a {
            color: #1a202c;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .classement-table {
            width: 100%;
            border-radius: 18px;
            overflow: hidden;
            background: #ffffff;
            box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
            border: 1px solid #e8ecf3;
        }

        .classement-row {
            display: grid;
            grid-template-columns: 60px minmax(220px, 1.8fr) 1.2fr 1fr;
            gap: 16px;
            align-items: center;
            padding: 16px 22px;
            border-bottom: 1px solid #eef1f7;
            text-decoration: none;
            color: inherit;
            transition: background 0.2s ease, transform 0.2s ease;
        }

        .classement-row:last-child {
            border-bottom: none;
        }

        .classement-header {
            background: #f7f8fb;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: #3b4561;
        }

        .classement-item:hover {
            background: #f3f5ff;
            transform: translateY(-1px);
        }

        .classement-col {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .classement-col-city strong {
            display: block;
            font-size: 1rem;
            margin-bottom: 4px;
            color: #111827;
        }

        .ville-meta {
            display: block;
            color: #6b7280;
            font-size: 0.94rem;
            line-height: 1.4;
        }

        .classement-col-location {
            color: #475569;
        }

        .classement-col-value {
            text-align: right;
            font-weight: 700;
            color: #1f2937;
        }

        .pagination-block {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: 12px;
            padding: 14px 22px 20px;
            background: #ffffff;
        }

        .pagination-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 18px;
            border-radius: 999px;
            border: 1px solid #d1d9e6;
            background: #ffffff;
            color: #172b4d;
            text-decoration: none;
            transition: background 0.2s ease, border-color 0.2s ease;
        }

        .pagination-link:hover {
            background: #eef4ff;
            border-color: #b7c3e2;
        }

        .summary-bar {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            padding: 18px 22px;
            background: #f8f9fd;
            border: 1px solid #e5e9f0;
            border-radius: 14px;
            margin-bottom: 22px;
            color: #334155;
        }

        .summary-bar div {
            min-width: 160px;
            font-weight: 600;
        }

        .filter-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 18px;
            margin-bottom: 18px;
        }

        @media (max-width: 880px) {
            .classement-row {
                grid-template-columns: 50px 1.5fr 1fr;
            }

            .classement-col-location {
                display: none;
            }

            .classement-header {
                grid-template-columns: 60px 1.8fr 1.2fr;
            }
        }

        @media (max-width: 640px) {
            .classement-row {
                grid-template-columns: 50px 1fr;
                row-gap: 10px;
                padding: 14px 16px;
            }

            .classement-col-value,
            .classement-col-location {
                text-align: left;
                white-space: normal;
            }

            .pagination-block {
                justify-content: center;
            }
        }

        .city-name a:hover {
            color: #667eea;
        }

        .postal-code {
            color: #667eea;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .location-info {
            margin: 12px 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .location-item {
            display: flex;
            align-items: center;
            color: #4a5568;
            font-size: 0.9rem;
        }

        .location-item svg {
            width: 16px;
            height: 16px;
            margin-right: 8px;
            flex-shrink: 0;
        }

        .rating-section {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid #e2e8f0;
        }

        .stars {
            display: flex;
            gap: 2px;
        }

        .star {
            color: #fbbf24;
            font-size: 1.2rem;
        }

        .star.empty {
            color: #d1d5db;
        }

        .rating-info {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
        }

        .rating-score {
            font-weight: 700;
            color: #1a202c;
            font-size: 1.1rem;
        }

        .review-count {
            font-size: 0.8rem;
            color: #718096;
        }

        @media (max-width: 900px) {
            .results-grid {
                grid-template-columns: 1fr;
            }

            h1 {
                font-size: 1.5rem;
            }
        }

        @media (min-width: 901px) and (max-width: 1024px) {
            .results-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .no-results {
            text-align: center;
            color: white;
            padding: 60px 20px;
            font-size: 1.2rem;
        }


        .item-avis p {
  height:150px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   RÉSULTATS ÉLECTORAUX — FEUILLE COMPLÈTE
   ============================================================
   Couvre :
   - Municipales premier tour  (.resultats-premier-tour)
   - Municipales second tour   (.resultats-second-tour)
   - Présidentielles T1        (.resultats-presidentielles)
   - Présidentielles T2        (.resultats-presidentielles-t2)
   ============================================================ */


/* ============================================
   STRUCTURE COMMUNE
   ============================================ */

.resultats-election {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    max-width: 800px;
}

.resultats-election h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 1rem;
    color: #1a1a1a;
}

.resultats-election + .resultats-election {
    margin-top: 2rem;
}

/* Base de toutes les lignes (les colonnes sont définies par tour) */
.resultat-ligne {
    display: grid;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    padding: 8px 10px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.resultat-nuance {
    font-size: 12px;
    font-weight: 500;
    font-family: monospace;
}

.resultat-barre-container {
    position: relative;
    height: 26px;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: visible;
}

.resultat-barre {
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    transition: width 0.6s ease;
    box-sizing: border-box;
    overflow: hidden;
    background: #CCCCCC; /* fallback nuance inconnue */
}

.resultat-label-inside {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    color: #1a1a1a;
    font-variant-numeric: tabular-nums;
}

.resultat-label-outside {
    position: absolute;
    top: 50%;
    transform: translate(8px, -50%);
    font-size: 12px;
    color: #555;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.resultat-pourcent {
    font-size: 13px;
    font-weight: 500;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.aucun-resultat {
    color: #888;
    font-style: italic;
    text-align: center;
    padding: 1rem;
}


/* ============================================
   GRILLES PAR TYPE D'ÉLECTION
   ============================================ */

/* Municipales : badge | nuance | candidat | barre | % */
.resultats-premier-tour .resultat-ligne,
.resultats-second-tour  .resultat-ligne {
    grid-template-columns: 24px 60px 220px 1fr 70px;
}

/* Présidentielles T1 : photo | nuance | candidat | barre | % */
.resultats-presidentielles .resultat-ligne {
    grid-template-columns: 44px 60px 180px 1fr 70px;
}

/* Présidentielles T2 : badge | photo | nuance | candidat | barre | % */
.resultats-presidentielles-t2 .resultat-ligne {
    grid-template-columns: 24px 44px 60px 180px 1fr 70px;
}


/* ============================================
   COLONNE CANDIDAT
   ============================================ */

/* Premier tour municipales : liste + tête de liste */
.resultat-candidat-t1 {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    line-height: 1.3;
    min-width: 0; /* indispensable pour text-overflow en grid */
}

.candidat-liste-t1 {
    color: #111;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.candidat-tete-t1 {
    color: #666;
    font-size: 11px;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Second tour municipales : civilité + prénom + nom + liste */
.resultat-candidat {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    font-size: 13px;
    line-height: 1.3;
    min-width: 0;
}

.candidat-civilite { color: #888; font-size: 11px; font-weight: 400; }
.candidat-prenom   { color: #333; font-weight: 400; }
.candidat-nom      { color: #111; font-weight: 600; font-size: 13px; }

.candidat-liste {
    flex-basis: 100%;
    color: #666;
    font-size: 11px;
    font-style: italic;
    margin-top: 2px;
}

/* Présidentielles : nom du candidat */
.candidat-nom-presid {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}


/* ============================================
   PHOTO CANDIDAT (présidentielles)
   ============================================ */

.candidat-photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
}

.candidat-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}


/* ============================================
   MISE EN AVANT DE L'ÉLU
   (maire au T2 municipales / président au T2 présidentielles)
   ============================================ */

.badge-elu {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FFD700;
    color: #5a4500;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #fff3b8;
}

.badge-elu-placeholder {
    width: 24px;
    height: 24px;
}

.resultat-elu {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 215, 0, 0.03) 100%);
    border-left: 3px solid #FFD700;
    padding-left: 7px; /* compense le border-left pour garder l'alignement */
}

.resultat-elu .resultat-barre {
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.4);
}

.resultat-elu .candidat-nom,
.resultat-elu .candidat-nom-presid {
    font-weight: 700;
}

.resultat-elu .candidat-nom { font-size: 14px; }

/* Bord doré sur la photo de l'élu (présidentielles) */
.resultat-elu .candidat-photo {
    box-shadow: 0 0 0 2px #FFD700;
}

/* Pastille "Maire élu(e)" / "Président élu(e)" */
.candidat-fonction {
    display: inline-block;
    margin-top: 3px;
    padding: 2px 8px;
    background: #FFD700;
    color: #5a4500;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    align-self: flex-start;
}

/* Au second tour municipales, la pastille passe à la ligne */
.resultats-second-tour .candidat-fonction {
    flex-basis: 100%;
}

.resultat-elu .candidat-liste {
    margin-top: 4px;
}

@keyframes pulseElu {
    0%, 100% { box-shadow: 0 0 0 2px #fff3b8; }
    50%      { box-shadow: 0 0 0 4px #ffe783; }
}

.resultat-elu .badge-elu {
    animation: pulseElu 2.5s ease-in-out infinite;
}


/* ============================================
   COULEURS PAR NUANCE POLITIQUE
   ============================================ */

.nuance-LCOM .resultat-barre { background: #BB0000; }
.nuance-LCOM .resultat-label-inside { color: #ffffff; }

.nuance-LDIV .resultat-barre { background: #A0A0A0; }
.nuance-LDIV .resultat-label-inside { color: #1a1a1a; }

.nuance-LDSV .resultat-barre { background: #6F4E37; }
.nuance-LDSV .resultat-label-inside { color: #ffffff; }

.nuance-LDVC .resultat-barre { background: #76C5E5; }
.nuance-LDVC .resultat-label-inside { color: #0d2e3c; }

.nuance-LDVD .resultat-barre { background: #6296D2; }
.nuance-LDVD .resultat-label-inside { color: #0c2942; }

.nuance-LDVG .resultat-barre { background: #F4A6A6; }
.nuance-LDVG .resultat-label-inside { color: #4a1010; }

.nuance-LECO .resultat-barre { background: #77BB41; }
.nuance-LECO .resultat-label-inside { color: #1c2e0e; }

.nuance-LEXD .resultat-barre { background: #4B0000; }
.nuance-LEXD .resultat-label-inside { color: #ffffff; }

.nuance-LEXG .resultat-barre { background: #8B0000; }
.nuance-LEXG .resultat-label-inside { color: #ffffff; }

.nuance-LFI .resultat-barre { background: #CC2443; }
.nuance-LFI .resultat-label-inside { color: #ffffff; }

.nuance-LHOR .resultat-barre { background: #00B0F0; }
.nuance-LHOR .resultat-label-inside { color: #003044; }

.nuance-LLR .resultat-barre { background: #0066CC; }
.nuance-LLR .resultat-label-inside { color: #ffffff; }

.nuance-LMDM .resultat-barre { background: #FF9900; }
.nuance-LMDM .resultat-label-inside { color: #3a2300; }

.nuance-LREC .resultat-barre { background: #1F4E79; }
.nuance-LREC .resultat-label-inside { color: #ffffff; }

.nuance-LREG .resultat-barre { background: #FFCC00; }
.nuance-LREG .resultat-label-inside { color: #3a2c00; }

.nuance-LREN .resultat-barre { background: #FFD700; }
.nuance-LREN .resultat-label-inside { color: #3a2c00; }

.nuance-LRN .resultat-barre { background: #0D378A; }
.nuance-LRN .resultat-label-inside { color: #ffffff; }

.nuance-LSOC .resultat-barre { background: #FF8080; }
.nuance-LSOC .resultat-label-inside { color: #4a0a18; }

.nuance-LUC .resultat-barre { background: #5DADE2; }
.nuance-LUC .resultat-label-inside { color: #0c2940; }

.nuance-LUD .resultat-barre { background: #235789; }
.nuance-LUD .resultat-label-inside { color: #ffffff; }

.nuance-LUDI .resultat-barre { background: #00BFFF; }
.nuance-LUDI .resultat-label-inside { color: #003344; }

.nuance-LUDR .resultat-barre { background: #1B3A6B; }
.nuance-LUDR .resultat-label-inside { color: #ffffff; }

.nuance-LUG .resultat-barre { background: #E91E63; }
.nuance-LUG .resultat-label-inside { color: #ffffff; }

.nuance-LUXD .resultat-barre { background: #2C0000; }
.nuance-LUXD .resultat-label-inside { color: #ffffff; }

.nuance-LVEC .resultat-barre { background: #00A95C; }
.nuance-LVEC .resultat-label-inside { color: #ffffff; }

.nuance-NONE .resultat-barre { background: #CCCCCC; }
.nuance-NONE .resultat-label-inside { color: #1a1a1a; }

.hausse  { color: green; }
.baisse  { color: red;   }
.stable  { color: gray;  }

/* Consentements section */
.consent-section {
    margin-top: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    border-radius: 4px;
}

.consent-section fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.consent-section legend {
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 15px 0;
    padding: 0;
    color: #333;
    width: 100%;
}

.consent-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.consent-item {
    background-color: white;
    padding: 12px;
    border-radius: 3px;
    border: 1px solid #e0e0e0;
}

.consent-item label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin: 0;
    font-size: inherit;
}

.consent-item input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.consent-item span {
    flex: 1;
}

.consent-item strong {
    color: #333;
}
    
.consent-item small {
    color: #666;
    display: block;
    margin-top: 4px;
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top:1em;
    margin-bottom:1em;
}
.pagination-current { font-weight: bold; padding: 4px 10px; background: #333; color: #fff; border-radius: 4px; }
.pagination-link { padding: 4px 10px; text-decoration: none; }
.pagination-dots { padding: 0 6px; color: #999; }
.disabled { opacity: 0.4; pointer-events: none; }