/* ==========================================================================
   JURAQUA — Rafraichissement visuel
   Version appliquee le 09/09/2026 — CSS additionnel WordPress (post 99)
   Couche purement visuelle. Aucun contenu, aucune URL, aucune image modifies.
   Reversible integralement en vidant ce champ.
   Aucune police externe, aucune bibliotheque, aucun script.
   ========================================================================== */

:root{
  --jq-bleu:#0d3b5c;
  --jq-bleu-clair:#1596c7;
  --jq-bleu-pale:#eef5fa;
  --jq-encre:#26323b;
  --jq-gris:#5b6b76;
  --jq-ligne:#dde6ed;
  --jq-blanc:#ffffff;
  --jq-rayon:10px;
  --jq-ombre:0 2px 14px rgba(13,59,92,.08);
  --jq-ombre-forte:0 6px 26px rgba(13,59,92,.14);
}

/* --------------------------------------------------------------------------
   1. TYPOGRAPHIE ET HIERARCHIE
   La police Open Sans deja chargee par Divi est conservee : aucune requete
   supplementaire. Seuls le rythme, les graisses et les tailles changent.
   -------------------------------------------------------------------------- */

body, .et_pb_text, .et_pb_module{
  color:var(--jq-encre);
  font-size:17px;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4,h5,h6,
.et_pb_module h1,.et_pb_module h2,.et_pb_module h3,.et_pb_module h4{
  color:var(--jq-bleu);
  font-weight:700;
  letter-spacing:-.015em;
  line-height:1.2;
}

h1,.et_pb_module h1{ font-size:clamp(30px,4.2vw,50px); margin-bottom:.5em; }
h2,.et_pb_module h2{ font-size:clamp(24px,3vw,34px); margin-top:1.6em; margin-bottom:.6em; }
h3,.et_pb_module h3{ font-size:clamp(19px,2.1vw,23px); margin-top:1.4em; margin-bottom:.5em; }
h4,.et_pb_module h4{ font-size:18px; font-weight:600; }

/* Trait d'accent sous les titres de section, sobre */
.et_pb_text_inner > h2:first-child::after,
.et_pb_text_inner > h2::after{
  content:""; display:block; width:56px; height:3px;
  background:var(--jq-bleu-clair); border-radius:3px; margin-top:.55em;
}

/* Confort de lecture : les paragraphes ne s'etirent pas sur toute la largeur */
.et_pb_text_inner > p,
.et_pb_text_inner > ul,
.et_pb_text_inner > ol{ max-width:74ch; }

.et_pb_text_inner ul li,
.et_pb_text_inner ol li{ margin-bottom:.45em; }

strong{ color:var(--jq-bleu); font-weight:700; }

a{ color:var(--jq-bleu-clair); text-decoration:none; }
.et_pb_text_inner a{ text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; }
a:hover{ color:var(--jq-bleu); }

/* --------------------------------------------------------------------------
   2. ESPACEMENTS
   L'aeration est ce qui rajeunit le plus vite un site construit en 2022.
   -------------------------------------------------------------------------- */

.et_pb_section{ padding:78px 0; }
.et_pb_row{ padding:26px 0; }
.et_pb_section.et_pb_section_first{ padding-top:0; }

@media (max-width:980px){
  .et_pb_section{ padding:48px 0; }
  .et_pb_row{ padding:18px 0; }
}

/* --------------------------------------------------------------------------
   3. EN-TETE ET NAVIGATION
   -------------------------------------------------------------------------- */

#main-header{
  box-shadow:0 1px 0 var(--jq-ligne), 0 4px 18px rgba(13,59,92,.06);
  background:var(--jq-blanc);
}
#main-header.et-fixed-header{ box-shadow:var(--jq-ombre); }

