/**
 * Custom CSS - Overrides et styles personnalisés
 * 
 * @package Synergin-2026
 * @since 1.0.0
 */

/* ========================================
   ELEMENTOR OVERRIDES
   ======================================== */

/* Masquer le titre et la date sur les posts Elementor */
[data-elementor-type="wp-post"] .entry-header,
[data-elementor-type="wp-post"] .entry-meta,
[data-elementor-type="wp-post"] .entry-title,
[data-elementor-type="wp-post"] .posted-on {
    display: none !important;
}

#we_frourish p {
    border-left: 3px solid #ff8c02;
    padding-left: 2rem;
    min-height: 3rem;
}

.two-lines {
  min-height: 3rem;
}

/* Classe réutilisable pour animer un dégradé existant (horizontal) */
.gradient-animate {
    background-size: 200% 200% !important;
    animation: gradientShift 8s ease-in-out infinite;
}

/* Variante pour animation verticale */
.gradient-animate-vertical {
    background-size: 200% 200% !important;
    animation: gradientShiftVertical 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientShiftVertical {
    0% {
        background-position: 50% 0%;
    }
    50% {
        background-position: 50% 100%;
    }
    100% {
        background-position: 50% 0%;
    }
}

/* Effet de survol sur les icônes tools */
#tools-icons img {
    transition: all 0.3s ease-in-out;
    filter: drop-shadow(0 0 0 transparent);
}

#tools-icons img:hover {
    transform: translateY(-8px) scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(255, 168, 0, 0.3)) 
            drop-shadow(0 4px 8px rgba(96, 0, 255, 0.2));
}

/* Conteneur header - empêche le débordement horizontal des abeilles en animation */
#img-header-home {
    overflow: hidden;
}

/* Bloquer le débordement au niveau global de la page */
body,
html {
    overflow-x: hidden;
}

/* Animation des abeilles le long de leurs tracés */
/* Les abeilles arrivent depuis l'extérieur de l'écran vers leur position Elementor (0,0) */

/* Abeille 1 - Arrive depuis la DROITE avec trajectoire organique */
#animate-bee-home1 {
    offset-path: path('M2000 0 Q1850 -25 1700 8 Q1550 30 1350 -12 Q1150 -30 950 10 Q750 35 550 -8 Q350 -20 200 5 Q100 15 0 0');
    offset-distance: 0%;
    offset-rotate: 0deg;
    animation: beeFlight1 10s ease-in-out 0.3s forwards, beeWings 0.12s ease-in-out 0.3s infinite, beeFloat 3.2s ease-in-out 10.3s infinite;
}

/* Abeille 2 - Arrive depuis la droite en diagonale - inversée verticalement */
#animate-bee-home2 {
    offset-path: path('M1800 0 Q1600 -35 1350 12 Q1100 40 850 -15 Q650 -30 450 8 Q250 25 0 0');
    offset-distance: 0%;
    offset-rotate: 0deg;
    transform: scaleX(-1);
    animation: beeFlight2 9s ease-in-out 1s forwards, beeWings2 0.14s ease-in-out 1s infinite, beeFloat2 2.8s ease-in-out 10s infinite;
}

/* Abeille 3 - Arrive depuis la GAUCHE avec trajectoire organique */
#animate-bee-home3 {
    offset-path: path('M-1500 0 Q-1300 -22 -1100 10 Q-900 28 -700 -8 Q-500 -25 -350 6 Q-200 20 -100 -5 Q-50 -10 0 0');
    offset-distance: 0%;
    offset-rotate: 0deg;
    animation: beeFlight3 11s ease-in-out 0.6s forwards, beeWings 0.11s ease-in-out 0.6s infinite, beeFloat 3.6s ease-in-out 11.6s infinite;
}

@keyframes beeFlight1 {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    100% {
        offset-distance: 100%;
        opacity: 1;
    }
}

@keyframes beeFlight2 {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    100% {
        offset-distance: 100%;
        opacity: 1;
    }
}

@keyframes beeFlight3 {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    100% {
        offset-distance: 100%;
        opacity: 1;
    }
}

