/* =========================================================
   1) Header links + Boutons Notion (style link-in-bio)
========================================================= */
.custom-header__links__link{
  padding: 8px 24px !important;
  font-family: Poppins, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  color: #fff !important;
  font-weight: 400 !important;
  background-color: #00b1ac !important;
  border: none !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  transition: background-color .3s, transform .15s ease, opacity .2s ease !important;
}
.custom-header__links__link:hover{
  background-color: #ff7034 !important;
  color: #fff !important;
}

/* centre uniquement les blocks qui contiennent un bouton */
.notion-block:has(.notion-button){
  max-width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}
/* fallback */
.notion-block .notion-button{
  margin-left: auto !important;
  margin-right: auto !important;
}


/* =========================================================
   2) Masquages (badges / liens)
========================================================= */
.notion-block-fd1e69b90e7e43e0a4a94f0f1cb0f724 .notion-title-container,
a.styles_badgerLink__YnR_g{
  display: none !important;
}
a.notion-page-link,
a.link-block-1046ae9a98f280d39023f3ba28cfc7c9,
a.link-block-19f3c0c80f76450e926ba49e49f4bceb,
a.link-block-1a46ae9a98f280b48cfaf0f3981dd64a,
a.link-block-35adaa1207fd47b38b9d6b4115740b22,
a.link-block-7b3a8f150fff44bb972726bbd828a57f,
a.link-block-905b976410cf420caff3c6a618a147f9,
a.link-block-d0b436d5a1e1428d8bd76845ab0654de,
a.link-block-ea6aaecc43b448438befb83d9a2f60f7,
a.link-block-1d06ae9a98f2804a838fea4211af04f1,
a.link-block-1d16ae9a98f280a2b1fac57ddcfcf2cf,
a.link-block-2fe6ae9a98f280e2824fdad8963e5917,
a.link-block-2ff6ae9a98f28051aa49d147cc6ca334{
  visibility: hidden;
  position: absolute;
  left: -9999px;
}

/* Masque le badge "Made with Fillout" */
a[href^="https://www.fillout.com/discover"],
a[href*="fillout.com/discover"]{
  display: none !important;
}

/* =========================================================
   3) Footer / Copyright / Header-footer tweaks
========================================================= */
.styles_main_footer__LoNow{
  background-color: hsla(0, 0%, 0%, .05) !important;
}
.styles_footer_column__2LJSq{ display: none; }

.festiv-copyright{
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-top: 20px;
  padding-bottom: 20px;
}

/* Footer colonnes injectées par JS */
footer.styles_main_footer__LoNow .festiv-footer-columns{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
  padding: 0 10px;
  width: 100%;
}
@media (max-width: 600px){
  footer.styles_main_footer__LoNow .festiv-footer-columns{
    grid-template-columns: 1fr;
  }
}
footer.styles_main_footer__LoNow .festiv-footer-column a{
  display: block;
  color: #00b1ac !important;
  text-decoration: none !important;
  margin-bottom: 8px;
  font-weight: 600;
  transition: color .2s ease !important;
}
footer.styles_main_footer__LoNow .festiv-footer-column a:hover{
  color: #ff7034 !important;
}

