/*
Theme Name: slyplugins by Slyoss
Template:   hello-elementor
*/
/* fonts */
@font-face {
  font-family: 'SlyOssBody';
  src: url('/wp-content/themes/child-slyplugins/fonts/TitilliumWeb-Light.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'SlyOssTitle';
  src: url('/wp-content/themes/child-slyplugins/fonts/High Spirited.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
:root {
  --global-palette1: linear-gradient(135deg,rgb(165, 196, 198) 1%,rgb(0,51,126) 99%);
}

/* --- Article List Mosaique : surcharges de thème AR ---
   Pour adapter le plugin à ce thème sans toucher à ses fichiers.
   Rôle de chaque variable documenté dans le CLAUDE.md du plugin. */
:root {
  --pso-color-primary:          var(--e-global-color-primary, #0073aa);
  --pso-color-bg:               #ffffff;
  --pso-primary:                #152535;

  --pso-radius-card:            10px;
  --pso-radius-header-block:    15px;
  --pso-radius-modal-image:     15px;

  --pso-shadow-card:            5px 5px 10px rgba(0, 0, 0, 0.5);
  --pso-shadow-header-block:    5px 5px 10px rgba(0, 0, 0, 0.5);

  /* Overlay clair : fond blanc, titre coloré */
  --pso-overlay-from:           rgba(255, 255, 255, 0.9);
  --pso-overlay-mid:            rgba(255, 255, 255, 0.7);
  --pso-overlay-from-hover:     rgba(255, 255, 255, 0.95);
  --pso-overlay-mid-hover:      rgba(255, 255, 255, 0.8);
  --pso-card-title-color:       var(--e-global-color-primary, #0073aa);

  --pso-modal-z-index:          9999;    /* sous la barre admin (z-index 999 sur ce thème) */
  --pso-modal-max-height:       77vh;    /* réduit pour tenir compte du header fixe AR */
  --pso-modal-col-left-width:   30%;     /* image moins large que le défaut (35%) */
}
/* Brave, Intrépide et Obstinée */
/* reset et bases */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* Bouton retour en haut */
#back-to-top {
	font-family: var( --e-global-typography-secondary-font-family ), Sans-serif;
	text-shadow: 10px 10px 10px rgba(0, 0, 0, 0.73);
    position: fixed;
    bottom: 10%;
    right: 30px;
    width: 50px;
    height: 50px;
    font-size: 24px;
    transition: background-color 0.3s ease, transform 0.8s ease;
	transition: opacity 0.3s;
	opacity:0;
    z-index: 999;
}
#back-to-top.visible {
    opacity: 1;
}
/* Effet hover */
#back-to-top:hover {
	transform: scale(1.2);
}
/* Effet hover */
.pso-img-scale:hover {
	transform: scale(2);
	z-index:10;
}

html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
  position: relative;
  background-color: #ecf0f3!important;
}
/*  Logo */
.site-header .site-branding .site-logo img{
	border-radius:10px;
	box-shadow: none!important;
	/*box-shadow: 8px 8px 40px #d1d9e6, 10px 10px 40px #000;*/
	transition: transform .18s ease;
}
.site-header .site-branding .site-logo img:hover{
 transform: translateY(2px) scale(1.2);
}
/*  Caché le titre de la page */
.h1.entry-title{

}
/*  Menu */
.menu li a:hover{
  	transform: translateY(2px)!important;
	transform: scale(1.2)!important;
	color: #5B9BD9!important;
}
/*  Presentation section Services */
.pso-card-service {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #ecf0f3;
  box-shadow: inset 4px 4px 8px #d1d9e6, inset -4px -4px 8px #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pso-bg-01{
	/*opacity:0.3;*/
}

/*  Presentation section plugins */
.pso-plugins-invisible{
	display:none!important;
}

/*  Presentation section plugins */
.pso-plugins {
  background: #ecf0f3;
  padding: 40px 20px;
  border-radius: 24px;
}

.pso-plugins__eyebrow {
  /*font-family: 'Titillium Web', Arial, sans-serif;*/
  font-size: 40px;
  /*letter-spacing: .08em;*/
  /*text-transform: uppercase;*/
  color: #7a8a99;
  margin: 0 0 6px;
}

.pso-plugins__title {
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #394a56;
  margin: 0 0 24px;
}

.pso-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 130px;
  gap: 18px;
}

.pso-card {
  background: #ecf0f3;
  border-radius: 16px;
  box-shadow: 8px 8px 16px #d1d9e6, -8px -8px 16px #ffffff!important;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
  transition: background-color 0.3s ease;
  transform-origin: center;
}

.pso-card:hover {
  transform: translateY(-2px) scale(1.03);
  background-color: color-mix(in srgb, #ecf0f3 80%, #5B9BD5 20%);
  box-shadow: 10px 10px 20px #c7d0de, -10px -10px 20px #ffffff;
}
.pso-card:hover .pso-card__icon{
  background-color: color-mix(in srgb, #ecf0f3 80%, #5B9BD5 20%);
}
.pso-card:hover .pso-card__icon img{
  background-color: color-mix(in srgb, #ecf0f3 80%, #5B9BD5 20%);
}

.pso-card--stack {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.pso-card--wide {
  grid-column: span 2;
}

.pso-card--tall {
  grid-row: span 2;
}

.pso-card__icon {
  flex: none;
  width: 50px;
  max-height: 50px;
  border-radius: 14px;
  background: #ecf0f3;
  box-shadow: inset 4px 4px 8px #d1d9e6, inset -4px -4px 8px #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow .18s ease;
}

.pso-card__icon img{
  background-color: #ecf0f3;
  width: 30px;
  height: 30px;
  box-shadow: none!important;
}

.pso-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: #5b9bd5;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pso-card__name {
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #394a56;
  margin: 0;
}

.pso-card__desc {
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 13px;
  color: #7a8a99;
  margin: 4px 0 0;
  line-height: 1.4;
}

@media (max-width:768px) {
  .pso-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .pso-card--wide,
  .pso-card--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/*  Menu bas */
#menu-menu-bas li a{
	transition: transform .18s ease;
}

.pso-plugins__section {
  flex: none;
  border-radius: 14px;
  /*background: #ecf0f3;*/
  box-shadow: inset 4px 4px 8px #d1d9e6, inset -4px -4px 8px #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow .18s ease;
}
