/*
 * Pied de page du réseau Électron Libre (thème enfant oceanwp-child-electron-libre).
 * Séparé de style.css le 9 octobre 2026 : l'antivirus FTP d'o2switch refuse les fichiers CSS
 * de plus de 32 Ko environ. Chargé après style.css (même numéro de version).
 */
/* Pied de page */
body.oceanwp-theme #footer-bottom{background-color:var(--bleu-nuit);color:var(--ivoire)}
body.oceanwp-theme #footer-bottom a{color:var(--ivoire);text-decoration:underline}

/* Accessibilité : focus visible au clavier */
body.oceanwp-theme :is(a,button,input,select,textarea):focus-visible{outline:3px solid var(--violet);outline-offset:3px}
#footer-bottom :is(a,button):focus-visible{outline-color:var(--ivoire)}
/* Colonnes de widgets du pied de page : fond bleu nuit, texte et liens ivoire, survol orange.
   Le Customizer met le survol en bleu nuit (invisible sur ce fond) : corrigé ici. */
body.oceanwp-theme #footer-widgets{padding:60px 0 30px;background-color:var(--bleu-nuit);color:var(--ivoire)}
/* Écart sous les colonnes : 32 px (OceanWP : 30 px de marge + 30 px de rembourrage) */
body.oceanwp-theme #footer-widgets .col{margin-bottom:32px}
/* Gouttière entre les colonnes : 25 px de chaque côté (OceanWP : 15 px) */
body.oceanwp-theme #footer-widgets .footer-box{padding:0 25px;margin:0}
body.oceanwp-theme #footer-widgets :is(p,li){color:var(--ivoire)}
body.oceanwp-theme #footer-widgets .footer-box .widget-title{margin:0 0 16px;padding:0;border:0;font-family:var(--el-font);font-size:18px;font-weight:800;line-height:1.3;letter-spacing:0;text-transform:none;color:var(--ivoire)}
body.oceanwp-theme #footer-widgets .footer-box a{color:var(--ivoire);text-decoration:underline;text-underline-offset:3px}
body.oceanwp-theme #footer-widgets .footer-box a:hover{color:var(--orange)}
body.oceanwp-theme #footer-widgets :is(a,button):focus-visible{outline-color:var(--ivoire)}
/* Menus en étiquettes (tags) : majuscules, sans soulignement, petits boutons arrondis à la suite.
   32 px de haut (choix de Julian pour une colonne étroite ; au-dessus du minimum d'accessibilité
   de 24 px, en dessous des 44 px habituels). Survol : fond orange, texte bleu nuit. */
body.oceanwp-theme #footer-widgets .widget_nav_menu ul.menu{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
body.oceanwp-theme #footer-widgets .widget_nav_menu li{border:0;padding:0;margin:0}
body.oceanwp-theme #footer-widgets .widget_nav_menu li::before{content:none}
body.oceanwp-theme #footer-widgets .widget_nav_menu li a{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border:1px solid color-mix(in srgb,var(--ivoire) 40%,transparent);border-radius:999px;font-size:11px;font-weight:600;line-height:1.2;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;color:var(--ivoire);transition:background-color .15s,border-color .15s,color .15s}
body.oceanwp-theme #footer-widgets .widget_nav_menu li a:hover{background:var(--orange);border-color:var(--orange);color:var(--bleu-nuit)}

/* ===== Formulaire Newsletter dans le pied de page (fond bleu nuit) ===== */
/* Textes ivoire, bouton orange à texte bleu nuit, erreurs en orange : couleurs permises sur fond sombre. */
body.oceanwp-theme #footer-widgets .widget_text p{margin:0 0 12px;font-size:14px;line-height:1.6}
body.oceanwp-theme #footer-widgets .wpcf7{max-width:none}
body.oceanwp-theme #footer-widgets .wpcf7 label,body.oceanwp-theme #footer-widgets .wpcf7 .wpcf7-list-item label{color:var(--ivoire)}
body.oceanwp-theme #footer-widgets .wpcf7 form>p{margin:0 0 12px}
body.oceanwp-theme #footer-widgets .wpcf7 .wpcf7-acceptance label{font-size:12px;line-height:1.5}
/* Champ transparent à contour ivoire et bouton icône (avion en papier) sur la même ligne.
   Contact Form 7 glisse un <p> dans le bloc : la mise en ligne vise le bloc et ce <p>. */