/* =========================================================
   4) Typo / Titres / Logo
========================================================= */
.custom-header .title-link .title{
  background-image: url(https://cdn.myportfolio.com/fe6514f0-bf39-4f75-8a53-9415bc9aec70/b03b17e5-84dc-4ce1-960e-ebc116c6fc18_rw_600.png?h=3c450990c65cd9d632a3025e0d23ab0c);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  height: 96px;
  width: 180px;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
}
.search-title{ visibility: visible; background: 0 0; }

.notion-h-title,
h1.notion-title{
  font-family: Caprasimo, cursive !important;
  color: #882b6e !important;
}
h1.notion-title{ font-weight: 900 !important; }

/* H1 page */
.notion-title{
  font-weight: 900 !important;
  background: linear-gradient(to right, #ff8a00, #e52e71) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
}

/* H2/H3/H4 : dégradé uniquement sur gras */
.notion-h-title{
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #882b6e !important;
  -webkit-text-fill-color: currentColor !important;
  display: inline-block !important;
  font-weight: 400 !important;
  letter-spacing: -.5px;
  text-transform: uppercase;
}
.notion-h-title b,
.notion-h-title strong{
  background: linear-gradient(to right, #ff8a00, #e52e71) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: inherit !important;
}
.notion-block-34d20cdc7b5a4441b1710f343c7a71f5 b{
  font-size: 50px !important;
  font-family: Caprasimo, serif !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  padding-bottom: .1em !important;
  background: linear-gradient(to right, #ff7034, #ff3e9d) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
}


/* =========================================================
   5) Cover
========================================================= */
body .notion-page-cover-wrapper img,
body .notion-page-cover-wrapper span{
  width: 100% !important;
  height: 600px !important;
  max-height: 600px !important;
}
.notion-page-cover-wrapper{
  width: 100%;
  height: 600px !important;
  max-height: 600px !important;
  margin-top: 100px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
body .notion-page-cover-wrapper img{
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center 43% !important;
}

/* =========================================================
   6) Espacements
========================================================= */
.notion-block-a24a44da57c7443c9cc2828a48bf66a6{
  margin-top: 50px !important;
  margin-bottom: 80px !important;
}

.notion-block-2fb6ae9a98f2805fb38dc1fee4758a33{
  font-size: 1.6em;
}

/* =========================================================
   7) Responsive
========================================================= */
@media (max-width: 768px){
  body .notion-page-cover-wrapper img,
  body .notion-page-cover-wrapper span{
    height: 300px !important;
    max-height: 300px !important;
  }
  .notion-page-cover-wrapper{
    height: 300px !important;
    margin-top: 0;
    margin-bottom: 0;
    min-height: 0 !important;
  }
  body .notion-page-cover-wrapper img{
    object-position: top center !important;
  }

  h2.notion-h.notion-h1.notion-h-indent-0
  .notion-block-d7029277b8c843ac99308fa4128ed384[data-id=d7029277b8c843ac99308fa4128ed384]
  a.notion-h-title b{
    font-size: 40px !important;
    font-family: Poppins, serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
  }

  div.notion-block-1a46ae9a98f280498706c38fe2b95838
  div.notion-block-1a46ae9a98f2809188a9e0919660bbcd,
  div.notion-block-cac7af24dd9249adbe6819cfc5620a9d,
  div.notion-block-d3789cf5e7034062ac8672f01be15220{
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .notion-block-a24a44da57c7443c9cc2828a48bf66a6{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* =========================================================
   8) Gallery cards (ombre, cover)
========================================================= */
.notion-gallery .notion-gallery-grid{ gap: 24px !important; padding: 12px !important; }

.notion-gallery .notion-collection-card{
  border-radius: 22px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.05) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.05) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}
.notion-gallery .notion-collection-card:hover{
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 45px rgba(0,0,0,.10), 0 6px 16px rgba(0,0,0,.06) !important;
}

.notion-gallery .notion-collection-card-cover{
  overflow: hidden !important;
  border-radius: 22px 22px 0 0 !important;
  height: 230px !important;
}
.notion-gallery .notion-collection-card-cover img{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: inherit !important;
  transform: scale(1.02);
}

.notion-gallery .notion-collection-card-body{ padding: 18px 18px 16px !important; }
.notion-gallery .notion-collection-card .notion-property-title{
  font-size: 20px !important;
  line-height: 1.3 !important;
}
.notion-gallery .notion-collection-card .notion-property-text,
.notion-gallery .notion-collection-card .notion-property-rich_text{ opacity: .92 !important; }
.notion-gallery .notion-property-multi_select-item{
  border-radius: 999px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

/* Ombres non coupées */
.notion-gallery,
.notion-gallery-view,
.notion-gallery-grid,
.notion-gallery-grid > *,
.notion-collection,
.notion-collection-view,
.notion-collection-content,
.notion-collection-body,
.notion-collection-container{
  overflow: visible !important;
}

/* Align emoji + titre */
.notion-gallery .notion-property-title .notion-page-title{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
}
.notion-gallery .notion-page-title-icon{
  display:flex !important;
  align-items:center !important;
  line-height:1 !important;
  font-size:1.1em !important;
}
.notion-gallery .notion-page-title-text{
  line-height:1.15 !important;
  display:block !important;
}

/* =========================================================
   9) Tables — scroll horizontal + indicateurs
========================================================= */
.notion-table,
.notion-table-view,
.notion-collection-view-table,
.notion-collection-view-table > div,
.notion-collection-content,
.notion-collection-body{
  overflow-x: auto !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch;
}
.notion-table table,
.notion-table-view table,
.notion-collection-view-table table{
  width: max-content !important;
  min-width: 100% !important;
}
.notion-table,
.notion-table-view,
.notion-collection-view-table{
  touch-action: pan-x pan-y !important;
}

/* Indicateurs (classes ajoutées par JS) */
.notion-collection .notion-table{ position: relative; }
.notion-collection .notion-table.festiv-can-scroll-right{
  box-shadow: inset -24px 0 24px -24px rgba(0,0,0,.35);
}
.notion-collection .notion-table.festiv-can-scroll-left{
  box-shadow: inset 24px 0 24px -24px rgba(0,0,0,.35);
}
.notion-collection .notion-table.festiv-can-scroll-left.festiv-can-scroll-right{
  box-shadow:
    inset 24px 0 24px -24px rgba(0,0,0,.35),
    inset -24px 0 24px -24px rgba(0,0,0,.35);
}
.festiv-table-hint{
  font-size: 14px;
  color: #666;
  margin: 6px 0 10px;
  font-style: italic;
}

/* Masquer le titre + icône de la base de commentaires (si c’est ce que tu voulais) */
.notion-collection-header-title{ display: none !important; }

/* =========================================================
   10) Liens texte (propres) + notion-link en dark
========================================================= */
.notion-text a,
.notion-callout-text a,
.notion-list a{
  color: #00b1ac !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color .2s ease, box-shadow .2s ease !important;
  background: transparent !important;
  -webkit-tap-highlight-color: transparent;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}
.notion-text a:hover,
.notion-callout-text a:hover,
.notion-list a:hover{
  color: #ff7034 !important;
  box-shadow: inset 0 -2px 0 0 currentColor !important;
  background: transparent !important;
}
.notion-text a img,
.notion-callout-text a img,
.notion-list a img{ box-shadow: none !important; }

.notion-text a:has(img),
.notion-callout-text a:has(img),
.notion-list a:has(img){
  box-shadow: none !important;
  color: inherit !important;
}

/* ne pas toucher aux boutons/header links */
.notion-button,
.custom-header__links__link{ box-shadow: none !important; }

/* Fix liens notion-link en dark */
.dark-mode a.notion-link{
  color: #00b1ac !important;
  opacity: 1 !important;
}
.dark-mode a.notion-link:hover{
  color: #ff7034 !important;
  opacity: 1 !important;
  box-shadow: inset 0 -2px 0 0 currentColor !important;
}

/* =========================================================
   11) Callouts — style + anti-chevauchement + icône générique
========================================================= */
.notion-callout{
  display: flex !important;
  align-items: flex-start !important;
  width: 100% !important;
  padding: 20px 22px !important;
  border-radius: 14px !important;
  border-width: 1px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.08) !important;
  gap: 12px !important;
  overflow: visible !important;
}
.notion-callout .notion-page-icon{
  align-self: flex-start !important;
  margin-top: 2px !important;
}
.notion-callout-text{
  margin-left: 12px !important;
  width: 100% !important;
  max-width: none !important;
  flex: 1 1 auto !important;
  max-width: calc(100% - 24px - 16px) !important;
}

/* Fix ombre coupée autour des callouts */
.notion-block,
.notion-row,
.notion-column{ overflow: visible !important; }

/* Masquer l’icône générique Simple.ink (garde les vraies) */
.notion-callout > svg.notion-page-icon[alt="Page"]{ display: none !important; }
.notion-callout:has(> svg.notion-page-icon[alt="Page"]) .notion-callout-text{ margin-left: 0 !important; }
.notion-callout:has(> svg.notion-page-icon[alt="Page"]){ gap: 0 !important; }

.notion-callout.festiv-callout-noicon .notion-callout-text{ margin-left: 0 !important; }
.notion-callout.festiv-callout-noicon{ gap: 0 !important; }

/* =========================================================
   12) FAQ (toggles)
========================================================= */
details > summary::-webkit-details-marker{ display: none; }
details > summary::marker{ display: none; }

details.notion-toggle{
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 18px 0;
}
details.notion-toggle > summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
details.notion-toggle > summary::after{
  content: "▾";
  font-size: 22px;
  color: #999;
  transition: transform 0.2s ease;
}
details.notion-toggle[open] > summary::after{ transform: rotate(180deg); }

details.notion-toggle > div{
  overflow: hidden;
  height: 0;
  opacity: 0;
  transform: translateY(-4px);
  padding-top: 0;
  transition:
    height 350ms cubic-bezier(.4,0,.2,1),
    opacity 200ms ease,
    transform 200ms ease,
    padding-top 350ms cubic-bezier(.4,0,.2,1);
  font-size: 17px;
  line-height: 1.65;
  color: #666;
}
details.notion-toggle[open] > div{
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   13) Back to top (button + tooltip + anim)
========================================================= */
.festiv-backtotop{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00b1ac;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 22px;
  line-height: 1;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}
.festiv-backtotop.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.festiv-backtotop:hover{ background: #ff7034; opacity: 1; }
.festiv-backtotop:focus-visible{
  box-shadow: 0 0 0 3px rgba(0,177,172,.35), 0 10px 30px rgba(0,0,0,.16);
}
@media (max-width: 768px){
  .festiv-backtotop{
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

/* Tooltip + micro anim desktop */
@media (hover: hover) and (pointer: fine){
  .festiv-backtotop::after{
    content: "Haut de page";
    position: absolute;
    right: 0;
    bottom: 62px;
    background: rgba(0,0,0,.78);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
  }
  .festiv-backtotop:hover::after,
  .festiv-backtotop:focus-visible::after{
    opacity: 1;
    transform: translateY(0);
  }
  .festiv-backtotop:hover{
    transform: translateY(-2px) scale(1.05);
    animation: festiv-top-wiggle .55s ease-in-out;
  }
}
@keyframes festiv-top-wiggle{
  0%   { transform: translateY(0) scale(1); }
  20%  { transform: translateY(-2px) scale(1.05) rotate(-3deg); }
  40%  { transform: translateY(-2px) scale(1.05) rotate(3deg); }
  60%  { transform: translateY(-2px) scale(1.05) rotate(-2deg); }
  80%  { transform: translateY(-2px) scale(1.05) rotate(2deg); }
  100% { transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce){
  .festiv-backtotop,
  .festiv-backtotop::after{
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   14) Theme toggle iOS (switch)
========================================================= */
#festiv-theme-toggle.festiv-switch{
  position: fixed;
  top: 76px;
  right: 18px;
  z-index: 9999;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 900px){
  #festiv-theme-toggle.festiv-switch{ top: 76px; right: 12px; }
}
#festiv-theme-toggle .festiv-switch__track{
  width: 44px;
  height: 26px;
  border-radius: 9999px;
  display: inline-block;
  position: relative;
  background: #ff7a00;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
  transition: background 200ms ease, box-shadow 200ms ease;
}
#festiv-theme-toggle .festiv-switch__knob{
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  position: absolute;
  top: 2px;
  left: 2px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
  transform: translateX(0);
  transition: transform 520ms cubic-bezier(.16, 1.15, .3, 1), box-shadow 200ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
#festiv-theme-toggle .festiv-switch__knob-icon{
  position: absolute;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 160ms ease, transform 220ms cubic-bezier(.2,.8,.2,1);
}
#festiv-theme-toggle .festiv-switch__knob-icon svg{
  display: block;
  color: rgba(0,0,0,0.55);
}
#festiv-theme-toggle .festiv-switch__knob-icon.is-moon{
  opacity: 1;
  transform: scale(1);
}

#festiv-theme-toggle.is-dark .festiv-switch__track,
.dark-mode #festiv-theme-toggle .festiv-switch__track{
  background: #00b1ac;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}
#festiv-theme-toggle.is-dark .festiv-switch__knob,
.dark-mode #festiv-theme-toggle .festiv-switch__knob{
  transform: translateX(18px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
}
#festiv-theme-toggle.is-dark .festiv-switch__knob-icon.is-moon,
.dark-mode #festiv-theme-toggle .festiv-switch__knob-icon.is-moon{
  opacity: 0;
  transform: scale(0.92);
}
#festiv-theme-toggle.is-dark .festiv-switch__knob-icon.is-sun,
.dark-mode #festiv-theme-toggle .festiv-switch__knob-icon.is-sun{
  opacity: 1;
  transform: scale(1);
}
#festiv-theme-toggle:focus-visible .festiv-switch__track{
  box-shadow: 0 0 0 3px rgba(0,177,172,0.25), inset 0 0 0 1px rgba(0,0,0,0.12);
}

/* AUTO indicator (point vert + label) */
#festiv-theme-toggle{ position: relative; }
#festiv-theme-toggle.is-auto::after{
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #22c55e;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 0 0 3px rgba(34,197,94,.18), 0 4px 10px rgba(0,0,0,.2);
  pointer-events: none;
}
.dark-mode #festiv-theme-toggle.is-auto::after{
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 0 0 3px rgba(34,197,94,.25), 0 4px 14px rgba(0,0,0,.6);
}
#festiv-theme-toggle.is-auto::before{
  content: "Auto";
  position: absolute;
  top: -28px;
  right: -8px;
  font-size: 11px;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 9999px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
  background: rgba(255,255,255,.95);
  color: rgba(0,0,0,.8);
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  pointer-events: none;
  white-space: nowrap;
}
#festiv-theme-toggle.is-auto:hover::before{
  opacity: 1;
  transform: translateY(0);
}
.dark-mode #festiv-theme-toggle.is-auto::before{
  background: rgba(0,0,0,.85);
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}

