@charset "UTF-8";
/*
Theme Name: ville de Loué Child
Theme URI: http://www.ville-loue.fr
Description: Thème enfant de Twenty Twenty-Five pour Ville de Loué.
Template: twentytwentyfive
Version: 1.0
*/
/* ============================================================
   BASE / GLOBAL
   ============================================================ */
html,
body {
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}
html {
  scroll-behavior: smooth;
}

strong {
  font-weight: 700;
}

.entry-content ul.wp-block-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.entry-content ul.wp-block-list li {
  position: relative;
  padding-left: 15px;
}
.entry-content ul.wp-block-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Full width fix (FSE) */
.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.custom-logo {
  filter: drop-shadow(3px 5px 2px rgba(0, 0, 0, 0.15));
}

time {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 14px;
}

.intro-dynamique {
  font-size: 14px;
}

/* ============================================================
   LIEN SVG (overlay Stackable)
   ============================================================ */
#liensvg .stk-block-background {
  position: absolute;
  inset: 0;
  z-index: 10;
  opacity: 0;
}
#liensvg .liensvg:hover .stk-block-background {
  opacity: 1;
}

/* ============================================================
   A LA UNE
   ============================================================ */
.a-la-une {
  background-color: #4485a8;
  color: #fff;
  padding: 10px 20px;
  font-family: "Barlow Semi Condensed", sans-serif;
}
.a-la-une .intro-a-la-une {
  font-size: 17px;
  margin: 0 0 0 70px;
  text-transform: uppercase;
  border-bottom: 1px solid #afca0c;
  display: inline-block;
  font-weight: 700;
  padding-bottom: 5px;
}
.a-la-une h2 {
  font-weight: 700;
  margin: 10px 0;
  font-size: 28px;
}
.a-la-une h2 a {
  text-decoration: none;
}
.a-la-une .a-la-une__intro {
  font-size: 14px;
  margin-bottom: 20px;
}
.a-la-une .a-la-une__archive {
  text-align: right;
}
.a-la-une .a-la-une__archive * {
  transition: all;
}
.a-la-une .a-la-une__archive a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  font-size: 18px;
  /* faux bold initial */
  text-shadow: 0 0 0 currentColor;
  transition: text-shadow 0.25s ease, color 0.25s ease;
}
.a-la-une .a-la-une__archive a:hover {
  text-shadow: 0.04em 0 0 currentColor;
}
.a-la-une .a-la-une__archive a:hover svg {
  transition: transform 0.25s ease;
  transform: translateX(5px) scale(1.4);
}
.a-la-une .a-la-une__archive a:hover svg path {
  stroke: #b6c831;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   SEARCH
   ============================================================ */
.mysearch .wp-block-search__button {
  padding: 0;
}
.mysearch .wp-block-search__button svg {
  width: 32px;
  height: 32px;
}
.mysearch #wp-block-search__input-1 {
  text-align: center;
}
.mysearch .wp-block-search__inside-wrapper {
  padding: 10px;
}

/* ============================================================
   POST NAVIGATION
   ============================================================ */
.wp-block-post-navigation-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.wp-block-post-navigation-link .nav-svg {
  display: block;
  width: 20px;
  height: 37px;
}

.link-left,
.link-right {
  position: absolute;
  top: 50%;
}

.link-left {
  left: -50px;
}

.link-right {
  right: -50px;
}

/* ============================================================
   ACF GALLERY
   ============================================================ */
.acf-gallery img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}

/* ============================================================
   Post association
   ============================================================ */
.single-association .link-left,
.single-association .link-right {
  top: 25%;
}
.single-association .fiche-asso p[data-block-type=core] {
  font-size: 28px;
  font-weight: 200;
  color: #b6c831;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.wp-block-terms-query {
  margin-bottom: 60px;
}
.wp-block-terms-query ul {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.wp-block-terms-query ul li p {
  margin: 0;
}
.wp-block-terms-query ul li p a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 101px;
  height: 40px;
  padding-left: 20px;
  padding-right: 20px;
  background: #f0f0f2;
  text-decoration: none;
  text-decoration-thickness: auto;
  text-transform: uppercase;
  font-size: 15px;
}
.wp-block-terms-query ul li p a.current-page {
  background-color: rgba(173, 201, 12, 0.2509803922);
}
.wp-block-terms-query ul li p a:hover {
  background-color: rgba(173, 201, 12, 0.2509803922);
}

.list-cat li {
  display: inline-flex;
}
.list-cat li .toutes {
  display: none;
}
.list-cat li:first-child .toutes {
  display: inline;
  margin-right: 15px;
}

