/*
Theme Name: WebSteve
Theme URI: https://websteve94.com
Author: WebSteve
Author URI: https://websteve94.com
Description: Thème WordPress pour WebSteve – création de sites, SEO et automatisation. Design dark moderne.
Version: 1.0
Text Domain: websteve
*/

/* ========== RESET & BASE ========== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: radial-gradient(circle at top left, #020617 0, #020617 40%, #020617 100%);
  color: #e5e7eb;
  line-height: 1.6;
}

a {
  color: #0ea5e9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ========== VARIABLES ========== */

:root {
  --ws-bg: #0f172a;
  --ws-bg-alt: #020617;
  --ws-surface: #020617;
  --ws-surface-soft: #02091b;
  --ws-primary: #0ea5e9;
  --ws-primary-soft: rgba(14, 165, 233, 0.12);
  --ws-secondary: #38bdf8;
  --ws-accent: #eab308;
  --ws-text: #e5e7eb;
  --ws-muted: #9ca3af;
  --ws-border: rgba(148, 163, 184, 0.3);
  --radius-lg: 1.25rem;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.45);
  --shadow-chip: 0 0 0 1px rgba(148, 163, 184, 0.25);
  --transition-base: 220ms ease-out;
}

/* ========== LAYOUT GLOBAL ========== */

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  min-height: 60vh;
}

/* ========== HEADER ========== */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}
.dt-breadcrumbs {
    border-bottom: 1px solid #e5e7eb;
    background: #020617;
    padding: 0.5rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 1.1rem;
  background: conic-gradient(from 220deg, #0ea5e9, #38bdf8, #eab308, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020617;
  font-weight: 800;
  box-shadow: 0 14px 35px rgba(8, 47, 73, 0.7);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  font-size: .98rem;
}

.brand-tagline {
  font-size: .7rem;
  color: var(--ws-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: .85rem;
  color: var(--ws-muted);
  position: relative;
  padding-block: .15rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ws-primary), var(--ws-secondary));
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--ws-text);
}

.nav-link:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .6rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: .85rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background-color var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--ws-primary), var(--ws-secondary));
  color: #020617;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.9);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.55);
  color: var(--ws-text);
  background: rgba(15, 23, 42, 0.4);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.9);
}

@media (max-width: 820px) {
  .nav-main {
    display: none;
  }
}

/* ========== HERO ========== */

.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-chip);
  font-size: .78rem;
  color: var(--ws-muted);
  margin-bottom: 1.1rem;
}

.pill span {
  color: var(--ws-accent);
  font-size: .9rem;
}

.hero-title {
  font-size: clamp(2.4rem, 3.2vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-title > span {
  background: linear-gradient(135deg, var(--ws-primary), var(--ws-secondary));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  font-size: 1rem;
  color: var(--ws-muted);
  max-width: 32rem;
  margin-bottom: 1.4rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
  margin-bottom: 1.6rem;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 420px;
}

@media (max-width: 600px) {
  .hero-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.kpi-card {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, .18), rgba(15, 23, 42, 1));
  border-radius: 1rem;
  padding: .7rem .9rem;
  border: 1px solid rgba(56, 189, 248, .4);
  font-size: .78rem;
}

.kpi-value {
  font-weight: 700;
  font-size: 1.1rem;
}

.kpi-label {
  color: var(--ws-muted);
  font-size: .72rem;
}

/* Hero visual */

.hero-card {
  position: relative;
  border-radius: 1.5rem;
  background: radial-gradient(circle at top left, #0b1120 0, #020617 55%, #020617 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  min-height: 260px;
}

.hero-grid-mini {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.1rem;
  align-items: stretch;
}

@media (max-width: 600px) {
  .hero-grid-mini {
    grid-template-columns: 1fr;
  }
}

.hero-chip-col {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  border-radius: 1rem;
  padding: .55rem .75rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: .76rem;
}

.chip strong {
  font-weight: 600;
  color: var(--ws-text);
}

.chip span {
  color: var(--ws-muted);
  font-size: .7rem;
}

.hero-preview {
  border-radius: 1.1rem;
  background: radial-gradient(circle at top, rgba(56, 189, 248, .18), rgba(15, 23, 42, .95));
  border: 1px solid rgba(56, 189, 248, .5);
  padding: .8rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .7rem;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ws-muted);
  font-size: .7rem;
}

.preview-bar {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ws-primary), var(--ws-secondary));
  width: 70%;
}

.preview-line {
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.5);
  overflow: hidden;
  position: relative;
}

.preview-line span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(56, 189, 248, .4), rgba(14, 165, 233, .9));
  transform-origin: left;
  transform: scaleX(.55);
}

.preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.preview-tag {
  padding: .2rem .5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--ws-muted);
}

