:root{
  --webco-bg:#070707;
  --webco-bg-soft:#111111;
  --webco-card:#141414;
  --webco-card-2:#1b1b1b;
  --webco-gold:#d6a94a;
  --webco-gold-2:#f3d17a;
  --webco-text:#ffffff;
  --webco-muted:rgba(255,255,255,.74);
  --webco-border:rgba(214,169,74,.28);
  --webco-shadow:0 24px 70px rgba(0,0,0,.34);
  --webco-radius:24px;
}

html{scroll-behavior:smooth;}
body{overflow-x:hidden;}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background:
    radial-gradient(circle at 14% 8%, rgba(214,169,74,.10), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(243,209,122,.07), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(214,169,74,.06), transparent 36%);
}

/* Animation d'écriture du titre */
h1.webco-typing-active,
.wp-block-post-title.webco-typing-active{
  position:relative;
  display:inline-block;
}
h1.webco-typing-active:after,
.wp-block-post-title.webco-typing-active:after{
  content:"";
  display:inline-block;
  width:2px;
  height:.9em;
  margin-left:6px;
  vertical-align:-.12em;
  background:var(--webco-gold-2);
  box-shadow:0 0 16px rgba(243,209,122,.9);
  animation:webco-caret .8s steps(1) infinite;
}
@keyframes webco-caret{50%{opacity:0;}}

/* Effets propres sur les sections principales */
.entry-content > .wp-block-group,
.wp-site-blocks main .wp-block-group,
.webco-reveal{
  transition:transform .75s cubic-bezier(.2,.75,.18,1), opacity .75s ease, filter .75s ease;
}
.webco-js .webco-reveal:not(.webco-visible){
  opacity:0;
  transform:translateY(22px);
  filter:blur(4px);
}
.webco-js .webco-reveal.webco-visible{
  opacity:1;
  transform:translateY(0);
  filter:blur(0);
}