/* Battement d'ailes - oscillation légère de scale horizontal */
@keyframes beeWings {
    0%, 100% {
        transform: scaleX(1);
    }
    50% {
        transform: scaleX(0.95);
    }
}

/* Battement d'ailes pour abeille 2 inversée horizontalement */
@keyframes beeWings2 {
    0%, 100% {
        transform: scaleX(-1);
    }
    50% {
        transform: scaleX(-0.95);
    }
}

/* Flottement sur place après l'arrivée */
@keyframes beeFloat {
    0%, 100% {
        transform: translateY(0) scaleX(1);
    }
    25% {
        transform: translateY(-5px) scaleX(0.95);
    }
    50% {
        transform: translateY(-2px) scaleX(1);
    }
    75% {
        transform: translateY(-7px) scaleX(0.95);
    }
}

/* Flottement pour abeille 2 inversée horizontalement */
@keyframes beeFloat2 {
    0%, 100% {
        transform: translateY(0) scaleX(-1);
    }
    25% {
        transform: translateY(-5px) scaleX(-0.95);
    }
    50% {
        transform: translateY(-2px) scaleX(-1);
    }
    75% {
        transform: translateY(-7px) scaleX(-0.95);
    }
}

/* Points dorés de la traînée */
.bee-trail-dot {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFD700 0%, #FFA500 70%, rgba(255, 165, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 99999;
    animation: trailFade 2.5s ease-out forwards;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.9), 0 0 5px rgba(255, 215, 0, 0.6);
    transform: translate(-50%, -50%);
}

@keyframes trailFade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}

/* Traînée lumineuse du curseur */
.mouse-trail-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFD700 0%, #FFA500 70%, rgba(255, 165, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 99999;
    animation: mouseTrailFade 1s ease-out forwards;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.8), 0 0 4px rgba(255, 215, 0, 0.5);
    transform: translate(-50%, -50%);
}

@keyframes mouseTrailFade {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.7);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.2);
    }
}

/* Animation de texte - Effet de croissance organique */
.text-grow-animate {
    animation: textGrow 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-fill-mode: forwards;
    opacity: 0;
    transform: scale(0.8);
}

@keyframes textGrow {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Variante avec effet de pulsation subtile */
.text-pulse-animate {
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.95;
    }
}

/* Variante avec effet de brillance qui passe */
.text-shimmer-animate {
    position: relative;
    overflow: hidden;
}

.text-shimmer-animate::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.3) 50%, 
        transparent 100%
    );
    animation: shimmerPass 3s ease-in-out infinite;
}