/* ============================================================
   Post commerce
   ============================================================ */
.single-commerce .link-left,
.single-commerce .link-right {
  top: 25%;
}
.single-commerce .fiche-asso p[data-block-type=core] {
  font-size: 28px;
  font-weight: 200;
  color: #055471;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.post-type-archive-commerce .wp-block-terms-query,
.tax-categorie-commerce .wp-block-terms-query {
  margin-bottom: 60px;
}
.post-type-archive-commerce .wp-block-terms-query ul,
.tax-categorie-commerce .wp-block-terms-query ul {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.post-type-archive-commerce .wp-block-terms-query ul li p,
.tax-categorie-commerce .wp-block-terms-query ul li p {
  margin: 0;
}
.post-type-archive-commerce .wp-block-terms-query ul li p a,
.tax-categorie-commerce .wp-block-terms-query ul li p a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 101px;
  height: 40px;
  padding-left: 20px;
  padding-right: 20px;
  background: #f0f0f2;
  text-decoration: none;
  text-decoration-thickness: auto;
  text-transform: uppercase;
  font-size: 15px;
}
.post-type-archive-commerce .wp-block-terms-query ul li p a.current-page,
.tax-categorie-commerce .wp-block-terms-query ul li p a.current-page {
  background-color: rgba(67, 133, 168, 0.2509803922);
}
.post-type-archive-commerce .wp-block-terms-query ul li p a:hover,
.tax-categorie-commerce .wp-block-terms-query ul li p a:hover {
  background-color: rgba(67, 133, 168, 0.2509803922);
}

/* ============================================================
   CF7 — STRUCTURE CHAMPS
   ============================================================ */
/* wrapper champ */
.cf7-field {
  position: relative;
  background: #f5f5f5;
  padding: 18px;
  margin: 16px 0;
  border-radius: 0;
}
.cf7-field .wpcf7-not-valid-tip {
  font-size: 14px;
}

/* label dans le bloc */
.cf7-field > label {
  display: flex;
  gap: 15px;
  align-items: baseline;
  margin: 0;
}
.cf7-field > label.top {
  align-items: flex-start;
}
.cf7-field > label > span:first-child {
  font-weight: 700;
  font-size: 17px;
}
.cf7-field > label > span:last-child {
  flex: 1;
}

/* astérisque */
.cf7-field .req {
  color: #e63c27;
  margin-left: 2px;
}

/* inputs/select full width, fond transparent */
.cf7-field input[type=text],
.cf7-field input[type=email],
.cf7-field input[type=tel],
.cf7-field textarea,
.cf7-field select {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0;
  font-size: 17px;
}

/* placeholder/valeur */
.cf7-field input::-moz-placeholder, .cf7-field textarea::-moz-placeholder {
  color: #333;
  opacity: 1;
}
.cf7-field input::placeholder,
.cf7-field textarea::placeholder {
  color: #333;
  opacity: 1;
}

/* select : supprimer styles natifs + place pour flèche */
.cf7-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
}

/* flèche à droite */
.cf7-field:has(select)::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

/* ============================================================
   CF7 — UPLOAD (codedropz)
   ============================================================ */
.codedropz-upload-wrapper .codedropz-upload-handler {
  border: 0;
}
.codedropz-upload-wrapper .codedropz-upload-handler span {
  font-size: 17px;
}
.codedropz-upload-wrapper .codedropz-upload-handler a {
  font-size: 17px;
  text-decoration: underline !important;
  margin-top: -5px;
  display: block;
}

/* ============================================================
   CF7 — CHECKBOX ROND
   ============================================================ */
.checkbox-round {
  display: block;
  margin-bottom: 24px;
}
.checkbox-round .wpcf7-list-item label {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  -moz-column-gap: 12px;
       column-gap: 12px;
  cursor: pointer;
  font-size: 15px;
}
.checkbox-round {
  /* cacher le checkbox natif */
}
.checkbox-round .wpcf7-list-item input[type=checkbox] {
  position: absolute;
  opacity: 0;
}
.checkbox-round {
  /* rond custom */
}
.checkbox-round .wpcf7-list-item-label::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid #111;
  border-radius: 50%;
  display: block;
}
.checkbox-round {
  /* état coché */
}
.checkbox-round .wpcf7-list-item input:checked + .wpcf7-list-item-label::before {
  background: #111;
  box-shadow: inset 0 0 0 4px #fff;
}
.checkbox-round .wpcf7-list-item-label span {
  font-size: 15px;
}

/* ============================================================
   CF7 — BOUTON ENVOI
   ============================================================ */