/* Section tarifs premium */
.webco-premium-pricing{
  position:relative;
  isolation:isolate;
  max-width:1180px !important;
  margin:clamp(38px,6vw,80px) auto !important;
  padding:clamp(28px,5vw,58px) clamp(18px,4vw,44px) !important;
  color:var(--webco-text);
  border:1px solid var(--webco-border);
  border-radius:calc(var(--webco-radius) + 8px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.02)),
    radial-gradient(circle at 20% 0%, rgba(214,169,74,.19), transparent 34%),
    radial-gradient(circle at 84% 16%, rgba(243,209,122,.12), transparent 34%),
    linear-gradient(180deg, #101010, #070707);
  box-shadow:var(--webco-shadow), inset 0 1px 0 rgba(255,255,255,.08);
  overflow:hidden;
}
.webco-premium-pricing:before,
.webco-premium-pricing:after{
  content:"";
  position:absolute;
  pointer-events:none;
  z-index:-1;
}
.webco-premium-pricing:before{
  width:520px;
  height:520px;
  top:-270px;
  right:-180px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(214,169,74,.22), transparent 65%);
  filter:blur(8px);
}
.webco-premium-pricing:after{
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,.7), transparent 75%);
}
.webco-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  max-width:100%;
  margin:0 0 12px !important;
  padding:8px 13px;
  border:1px solid rgba(214,169,74,.42);
  border-radius:999px;
  color:var(--webco-gold-2);
  background:rgba(214,169,74,.10);
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.webco-eyebrow:before{
  content:"✦";
  font-size:.9em;
}
.webco-pricing-heading{
  max-width:860px;
  margin:0 !important;
  color:#fff;
  font-size:clamp(1.9rem,4vw,3.35rem) !important;
  line-height:1.05 !important;
  letter-spacing:-.04em;
}
.webco-pricing-intro{
  max-width:850px;
  margin:16px 0 30px !important;
  color:var(--webco-muted);
  font-size:clamp(1rem,1.5vw,1.12rem);
  line-height:1.75;
}
.webco-pricing-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)) !important;
  gap:18px !important;
  align-items:stretch !important;
  margin:0 !important;
}
.webco-price-card{
  position:relative;
  display:flex !important;
  flex-direction:column;
  min-width:0;
  margin:0 !important;
  padding:24px !important;
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--webco-radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
    var(--webco-card);
  box-shadow:0 16px 34px rgba(0,0,0,.25);
  transition:transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
  overflow:hidden;
}
.webco-price-card:before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg, rgba(243,209,122,.48), transparent 28%, rgba(255,255,255,.13));
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:0;
  transition:opacity .35s ease;
  pointer-events:none;
}
.webco-price-card:hover{
  transform:translateY(-7px);
  border-color:rgba(214,169,74,.45);
  box-shadow:0 28px 65px rgba(0,0,0,.38), 0 0 38px rgba(214,169,74,.13);
  background:linear-gradient(180deg, rgba(214,169,74,.10), rgba(255,255,255,.025)), var(--webco-card-2);
}
.webco-price-card:hover:before{opacity:1;}
.webco-price-card.is-popular{
  border-color:rgba(214,169,74,.64);
  background:
    radial-gradient(circle at 50% 0%, rgba(214,169,74,.20), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.028)),
    #16130c;
  transform:translateY(-4px);
}
.webco-offer-title{
  margin:0 !important;
  color:#fff;
  font-size:1.28rem !important;
  line-height:1.18 !important;
  letter-spacing:-.02em;
}
.webco-popular-badge{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:max-content;
  max-width:100%;
  margin:8px 0 9px !important;
  padding:5px 10px !important;
  border-radius:999px;
  background:linear-gradient(135deg, var(--webco-gold-2), var(--webco-gold));
  color:#17110a !important;
  font-size:.74rem !important;
  font-weight:900;
  line-height:1 !important;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:0 10px 26px rgba(214,169,74,.25);
}
.webco-price{
  margin:10px 0 8px !important;
  color:var(--webco-gold-2) !important;
  font-size:clamp(2rem,3.5vw,2.85rem) !important;
  font-weight:900;
  line-height:1 !important;
  letter-spacing:-.05em;
}
.webco-offer-desc{
  margin:0 0 17px !important;
  color:var(--webco-muted);
  line-height:1.62;
}
.webco-feature-list{
  display:grid;
  gap:10px;
  margin:0 0 22px !important;
  padding:0 !important;
  list-style:none !important;
  color:rgba(255,255,255,.86);
}
.webco-feature-list li{
  position:relative;
  margin:0 !important;
  padding-left:27px;
  line-height:1.45;
}
.webco-feature-list li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:.05em;
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(214,169,74,.16);
  color:var(--webco-gold-2);
  font-size:.78rem;
  font-weight:900;
}
.webco-card-actions{
  margin-top:auto !important;
}
.webco-card-actions .wp-block-button,
.wp-block-button.webco-btn{
  width:100%;
}
.webco-card-actions .wp-block-button__link,
.webco-btn .wp-block-button__link,
a.webco-cta-link{
  width:100%;
  border:1px solid rgba(214,169,74,.55) !important;
  border-radius:999px !important;
  background:linear-gradient(135deg, var(--webco-gold-2), var(--webco-gold)) !important;
  color:#111 !important;
  font-weight:900 !important;
  text-align:center;
  box-shadow:0 14px 28px rgba(214,169,74,.20);
  transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.webco-card-actions .wp-block-button__link:hover,
.webco-btn .wp-block-button__link:hover,
a.webco-cta-link:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 38px rgba(214,169,74,.30);
  filter:saturate(1.08);
}
.webco-pricing-note{
  margin:20px 0 0 !important;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  color:rgba(255,255,255,.72);
  background:rgba(255,255,255,.045);
  font-size:.95rem;
  line-height:1.6;
}

/* Amélioration des anciennes sections tarifs transformées en JS */
.webco-auto-upgraded .webco-pricing-grid{margin-top:8px !important;}
.webco-auto-upgraded .webco-price-card h3{margin-bottom:0 !important;}
.webco-auto-upgraded .webco-price-card p:first-of-type:not(.webco-popular-badge):not(.webco-offer-desc){
  margin:10px 0 8px !important;
  color:var(--webco-gold-2) !important;
  font-size:2.2rem !important;
  font-weight:900;
  line-height:1 !important;
}
.webco-auto-upgraded .webco-price-card ul{margin-top:12px !important;}
.webco-auto-upgraded .webco-price-card .wp-block-buttons{margin-top:auto !important;}

/* Cartes générales du site */
.entry-content .wp-block-column,
.wp-site-blocks main .wp-block-column{
  border-radius:18px;
}
.entry-content .wp-block-button__link,
.wp-site-blocks .wp-block-button__link{
  text-decoration:none !important;
}
.webco-duplicate-hidden{display:none !important;}

/* Mobile */
@media (max-width:780px){
  .webco-premium-pricing{
    border-radius:22px;
    padding:28px 16px !important;
    margin:34px 12px !important;
  }
  .webco-price-card.is-popular{transform:none;}
  .webco-price-card:hover{transform:none;}
  .webco-pricing-heading{font-size:2rem !important;}
  .webco-price{font-size:2.15rem !important;}
}

@media (prefers-reduced-motion:reduce){
  *, *:before, *:after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    scroll-behavior:auto !important;
    transition-duration:.001ms !important;
  }
  h1.webco-typing-active:after{display:none;}
}