body.oceanwp-theme #footer-widgets .wpcf7 .el-nl-ligne{position:relative;margin:0 0 12px}
body.oceanwp-theme #footer-widgets .wpcf7 .el-nl-ligne,body.oceanwp-theme #footer-widgets .wpcf7 .el-nl-ligne>p{display:flex;gap:8px;align-items:stretch}
body.oceanwp-theme #footer-widgets .wpcf7 .el-nl-ligne>p{flex:1 1 auto;min-width:0;margin:0}
body.oceanwp-theme #footer-widgets .wpcf7 .el-nl-ligne .wpcf7-form-control-wrap{flex:1 1 auto;min-width:0}
body.oceanwp-theme #footer-widgets .wpcf7 .el-nl-ligne input[type=email]{height:44px;min-height:44px;margin:0;background:transparent;border:1px solid color-mix(in srgb,var(--ivoire) 55%,transparent);color:var(--ivoire);caret-color:var(--ivoire)}
body.oceanwp-theme #footer-widgets .wpcf7 .el-nl-ligne input[type=email]::placeholder{color:var(--ivoire);opacity:.75;font-size:14px}
/* Bouton carré : le texte « S'inscrire » reste son nom pour les lecteurs d'écran, l'icône est posée par-dessus */
body.oceanwp-theme #footer-widgets .wpcf7 .wpcf7-submit{flex:0 0 48px;width:48px;height:44px;min-height:44px;margin:0;padding:0;border-radius:8px;overflow:hidden;font-size:14px;color:transparent;background:var(--ivoire);border-color:var(--ivoire)}
body.oceanwp-theme #footer-widgets .wpcf7 .wpcf7-submit:hover,body.oceanwp-theme #footer-widgets .wpcf7 .wpcf7-submit:focus-visible{background:var(--orange);border-color:var(--orange);color:transparent}
body.oceanwp-theme #footer-widgets .wpcf7 .el-nl-ligne::after{content:"\f1d8";position:absolute;top:0;right:0;width:48px;height:44px;display:flex;align-items:center;justify-content:center;font:var(--fa-font-solid);font-size:17px;color:var(--bleu-nuit);pointer-events:none}
/* Case de consentement : coins arrondis et contour ivoire comme le champ ; cochée = remplie d'ivoire
   avec un liseré intérieur bleu nuit (sans image intégrée, que l'antivirus du serveur pourrait bloquer). */
body.oceanwp-theme #footer-widgets .wpcf7 input[type=checkbox]{appearance:none;-webkit-appearance:none;width:20px;height:20px;margin:1px 0 0;border:1px solid color-mix(in srgb,var(--ivoire) 55%,transparent);border-radius:5px;background:transparent;cursor:pointer}
body.oceanwp-theme #footer-widgets .wpcf7 input[type=checkbox]:checked{background:var(--ivoire);border-color:var(--ivoire);box-shadow:inset 0 0 0 3px var(--bleu-nuit)}
body.oceanwp-theme #footer-widgets .wpcf7 input[type=checkbox]:focus-visible{outline:3px solid var(--ivoire);outline-offset:2px}
/* Indicateur d'envoi de Contact Form 7 : sous le champ, sans pousser le bouton */
body.oceanwp-theme #footer-widgets .wpcf7 .el-nl-ligne .wpcf7-spinner{position:absolute;right:0;top:100%;margin:4px 0 0}
body.oceanwp-theme #footer-widgets .wpcf7 :is(input,select,textarea):focus-visible{outline-color:var(--ivoire);border-color:var(--ivoire)}
body.oceanwp-theme #footer-widgets .wpcf7 .wpcf7-not-valid{border-color:var(--orange)}
body.oceanwp-theme #footer-widgets .wpcf7 .wpcf7-not-valid-tip{color:var(--orange)}
body.oceanwp-theme #footer-widgets .wpcf7 form .wpcf7-response-output{margin:12px 0 0;border-color:var(--ivoire);background:transparent;color:var(--ivoire);font-size:14px}
body.oceanwp-theme #footer-widgets .wpcf7 form:is(.invalid,.failed) .wpcf7-response-output{border-color:var(--orange)}

