/* =====================================================
   Seamless Integrations Widget — CSS
   ===================================================== */

/* -- Variables par défaut (overridées par Elementor) -- */
.siw-section {
    --siw-bg:        #0d0d0d;
    --siw-accent:    #FF6B35;
    --siw-title-clr: #ffffff;
    --siw-text-clr:  #a0a0b0;
    --siw-line-clr:  rgba(255, 107, 53, 0.25);
    --siw-icon-size: 68px;
    --siw-gap:       60px;

    background-color: var(--siw-bg);
    padding: 0px 20px;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    box-sizing: border-box;
}

/* ── Container ── */
.siw-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* ── Header ── */
.siw-header {
    text-align: center;
    margin-bottom: 64px;
}

.siw-subtitle-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--siw-accent);
    border: 1px solid rgba(255, 107, 53, 0.35);
    border-radius: 100px;
    padding: 5px 16px;
    margin-bottom: 18px;
}

.siw-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: var(--siw-title-clr);
    line-height: 1.15;
    margin: 0 0 14px;
}

.siw-section-desc {
    font-size: 16px;
    color: var(--siw-text-clr);
    margin: 0;
    max-width: 480px;
    margin-inline: auto;
    line-height: 1.6;
}

/* ── Grille principale ── */
.siw-grid-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: 500px;
}

/* ── Lignes croisées ── */
.siw-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.siw-line {
    position: absolute;
    background: #3400ff00;
}

.siw-line-v {
    width: 1px;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    height: 1px;
    width: 100%;
    background: #e9e6fe;
    overflow: hidden;
}

.siw-line-h {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    height: 100%;
    width: 1.5px;
    background: #e9e6fe;
    overflow: hidden;
}

/* Petits tirets décoratifs sur les lignes */
.siw-line-v::before,
.siw-line-v::after,
.siw-line-h::before,
.siw-line-h::after {
    content: '';
    position: absolute;
    /* background: #7A5AF8; */
    border-radius: 2px;
}

