/* =========================================================
   emma-grillet.fr - custom.css (template Keynote)
   Chargé automatiquement par Helix pour tous les styles.
   ========================================================= */

/* ===== POLICES LOCALES ===== */
@font-face{font-family:'Raleway';src:url('/templates/keynote/fonts/raleway-300.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Raleway';src:url('/templates/keynote/fonts/raleway-latin-regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Raleway';src:url('/templates/keynote/fonts/raleway-latin-italic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'Raleway';src:url('/templates/keynote/fonts/raleway-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Raleway';src:url('/templates/keynote/fonts/raleway-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Raleway';src:url('/templates/keynote/fonts/raleway-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Raleway';src:url('/templates/keynote/fonts/raleway-700italic.woff2') format('woff2');font-weight:700;font-style:italic;font-display:swap}
@font-face{font-family:'Raleway';src:url('/templates/keynote/fonts/raleway-800.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}
body,h1,h2,h3,h4,h5,h6,.sp-megamenu-parent,.sppb-addon-title,.sppb-btn{font-family:'Raleway',Arial,sans-serif}

/* ===== REGLES PERDUES A L'ENREGISTREMENT (suite du Custom CSS) ===== */
a.btn:hover, a.btn:focus, a.btn:active {
  background-color: #951B81!important;
  border-color: #951B81!important;
}
a.btn {
  background: #951B81!important;
  border-color: #951B81!important;
}
span.social-share-icon-title{
  display: none!important;
}
.eb-category-title{
  font-weight: 500;
  font-size: 24px !important;
}
#sp-left .sp-module:first-child, #sp-right .sp-module:first-child {
  margin-top: 130px!important;
}
h1 { position: relative; z-index: 999; }
h2 {
  color: #be0143;
  margin-top: 2em;
  margin-bottom: 0.6em;
  font-size: 1.5em;
}
h3 {
  color: #333333;
  margin-top: 1.4em;
  margin-bottom: 0.4em;
  font-size: 1.15em;
  font-weight: bold;
}
p {
  line-height: 1.8;
  color: #444444;
  margin-bottom: 1em;
}
a {
  color: #be0143;
  text-decoration: underline;
}
a:hover {
  color: #8a002f;
}
.ef-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  padding: 32px 36px;
  margin: 32px 0;
}
.ef-card h3 {
  margin-top: 1.2em;
}
.ef-card h3:first-child {
  margin-top: 0;
}
.ef-btn {
  display: inline-block;
  background-color: #be0143;
  color: #ffffff !important;
  padding: 13px 28px;
  text-decoration: none;
  font-weight: bold;
  margin: 8px 8px 8px 0;
  transition: background-color 0.2s, color 0.2s;
}
.ef-btn:hover {
  background-color: #ffffff;
  color: #be0143 !important;
  outline: 2px solid #be0143;
  text-decoration: none;
}
body.itemid-442 header.header {
  display: none !important;
}
.eb-event-date, .eb-event-date-container {
  padding: 5px;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
}
.eb-event-date-container {
  background: #951b81!important;
}

/* ===== ICONES SVG (remplace Font Awesome) ===== */
body .fa-bars::before,body .fa-remove::before,body .fa-folder-open::before,body .sp-menu-heading::after,body .menu-toggler::after{content:""!important;font-family:inherit!important;display:inline-block;width:1em;height:1em;background:currentColor;-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat;vertical-align:-.125em}
body .fa-bars::before{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18v2H3zm0 6h18v2H3zm0 6h18v2H3z'/%3E%3C/svg%3E")}
body .fa-remove::before{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.3 3.9 12 10.6l6.7-6.7 1.4 1.4-6.7 6.7 6.7 6.7-1.4 1.4-6.7-6.7-6.7 6.7-1.4-1.4 6.7-6.7-6.7-6.7z'/%3E%3C/svg%3E")}
body .fa-folder-open::before{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 5a1 1 0 0 1 1-1h6l2 2h8a1 1 0 0 1 1 1v2H6.5a1 1 0 0 0-.95.68L2 18V5zm4.3 6H23l-3.3 9H2.8z'/%3E%3C/svg%3E")}
body .sp-menu-heading::after{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9h12l-6 7z'/%3E%3C/svg%3E")}
body .menu-toggler::after{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm-1 5v4H7v2h4v4h2v-4h4v-2h-4V7z'/%3E%3C/svg%3E")}
body .menu-parent-open>.nav-header>.menu-toggler::after,body .menu-parent-open>a>.menu-toggler::after{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zM7 11v2h10v-2z'/%3E%3C/svg%3E")}
html body .fa.fa-bars,html body .fa.fa-remove,html body .fa.fa-folder-open,html body .fa.fa-bars::before,html body .fa.fa-remove::before,html body .fa.fa-folder-open::before{font-family:Arial,sans-serif!important}
html body .menu-toggler,html body .menu-toggler::after{font-family:Arial,sans-serif!important}