/* Dark mode: icônes header */
.dark-mode .custom-header__menu,
.dark-mode .notion-search-button,
.dark-mode .notion-search-button .search-title,
.dark-mode .notion-search-button svg,
.dark-mode .custom-header__menu svg,
.dark-mode .custom-header__menu .icon{
  color: #fff !important;
  fill: currentColor !important;
}

/* =========================================================
   15) Embeds / iframes (Fillout etc.)
========================================================= */
.notion-asset-wrapper iframe{
  border: none;
  background: transparent !important;
}

/* Fillout via shortcode */
.festiv-fillout{
  width: 100%;
  min-height: 520px;
}
@media (max-width: 700px){
  .festiv-fillout{ min-height: 650px; }
}

/* Éclaircir certains iframes en dark (tes IDs) */
.dark-mode .notion-block-3066ae9a98f280e48e2cf08a0417fc81 iframe,
.dark-mode .notion-block-3066ae9a98f280b8b391d15455e98a24 iframe,
.dark-mode .notion-block-2ec6ae9a98f280b68b7bf84779828c93 iframe,
.dark-mode .notion-block-77e137afe607458b909ae1f62e58dee4 iframe,
.dark-mode .notion-block-2fb6ae9a98f2804d97dfe79791798201 iframe,
.dark-mode .notion-block-1d26ae9a98f28027a4f1c5c9eb9ab3ae iframe,
.dark-mode .notion-block-1046ae9a98f2809ead97fef492b2b5f0 iframe,
.dark-mode .notion-block-2f26ae9a98f2808ea8f0ed11c8f916fd iframe,
.dark-mode .notion-block-2f26ae9a98f2805fbbb4f3fd90c97bae iframe,
.dark-mode .notion-block-1d26ae9a98f280feb7b5d9f7058c7ddd iframe{
  filter: invert(0.898) hue-rotate(180deg) brightness(1.15) contrast(1.05) !important;
}