#top-menu li a{
  color:var(--jq-encre);
  font-weight:600;
  font-size:15px;
  letter-spacing:.01em;
  padding-bottom:6px;
  position:relative;
}
#top-menu li a::after{
  content:""; position:absolute; left:0; right:0; bottom:0;
  height:2px; background:var(--jq-bleu-clair);
  transform:scaleX(0); transform-origin:left;
  transition:transform .18s ease;
}
#top-menu li a:hover::after,
#top-menu li.current-menu-item > a::after{ transform:scaleX(1); }
#top-menu li.current-menu-item > a{ color:var(--jq-bleu); }

/* --------------------------------------------------------------------------
   4. MENU MOBILE — cibles tactiles confortables
   -------------------------------------------------------------------------- */

.et_mobile_menu{
  border-top:3px solid var(--jq-bleu-clair);
  box-shadow:var(--jq-ombre-forte);
  padding:6px 0;
}
.et_mobile_menu li a{
  font-size:16px;
  font-weight:600;
  color:var(--jq-encre);
  padding:15px 22px;      /* cible tactile > 44px */
  border-bottom:1px solid var(--jq-ligne);
}
.et_mobile_menu li:last-child a{ border-bottom:0; }
.et_mobile_menu li a:hover{ background:var(--jq-bleu-pale); opacity:1; }
.mobile_menu_bar:before{ color:var(--jq-bleu); }

/* --------------------------------------------------------------------------
   5. BOUTONS ET APPELS A L'ACTION
   -------------------------------------------------------------------------- */