@keyframes shimmerPass {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Classe réutilisable pour effet de survol - Croissance organique */
.hover-grow-organic {
    cursor: pointer;
    position: relative;
}

.hover-grow-organic:hover {
    filter: drop-shadow(0 10px 20px rgba(255, 215, 0, 0.4)) 
            drop-shadow(0 5px 10px rgba(255, 168, 0, 0.3));
    animation: hoverPulseSimple 0.6s ease-in-out forwards;
}

/* Animation de pulsation simplifiée sans transform pour éviter les conflits */
@keyframes hoverPulseSimple {
    0% {
        filter: drop-shadow(0 0 0 transparent);
    }
    50% {
        filter: drop-shadow(0 12px 24px rgba(255, 215, 0, 0.5)) 
                drop-shadow(0 6px 12px rgba(255, 168, 0, 0.4));
    }
    100% {
        filter: drop-shadow(0 10px 20px rgba(255, 215, 0, 0.4)) 
                drop-shadow(0 5px 10px rgba(255, 168, 0, 0.3));
    }
}

/* Effet de légère élévation pour les images uniquement */
.hover-grow-organic img {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}

.hover-grow-organic:hover img {
    transform: scale(1.08) translateY(-5px);
}

/* Effet pour le texte uniquement - cibler le titre Elementor directement */
.hover-grow-organic .elementor-heading-title {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.hover-grow-organic:hover .elementor-heading-title {
    transform: scale(1.05) translateY(-3px) !important;
}

/* Fallback pour autres éléments texte */
.hover-grow-organic.text-only {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-grow-organic.text-only:hover {
    transform: scale(1.05) translateY(-3px) !important;
}

/* Effet de carte tirée - remonte de 50px au survol */
.draw-card {
    position: relative;
    transition: top 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.6s ease-out;
    top: 0;
    cursor: pointer;
}

.draw-card:hover {
    top: -50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Animation de fond pour #frise-events - Défilement horizontal continu */
#frise-events {
    background-repeat: repeat-x;
    background-position: 0 center;
}

@keyframes friseScroll {
    0% {
        background-position: 0 center;
    }
    100% {
        background-position: 100% center;
    }
}

/* ========================================
   CONTRÔLE VIDÉO HEADER
   ======================================== */

/* Forcer la vidéo à rester visible quand elle se termine */
.elementor-background-video-hosted {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Empêcher Elementor de masquer la vidéo à la fin */
.elementor-background-video-container {
    background-color: transparent !important;
}

.elementor-background-video-container .elementor-background-video-hosted {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
}

/* ========================================
   CONTACT FORM 7 - Synergin style
   ======================================== */

   .synergin-cf7-form {
    background-color: rgba(255, 255, 255, 0.51);
    padding: 36px;
    border: 1.5px solid #2F2E2A;
    border-radius: 12px;
    max-width: 80rem !important;
    margin: 2rem 0;
    width: 100% !important;
  }
  
  .synergin-cf7-form .cf7-section {
    background: transparent;
    border: 1.5px solid rgba(0, 0, 0, 0.10);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
  }
  
  .synergin-cf7-form .cf7-section:last-of-type {
    margin-bottom: 0;
  }
  
  .synergin-cf7-form .cf7-section-title {
    color: #ff8c02;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 18px 0;
  }
  
  .synergin-cf7-form label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555;
    margin-bottom: 6px;
  }
  
  .synergin-cf7-form .cf7-row {
    display: flex;
    gap: 14px;
  }
  
  .synergin-cf7-form .cf7-row-half .cf7-field {
    flex: 1;
  }
  
  .synergin-cf7-form .cf7-field {
    margin-bottom: 14px;
  }
  
  .synergin-cf7-form .cf7-field:last-child {
    margin-bottom: 0;
  }
  
  .synergin-cf7-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
  }
  
  .synergin-cf7-form .wpcf7-form-control-wrap input[type="text"],
  .synergin-cf7-form .wpcf7-form-control-wrap input[type="email"],
  .synergin-cf7-form .wpcf7-form-control-wrap input[type="tel"] {
    width: 100%;
    padding: 11px 20px;
    background: #ffffff;
    border: 1.5px solid #2F2E2A;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #2F2E2A;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .synergin-cf7-form .wpcf7-form-control-wrap textarea {
    width: 100%;
    padding: 12px 18px;
    background: #ffffff;
    border: 1.5px solid #2F2E2A;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #2F2E2A;
    min-height: 50px;
    max-height: 100px;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .synergin-cf7-form .wpcf7-form-control-wrap input:focus,
  .synergin-cf7-form .wpcf7-form-control-wrap textarea:focus {
    outline: none;
    border-color: #ff8c02;
    box-shadow: 0 0 0 3px rgba(255, 140, 2, 0.15);
  }
  
  .synergin-cf7-form .wpcf7-acceptance {
    margin-bottom: 16px;
  }
  
  .synergin-cf7-form .wpcf7-acceptance .wpcf7-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
  }
  
  .synergin-cf7-form .wpcf7-acceptance input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #ff8c02;
  }
  
  .synergin-cf7-form .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 13px;
    color: #2F2E2A;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
  }
  
  .synergin-cf7-form .cf7-submit-wrap {
    text-align: center;
    margin-top: 28px;
  }
  
  .synergin-cf7-form .cf7-submit-btn {
    background-color: #ff8c02 !important;
    color: #fff !important;
    padding: 14px 60px;
    border: 3px solid #ff8c02 !important;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    min-width: 220px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .synergin-cf7-form .cf7-submit-btn:hover {
    background-color: #fff !important;
    color: #ff8c02 !important;
  }

  /* Phone input with country code */
  .cf7-phone-input-group {
    display: flex;
    gap: 0;
  }

  .cf7-phone-country-select {
    width: 100px;
    min-width: 100px;
    padding: 11px 8px;
    border: 1.5px solid #2F2E2A;
    border-right: none;
    border-radius: 12px 0 0 12px;
    font-size: 14px;
    font-family: inherit;
    background: #f8f8f8;
    color: #2F2E2A;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 24px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .cf7-phone-country-select:focus {
    outline: none;
    border-color: #ff8c02;
    box-shadow: 0 0 0 3px rgba(255, 140, 2, 0.15);
  }

  .cf7-phone-input-group input[type="tel"] {
    flex: 1;
    border-radius: 0 12px 12px 0 !important;
  }

  /* Validation errors */
  .cf7-field-error {
    display: none;
    font-size: 0.75rem;
    color: #dc3232;
    margin-top: 4px;
    padding-left: 8px;
  }

  .cf7-input-error {
    border-color: #dc3232 !important;
    box-shadow: 0 0 0 3px rgba(220, 50, 50, 0.12) !important;
  }

  /* Responsive */
  @media (max-width: 600px) {
    .synergin-cf7-form .cf7-row-half {
      flex-direction: column;
      gap: 0;
    }
  
    .synergin-cf7-form {
      padding: 20px;
    }
  }
  
  @media (max-width: 1280px) {
    .synergin-cf7-form {
      width: 100% !important;
      max-width: 100% !important;
      margin: 2rem 0;
    }
  }