/* =========================================================
   16) Vues DB — masquer icônes
========================================================= */
.notion-collection-header .notion-collection-view-type-wrapper svg,
.notion-collection-header .notion-collection-view-type-wrapper-selected svg,
.notion-collection-header .notion-collection-view-type-wrapper-single svg,
.notion-collection-header .notion-collection-view-dropdown > svg:first-child{
  display: none !important;
}
.notion-collection-header .notion-collection-view-type-wrapper,
.notion-collection-header .notion-collection-view-type-wrapper-selected,
.notion-collection-header .notion-collection-view-type-wrapper-single{
  gap: 0 !important;
}
.notion-collection-header .notion-collection-view-type-title{
  margin-left: 0 !important;
}

/* =========================================================
   17) Bouton "retour" (si utilisé)
========================================================= */
.festiv-back-btn{
  display:inline-block;
  padding:8px 24px;
  border-radius:9999px;
  background:#00b1ac;
  color:#fff !important;
  text-decoration:none !important;
  font-family:Poppins, sans-serif;
  font-size:14px;
  line-height:1.4;
  transition:.3s;
  cursor:pointer;
  border:none;
  outline:none;
  box-shadow:none;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
}
.festiv-back-btn:hover{ background:#ff7034; }
.festiv-back-btn:focus{ outline:none; }
.festiv-back-btn:focus-visible{ box-shadow:0 0 0 3px rgba(0,177,172,.35); }

/* =========================================================
   18) Wiggle logo footer + header
========================================================= */
footer.styles_main_footer__LoNow .styles_logo__JgM3o img{
  transform-origin: 50% 80%;
  transition: transform .2s ease;
  will-change: transform;
}
footer.styles_main_footer__LoNow .styles_logo__JgM3o:hover img{
  animation: festiv-wiggle .55s ease-in-out;
}

.custom-header-container a.title-link .title,
.custom-header-container a.title-link span.title{
  display: inline-block;
  transform-origin: 50% 80%;
  will-change: transform;
}
.custom-header-container a.title-link .title:hover,
.custom-header-container a.title-link span.title:hover{
  animation: festiv-wiggle .55s ease-in-out;
}
@keyframes festiv-wiggle{
  0%   { transform: rotate(0) scale(1); }
  15%  { transform: rotate(-8deg) scale(1.03); }
  30%  { transform: rotate(8deg)  scale(1.03); }
  45%  { transform: rotate(-6deg) scale(1.02); }
  60%  { transform: rotate(6deg)  scale(1.02); }
  75%  { transform: rotate(-3deg) scale(1.01); }
  100% { transform: rotate(0) scale(1); }
}

/* =========================================================
   Meteoblue / iOS fix
========================================================= */

/* On annonce juste que le site supporte les 2, sans forcer light/dark */
html { color-scheme: light dark; }

/* Wrapper autour du widget : on lui donne le fond de ton site (évite le blanc iPhone) */
.notion-asset-wrapper:has(iframe[src*="meteoblue.com"]),
.notion-asset-wrapper:has(iframe[data-src*="meteoblue.com"]) {
  background: #111 !important; /* mets ici la vraie couleur de fond de ton site */
  border-radius: 14px;
  overflow: hidden; /* coupe les coins si l'iframe déborde */
}

/* Iframe : pas d'ombre */
iframe[src*="meteoblue.com"],
iframe[data-src*="meteoblue.com"] {
  background: transparent !important;
  box-shadow: none !important;
  display: block;
}


/* =========================================================
   20) DISQUS — bloc unique (fix captcha + breakout)
========================================================= */

/* Disqus clair même en dark-mode (évite texte blanc/fond blanc) */
#disqus_thread,
#disqus_thread iframe{
  color-scheme: light !important;
}
.dark-mode #disqus_thread,
.dark-mode #disqus_thread iframe{
  color-scheme: light !important;
}