/* ===== 1re colonne du pied de page : logo blanc, phrase du site, lien national ([el_pied_identite]) ===== */
body.oceanwp-theme #footer-widgets .el-pied-identite{color:var(--ivoire)}
body.oceanwp-theme #footer-widgets .el-pied-identite a.el-pied-logo{display:inline-block;line-height:0;text-decoration:none}
body.oceanwp-theme #footer-widgets .el-pied-identite img{display:block;width:170px;max-width:100%;height:auto}
body.oceanwp-theme #footer-widgets .el-pied-identite p.el-pied-site{margin:16px 0 6px;font-size:14px;font-weight:600;line-height:1.4}
body.oceanwp-theme #footer-widgets .el-pied-identite a.el-pied-national{font-size:14px}

/* ===== 4e colonne du pied de page : coordonnées ([el_pied_contact]) ===== */
/* Sans fond de carte (choix de Julian) : bureau, puis adresse, téléphone et courriel sur des
   lignes épurées, régulièrement espacées. */
body.oceanwp-theme #footer-widgets .el-pied-contact{display:flex;flex-direction:column;gap:4px;color:var(--ivoire)}
body.oceanwp-theme #footer-widgets .el-pied-contact p.el-pied-bureau{margin:0 0 8px;font-weight:800;font-size:18px;line-height:1.3}
body.oceanwp-theme #footer-widgets .el-pied-contact p.el-pied-adresse,body.oceanwp-theme #footer-widgets .el-pied-contact a.el-pied-ligne{display:flex;align-items:flex-start;gap:12px;margin:0;padding:6px 0;font-size:15px;line-height:1.5;color:var(--ivoire)}
body.oceanwp-theme #footer-widgets .el-pied-contact a.el-pied-ligne{text-decoration:none}
body.oceanwp-theme #footer-widgets .el-pied-contact :is(.el-pied-adresse,a.el-pied-ligne) i{flex:0 0 18px;width:18px;margin-top:4px;text-align:center;font-size:15px;line-height:1}
body.oceanwp-theme #footer-widgets .el-pied-valeur{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
body.oceanwp-theme #footer-widgets .el-pied-contact a.el-pied-ligne:hover{color:var(--orange)}

/* ===== Bandeau sous les colonnes du pied de page (crochet ocean_after_footer_widgets) ===== */
body.oceanwp-theme .el-pied-bande{background:var(--bleu-nuit);color:var(--ivoire)}
body.oceanwp-theme .el-pied-bande-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 48px;padding:32px 0 40px;border-top:1px solid color-mix(in srgb,var(--ivoire) 15%,transparent)}
body.oceanwp-theme .el-pied-suivez{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px}
body.oceanwp-theme .el-pied-surtitre{margin:0;font-size:12px;font-weight:600;line-height:1.5;letter-spacing:.1em;text-transform:uppercase;color:var(--ivoire)}
body.oceanwp-theme .el-pied-reseaux{display:flex;flex-wrap:wrap;gap:12px;margin:0;padding:0;list-style:none}
body.oceanwp-theme .el-pied-reseaux li{margin:0;padding:0}
body.oceanwp-theme .el-pied-reseaux a{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:1px solid color-mix(in srgb,var(--ivoire) 40%,transparent);border-radius:50%;font-size:18px;text-decoration:none;color:var(--ivoire);transition:background-color .15s,border-color .15s,color .15s}
body.oceanwp-theme .el-pied-reseaux a:hover{background:var(--orange);border-color:var(--orange);color:var(--bleu-nuit)}
body.oceanwp-theme .el-pied-app{display:flex;flex-wrap:wrap;align-items:center;gap:16px 32px}
body.oceanwp-theme .el-pied-app-texte{max-width:34ch}
body.oceanwp-theme .el-pied-app-texte p{margin:0;font-size:14px;line-height:1.55;color:var(--ivoire)}
body.oceanwp-theme .el-pied-app-texte p.el-pied-app-titre{margin:0 0 4px;font-size:16px;font-weight:800}
body.oceanwp-theme .el-pied-stores{display:flex;flex-wrap:wrap;gap:10px}
body.oceanwp-theme .el-pied-stores a{display:block;line-height:0;text-decoration:none}
body.oceanwp-theme .el-pied-stores img{display:block;width:auto;height:44px}
body.oceanwp-theme .el-pied-bande :is(a,button):focus-visible{outline:3px solid var(--ivoire);outline-offset:3px}
@media (max-width:767px){
  body.oceanwp-theme .el-pied-bande-inner{padding:24px 0 28px}
}