.btn-send {
  --c: #44a5c9;
  --stroke: #055471;
  --pad: 12px; /* marge intérieure capsule */
  --dot: 42px; /* diamètre rond */
  position: relative;
  display: inline-block;
  /* bouton */
}
.btn-send input.wpcf7-submit {
  position: relative;
  z-index: 2;
  background: transparent;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 20px calc(var(--dot) + 40px) 20px 34px;
  font-size: 18px;
  letter-spacing: 1px;
  cursor: pointer;
  color: #111;
  overflow: hidden;
}
.btn-send {
  /* rond flèche à droite */
}
.btn-send::after {
  content: "";
  position: absolute;
  z-index: 4;
  right: 10px;
  top: 10px;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: var(--c);
  pointer-events: none;
  background-image: url("img/flecheform.svg");
  background-repeat: no-repeat;
  background-position: center;
}
.btn-send {
  /* remplissage (sous le rond) */
}
.btn-send::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: 10px;
  top: 10px;
  width: var(--dot);
  height: var(--dot);
  border-radius: 999px;
  background: var(--c);
  transition: width 0.35s ease;
  pointer-events: none;
}
.btn-send {
  /* hover : le bleu s’étend */
}
.btn-send:hover::before {
  width: calc(100% - var(--pad) * 2);
}
.btn-send {
  /* spinner CF7 */
}
.btn-send .wpcf7-spinner {
  position: absolute;
  z-index: 5;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}

/* pendant l’envoi (CF7) */
.wpcf7-form.submitting .btn-send::before {
  width: calc(100% - var(--pad) * 2);
}

/* message retour CF7 */
.wpcf7 form .wpcf7-response-output {
  border-radius: 12px;
  box-shadow: 6px 6px 5px rgba(0, 0, 0, 0.2);
  border: 0;
  padding: 30px 30px 30px 80px;
  font-size: 16px;
  position: relative;
}

.wpcf7 form.invalid .wpcf7-response-output::before,
.wpcf7 form.sent .wpcf7-response-output::before {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
  position: absolute;
  left: 45px;
  top: 34px;
  border-radius: 100%;
}

.wpcf7 form.invalid .wpcf7-response-output::before {
  background: #e63c27;
}

.wpcf7 form.sent .wpcf7-response-output::before {
  background: #afca0c;
}

/* ============================================================
   HEADER — sticky + current page (menu)
   ============================================================ */
.wp-site-blocks > header {
  position: sticky;
  top: 0;
  z-index: 9999;
}

header .contact-link .current-page p::before {
  content: "";
  position: absolute;
  height: 4px;
  width: 24px;
  background-color: #44a5c9;
  top: 100%;
  left: calc(50% - 18px);
}
header .contact-link .current-page:hover p::before {
  width: 0;
}
header #header .mymenu a.current-page::after {
  width: 24px !important;
  opacity: 1 !important;
}
header #header .mymenu a.current-page span {
  font-weight: 900 !important;
}

/* hover stackable button group */
.stk-block-button-group:not(.bouton-special) a:hover span {
  font-weight: 700;
}
.stk-block-button-group:not(.bouton-special) a:hover span svg {
  transform: translateX(5px) scale(1.4);
}
.stk-block-button-group:not(.bouton-special) a:hover span svg path {
  stroke-width: 1px;
}

/* ============================================================
   AGENDA — liens
   ============================================================ */
li.type-agenda h3 a {
  text-decoration: none;
}

/* ============================================================
   MEGA MENU — DESKTOP
   ============================================================ */
.mega-indicator {
  position: absolute;
  transform: translateX(-50%);
  transition: left 0.2s ease;
}

.mymegamenu {
  display: none;
  position: absolute;
  width: 100%;
  padding-top: 20px;
  z-index: 999;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.mymegamenu.is-open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  z-index: -1;
}

.mega-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  line-height: 0;
  z-index: 10;
}
.mega-close svg {
  display: block;
}

.mega-panel {
  display: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  position: relative;
}
.mega-panel.is-open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Trigger actif (option) */
#header a[data-menu].is-open {
  font-weight: 900;
}

/* Overlay desktop */
body.mega-overlay-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
}