/* ✅ Ne cibler QUE les iframes Disqus (pas reCAPTCHA) */
#disqus_thread iframe[src*="disqus.com"]{
  display: block !important;
  width: 1px !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

/* ✅ reCAPTCHA : ne pas le contraindre */
#disqus_thread iframe[src*="recaptcha"],
#disqus_thread iframe[src*="google.com/recaptcha"],
#disqus_thread iframe[src*="recaptcha.net"]{
  width: auto !important;
  min-width: initial !important;
  max-width: none !important;
}

/* Neutralise tes filtres d’iframe en dark */
.dark-mode #disqus_thread iframe[src*="disqus.com"]{
  filter: none !important;
}

/* Breakout hors colonne (quand Notion n’est PAS en pleine largeur) */
.festiv-disqus-wrap{
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

/* Contenu Disqus centré avec largeur “blog” */
.festiv-disqus-wrap #disqus_thread{
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto !important;
}
/* =========================================
   DISQUS — message "cookies refusés" centré
   (garde le wrapper full-bleed, mais limite le fallback)
========================================= */
.festiv-disqus-wrap > *:not(#disqus_thread){
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* optionnel : un peu d’air */
.festiv-disqus-wrap > *:not(#disqus_thread){
  padding-left: 0 !important;
  padding-right: 0 !important;
}



/* =========================
   TEAM — portraits (6 rangées Notion rows/columns)
   - 3 colonnes sur desktop
   - 2 colonnes sur tablette
   - 1 colonne sur mobile
   - portraits ronds, taille uniforme
   - hover premium (scopé équipe)
   - masque la colonne vide de la dernière rangée
   ========================= */

:root{
  --team-gap: 26px;
  --team-img: 180px;
  --team-img-md: 160px;
}

/* ====== Les 6 rangées ====== */
.notion-block-24ff6e81db664b7f8f6a11ec5b402210.notion-row,
.notion-block-d5097585faf9476f83460d4af5abce48.notion-row,
.notion-block-048f1598dbd54e51b4ac5f2f31811797.notion-row,
.notion-block-73db2ca2f4a84ee68a3e5cb8e559894c.notion-row,
.notion-block-1d16ae9a98f280428097e9d01fa9b55f.notion-row,
.notion-block-1ca6ae9a98f28009bf2fd28e962aae1e.notion-row{
  display: grid !important;
  grid-template-columns: repeat(3, max-content) !important; /* 3 colonnes fixes */
  justify-content: center !important;
  align-items: start !important;
  gap: var(--team-gap) !important;
  max-width: 100% !important;
  left: 0 !important;
}

/* On supprime les spacers Notion */
.notion-block-24ff6e81db664b7f8f6a11ec5b402210.notion-row > .notion-spacer,
.notion-block-d5097585faf9476f83460d4af5abce48.notion-row > .notion-spacer,
.notion-block-048f1598dbd54e51b4ac5f2f31811797.notion-row > .notion-spacer,
.notion-block-73db2ca2f4a84ee68a3e5cb8e559894c.notion-row > .notion-spacer,
.notion-block-1d16ae9a98f280428097e9d01fa9b55f.notion-row > .notion-spacer,
.notion-block-1ca6ae9a98f28009bf2fd28e962aae1e.notion-row > .notion-spacer{
  display: none !important;
  width: 0 !important;
}

/* Colonnes = cartes */
.notion-block-24ff6e81db664b7f8f6a11ec5b402210.notion-row > .notion-column,
.notion-block-d5097585faf9476f83460d4af5abce48.notion-row > .notion-column,
.notion-block-048f1598dbd54e51b4ac5f2f31811797.notion-row > .notion-column,
.notion-block-73db2ca2f4a84ee68a3e5cb8e559894c.notion-row > .notion-column,
.notion-block-1d16ae9a98f280428097e9d01fa9b55f.notion-row > .notion-column,
.notion-block-1ca6ae9a98f28009bf2fd28e962aae1e.notion-row > .notion-column{
  width: auto !important;
  max-width: none !important;
  text-align: center !important;
  border-radius: 22px;
  transform: translateZ(0);
}

/* Portrait rond + taille uniforme */
.notion-block-24ff6e81db664b7f8f6a11ec5b402210 .notion-asset-wrapper-image img,
.notion-block-d5097585faf9476f83460d4af5abce48 .notion-asset-wrapper-image img,
.notion-block-048f1598dbd54e51b4ac5f2f31811797 .notion-asset-wrapper-image img,
.notion-block-73db2ca2f4a84ee68a3e5cb8e559894c .notion-asset-wrapper-image img,
.notion-block-1d16ae9a98f280428097e9d01fa9b55f .notion-asset-wrapper-image img,
.notion-block-1ca6ae9a98f28009bf2fd28e962aae1e .notion-asset-wrapper-image img{
  width: var(--team-img) !important;
  height: var(--team-img) !important;
  object-fit: cover !important;
  border-radius: 999px !important;
  display: block !important;
  margin: 0 auto !important;
  transition: transform 260ms ease, box-shadow 220ms ease !important;
}

/* Nom (h3) */
.notion-block-24ff6e81db664b7f8f6a11ec5b402210 h3.notion-h2,
.notion-block-d5097585faf9476f83460d4af5abce48 h3.notion-h2,
.notion-block-048f1598dbd54e51b4ac5f2f31811797 h3.notion-h2,
.notion-block-73db2ca2f4a84ee68a3e5cb8e559894c h3.notion-h2,
.notion-block-1d16ae9a98f280428097e9d01fa9b55f h3.notion-h2,
.notion-block-1ca6ae9a98f28009bf2fd28e962aae1e h3.notion-h2{
  margin-top: 12px !important;
  margin-bottom: 6px !important;
  line-height: 1.1 !important;
}

/* Rôle */
.notion-block-24ff6e81db664b7f8f6a11ec5b402210 .notion-text,
.notion-block-d5097585faf9476f83460d4af5abce48 .notion-text,
.notion-block-048f1598dbd54e51b4ac5f2f31811797 .notion-text,
.notion-block-73db2ca2f4a84ee68a3e5cb8e559894c .notion-text,
.notion-block-1d16ae9a98f280428097e9d01fa9b55f .notion-text,
.notion-block-1ca6ae9a98f28009bf2fd28e962aae1e .notion-text{
  margin-top: 0 !important;
  opacity: 0.9 !important;
}

/* Dernière rangée : masque la colonne vide */
.notion-block-1ca6ae9a98f28009bf2fd28e962aae1e.notion-row > .notion-column:empty{
  display: none !important;
}
/* Si la colonne n'est pas techniquement vide (blanks seulement) */
.notion-block-1ca6ae9a98f28009bf2fd28e962aae1e.notion-row > .notion-column:has(.notion-blank):not(:has(img)):not(:has(h1,h2,h3,h4,h5,h6)):not(:has(.notion-text)){
  display: none !important;
}

/* ===== Hover premium (scopé équipe) ===== */
@media (hover:hover){
  .notion-block-24ff6e81db664b7f8f6a11ec5b402210 .notion-column,
  .notion-block-d5097585faf9476f83460d4af5abce48 .notion-column,
  .notion-block-048f1598dbd54e51b4ac5f2f31811797 .notion-column,
  .notion-block-73db2ca2f4a84ee68a3e5cb8e559894c .notion-column,
  .notion-block-1d16ae9a98f280428097e9d01fa9b55f .notion-column,
  .notion-block-1ca6ae9a98f28009bf2fd28e962aae1e .notion-column{
    transition: transform 220ms ease, filter 220ms ease !important;
  }

  .notion-block-24ff6e81db664b7f8f6a11ec5b402210 .notion-column:hover,
  .notion-block-d5097585faf9476f83460d4af5abce48 .notion-column:hover,
  .notion-block-048f1598dbd54e51b4ac5f2f31811797 .notion-column:hover,
  .notion-block-73db2ca2f4a84ee68a3e5cb8e559894c .notion-column:hover,
  .notion-block-1d16ae9a98f280428097e9d01fa9b55f .notion-column:hover,
  .notion-block-1ca6ae9a98f28009bf2fd28e962aae1e .notion-column:hover{
    transform: translateY(-6px) scale(1.02);
    filter: drop-shadow(0 12px 26px rgba(0,0,0,.35));
  }

  .notion-block-24ff6e81db664b7f8f6a11ec5b402210 .notion-column:hover img,
  .notion-block-d5097585faf9476f83460d4af5abce48 .notion-column:hover img,
  .notion-block-048f1598dbd54e51b4ac5f2f31811797 .notion-column:hover img,
  .notion-block-73db2ca2f4a84ee68a3e5cb8e559894c .notion-column:hover img,
  .notion-block-1d16ae9a98f280428097e9d01fa9b55f .notion-column:hover img,
  .notion-block-1ca6ae9a98f28009bf2fd28e962aae1e .notion-column:hover img{
    transform: scale(1.06);
  }
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  :root{
    --team-gap: 18px;
    --team-img: var(--team-img-md);
  }
  .notion-block-24ff6e81db664b7f8f6a11ec5b402210.notion-row,
  .notion-block-d5097585faf9476f83460d4af5abce48.notion-row,
  .notion-block-048f1598dbd54e51b4ac5f2f31811797.notion-row,
  .notion-block-73db2ca2f4a84ee68a3e5cb8e559894c.notion-row,
  .notion-block-1d16ae9a98f280428097e9d01fa9b55f.notion-row,
  .notion-block-1ca6ae9a98f28009bf2fd28e962aae1e.notion-row{
    grid-template-columns: repeat(2, max-content) !important;
  }
}

@media (max-width: 520px){
  .notion-block-24ff6e81db664b7f8f6a11ec5b402210.notion-row,
  .notion-block-d5097585faf9476f83460d4af5abce48.notion-row,
  .notion-block-048f1598dbd54e51b4ac5f2f31811797.notion-row,
  .notion-block-73db2ca2f4a84ee68a3e5cb8e559894c.notion-row,
  .notion-block-1d16ae9a98f280428097e9d01fa9b55f.notion-row,
  .notion-block-1ca6ae9a98f28009bf2fd28e962aae1e.notion-row{
    grid-template-columns: 1fr !important;
  }
}
/* Même hauteur pour la zone texte sous photo (option) */
.notion-block-24ff6e81db664b7f8f6a11ec5b402210 .notion-column,
.notion-block-d5097585faf9476f83460d4af5abce48 .notion-column,
.notion-block-048f1598dbd54e51b4ac5f2f31811797 .notion-column,
.notion-block-73db2ca2f4a84ee68a3e5cb8e559894c .notion-column,
.notion-block-1d16ae9a98f280428097e9d01fa9b55f .notion-column,
.notion-block-1ca6ae9a98f28009bf2fd28e962aae1e .notion-column{
  padding-bottom: 10px;
}
/* ===== TEAM: désactiver les ancres sur les noms ===== */
.notion-block-24ff6e81db664b7f8f6a11ec5b402210 a.notion-h-title,
.notion-block-d5097585faf9476f83460d4af5abce48 a.notion-h-title,
.notion-block-048f1598dbd54e51b4ac5f2f31811797 a.notion-h-title,
.notion-block-73db2ca2f4a84ee68a3e5cb8e559894c a.notion-h-title,
.notion-block-1d16ae9a98f280428097e9d01fa9b55f a.notion-h-title,
.notion-block-1ca6ae9a98f28009bf2fd28e962aae1e a.notion-h-title{
  pointer-events: none !important;   /* désactive le clic */
  cursor: default !important;        /* pas de curseur "lien" */
  text-decoration: none !important;  /* retire le soulignement si présent */
}
/* =========================
   SIGNATURE MANIFESTE
   ========================= */

.notion-block-3096ae9a98f2800a9276cf163d3970c9{
  border-left: none !important;              /* supprime la barre grise Notion */
  text-align: center !important;
  padding: 40px 20px !important;
  margin: 60px auto !important;
  max-width: 800px !important;
  position: relative;
}

/* Ligne décorative au-dessus */
.notion-block-3096ae9a98f2800a9276cf163d3970c9::before{
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 0 auto 30px auto;
  background: currentColor;
  opacity: 0.3;
}

/* Texte principal */
.notion-block-3096ae9a98f2800a9276cf163d3970c9 b{
  font-size: clamp(28px, 3vw, 38px) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.5px;
}

/* Espacement entre les lignes */
.notion-block-3096ae9a98f2800a9276cf163d3970c9 .notion-text{
  margin-top: 8px !important;
}

/* Effet léger de mise en avant */
.notion-block-3096ae9a98f2800a9276cf163d3970c9{
  background: rgba(255,255,255,0.02);
  border-radius: 20px;
}
