/* ================================
   THEME PRINTEMPS 2026 GLOBAL
   ================================ */

/* Palette printaniere fraiche */
body.spring {
    --sp-green: #4CAF50;            /* Vert frais */
    --sp-green-light: #81C784;      /* Vert clair */
    --sp-green-dark: #2E7D32;       /* Vert fonce */
    --sp-yellow: #FFD54F;           /* Jaune soleil */
    --sp-pink-flower: #F48FB1;      /* Rose fleur */
    --sp-white: #FFFFFF;            /* Blanc pur */
    --sp-cream: #FAFFF5;            /* Creme vert */
    --sp-sky: #87CEEB;              /* Bleu ciel */
    --sp-glow-green: rgba(76, 175, 80, 0.9);
    --sp-glow-yellow: rgba(255, 213, 79, 0.8);
    background:
      radial-gradient(1200px 600px at 10% -10%, rgba(76, 175, 80, 0.08), transparent 60%),
      radial-gradient(1200px 600px at 90% -10%, rgba(255, 213, 79, 0.06), transparent 60%),
      var(--bulma-body-background, #fff);
  }

  /* ================================
     1) Ruban "OFFRE PRINTEMPS" - Frais et naturel
     ================================ */
  body.spring .sp-ribbon { position: relative; overflow: hidden; }
  body.spring .sp-ribbon::after {
    content: "OFFRE PRINTEMPS";
    position: absolute; top: 12px; left: 0px;
    transform: rotate(-12deg);
    background: linear-gradient(135deg, var(--sp-green-dark) 0%, var(--sp-green) 50%, var(--sp-green-light) 100%);
    color: var(--sp-white);
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 4px;
    border: 2px solid var(--sp-green-light);
    box-shadow:
      0 0 20px var(--sp-glow-green),
      0 0 40px rgba(76, 175, 80, 0.5),
      0 8px 24px rgba(0,0,0,.4);
    animation: sp-pulse 2s ease-in-out infinite;
  }
  @keyframes sp-pulse {
    0%, 100% {
      transform: rotate(-12deg) scale(1);
      box-shadow:
        0 0 20px var(--sp-glow-green),
        0 0 40px rgba(76, 175, 80, 0.5),
        0 8px 24px rgba(0,0,0,.4);
    }
    50% {
      transform: rotate(-12deg) scale(1.08);
      box-shadow:
        0 0 30px var(--sp-glow-green),
        0 0 60px rgba(76, 175, 80, 0.9),
        0 12px 32px rgba(0,0,0,.5);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    body.spring .sp-ribbon::after { animation: none; }
  }

  /* ================================
     2) Separateur thematique - Vert et jaune
     ================================ */
  body.spring .sp-divider {
    height: 3px;
    border: 0;
    margin: 2rem 0;
    background: linear-gradient(90deg,
      transparent,
      var(--sp-green) 20%,
      var(--sp-yellow) 50%,
      var(--sp-green) 80%,
      transparent);
    box-shadow: 0 0 15px var(--sp-glow-green);
    opacity: 1;
  }

  /* ================================
     3) Coins decoratifs
     ================================ */
  /* Fleur coin haut droit */
  body.spring .sp-flower-corner { position: relative; }
  body.spring .sp-flower-corner::before {
    content: "";
    position: absolute; top: 8px; right: 8px; width: 120px; height: 120px; opacity: .99;
    background: no-repeat center/contain
      url("/images_2/spring/spring2.png");
    pointer-events: none;
  }

  body.spring .sp-leaf-corner { position: relative; }
  body.spring .sp-leaf-corner::before {
    content: "";
    position: absolute; top: 8px; right: 8px; width: 120px; height: 120px; opacity: .99;
    background: no-repeat center/contain
      url("/images_2/spring/spring13.png");
    pointer-events: none;
  }

  body.spring .sp-sun-corner { position: relative; }
  body.spring .sp-sun-corner::before {
    content: "";
    position: absolute; top: 8px; right: 8px; width: 100px; height: 100px; opacity: .99;
    background: no-repeat center/contain
      url("/images_2/spring/spring15.png");
    pointer-events: none;
  }

  body.spring .sp-butterfly-corner { position: relative; }
  body.spring .sp-butterfly-corner::before {
    content: "";
    position: absolute; top: 8px; right: 8px; width: 100px; height: 100px; opacity: .99;
    background: no-repeat center/contain
      url("/images_2/spring/spring22.png");
    pointer-events: none;
  }

  body.spring .sp-blossom-corner { position: relative; }
  body.spring .sp-blossom-corner::before {
    content: "";
    position: absolute; top: 8px; right: 8px; width: 100px; height: 100px; opacity: .99;
    background: no-repeat center/contain
      url("/images_2/spring/spring18.png");
    pointer-events: none;
  }

  body.spring .sp-nature-corner { position: relative; }
  body.spring .sp-nature-corner::before {
    content: "";
    position: absolute; top: 8px; right: 8px; width: 100px; height: 100px; opacity: .99;
    background: no-repeat center/contain
      url("/images_2/spring/spring8.png");
    pointer-events: none;
  }

  /* Coins haut gauche */
  body.spring .sp-flower-corner-left { position: relative; }
  body.spring .sp-flower-corner-left::after {
    content: "";
    position: absolute;
    top: 8px; left: 8px;
    width: 100px; height: 100px;
    opacity: 0.95;
    background: no-repeat center/contain url("/images_2/spring/spring5.png");
    pointer-events: none;
  }

  body.spring .sp-tree-corner { position: relative; }
  body.spring .sp-tree-corner::after {
    content: "";
    position: absolute;
    top: 8px; left: 8px;
    width: 100px; height: 100px;
    opacity: 0.95;
    background: no-repeat center/contain url("/images_2/spring/spring7.png");
    pointer-events: none;
  }

  body.spring .sp-garden-corner { position: relative; }
  body.spring .sp-garden-corner::after {
    content: "";
    position: absolute;
    top: 8px; left: 8px;
    width: 100px; height: 100px;
    opacity: 0.95;
    background: no-repeat center/contain url("/images_2/spring/spring8.png");
    pointer-events: none;
  }

  /* Coins bas */
  body.spring .sp-flower-bottom-left { position: relative; }
  body.spring .sp-flower-bottom-left::after {
    content: "";
    position: absolute;
    bottom: 8px; left: 8px;
    width: 100px; height: 100px;
    opacity: 0.95;
    background: no-repeat center/contain url("/images_2/spring/spring6.png");
    pointer-events: none;
  }

  body.spring .sp-leaf-bottom-left { position: relative; }
  body.spring .sp-leaf-bottom-left::after {
    content: "";
    position: absolute;
    bottom: 8px; left: 8px;
    width: 100px; height: 100px;
    opacity: 0.95;
    background: no-repeat center/contain url("/images_2/spring/spring1.png");
    pointer-events: none;
  }

  body.spring .sp-petal-bottom-left { position: relative; }
  body.spring .sp-petal-bottom-left::after {
    content: "";
    position: absolute;
    bottom: 8px; left: 8px;
    width: 100px; height: 100px;
    opacity: 0.95;
    background: no-repeat center/contain url("/images_2/spring/spring12.png");
    pointer-events: none;
  }

  body.spring .sp-bloom-bottom-right { position: relative; }
  body.spring .sp-bloom-bottom-right::after {
    content: "";
    position: absolute;
    bottom: 8px; right: 8px;
    width: 100px; height: 100px;
    opacity: 0.95;
    background: no-repeat center/contain url("/images_2/spring/spring21.png");
    pointer-events: none;
  }

  /* ================================
     4) Bouton Glow - Frais et lumineux
     ================================ */
  @keyframes sp-glow {
    0%, 100% {
      box-shadow:
        0 0 20px var(--sp-glow-green),
        0 0 40px rgba(76, 175, 80, 0.6),
        0 8px 25px rgba(0, 0, 0, 0.4);
    }
    50% {
      box-shadow:
        0 0 30px var(--sp-glow-green),
        0 0 60px rgba(76, 175, 80, 0.9),
        0 12px 35px rgba(0, 0, 0, 0.5);
    }
  }
  body.spring .sp-glow {
    background: linear-gradient(135deg,
      var(--sp-green-dark) 0%,
      var(--sp-green) 40%,
      var(--sp-green-light) 100%);
    border: 3px solid var(--sp-green-light);
    color: var(--sp-white) !important;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
    position: relative;
    animation: sp-glow 2s ease-in-out infinite;
  }
  body.spring .sp-glow::before {
    content: "";
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, var(--sp-green), var(--sp-yellow), var(--sp-green));
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    animation: sp-border-glow 2.5s ease-in-out infinite;
  }
  @keyframes sp-border-glow {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.6; }
  }
  @media (prefers-reduced-motion: reduce) {
    body.spring .sp-glow { animation: none; }
    body.spring .sp-glow::before { animation: none; }
  }

  /* ================================
     5) Petales tombants animes
     ================================ */
  body.spring .sp-petals { position: relative; overflow: visible; }
  body.spring .sp-petals .petal {
    position: absolute; top: -8px; left: -10%;
    font-size: 28px;
    opacity: 0;
    filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.8)) drop-shadow(0 4px 6px rgba(0,0,0,.6));
    animation: sp-petal-fall 6s ease-in-out infinite;
  }
  body.spring .sp-petals .petal:nth-child(2) { animation-delay: 0.8s; top: 12px; }
  body.spring .sp-petals .petal:nth-child(3) { animation-delay: 1.6s; top: 30px; }
  body.spring .sp-petals .petal:nth-child(4) { animation-delay: 2.4s; top: 45px; }
  body.spring .sp-petals .petal:nth-child(5) { animation-delay: 3.2s; top: 60px; }

  @keyframes sp-petal-fall {
    0%   {
      transform: translateX(0) translateY(-50px) rotate(0deg);
      opacity: 0;
      filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.8)) drop-shadow(0 4px 6px rgba(0,0,0,.6));
    }
    10%  {
      opacity: 1;
      filter: drop-shadow(0 0 15px rgba(76, 175, 80, 1)) drop-shadow(0 4px 8px rgba(0,0,0,.7));
    }
    50%  {
      transform: translateX(50vw) translateY(50vh) rotate(180deg);
      filter: drop-shadow(0 0 20px rgba(255, 213, 79, 1)) drop-shadow(0 4px 10px rgba(0,0,0,.8));
    }
    100% {
      transform: translateX(110vw) translateY(100vh) rotate(360deg);
      opacity: 0;
      filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.8)) drop-shadow(0 4px 6px rgba(0,0,0,.6));
    }
  }
  @media (prefers-reduced-motion: reduce) {
    body.spring .sp-petals .petal { animation: none; opacity: .7; }
  }

  /* ================================
     6) Particules scintillantes vertes/jaunes (sparkles)
     ================================ */
  @keyframes sp-float {
    0% {
      transform: translateY(0) translateX(0) scale(1);
      opacity: .7;
      box-shadow: 0 0 15px var(--sp-glow-green);
    }
    50% {
      transform: translateY(-15px) translateX(4px) scale(1.4);
      opacity: 1;
      box-shadow: 0 0 30px var(--sp-glow-green), 0 0 50px rgba(76, 175, 80, 0.5);
    }
    100% {
      transform: translateY(0) translateX(0) scale(1);
      opacity: .7;
      box-shadow: 0 0 15px var(--sp-glow-green);
    }
  }
  body.spring .sp-sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    pointer-events: none;
    background: radial-gradient(circle at 30% 30%, var(--sp-white), var(--sp-green) 50%, var(--sp-yellow) 100%);
    animation: sp-float 3s ease-in-out infinite;
    opacity: .8;
    box-shadow: 0 0 20px var(--sp-glow-green);
  }
  @media (prefers-reduced-motion: reduce) {
    body.spring .sp-sparkle { animation: none; }
  }

  /* ================================
     7) Tooltip personnalise - Printanier
     ================================ */
  body.spring .sp-tooltip { position: relative; }
  body.spring .sp-tooltip::after {
    content: attr(data-tooltip);
    position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -6px);
    background: linear-gradient(135deg, var(--sp-green-dark), var(--sp-green));
    color: var(--sp-white);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    border: 2px solid var(--sp-green-light);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow:
      0 0 20px var(--sp-glow-green),
      0 8px 20px rgba(0,0,0,.4);
    transition: opacity .2s ease, transform .2s ease;
  }
  body.spring .sp-tooltip:hover::after,
  body.spring .sp-tooltip:focus::after {
    opacity: 1;
    transform: translate(-50%, -12px);
  }

  /* ================================
     8) Curseur personnalise (desktop)
     ================================ */
  @media (pointer: fine) {
    body.spring { cursor: url('/images_2/spring/spring_cursor.png') 8 8, auto; }
  }

  /* ================================
     9) Gradients de section
     ================================ */
  /* Gradient subtil printanier */
  body.spring .sp-gradient {
    background:
      linear-gradient(to bottom, rgba(76, 175, 80, 0.06), transparent 30%),
      linear-gradient(to top, rgba(255, 213, 79, 0.04), transparent 30%),
      var(--bulma-body, #fff);
    color: #1a1a1a;
  }

  /* Gradient intense nature */
  body.spring .sp-gradient-intense {
    background:
      radial-gradient(800px at top center, rgba(46, 125, 50, 0.4), transparent 70%),
      radial-gradient(800px at bottom center, rgba(76, 175, 80, 0.2), transparent 70%),
      #0a1a0a;
    color: var(--sp-white);
    background-repeat: no-repeat;
    background-size: cover;
  }

  /* Fond sombre nature */
  body.spring .sp-dark-bg {
    position: relative;
    background: #0a1a0a;
    color: var(--sp-white);
    overflow: hidden;
  }

  body.spring .sp-dark-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 300px;
    pointer-events: none;
    background: radial-gradient(
      circle at top center,
      var(--sp-glow-green) 0%,
      rgba(76, 175, 80, 0.4) 30%,
      rgba(255, 213, 79, 0.2) 50%,
      transparent 80%
    );
    z-index: 0;
  }

  body.spring .sp-dark-bg > * {
    position: relative;
    z-index: 1;
  }

  /* ================================
     10) Countdown skinne - Printanier
     ================================ */
  body.spring .sp-countdown .cd__text {
    background: linear-gradient(135deg, var(--sp-green-dark), var(--sp-green));
    color: var(--sp-white);
    font-weight: 900;
    border: 3px solid var(--sp-green-light);
    box-shadow:
      0 0 25px var(--sp-glow-green),
      0 8px 25px rgba(0,0,0,.5);
  }

  /* ================================
     11) Conteneur toile animee (pour animations canvas)
     ================================ */
  body.spring .sp-web-wrap { position: relative; overflow: hidden; }

  body.spring .sp-web {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 0;
  }
  body.spring .sp-web canvas {
    width: 100%; height: 100%; display: block;
  }

  body.spring .sp-web-wrap > .sp-web-content { position: relative; z-index: 1; }

  /* ================================
     12) Decor en bas de section (optionnel)
     ================================ */
  body.spring .sp-bottom-decor {
    position: relative;
    overflow: hidden;
  }

  body.spring .sp-bottom-decor::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 100px;
    background: url("/images_2/spring/spring_bottom.png") no-repeat bottom center;
    background-size: cover;
    pointer-events: none;
    z-index: 1;
  }

/* ================================
  Fond chaleureux pour sections alternees
  ================================ */
body.spring .sp-gradient-warm {
  background:
    radial-gradient(700px at top center, rgba(76, 175, 80, 0.08), transparent 70%),
    radial-gradient(700px at bottom center, rgba(255, 213, 79, 0.12), transparent 70%),
    #FAFAFA;
  color: #1a1a1a;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ================================
   Style pour le prix barre dans les CTA
   ================================ */
body.spring .cta-booking .price-strike,
body.spring button .price-strike {
    text-decoration: line-through;
    color: #ffffff !important;
    font-weight: 700;
    margin: 0 0.25rem;
    opacity: 0.8;
}

body.spring .cta-booking strong,
body.spring button strong {
    color: var(--sp-green-light) !important;
    font-weight: 900;
    font-size: 1.00em;
}

body.spring .cta-booking {
    font-size: 0.75rem !important;
}