.et_pb_button,
.et_pb_button:hover,
.et_pb_contact_submit,
.et_pb_newsletter_button{
  background:var(--jq-bleu) !important;
  color:var(--jq-blanc) !important;
  border:0 !important;
  border-radius:var(--jq-rayon) !important;
  padding:15px 30px !important;
  font-size:16px !important;
  font-weight:700 !important;
  letter-spacing:.01em !important;
  line-height:1.2 !important;
  box-shadow:0 2px 10px rgba(13,59,92,.18);
  transition:background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.et_pb_button:hover,
.et_pb_contact_submit:hover{
  background:var(--jq-bleu-clair) !important;
  box-shadow:var(--jq-ombre-forte);
  transform:translateY(-1px);
}
/* La fleche Divi au survol est neutralisee : elle date le design */
.et_pb_button:after{ display:none !important; }

/* Lien telephone bien visible dans le texte */
.et_pb_text_inner a[href^="tel:"]{
  font-weight:700; color:var(--jq-bleu); text-decoration:none;
  white-space:nowrap;
}

/* --------------------------------------------------------------------------
   6. CARTES ET BLOCS DE SERVICES
   -------------------------------------------------------------------------- */

.et_pb_blurb{
  background:var(--jq-blanc);
  border:1px solid var(--jq-ligne);
  border-radius:var(--jq-rayon);
  padding:28px 26px;
  box-shadow:var(--jq-ombre);
  transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
  height:100%;
}
.et_pb_blurb:hover{
  box-shadow:var(--jq-ombre-forte);
  border-color:#c9dcea;
  transform:translateY(-2px);
}
.et_pb_blurb .et_pb_module_header{
  font-size:19px; font-weight:700; color:var(--jq-bleu); margin-bottom:.5em;
}
.et_pb_blurb .et_pb_blurb_description{ color:var(--jq-gris); font-size:16px; }
.et_pb_main_blurb_image{ margin-bottom:16px; }

/* Onglets et accordeons, si presents */
.et_pb_toggle{
  border:1px solid var(--jq-ligne) !important;
  border-radius:var(--jq-rayon) !important;
  box-shadow:var(--jq-ombre);
  margin-bottom:12px;
}
.et_pb_toggle_title{ color:var(--jq-bleu) !important; font-weight:700 !important; }

/* --------------------------------------------------------------------------
   7. PHOTOS — les vraies photos Juraqua sont l'actif principal
   Elles sont mises en valeur, jamais recadrees ni remplacees.
   -------------------------------------------------------------------------- */

.et_pb_image img,
.et_pb_gallery_image img,
.et_pb_slider img,
.et_pb_text_inner img{
  border-radius:var(--jq-rayon);
  box-shadow:var(--jq-ombre);
  display:block;
  height:auto;
  max-width:100%;
}
.et_pb_gallery_item{ transition:transform .2s ease; }
.et_pb_gallery_item:hover{ transform:translateY(-2px); }
.et_pb_gallery_image{ border-radius:var(--jq-rayon); overflow:hidden; }
figcaption, .wp-caption-text{ color:var(--jq-gris); font-size:14px; font-style:normal; }

/* Video de fond : coins arrondis coherents, aucun changement de lecture */
.et_pb_section_video_bg video{ object-fit:cover; }

/* --------------------------------------------------------------------------
   8. FORMULAIRES
   -------------------------------------------------------------------------- */

.et_pb_contact_form input[type=text],
.et_pb_contact_form input[type=email],
.et_pb_contact_form input[type=tel],
.et_pb_contact_form textarea,
.et_pb_contact_field .input,
input[type=text], input[type=email], input[type=tel],
input[type=search], textarea, select{
  background:var(--jq-blanc) !important;
  border:1px solid var(--jq-ligne) !important;
  border-radius:var(--jq-rayon) !important;
  padding:14px 16px !important;
  font-size:16px !important;      /* 16px : evite le zoom automatique iOS */
  color:var(--jq-encre) !important;
  box-shadow:none !important;
  width:100%;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.et_pb_contact_form textarea{ min-height:150px !important; }
input:focus, textarea:focus, select:focus{
  border-color:var(--jq-bleu-clair) !important;
  box-shadow:0 0 0 3px rgba(21,150,199,.16) !important;
  outline:none !important;
}
::placeholder{ color:#9aa8b2; opacity:1; }
.et_pb_contact_field{ padding:0 0 14px 0 !important; }
.et_contact_bottom_container{ float:none; text-align:left; }

/* --------------------------------------------------------------------------
   9. TABLEAUX — lisibles sur mobile (pages de l'Atlas notamment)
   -------------------------------------------------------------------------- */

.et_pb_text_inner table{
  border-collapse:collapse;
  width:100%;
  font-size:15px;
  box-shadow:var(--jq-ombre);
  border-radius:var(--jq-rayon);
  overflow:hidden;
}
.et_pb_text_inner table th{
  background:var(--jq-bleu-pale) !important;
  color:var(--jq-bleu);
  font-weight:700;
  text-align:left;
}
.et_pb_text_inner table th,
.et_pb_text_inner table td{
  border:1px solid var(--jq-ligne) !important;
  padding:11px 13px !important;
}
.et_pb_text_inner table tr:nth-child(even) td{ background:#fbfdfe; }

@media (max-width:767px){
  /* Defilement horizontal du seul tableau, jamais de la page */
  .et_pb_text_inner table{ display:block; overflow-x:auto; white-space:nowrap; }
}

/* --------------------------------------------------------------------------
   10. PIED DE PAGE
   -------------------------------------------------------------------------- */

#main-footer{ background:var(--jq-bleu); }
#footer-widgets .footer-widget,
#footer-widgets .footer-widget li,
#footer-widgets .footer-widget p,
#main-footer .et_pb_text{ color:rgba(255,255,255,.86); }
#footer-widgets h4.title,
#main-footer h1,#main-footer h2,#main-footer h3,#main-footer h4{ color:var(--jq-blanc) !important; }
#footer-widgets a, #main-footer a{ color:var(--jq-blanc); }
#footer-widgets a:hover, #main-footer a:hover{ color:#9ed8f0; }
#footer-bottom{ background:rgba(0,0,0,.22); padding:14px 0; }
#footer-info{ color:rgba(255,255,255,.7); font-size:13px; }

/* --------------------------------------------------------------------------
   11. MOBILE — priorite absolue
   -------------------------------------------------------------------------- */

@media (max-width:767px){
  body{ font-size:16px; line-height:1.7; }
  h1,.et_pb_module h1{ font-size:27px; line-height:1.25; }
  h2,.et_pb_module h2{ font-size:22px; margin-top:1.3em; }
  h3,.et_pb_module h3{ font-size:18px; }

  .et_pb_button,
  .et_pb_contact_submit{
    display:block !important;
    width:100% !important;
    text-align:center !important;
    padding:16px 20px !important;   /* cible tactile confortable */
  }
  .et_pb_text_inner > p,
  .et_pb_text_inner > ul{ max-width:none; }

  /* Aucun debordement horizontal : les elements larges restent contenus */
  img, iframe, video, pre{ max-width:100%; }
}

/* Filet de securite contre le defilement lateral, sans casser les positions */
body{ overflow-x:hidden; }

/* --------------------------------------------------------------------------
   12. ACCESSIBILITE ET SOBRIETE
   -------------------------------------------------------------------------- */

a:focus-visible,
button:focus-visible,
.et_pb_button:focus-visible{
  outline:3px solid var(--jq-bleu-clair);
  outline-offset:2px;
}

/* Les rares transitions sont desactivees si l'appareil le demande */
@media (prefers-reduced-motion:reduce){
  *, *::before, *::after{
    animation-duration:.001ms !important;
    transition-duration:.001ms !important;
  }
}

/* ==========================================================================
   COMPLEMENT v1.1 — 09/09/2026
   1. Titres blancs sur fond sombre et sur la video
   2. Plus d'air sur mobile
   3. Barre d'action fixe en bas d'ecran (Appeler / Devis)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONDS SOMBRES ET VIDEO — le texte doit rester blanc
   Divi marque lui-meme les sections sombres. On respecte ce marquage.
   -------------------------------------------------------------------------- */

.et_pb_bg_layout_dark,
.et_pb_bg_layout_dark p,
.et_pb_bg_layout_dark li,
.et_pb_bg_layout_dark h1,
.et_pb_bg_layout_dark h2,
.et_pb_bg_layout_dark h3,
.et_pb_bg_layout_dark h4,
.et_pb_bg_layout_dark h5,
.et_pb_bg_layout_dark h6,
.et_pb_bg_layout_dark strong,
.et_pb_bg_layout_dark .et_pb_text_inner h1,
.et_pb_bg_layout_dark .et_pb_text_inner h2,
.et_pb_bg_layout_dark .et_pb_text_inner h3,
.et_pb_section_video .et_pb_text_inner h1,
.et_pb_section_video .et_pb_text_inner h2,
.et_pb_section_video .et_pb_text_inner h3,
.et_pb_section_video .et_pb_text_inner p,
.et_pb_slide_description h1,
.et_pb_slide_description h2,
.et_pb_slide_description p{
  color:#ffffff !important;
  text-shadow:0 1px 18px rgba(0,0,0,.35);
}
/* Le trait d'accent devient blanc sur fond sombre */
.et_pb_bg_layout_dark .et_pb_text_inner > h2::after,
.et_pb_section_video .et_pb_text_inner > h2::after{ background:#ffffff; }

/* --------------------------------------------------------------------------
   2. MOBILE — plus d'air, moins de compression
   -------------------------------------------------------------------------- */

@media (max-width:980px){
  .et_pb_section{ padding:60px 0; }
  .et_pb_row{ padding:24px 0; width:88% !important; }
  .et_pb_column{ margin-bottom:34px; }
  .et_pb_column:last-child{ margin-bottom:0; }
}

@media (max-width:767px){
  body{ font-size:16px; line-height:1.75; }
  .et_pb_section{ padding:56px 0; }
  .et_pb_row{ padding:22px 0; width:90% !important; }
  .et_pb_module{ margin-bottom:26px; }
  .et_pb_text_inner > p{ margin-bottom:1.15em; }
  h1,.et_pb_module h1{ font-size:29px; line-height:1.3; margin-bottom:.6em; }
  h2,.et_pb_module h2{ font-size:23px; margin-top:1.8em; margin-bottom:.7em; }
  h3,.et_pb_module h3{ font-size:19px; margin-top:1.6em; }
  .et_pb_blurb{ padding:26px 22px; }
  .et_pb_gallery_item{ margin-bottom:18px !important; }
  /* Le contenu ne passe jamais sous la barre d'action */
  #page-container{ padding-bottom:86px; }
}

/* --------------------------------------------------------------------------
   3. BARRE D'ACTION FIXE — Appeler / Devis
   HTML et CSS uniquement, aucun script, environ 2 Ko.
   -------------------------------------------------------------------------- */

.jq-barre{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:99998;
  display:none;                 /* affichee sur mobile seulement */
  gap:10px;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border-top:1px solid var(--jq-ligne);
  box-shadow:0 -4px 20px rgba(13,59,92,.12);
}
.jq-barre a{
  flex:1 1 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:52px;              /* cible tactile confortable */
  border-radius:12px;
  font-size:16px;
  font-weight:700;
  line-height:1.1;
  text-decoration:none !important;
  letter-spacing:.01em;
}
.jq-barre .jq-appel{
  background:var(--jq-bleu);
  color:#fff !important;
  box-shadow:0 2px 10px rgba(13,59,92,.22);
}
.jq-barre .jq-devis{
  background:var(--jq-bleu-clair);
  color:#fff !important;
  box-shadow:0 2px 10px rgba(21,150,199,.3);
  animation:jq-halo 2.6s ease-in-out infinite;
}
.jq-barre a:active{ transform:translateY(1px); }
.jq-barre svg{ width:19px; height:19px; flex:0 0 auto; fill:currentColor; }

/* Pulsation lente et sobre : attire l'oeil sans clignoter agressivement */
@keyframes jq-halo{
  0%,100%{ box-shadow:0 2px 10px rgba(21,150,199,.30); }
  50%    { box-shadow:0 2px 10px rgba(21,150,199,.30), 0 0 0 7px rgba(21,150,199,.16); }
}

@media (max-width:767px){
  .jq-barre{ display:flex; }
}

/* Desktop : rien de flottant, la barre reste masquee */
@media (min-width:768px){
  .jq-barre{ display:none !important; }
}

@media (prefers-reduced-motion:reduce){
  .jq-barre .jq-devis{ animation:none; }
}

/* ==========================================================================
   CORRECTIF v1.2 — 09/09/2026
   1. Fin du texte blanc sur carte blanche
   2. Ombre portee limitee a la video, plus de texte flou
   3. Bas de page a nouveau atteignable
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CARTES — le fond blanc ne s'applique QUE sur les sections claires.
   Dans une section sombre, la carte devient translucide et le texte
   reste blanc et lisible.
   -------------------------------------------------------------------------- */

.et_pb_blurb{
  background:transparent;
  border:0;
  box-shadow:none;
  height:auto;              /* annule l'etirement qui creait des blocs vides */
  padding:0;
}

.et_pb_blurb.et_pb_bg_layout_light{
  background:var(--jq-blanc);
  border:1px solid var(--jq-ligne);
  border-radius:var(--jq-rayon);
  padding:26px 24px;
  box-shadow:var(--jq-ombre);
}
.et_pb_blurb.et_pb_bg_layout_light .et_pb_module_header{ color:var(--jq-bleu); }
.et_pb_blurb.et_pb_bg_layout_light .et_pb_blurb_description{ color:var(--jq-gris); }

.et_pb_blurb.et_pb_bg_layout_dark{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.16);
  border-radius:var(--jq-rayon);
  padding:26px 24px;
  box-shadow:none;
}
.et_pb_blurb.et_pb_bg_layout_dark .et_pb_module_header,
.et_pb_blurb.et_pb_bg_layout_dark .et_pb_blurb_description,
.et_pb_blurb.et_pb_bg_layout_dark p,
.et_pb_blurb.et_pb_bg_layout_dark a{ color:#ffffff !important; }

.et_pb_blurb:hover{ transform:none; }

/* --------------------------------------------------------------------------
   2. OMBRE PORTEE — uniquement au-dessus de la video, la ou elle sert
   -------------------------------------------------------------------------- */

.et_pb_bg_layout_dark,
.et_pb_bg_layout_dark p,
.et_pb_bg_layout_dark li,
.et_pb_bg_layout_dark h1,
.et_pb_bg_layout_dark h2,
.et_pb_bg_layout_dark h3,
.et_pb_bg_layout_dark h4,
.et_pb_bg_layout_dark h5,
.et_pb_bg_layout_dark h6,
.et_pb_bg_layout_dark strong{ text-shadow:none !important; }

.et_pb_section_video .et_pb_text_inner h1,
.et_pb_section_video .et_pb_text_inner h2,
.et_pb_section_video .et_pb_text_inner h3,
.et_pb_section_video .et_pb_text_inner p{
  text-shadow:0 2px 10px rgba(0,0,0,.45) !important;
}

/* --------------------------------------------------------------------------
   3. BAS DE PAGE — la barre ne doit plus masquer la fin du contenu
   -------------------------------------------------------------------------- */

@media (max-width:767px){
  #page-container{ padding-bottom:0; }
  #et-main-area{ padding-bottom:104px; }
  body.et_pb_pagebuilder_layout #et-main-area{ padding-bottom:104px; }
  #main-footer{ margin-bottom:0; }
}

/* ==========================================================================
   CORRECTIF v1.3 — 09/09/2026
   1. Fin du texte justifie : plus de trous entre les mots
   2. Couleur des titres limitee aux fonds clairs
   3. Boutons : le texte long tient dans le cadre
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. JUSTIFICATION — illisible sur une colonne etroite
   -------------------------------------------------------------------------- */

@media (max-width:980px){
  .et_pb_text,
  .et_pb_text_inner,
  .et_pb_text_inner p,
  .et_pb_module.et_pb_text_align_justified,
  .et_pb_text_align_justified,
  .et_pb_blurb_description{
    text-align:left !important;
    hyphens:none;
    word-spacing:normal !important;
  }
}

/* --------------------------------------------------------------------------
   2. TITRES — le bleu ne s'applique QUE sur fond clair.
   Partout ailleurs, la couleur d'origine du site est rendue.
   -------------------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6,
.et_pb_module h1,.et_pb_module h2,.et_pb_module h3,.et_pb_module h4{
  color:inherit;
}
.et_pb_bg_layout_light h1,
.et_pb_bg_layout_light h2,
.et_pb_bg_layout_light h3,
.et_pb_bg_layout_light h4,
.et_pb_bg_layout_light .et_pb_text_inner h1,
.et_pb_bg_layout_light .et_pb_text_inner h2,
.et_pb_bg_layout_light .et_pb_text_inner h3,
.et_pb_bg_layout_light .et_pb_module_header{
  color:var(--jq-bleu);
}
.et_pb_bg_layout_light strong{ color:var(--jq-bleu); }
.et_pb_bg_layout_dark strong{ color:inherit; }

/* Le trait d'accent ne s'affiche que sur fond clair */
.et_pb_text_inner > h2::after{ display:none; }
.et_pb_bg_layout_light .et_pb_text_inner > h2::after{
  content:""; display:block; width:56px; height:3px;
  background:var(--jq-bleu-clair); border-radius:3px; margin-top:.55em;
}

/* --------------------------------------------------------------------------
   3. BOUTONS — texte long, halo attenue
   -------------------------------------------------------------------------- */

.et_pb_button,
.et_pb_contact_submit{
  white-space:normal !important;
  line-height:1.35 !important;
  box-shadow:0 2px 8px rgba(13,59,92,.14);
  max-width:100%;
}

@media (max-width:767px){
  .et_pb_button,
  .et_pb_contact_submit{
    font-size:15px !important;
    padding:15px 16px !important;
    letter-spacing:0 !important;
  }
}

/* La barre fixe garde son texte sur une seule ligne */
.jq-barre a{ white-space:nowrap; }

/* ==========================================================================
   COMPLEMENT v1.4 — 10/09/2026
   Bouton flottant « Devis » sur ordinateur, en plus de la barre mobile.
   ========================================================================== */

.jq-flot{
  position:fixed;
  right:26px; bottom:26px;
  z-index:99997;
  display:none;                       /* affiche sur grand ecran seulement */
  align-items:center; gap:10px;
  padding:16px 26px;
  border-radius:999px;
  background:#1596c7;
  color:#fff !important;
  font-size:16px; font-weight:700; line-height:1;
  text-decoration:none !important;
  box-shadow:0 8px 26px rgba(21,150,199,.42);
  animation:jq-scint 2.4s ease-in-out infinite;
  transition:background .18s, transform .18s;
}
.jq-flot:hover{
  background:#0d3b5c;
  transform:translateY(-2px);
  animation:none;                     /* le survol arrete le clignotement */
}
.jq-flot svg{width:19px;height:19px;fill:currentColor;flex:0 0 auto}

/* Scintillement sobre : un halo qui respire, pas un clignotement agressif */
@keyframes jq-scint{
  0%,100%{ box-shadow:0 8px 26px rgba(21,150,199,.42); }
  50%    { box-shadow:0 8px 26px rgba(21,150,199,.42), 0 0 0 10px rgba(21,150,199,.16); }
}

@media (min-width:768px){
  .jq-flot{ display:inline-flex; }
}
@media (max-width:767px){
  .jq-flot{ display:none !important; }   /* sur mobile, la barre du bas suffit */
}
@media (prefers-reduced-motion:reduce){
  .jq-flot{ animation:none; }
}


/* ==========================================================================
   COMPLEMENT v1.5 — bandeau de bas de page
   ========================================================================== */

.jq-bandeau-bas{
  width:100%;
  background:#f6fafd;
  padding:40px 24px;
  text-align:center;
}
.jq-bandeau-bas img{
  width:100%;
  max-width:900px;
  height:auto;
  display:block;
  margin:0 auto;
  border-radius:14px;
}
@media (max-width:767px){
  .jq-bandeau-bas{ padding:28px 16px 86px; }   /* place pour la barre d'action */
}

/* ==========================================================================
   CORRECTIF v1.5.3 — soulignement du menu
   Le trait d'accent ne doit pas apparaitre au-dessus d'un sous-menu.
   ========================================================================== */

#top-menu li.menu-item-has-children > a::after,
#top-menu li.menu-item-has-children > a::before,
.et_mobile_menu li.menu-item-has-children > a::after{
  display:none !important;
  content:none !important;
}

/* Panneau du sous-menu : bord propre, sans liseré haut */
#top-menu li ul.sub-menu{
  border-top:0 !important;
  box-shadow:0 10px 28px rgba(6,32,63,.14);
  border-radius:0 0 10px 10px;
  overflow:hidden;
}
#top-menu li ul.sub-menu li a{
  padding:12px 20px !important;
  font-size:15px;
}
#top-menu li ul.sub-menu li a:hover{
  background:#eef5fa;
  opacity:1;
}

/* Appel a l'action local sur les pages communales */
.jqa-cta-loc{margin:18px 0 0}
.jqa-cta-loc a{
  display:inline-block;
  background:#1596c7;
  color:#fff !important;
  padding:14px 28px;
  border-radius:999px;
  font-weight:700;
  font-size:15.5px;
  text-decoration:none !important;
  transition:background .18s;
}
.jqa-cta-loc a:hover{ background:#0d3b5c; }
@media (max-width:767px){ .jqa-cta-loc a{ display:block; text-align:center; } }

/* ==========================================================================
   COMPLEMENT v1.7 — lisibilite des formulaires
   Les champs blancs sur fond blanc ne se distinguaient pas.
   ========================================================================== */

.jqa-form{
  background:#f6fafd;
  border:1px solid #dde6ed;
  border-radius:16px;
  padding:30px 28px;
  box-shadow:0 10px 30px rgba(6,32,63,.05);
}
.jqa-form input[type=text],
.jqa-form input[type=tel],
.jqa-form input[type=email],
.jqa-form select,
.jqa-form textarea{
  background:#fff !important;
  border:1px solid #b9d3e6 !important;
  box-shadow:inset 0 1px 2px rgba(6,32,63,.05);
}
.jqa-form input::placeholder,
.jqa-form textarea::placeholder{ color:#9bacbb; }

@media (max-width:767px){
  .jqa-form{ padding:22px 18px; }
}

/* ==========================================================================
   COMPLEMENT v1.8 — contraste renforce du formulaire
   ========================================================================== */

.jqa-form{
  background:#0d3b5c !important;
  border:0 !important;
  box-shadow:0 18px 44px rgba(6,32,63,.22) !important;
  padding:34px 30px !important;
}
.jqa-form label{ color:#fff !important; font-size:15.5px !important; }
.jqa-form label em{ color:rgba(255,255,255,.62) !important; }
.jqa-form label span{ color:#ff9d8a !important; }
.jqa-form .jqa-consent label{ color:rgba(255,255,255,.9) !important; }
.jqa-form .jqa-rgpd{ color:rgba(255,255,255,.6) !important; }

.jqa-form input[type=text],
.jqa-form input[type=tel],
.jqa-form input[type=email],
.jqa-form select,
.jqa-form textarea{
  background:#fff !important;
  border:2px solid transparent !important;
  box-shadow:none !important;
  color:#26323b !important;
}
.jqa-form input:focus,
.jqa-form select:focus,
.jqa-form textarea:focus{
  border-color:#5ec8f5 !important;
  box-shadow:0 0 0 4px rgba(94,200,245,.28) !important;
}
.jqa-form .jqa-envoi button{
  background:#5ec8f5 !important;
  color:#06203f !important;
}
.jqa-form .jqa-envoi button:hover{
  background:#fff !important;
  color:#06203f !important;
}
.jqa-form .jqa-ok{ background:rgba(58,161,126,.18) !important; color:#fff !important; }
.jqa-form .jqa-err{ background:rgba(192,80,61,.22) !important; color:#fff !important; }

/* ==========================================================================
   COMPLEMENT v1.9 — en-tete mobile
   Le bouton du menu passe a gauche, le logo se recentre : la bulle de chat
   occupe le coin droit et masquait une partie du logo.
   ========================================================================== */

@media (max-width:980px){

  /* Le conteneur de l'en-tete pilote l'ordre des elements */
  #main-header .container.clearfix.et_menu_container{
    display:flex !important;
    align-items:center;
    position:relative;
  }

  /* Bouton hamburger a gauche */
  #main-header #et-top-navigation{
    order:1;
    padding-left:0 !important;
    margin-right:14px;
  }
  #main-header .mobile_menu_bar{
    padding-bottom:0 !important;
  }
  #main-header .mobile_menu_bar:before{
    left:0 !important;
    right:auto !important;
    position:relative !important;
    top:0 !important;
  }

  /* Logo recentre, a l'ecart de la bulle de chat */
  #main-header .logo_container{
    order:2;
    position:relative !important;
    height:auto !important;
    flex:1 1 auto;
    text-align:center;
    padding-right:56px;      /* espace reserve a la bulle de chat */
  }
  #main-header #logo{
    max-height:52px !important;
    margin:0 auto !important;
    display:inline-block !important;
  }

  /* Le panneau du menu deroulant s'aligne a gauche */
  #main-header .et_mobile_menu{
    text-align:left;
  }
  #main-header .et_mobile_menu li a{
    padding:13px 18px;
    font-size:15.5px;
  }
}

@media (max-width:480px){
  #main-header .logo_container{ padding-right:48px; }
  #main-header #logo{ max-height:44px !important; }
}