/* ========== SECTIONS & TITRES ========== */

.section {
  padding: 3.5rem 0;
}

.section-header {
  margin-bottom: 2rem;
  max-width: 640px;
}

.eyebrow {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ws-primary);
  margin-bottom: .4rem;
}

.section-title {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin-bottom: .4rem;
}

.section-subtitle {
  color: var(--ws-muted);
  font-size: .9rem;
}

/* ========== CARDS SERVICES ========== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.96));
  border-radius: 1.2rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.1rem 1.1rem 1.2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, .18), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(56, 189, 248, .7);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: .85rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: .7rem;
}

.card-title {
  font-size: 1rem;
  margin-bottom: .4rem;
}

.card-text {
  font-size: .86rem;
  color: var(--ws-muted);
  margin-bottom: .75rem;
}

.card-badge {
  font-size: .72rem;
  color: var(--ws-accent);
}

/* ========== PROCESS ========== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 840px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.step {
  border-radius: 1rem;
  border: 1px dashed rgba(148, 163, 184, .6);
  padding: 1rem;
  font-size: .85rem;
  background: rgba(15, 23, 42, 0.7);
}

.step-number {
  font-size: .8rem;
  color: var(--ws-primary);
  margin-bottom: .25rem;
}

.step-title {
  font-weight: 600;
  margin-bottom: .3rem;
}

.step-text {
  color: var(--ws-muted);
}

/* ========== PORTFOLIO ========== */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.shot {
  border-radius: 1.1rem;
  background: radial-gradient(circle at top, #020617 0, #020617 60%);
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: .8rem;
  font-size: .76rem;
}

.shot-thumb {
  height: 140px;
  border-radius: .9rem;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: repeating-linear-gradient(
    -45deg,
    rgba(15, 23, 42, 0.6),
    rgba(15, 23, 42, 0.6) 6px,
    rgba(30, 64, 175, 0.7) 6px,
    rgba(30, 64, 175, 0.7) 8px
  );
  margin-bottom: .6rem;
  position: relative;
  overflow: hidden;
}

.shot-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(56, 189, 248, .15), transparent 60%);
  mix-blend-mode: screen;
}

.shot-title {
  font-weight: 600;
  margin-bottom: .2rem;
}

.shot-type {
  color: var(--ws-muted);
  font-size: .72rem;
  margin-bottom: .15rem;
}

.shot-tag {
  font-size: .7rem;
  color: var(--ws-primary);
}

/* ========== CTA / CONTACT ========== */

.cta-section {
  padding: 3rem 0 3.5rem;
}

.cta-box {
  border-radius: 1.5rem;
  padding: 2rem 1.6rem;
  background: radial-gradient(circle at top left, rgba(56,189,248,.25), rgba(15,23,42,1));
  border: 1px solid rgba(56, 189, 248, 0.55);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: center;
}

@media (max-width: 820px) {
  .cta-box {
    grid-template-columns: 1fr;
  }
}

.cta-title {
  font-size: 1.4rem;
  margin-bottom: .4rem;
}

.cta-text {
  font-size: .9rem;
  color: var(--ws-muted);
  margin-bottom: 1.1rem;
}

.cta-mail {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: .86rem;
  padding: .5rem .75rem;
  border-radius: .6rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--ws-text);
}

.cta-mail code {
  color: var(--ws-primary);
}

.cta-right {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  font-size: .8rem;
}

.cta-chip {
  border-radius: 999px;
  padding: .35rem .7rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--ws-muted);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

/* ========== FOOTER ========== */

.footer {
  border-top: 1px solid rgba(31, 41, 55, .9);
  padding: 1.4rem 0 1.8rem;
  font-size: .78rem;
  color: var(--ws-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .9rem;
  flex-wrap: wrap;
}

.footer a {
  color: var(--ws-primary);
}

.footer a:hover {
  text-decoration: underline;
}

/* ========== ANIMATIONS SCROLL ========== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomInSoft {
  from {
    opacity: 0;
    transform: scale(.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* état initial */
[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .4s ease-out, transform .4s ease-out;
  will-change: opacity, transform;
}

/* variations */
[data-animate="fade-left"] {
  transform: translateX(-24px);
}

[data-animate="fade-right"] {
  transform: translateX(24px);
}

[data-animate="zoom-in"] {
  transform: scale(.94);
}

/* visible */
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

[data-animate="fade-up"].is-visible {
  animation: fadeUp .6s ease-out;
}

[data-animate="fade-left"].is-visible {
  animation: fadeLeft .6s ease-out;
}

[data-animate="fade-right"].is-visible {
  animation: fadeRight .6s ease-out;
}

[data-animate="zoom-in"].is-visible {
  animation: zoomInSoft .55s ease-out;
}
.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}