/* Styles internes des panels dans le header */
body .wp-site-blocks header .mega-panel a {
  text-decoration: none;
}
body .wp-site-blocks header .mega-panel .wp-block-stackable-heading h4.stk-block-heading__text {
  display: list-item;
  list-style-type: "> ";
  list-style-position: outside;
  margin-left: 13px !important;
}
body .wp-site-blocks header .mega-panel .wp-block-stackable-heading h4.stk-block-heading__text:hover {
  color: #44a5c9 !important;
  font-weight: 700;
  margin-left: 20px !important;
}
body .wp-site-blocks header .mega-panel .wp-block-stackable-heading.current-page h4.stk-block-heading__text {
  color: #44a5c9 !important;
  font-weight: 700;
  margin-left: 20px !important;
}
body .wp-site-blocks header .mega-panel p::before {
  content: "- ";
}

/* ============================================================
   MEGA MENU — MOBILE DRAWER
   ============================================================ */
.mega-mobile {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
}

body.mega-mobile-open .mega-mobile {
  display: block;
}

.mega-mobile__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.mega-mobile__panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(92vw, 420px);
  background: #fff;
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
}

body.mega-mobile-open .mega-mobile__panel {
  transform: translateX(0);
}

.mega-mobile__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mega-mobile__title {
  font-weight: 700;
  flex: 1;
}

.mega-mobile__btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  line-height: 0;
}

.mega-mobile__views {
  position: relative;
  height: calc(100% - 53px);
}

/* 2 vues : liste / détail */
.mega-mobile__view {
  position: absolute;
  inset: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.mega-mobile__view--detail {
  transform: translateX(100%);
}

/* état “detail” */
.mega-mobile.is-detail .mega-mobile__view--list {
  transform: translateX(-100%);
}
.mega-mobile.is-detail .mega-mobile__view--detail {
  transform: translateX(0);
}

.mega-mobile__list {
  padding: 10px 14px 24px;
}

.mega-mobile__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.mega-mobile__chev {
  opacity: 0.6;
}

/* contenu panel détail injecté */
.mega-mobile__detail {
  padding: 5px 0 24px 14px;
}
.mega-mobile__detail .mega-panel {
  display: block;
  opacity: 1;
  padding-top: 0;
}
.mega-mobile__detail .mega-panel a {
  display: inline-block;
  width: 100%;
  text-decoration: none;
}
.mega-mobile__detail .mega-panel .stk-block-heading h4 {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 14px;
}

/* bouton burger */
.mega-burger {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  line-height: 0;
  position: absolute !important;
  right: 12px;
  bottom: 50px;
}

/* ============================================================
   WIDGET SYNBIRD
   ============================================================ */
.synbird-widget legend {
  color: #055471;
}
.synbird-widget .color__primary {
  color: #055471 !important;
}
.synbird-widget .ant-btn {
  font-size: 18px !important;
}
.synbird-widget .ant-btn:hover {
  color: #fff !important;
  background-color: #4485a8 !important;
  border-color: #4485a8 !important;
}
.synbird-widget .inner-synbird-widget a {
  color: #055471 !important;
}
.synbird-widget .gaNCEx {
  background-color: #4485a8 !important;
}
.synbird-widget .gaNCEx:hover {
  background-color: #055471 !important;
}
.synbird-widget .kbELNR {
  border: 1px solid #055471 !important;
  color: #055471 !important;
}

/* ============================================================
   bloc actus
   ============================================================ */
.cat-actus {
  border: 1px solid #000 !important;
  padding: 1px 5px;
}

.wp-block-post-date::before {
  content: "Publié le ";
}

.agenda-toggle-link {
  display: flex;
  justify-content: center;
}

.agenda-toggle-link__button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid #055471;
  border-radius: 999px;
  background: #fff;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.agenda-toggle-link__button:hover,
.agenda-toggle-link__button:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

.agenda-toggle-link__icon svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: #055471;
}

.agenda-toggle-link__text {
  color: inherit;
}

.agenda-subtitle__text {
  font-size: 22px !important;
  color: #055471;
  font-weight: bold;
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 1024px) {
  #header .mega-burger {
    display: none !important;
  }
  .stk-8899d3b .stk-block-carousel__dots {
    display: none !important;
  }
}
@media (max-width: 1023px) {
  /* sur mobile, on désactive l’affichage desktop */
  .mymegamenu {
    display: none;
  }
  .topheader {
    background: #f0f0f2;
  }
  .topheader .jesignale .stk-button {
    background: none !important;
    padding: 0 !important;
  }
  #header .mymenu .stk-link {
    display: none !important;
  }
  #header .mega-burger {
    display: inline-flex !important;
  }
  #header .custom-logo {
    max-width: 160px;
  }
  .wp-block-search__inside-wrapper {
    width: 90% !important;
  }
  .stk-8899d3b .stk-block-carousel__dots {
    margin-top: -10px;
  }
}/*# sourceMappingURL=style.css.map */