/* ========================================
   WOOCOMMERCE
   ======================================== */

.woocommerce-account .entry-header {
    display: none !important;
}

.woocommerce-cart .site-content,
.woocommerce-checkout .site-content,
.woocommerce-account .site-content {
    width: 90rem;
    margin: 12rem auto;
}

.woocommerce-cart .site-content h1,
.woocommerce-checkout .site-content h1,
.woocommerce-account .site-content h1 {
    color: var( --e-global-color-8034e33 );
}

.woocommerce-cart .site-content h2,
.woocommerce-checkout .site-content h2,
.woocommerce-account .site-content h2 {
    color: var( --e-global-color-599f5f0 );
}

/* Mon compte — page pleine largeur (page-my-account.php) */
.site-main--fullwidth {
    width: 100%;
    margin: 0;
    padding: 0;
}

.site-main--fullwidth .entry-content {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Mon compte — page login (surcharge woocommerce/myaccount/form-login.php) */

.synergin-login-page {
    display: flex;
    min-height: 80vh;
    background-repeat: repeat;
    background-color: #f5efe6;
    overflow: hidden;
    width: 100%;
}

.synergin-login-image {
    flex: 0 0 45%;
    background-size: cover;
    background-position: center;
    clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
    position: relative;
}

.synergin-login-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 70%, rgba(139, 92, 246, 0.5) 100%);
    clip-path: inherit;
}

.synergin-login-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15rem 0;
}

.synergin-login-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2.8rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.synergin-login-title {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1a1a2e;
    margin: 0 0 0.5rem;
}

.synergin-login-subtitle {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #555;
    margin: 0 0 2rem;
}

.synergin-form-field {
    margin-bottom: 1.2rem;
}

.synergin-form-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1a1a2e;
    margin-bottom: 0.4rem;
}