/* ===== Pied de page sur mobile (moins de 768 px), d'après la maquette de Julian ===== */
@media (max-width:767px){
  /* Colonnes empilées et réordonnées : identité, contact, sections, newsletter */
  body.oceanwp-theme #footer-widgets{padding:36px 0 0}
  body.oceanwp-theme #footer-widgets .footer-widgets-inner{display:flex;flex-direction:column}
  body.oceanwp-theme #footer-widgets .footer-widgets-inner::before,body.oceanwp-theme #footer-widgets .footer-widgets-inner::after{content:none}
  body.oceanwp-theme #footer-widgets .footer-box{float:none;width:100%;padding:0 20px;margin:0 0 32px}
  body.oceanwp-theme #footer-widgets .col-1{order:1}
  body.oceanwp-theme #footer-widgets .col-4{order:2}
  body.oceanwp-theme #footer-widgets .col-2{order:3}
  body.oceanwp-theme #footer-widgets .col-3{order:4}
  body.oceanwp-theme #footer-widgets .footer-box .widget-title{font-size:22px;margin-bottom:18px}

  /* Identité : logo et phrase côte à côte */
  /* Le logo occupe deux lignes : la phrase et le lien s'empilent à sa droite, centrés en hauteur */
  body.oceanwp-theme #footer-widgets .el-pied-identite{display:grid;grid-template-columns:120px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;column-gap:24px}
  body.oceanwp-theme #footer-widgets .el-pied-identite a.el-pied-logo{grid-row:1 / span 2;align-self:center}
  body.oceanwp-theme #footer-widgets .el-pied-identite img{width:120px}
  body.oceanwp-theme #footer-widgets .el-pied-identite p.el-pied-site{grid-column:2;grid-row:1;align-self:end;margin:0;font-size:15px}
  body.oceanwp-theme #footer-widgets .el-pied-identite p.el-pied-site br{display:none}
  body.oceanwp-theme #footer-widgets .el-pied-identite a.el-pied-national{grid-column:2;grid-row:2;align-self:start;margin-top:2px}
  /* National : pas de lien « Voir le site national », la phrase seule est centrée à côté du logo. */
  body.oceanwp-theme #footer-widgets .el-pied-identite p.el-pied-site:last-child{grid-row:1 / span 2;align-self:center}

  /* Contact : lignes un peu plus hautes, faciles à toucher */
  body.oceanwp-theme #footer-widgets .el-pied-contact{gap:8px}
  body.oceanwp-theme #footer-widgets .el-pied-contact p.el-pied-adresse,body.oceanwp-theme #footer-widgets .el-pied-contact a.el-pied-ligne{font-size:16px}

  /* Sections : étiquettes plus grandes au doigt */
  body.oceanwp-theme #footer-widgets .widget_nav_menu ul.menu{gap:8px}
  body.oceanwp-theme #footer-widgets .widget_nav_menu li a{min-height:40px;padding:0 14px}

  /* Bandeau : « Suivez-nous » au-dessus des icônes, application empilée, badges côte à côte */
  body.oceanwp-theme .el-pied-bande-inner{flex-direction:column;align-items:stretch;gap:32px;padding:28px 20px 24px}
  body.oceanwp-theme .el-pied-suivez{flex-direction:column;align-items:flex-start;gap:16px}
  body.oceanwp-theme .el-pied-reseaux{gap:14px}
  body.oceanwp-theme .el-pied-reseaux a{width:52px;height:52px;font-size:20px}
  body.oceanwp-theme .el-pied-app{flex-direction:column;align-items:stretch;gap:16px}
  body.oceanwp-theme .el-pied-app-texte{max-width:none}
  body.oceanwp-theme .el-pied-app-texte p.el-pied-app-titre{font-size:18px}
  body.oceanwp-theme .el-pied-stores{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  body.oceanwp-theme .el-pied-stores img{width:100%;height:auto}
}

/* Coins décoratifs (triangles de la charte) : en haut à droite et en bas à gauche du pied de page.
   Fond porté par #footer ; les blocs intérieurs deviennent transparents pour les laisser voir. */
body.oceanwp-theme #footer{background-color:var(--bleu-nuit);background-image:url("../images/coin-haut-droite.svg"),url("../images/coin-bas-gauche.svg");background-repeat:no-repeat;background-position:right top,left bottom;background-size:clamp(80px,12.5vw,180px) auto,clamp(110px,17vw,250px) auto}
body.oceanwp-theme #footer #footer-widgets,body.oceanwp-theme #footer #footer-bottom,body.oceanwp-theme #footer .el-pied-bande{background-color:transparent}
