/* ================================
   THEME SAINT-VALENTIN 2026 GLOBAL
   ================================ */

/* Palette romantique Saint-Valentin */
body.valentine {
    --v-rose: #E91E63;            /* Rose principal */
    --v-red: #D32F2F;             /* Rouge passion */
    --v-pink-light: #FFB6C1;      /* Rose clair */
    --v-pink-dark: #AD1457;       /* Rose fonce */
    --v-white: #FFFFFF;           /* Blanc pur */
    --v-cream: #FFF0F3;           /* Creme rose */
    --v-blush: #FCE4EC;           /* Rose blush */
    --v-glow-rose: rgba(233, 30, 99, 0.9);
    --v-glow-red: rgba(211, 47, 47, 0.8);
    background:
      radial-gradient(1200px 600px at 10% -10%, rgba(233, 30, 99, 0.08), transparent 60%),
      radial-gradient(1200px 600px at 90% -10%, rgba(211, 47, 47, 0.06), transparent 60%),
      var(--bulma-body-background, #fff);
  }

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

  /* ================================
     2) Separateur thematique - Rose et rouge
     ================================ */
  body.valentine .v-divider {
    height: 3px;
    border: 0;
    margin: 2rem 0;
    background: linear-gradient(90deg,
      transparent,
      var(--v-rose) 20%,
      var(--v-red) 50%,
      var(--v-rose) 80%,
      transparent);
    box-shadow: 0 0 15px var(--v-glow-rose);
    opacity: 1;
  }

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

  body.valentine .v-rose-corner { position: relative; }
  body.valentine .v-rose-corner::before {
    content: "";
    position: absolute; top: 8px; right: 8px; width: 120px; height: 120px; opacity: .99;
    background: no-repeat center/contain
      url("/images_2/valentine/valentine_13.png");
    pointer-events: none;
  }
  /* 8, 10 est ok */

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

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

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

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

  /* Coins haut gauche */
  body.valentine .v-heart-corner-left { position: relative; }
  body.valentine .v-heart-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/valentine/valentine_5.png");
    pointer-events: none;
  }

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

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

  /* Coins bas */
  body.valentine .v-heart-bottom-left { position: relative; }
  body.valentine .v-heart-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/valentine/valentine_6.png");
    pointer-events: none;
  }

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

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

  body.valentine .v-heart-bottom-right { position: relative; }
  body.valentine .v-heart-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/valentine/valentine_21.png");
    pointer-events: none;
  }

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

  /* ================================
     5) Coeurs tombants animes
     ================================ */
  body.valentine .v-hearts { position: relative; overflow: visible; }
  body.valentine .v-hearts .heart {
    position: absolute; top: -8px; left: -10%;
    font-size: 28px;
    opacity: 0;
    filter: drop-shadow(0 0 8px rgba(233, 30, 99, 0.8)) drop-shadow(0 4px 6px rgba(0,0,0,.6));
    animation: v-heart-fall 6s ease-in-out infinite;
  }
  body.valentine .v-hearts .heart:nth-child(2) { animation-delay: 0.8s; top: 12px; }
  body.valentine .v-hearts .heart:nth-child(3) { animation-delay: 1.6s; top: 30px; }
  body.valentine .v-hearts .heart:nth-child(4) { animation-delay: 2.4s; top: 45px; }
  body.valentine .v-hearts .heart:nth-child(5) { animation-delay: 3.2s; top: 60px; }

  @keyframes v-heart-fall {
    0%   {
      transform: translateX(0) translateY(-50px) rotate(0deg);
      opacity: 0;
      filter: drop-shadow(0 0 8px rgba(233, 30, 99, 0.8)) drop-shadow(0 4px 6px rgba(0,0,0,.6));
    }
    10%  {
      opacity: 1;
      filter: drop-shadow(0 0 15px rgba(233, 30, 99, 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(211, 47, 47, 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(233, 30, 99, 0.8)) drop-shadow(0 4px 6px rgba(0,0,0,.6));
    }
  }
  @media (prefers-reduced-motion: reduce) {
    body.valentine .v-hearts .heart { animation: none; opacity: .7; }
  }

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

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

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

  /* ================================
     9) Gradients de section
     ================================ */
  /* Gradient subtil romantique */
  body.valentine .v-gradient {
    background:
      linear-gradient(to bottom, rgba(233, 30, 99, 0.06), transparent 30%),
      linear-gradient(to top, rgba(211, 47, 47, 0.04), transparent 30%),
      var(--bulma-body, #fff);
    color: #1a1a1a;
  }

  /* Gradient intense romantique */
  body.valentine .v-gradient-intense {
    background:
      radial-gradient(800px at top center, rgba(173, 20, 87, 0.4), transparent 70%),
      radial-gradient(800px at bottom center, rgba(233, 30, 99, 0.2), transparent 70%),
      #1a0a10;
    color: var(--v-white);
    background-repeat: no-repeat;
    background-size: cover;
  }

  /* Fond sombre romantique */
  body.valentine .v-dark-bg {
    position: relative;
    background: #2d0a16;
    color: var(--v-white);
    overflow: hidden;
  }

  body.valentine .v-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(--v-glow-rose) 0%,
      rgba(233, 30, 99, 0.4) 30%,
      rgba(211, 47, 47, 0.2) 50%,
      transparent 80%
    );
    z-index: 0;
  }

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

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

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

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

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

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

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

/* ================================
  Fond chaleureux pour sections alternees
  ================================ */
body.valentine .v-gradient-warm {
  background:
    radial-gradient(700px at top center, rgba(233, 30, 99, 0.08), transparent 70%),
    radial-gradient(700px at bottom center, rgba(255, 182, 193, 0.12), transparent 70%),
    #FAFAFA;
  color: #1a1a1a;
  background-repeat: no-repeat;
  background-size: cover;
}

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

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

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