.siw-line-v::before { width: 3px; height: 20px; left: -1px; top: 22%; }
.siw-line-v::after  { width: 3px; height: 20px; left: -1px; bottom: 22%; }
.siw-line-h::before {
    content: "";
    width: 100%;
    height: 30px;
    background: linear-gradient(0deg, #4f6ef7 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 3px;
    position: absolute;
    top: 50%;
    left: 0;
    animation: line2before 5s linear infinite;
    animation-delay: 1s;
}
.siw-line-h::after  {top;content: "";width: 100%;height: 30px;background: linear-gradient(180deg, #4f6ef7 0%, rgba(255, 255, 255, 0) 100%);border-radius: 3px;position: absolute;top: 50%;left: 0;animation: line2after 5s linear infinite;animation-delay: 1s;}

/* ── Logo central ── */
.siw-center-logo {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--siw-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 10px #7a5af81c,        0 0 40px #7a5af81c;
}

.siw-center-logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 50%;
}

/* Halos animés */
.siw-halo {
    position: absolute;
    border-radius: 50%;
    border: 1px solid #7a5af81c;
    animation: siw-pulse 3s ease-out infinite;
    pointer-events: none;
}

.siw-halo-1 { width: 110px; height: 110px; animation-delay: 0s; }
.siw-halo-2 { width: 150px; height: 150px; animation-delay: 0.8s; }
.siw-halo-3 { width: 200px; height: 200px; animation-delay: 1.6s; }

@keyframes siw-pulse {
    0%   { opacity: 0.8; transform: scale(0.85); }
    100% { opacity: 0;   transform: scale(1.3); }
}

/* ── Cellules ── */
.siw-cell {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 10px;
    gap: 15px;
    transition: background 0.3s ease;
}

.siw-cell:hover {
    background: rgba(255,255,255,0.02);
}

/* Positionnements */
.siw-cell--top-left     { grid-column: 1; grid-row: 1; justify-content: flex-end;   padding-bottom: 48px; }
.siw-cell--top-right    { grid-column: 2; grid-row: 1; justify-content: flex-end;   padding-bottom: 48px; }
.siw-cell--bottom-left  {grid-column: 1;gr;grid-row: 2;stify-content: flex-start;padding-top: 40px;}
.siw-cell--bottom-right { grid-column: 2; grid-row: 2; justify-content: flex-start; padding-top: 48px; }

/* ── Icône wrap ── */
.siw-icon-wrap {
    width: var(--siw-icon-size);
    height: var(--siw-icon-size);
    border: 1px solid transparent!important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    flex-shrink: 0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Coins décoratifs façon bracket */
/* .siw-icon-wrap::before,
.siw-icon-wrap::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: transparent;
    border-style: solid;
} */

/* .siw-cell--top-left  .siw-icon-wrap::before,
.siw-cell--top-right .siw-icon-wrap::before  { top: -1px; right: -1px; border-width: 2px 2px 0 0; border-radius: 0 4px 0 0; }
.siw-cell--top-left  .siw-icon-wrap::after   { display: none; }
.siw-cell--top-right .siw-icon-wrap::after   { display: none; }

.siw-cell--bottom-left  .siw-icon-wrap::before { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; border-radius: 0 0 0 4px; }
.siw-cell--bottom-left  .siw-icon-wrap::after  { display: none; }
.siw-cell--bottom-right .siw-icon-wrap::before { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-radius: 0 0 4px 0; }
.siw-cell--bottom-right .siw-icon-wrap::after  { display: none; } */

.siw-icon-wrap:hover {
    box-shadow: 0 0 20px rgb(122 90 248 / 20%);
    transform: translateY(-3px);
}

.siw-icon-wrap img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* Icône placeholder (SVG inline) */
.siw-icon-placeholder {
    color: var(--siw-accent);
}

/* ── Texte item ── */
.siw-item-text {
    font-size: 15px;
    color: var(--siw-text-clr);
    line-height: 1.65;
    max-width: 96%;
    margin: 0;
}

.siw-item-text a {
    color: inherit;
    text-decoration: none;
}

.siw-item-text a:hover {
    color: var(--siw-accent);
}
.siw-icon-wrap {
	padding: 10px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.siw-icon-wrap::before {
  content: "";
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  position: absolute;
  left: 1px;
  top: 1px;
  background: #f8f9fc;
  z-index: -1;
}
.siw-icon-wrap::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0) 20%, rgb(124 92 246) 50%, rgba(0, 0, 0, 0) 80%);
  z-index: -2;
  animation: sr-gd-bg-rotated 10s linear infinite;
}

@keyframes sr-gd-bg-rotated {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
 .siw-line-v::before {
    content: "";
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, #7a5af8 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 50%;
    animation: line1before 5s linear infinite;
    animation-delay: 1s;
}
.siw-line-v::after {
    content: "";
    width: 30px;
    height: 100%;
    background: linear-gradient(270deg, #7a5af8 0%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    top: 0;
    left: 50%;
    animation: line1after 5s linear infinite;
    animation-delay: 1s;
}





@keyframes processBgCircle {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }
  70% {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}
@keyframes line1after {
  0% {
    left: 50%;
  }
  100% {
    left: 110%;
  }
}
@keyframes line1before {
  0% {
    left: 50%;
  }
  100% {
    left: -10%;
  }
}
@keyframes line2after {
  0% {
    top: 50%;
  }
  100% {
    top: -10%;
  }
}
@keyframes line2before {
  0% {
    top: 50%;
  }
  100% {
    top: 110%;
  }
}
/* ── Responsive ── */
@media (max-width: 768px) {
    .siw-grid-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        min-height: unset;
    }

    .siw-line-v { display: none; }
    .siw-line-h { display: none; }

    .siw-center-logo {
        position: relative;
        top: unset; left: unset;
        transform: none;
        margin: 24px auto;
        order: -1;
    }

    .siw-cell--top-left,
    .siw-cell--top-right,
    .siw-cell--bottom-left,
    .siw-cell--bottom-right {
        grid-column: 1;
        grid-row: auto;
        justify-content: center;
        padding: 28px 20px;
    }

    .siw-grid-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}