.synergin-form-field .woocommerce-Input {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 1.5px solid #ccc;
    border-radius: 50px;
    box-sizing: border-box;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.synergin-form-field .woocommerce-Input:focus {
    border-color: #8b5cf6;
}

.synergin-login-btn {
    display: block;
    width: 100%;
    margin: 1.8rem 0 0;
    padding: 0.75rem 1rem;
    background: #8b5cf6;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}

.synergin-login-btn:hover {
    background: #7c3aed;
}

.synergin-lost-password {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.6;
}

.synergin-lost-password a {
    color: #555;
    text-decoration: underline;
}

.synergin-lost-password a:hover {
    color: #8b5cf6;
}

.synergin-login-bar {
    width: 100%;
    height: 20px;
    background: #2f2e2a;
}

@media (max-width: 900px) {
    .synergin-login-page {
        flex-direction: column;
        min-height: auto;
    }

    .synergin-login-image {
        flex: none;
        height: 220px;
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    }

    .synergin-login-side {
        padding: 2rem 1.5rem 3rem;
    }
}

/* ========================================
   MON COMPTE — DASHBOARD
   ======================================== */

/* Wrapper global */
.syn-account-wrap {
    width: 100%;
}

/* HEADER nuages */
.syn-account-header {
    background-color: #fdf4e3;
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 180px;
    padding: 2rem 4rem 3rem;
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: flex-end;
}

.syn-account-header__inner {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.syn-account-header__title h1 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #1a1a2e;
    margin: 0;
    line-height: 1;
}

.syn-account-header__bee img {
    height: 130px;
    width: auto;
    opacity: 0.9;
}

/* NAVIGATION onglets */
.syn-account-nav {
    background: #fff;
    border-bottom: 2px solid #eee;
    padding: 0;
}

.syn-account-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    max-width: 80rem;
    margin: 0 auto;
}

.syn-account-nav__item {
    position: relative;
}

.syn-account-nav__link {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #555;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.syn-account-nav__item.is-active .syn-account-nav__link,
.syn-account-nav__link[aria-current="page"] {
    color: #8b5cf6;
    border-bottom-color: #8b5cf6;
}

.syn-account-nav__link:hover {
    color: #8b5cf6;
}

/* BANDEAU INFO */
.syn-account-notice {
    background: #ede9fe;
    padding: 0.85rem max(2rem, calc((100% - 80rem) / 2 + 2rem));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.88rem;
    color: #3b2f6b;
    font-weight: 500;
}

.syn-account-notice__search {
    border: 1.5px solid #c4b5fd;
    border-radius: 6px;
    padding: 0.35rem 0.8rem;
    font-size: 0.85rem;
    outline: none;
    min-width: 160px;
    background: #fff;
}

/* BODY contenu WooCommerce */
.syn-account-body {
    padding: 2rem 4rem;
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.syn-account-body .woocommerce-MyAccount-content {
    width: 100%;
}

/* GRILLE WIDGETS */
.syn-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    padding: 0 4rem 3rem;
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Widget base */
.syn-widget {
    background: #fff;
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.syn-widget--full {
    grid-column: 1 / -1;
}

.syn-widget__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.syn-widget__header h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.syn-widget__edit {
    font-size: 0.85rem;
    cursor: pointer;
    opacity: 0.5;
    text-decoration: none;
}

.syn-widget__more {
    display: inline-block;
    margin-top: 0.8rem;
    font-size: 0.78rem;
    color: #8b5cf6;
    text-decoration: underline;
}

/* Widget compte utilisateur */
.syn-widget__body--user {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.syn-avatar img {
    border-radius: 50%;
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.syn-user-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
}

.syn-user-info strong {
    font-size: 1rem;
    color: #1a1a2e;
}

.syn-user-info__row {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    color: #444;
    line-height: 1.4;
}

.syn-user-info__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    margin-top: 0.15rem;
    color: #8b5cf6;
    opacity: 0.8;
}

.syn-user-info__icon svg {
    display: block;
}

.syn-user-info__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.syn-user-info__link {
    font-size: 0.75rem;
    color: #8b5cf6;
    text-decoration: underline;
    white-space: nowrap;
}

.syn-user-info__link:hover {
    color: #6d28d9;
}

/* Events */
.syn-event-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
    gap: 0.5rem;
}

.syn-event-item strong {
    display: block;
    color: #1a1a2e;
}

.syn-placeholder-badge {
    font-size: 0.75rem;
    color: #8b5cf6;
    white-space: nowrap;
    text-align: right;
}

/* Chat Beeny */
.syn-beeny-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.syn-widget__body--chat {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.syn-chat-placeholder {
    text-align: center;
    color: #aaa;
    font-size: 0.85rem;
}

/* Quoi de neuf */
.syn-news-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.syn-news-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.syn-news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.syn-news-info strong {
    color: #1a1a2e;
}

.syn-news-amount {
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
}

.syn-news-label {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    white-space: nowrap;
}

.syn-news-label--pending {
    background: #fef9c3;
    color: #854d0e;
}

.syn-news-label--processing {
    background: #dbeafe;
    color: #1e40af;
}

.syn-news-label--hold {
    background: #f3f4f6;
    color: #374151;
}

.syn-news-label--completed {
    background: #dcfce7;
    color: #166534;
}

.syn-news-label--cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.syn-news-label--refunded {
    background: #e0e7ff;
    color: #3730a3;
}

.syn-news-label--failed {
    background: #fee2e2;
    color: #7f1d1d;
}

.syn-news-date {
    font-size: 0.75rem;
    color: #999;
}

.syn-news-info a {
    color: #1a1a2e;
    text-decoration: none;
}

.syn-news-info a:hover {
    color: #8b5cf6;
    text-decoration: underline;
}

/* Badge count */
.syn-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #8b5cf6;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    padding: 0.1rem 0.5rem;
    margin-left: 0.3rem;
}

/* Bouton petit */
.syn-btn {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.syn-btn--sm {
    background: #1a1a2e;
    color: #fff;
}

/* Texte placeholder */
.syn-placeholder-text {
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
}

/* Facture item */
.syn-invoice-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

/* Jira widget */
.syn-widget__header-icon {
    display: inline-flex;
    align-items: center;
    color: #8b5cf6;
    opacity: 0.7;
}

.syn-jira-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.syn-jira-item:last-of-type {
    border-bottom: none;
}

.syn-jira-badge {
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}

.syn-jira-badge--bug {
    background: #fee2e2;
    color: #991b1b;
}

.syn-jira-status {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    white-space: nowrap;
}

.syn-jira-status--open {
    background: #dbeafe;
    color: #1e40af;
}

.syn-jira-status--progress {
    background: #fef9c3;
    color: #854d0e;
}

.syn-jira-status--done {
    background: #dcfce7;
    color: #166534;
}

/* Domaines widget */
.syn-domain-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.syn-domain-item:last-child {
    border-bottom: none;
}

.syn-domain-icon {
    flex-shrink: 0;
    display: inline-flex;
    color: #8b5cf6;
    opacity: 0.7;
}

.syn-domain-name {
    flex: 1;
    font-weight: 500;
    word-break: break-all;
}

.syn-domain-status {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    white-space: nowrap;
}

.syn-domain-status--active {
    background: #dcfce7;
    color: #166534;
}

.syn-domain-status--inactive {
    background: #f3f4f6;
    color: #374151;
}

.syn-domain-status--expired {
    background: #fee2e2;
    color: #991b1b;
}

/* Contrat item */
.syn-contract-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.syn-contract-item:last-child {
    border-bottom: none;
}

.syn-contract-item--past {
    opacity: 0.55;
}

.syn-contract-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.syn-contract-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    margin: 0.8rem 0 0.4rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .syn-dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 2rem 3rem;
    }

    .syn-account-header {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .syn-account-body {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .syn-dashboard-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem 2rem;
    }

    .syn-account-header {
        padding: 1.5rem 1rem 2rem;
    }

    .syn-account-header__title h1 {
        font-size: 2rem;
    }

    .syn-account-header__bee img {
        height: 80px;
    }

    .syn-account-nav {
        overflow-x: auto;
    }

    .syn-account-notice {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.85rem 1rem;
    }

    .syn-account-body {
        padding: 1rem;
    }
}

@media (max-width: 1280px) {
    .woocommerce-cart .site-content,
    .woocommerce-checkout .site-content,
    .woocommerce-account .site-content {
        width: 90%;
        margin: 4rem auto;
    }

    .woocommerce-account .woocommerce {
        flex-direction: column;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        flex: none;
        width: 100%;
    }
}