/* ==========================================================================
   Roses Informatique — creation-web.css
   Page Création de site : vitrine, e-commerce, portfolio
   ========================================================================== */

/* HERO ---------------------------------------------------------------- */
.cweb-hero {
  padding: clamp(80px, 12vw, 130px) 0 clamp(60px, 8vw, 90px);
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(30,64,175,0.09), transparent 65%),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(99,102,241,0.07), transparent 65%),
    var(--color-bg);
  text-align: center;
}
.cweb-hero-inner { max-width: 760px; margin: 0 auto 56px; }

.cweb-hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.cweb-hero-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cweb-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.cweb-hero-card--accent {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  border-color: transparent;
  color: #fff;
}
.cweb-hero-card--accent strong,
.cweb-hero-card--accent span { color: #fff; }
.cweb-hero-card--accent span { opacity: 0.8; }
.cweb-card-icon { font-size: 2rem; margin-bottom: 4px; }
.cweb-hero-card strong { font-size: 1.05rem; font-weight: 700; color: var(--color-text); }
.cweb-hero-card span  { font-size: 0.88rem; color: var(--color-text-muted); font-weight: 600; }

@media (max-width: 640px) {
  .cweb-hero-cards { grid-template-columns: 1fr; max-width: 400px; }
}

/* OFFRES -------------------------------------------------------------- */
.cweb-offers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 1024px) { .cweb-offers { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }

.cweb-offer {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow var(--transition);
}
.cweb-offer:hover { box-shadow: var(--shadow); }

.cweb-offer--featured {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.cweb-offer--featured p,
.cweb-offer--featured .cweb-offer-desc,
.cweb-offer--featured .cweb-feature span { color: rgba(255,255,255,0.65); }
.cweb-offer--featured h3,
.cweb-offer--featured .cweb-feature strong,
.cweb-offer--featured .cweb-price-amount { color: #fff; }
.cweb-offer--featured .cweb-check { background: rgba(255,255,255,0.15); color: #fff; }
.cweb-offer--featured .cweb-price-from,
.cweb-offer--featured .cweb-price-note { color: rgba(255,255,255,0.5); }

.cweb-offer-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #6366f1, #3b82f6);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.cweb-offer-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}
.cweb-offer-icon {
  font-size: 2rem;
  width: 56px; height: 56px;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--color-border-soft);
}
.cweb-offer--featured .cweb-offer-icon {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}
.cweb-offer-header h3 { font-size: 1.3rem; margin: 4px 0 0; }

.cweb-offer-desc {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Features list */
.cweb-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.cweb-feature  { display: flex; gap: 12px; align-items: flex-start; }
.cweb-check {
  width: 22px; height: 22px;
  background: var(--color-brand-soft);
  color: var(--color-brand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.cweb-feature strong { display: block; font-size: 0.93rem; color: var(--color-text); }
.cweb-feature span   { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.4; }

.cweb-offer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--color-border-soft);
}
.cweb-offer--featured .cweb-offer-footer { border-top-color: rgba(255,255,255,0.1); }

.cweb-price { display: flex; flex-direction: column; gap: 2px; }
.cweb-price-from { font-size: 0.78rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.cweb-price-amount { font-size: 1.9rem; font-weight: 700; color: var(--color-text); letter-spacing: -0.03em; line-height: 1; }
.cweb-price-note { font-size: 0.78rem; color: var(--color-text-muted); }

/* PROCESSUS ----------------------------------------------------------- */
.cweb-steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.cweb-step {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-xs);
}
.cweb-step-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-brand-soft);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 14px;
}
.cweb-step-body h4 { font-size: 1rem; margin-bottom: 8px; color: var(--color-text); }
.cweb-step-body p  { font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.55; }
.cweb-step-arrow {
  font-size: 1.5rem;
  color: var(--color-text-muted);
  align-self: center;
  padding-top: 20px;
  flex-shrink: 0;
}
@media (max-width: 860px) { .cweb-step-arrow { display: none; } .cweb-step { max-width: 100%; } }
