/* ═══════ Studio HLF — Landing Page ═══════ */

/* ═══════ VARIABLES & THEME ═══════ */
:root {
  --bg-primary: #0f1219;
  --bg-secondary: #161b26;
  --bg-card: #1a2030;
  --orange: #e88a2d;
  --orange-dark: #c06d1a;
  --orange-light: #f4a54a;
  --amber-glow: rgba(232, 138, 45, 0.12);
  --text-primary: #f0ece4;
  --text-secondary: #8b919e;
  --text-muted: #555d6e;
  --border: rgba(232, 138, 45, 0.15);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ═══════ SCROLLBAR ═══════ */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--orange-dark) var(--bg-secondary);
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

*::-webkit-scrollbar-thumb {
  background: var(--orange-dark);
  border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}

/* ═══════ UTILITIES ═══════ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ═══════ GEOMETRIC BACKGROUND ═══════ */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(232,138,45,0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(232,138,45,0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ═══════ GRID PATTERN ═══════ */
.grid-pattern {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(232,138,45,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,138,45,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ═══════ NAV ═══════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15,18,25,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

nav.scrolled {
  background: rgba(15,18,25,0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 152px;
  width: auto;
  margin: -55px 0;
  transition: filter 0.3s, transform 0.3s;
}

.nav-logo-img:hover {
  filter: drop-shadow(0 0 14px rgba(232,138,45,0.5));
  transform: scale(1.05);
}

.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { width: 100%; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav — style identique au portfolio */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 105;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}

.mobile-nav li {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(232,138,45,0.1);
  width: 100%;
  max-width: 280px;
}

.mobile-nav li:last-child {
  border-bottom: none;
}

.mobile-nav a {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s;
}

.mobile-nav a:hover { color: var(--orange); }

/* ═══════ PARTICLE CANVAS ═══════ */
#particle-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ═══════ HERO SHOWCASE ═══════ */
.hero-showcase {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.hero-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/faq-services-informatique-creation-site-web.webp') center/cover no-repeat;
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 10%, transparent 70%);
}

.hero-showcase-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ═══════ HERO LOGO — IMPOSANT & CENTRÉ ═══════ */
.hero-logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  width: 440px;
  height: 440px;
}

/* Main glow aura */
.hero-logo-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(232,138,45,0.07) 0%,
    rgba(232,138,45,0.03) 30%,
    rgba(232,138,45,0.01) 50%,
    transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
}

/* Ring 1 — slow expand */
.hero-logo-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-logo-ring--1 {
  width: 420px;
  height: 420px;
  border: 1px solid rgba(232,138,45,0.06);
  animation: ringExpand 4s ease-in-out infinite;
}

/* Ring 2 — counter-phase, dashed */
.hero-logo-ring--2 {
  width: 460px;
  height: 460px;
  border: 1px dashed rgba(232,138,45,0.04);
  animation: ringExpandReverse 6s ease-in-out infinite;
}

/* Logo image */
.hero-logo {
  position: relative;
  z-index: 3;
  width: 320px;
  height: auto;
  filter:
    drop-shadow(0 0 30px rgba(232,138,45,0.4))
    drop-shadow(0 0 60px rgba(232,138,45,0.2))
    drop-shadow(0 4px 20px rgba(0,0,0,0.5));
  animation: logoReveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 0.12s ease-out, filter 0.4s;
  will-change: transform;
}

@keyframes logoReveal {
  0%   { opacity: 0; transform: scale(0.6) translateY(30px); filter: blur(8px); }
  60%  { opacity: 1; transform: scale(1.05) translateY(-4px); filter: blur(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(1.12); opacity: 0.3; }
}

@keyframes ringExpand {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.12); opacity: 0.15; }
}

@keyframes ringExpandReverse {
  0%, 100% { transform: scale(1.08) rotate(0deg); opacity: 0.2; }
  50%      { transform: scale(0.95) rotate(180deg); opacity: 0.5; }
}


.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--amber-glow);
  border: 1px solid var(--border);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  width: fit-content;
  animation: fadeSlideUp 0.8s ease-out 0.2s both;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-showcase h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.8s ease-out 0.3s both;
}

.hero-showcase h1 .accent,
.section-title .accent,
.cta-banner h2 .accent {
  color: var(--orange);
  position: relative;
  display: inline-block;
}

.hero-showcase h1 .accent::after {
  content: '';
  position: absolute;
  bottom: 0.1em; left: 0; right: 0;
  height: 0.12em;
  background: var(--orange);
  opacity: 0.3;
  transform: skewX(-12deg);
}

.hero-desc {
  max-width: 600px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeSlideUp 0.8s ease-out 0.4s both;
}

.hero-desc strong { color: var(--text-primary); font-weight: 500; }

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeSlideUp 0.8s ease-out 0.5s both;
}

/* Hero Stats */
.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.stat { display: flex; flex-direction: column; gap: 0.25rem; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ═══════ BUTTONS ═══════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--bg-primary);
}
.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232,138,45,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-full { width: 100%; }

/* ═══════ SECTION BASE ═══════ */
section {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 4rem;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--orange);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 3rem;
  line-height: 1.1;
}

/* ═══════ CARDS ═══════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,138,45,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(232,138,45,0.08);
}

/* ═══════ TAGS ═══════ */
.tag {
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  background: rgba(232,138,45,0.08);
  color: var(--orange-light);
  border: 1px solid rgba(232,138,45,0.12);
  letter-spacing: 0.5px;
}

/* ═══════ SECTION BACKGROUND IMAGES ═══════ */
#services {
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/creation-site-web-responsive-multi-appareils.webp') center 30%/cover no-repeat;
  opacity: 0.09;
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 60%, transparent 100%);
}

.process-section {
  overflow: hidden;
}

.process-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/studio-hlf-conception-site-web-agence-informatique.webp') center/cover no-repeat;
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(135deg, transparent 10%, black 40%, black 60%, transparent 90%);
  -webkit-mask-image: linear-gradient(135deg, transparent 10%, black 40%, black 60%, transparent 90%);
}

#blog {
  overflow: hidden;
}

#blog::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/blog-ressources-projets-numeriques-studio-hlf.webp') center/cover no-repeat;
  opacity: 0.09;
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 70%, transparent 100%);
}

/* ═══════ PRICING GRID ═══════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  position: relative;
}

.pricing-featured {
  border-color: var(--orange);
  background: linear-gradient(
    165deg,
    rgba(232,138,45,0.08) 0%,
    var(--bg-card) 40%
  );
  transform: scale(1.03);
}

.pricing-featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-popular {
  position: absolute;
  top: -1px; right: 2rem;
  background: var(--orange);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 0 0 8px 8px;
}

.pricing-badge {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features svg {
  color: var(--orange);
  flex-shrink: 0;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-price .pricing-currency {
  font-size: 1.4rem;
  font-weight: 700;
  vertical-align: super;
}

.pricing-price-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.pricing-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--orange);
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(232,138,45,0.2);
}

.pricing-subscription {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  padding: 1rem 0;
  border-top: 1px dashed rgba(255,255,255,0.1);
  text-align: center;
}

.pricing-sub-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-sub-price .pricing-currency {
  font-size: 1.1rem;
  font-weight: 700;
  vertical-align: super;
}

.pricing-sub-price .pricing-period {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-sub-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1rem;
}

/* ═══════ PROCESS ═══════ */
.process-section {
  border-top: 1px solid var(--border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step {
  position: relative;
  padding: 2rem 1.5rem;
  border-left: 2px solid var(--border);
  transition: border-color 0.4s;
}

.process-step:hover {
  border-left-color: var(--orange);
}

.process-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1rem;
  transition: opacity 0.4s;
}

.process-step:hover .process-number { opacity: 0.5; }

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════ BLOG ═══════ */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.blog-card {
  padding: 0;
  overflow: hidden;
}

.blog-card-featured {
  grid-column: 1 / -1;
}

.blog-card-cover {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.blog-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.6) saturate(0.8);
  transition: filter 0.4s, transform 0.4s;
}

.blog-card:hover .blog-card-cover img,
.blog-card:hover .blog-card-cover video {
  filter: brightness(0.75) saturate(1);
  transform: scale(1.03);
}

.blog-card-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.6) saturate(0.8);
  transition: filter 0.4s, transform 0.4s;
}

.blog-card-featured .blog-card-cover {
  height: 240px;
}

.blog-card-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-card) 100%);
  pointer-events: none;
}

.blog-card-inner {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-featured .blog-card-inner {
  padding: 2.5rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-meta time {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-card-featured h3 {
  font-size: 1.5rem;
}

.blog-card h3 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}

.blog-card h3 a:hover { color: var(--orange); }

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

.blog-read-more {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  transition: gap 0.3s;
}

.blog-read-more:hover { letter-spacing: 0.5px; }

/* ═══════ BLOG MODAL ═══════ */
.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease-out, visibility 250ms ease-out;
}

.blog-modal.active {
  opacity: 1;
  visibility: visible;
}

.blog-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.blog-modal-container {
  position: relative;
  width: 94%;
  max-width: 1100px;
  height: 92vh;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(30px);
  transition: transform 250ms ease-out;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(232, 138, 45, 0.08);
}

.blog-modal.active .blog-modal-container {
  transform: translateY(0);
}

.blog-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  line-height: 1;
}

.blog-modal-close:hover {
  color: var(--orange);
  border-color: rgba(232, 138, 45, 0.4);
  background: var(--bg-card);
  box-shadow: 0 0 20px rgba(232, 138, 45, 0.1);
}

.blog-modal-body {
  flex: 1;
  overflow: hidden;
  display: flex;
}

.blog-modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
  flex: 1;
}

@media (max-width: 600px) {
  .blog-modal-container {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    border: none;
  }
}

/* ═══════ FAQ ═══════ */
.faq-list {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: rgba(232,138,45,0.35);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  transition: color 0.3s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--orange); }

.faq-chevron {
  width: 20px; height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--orange);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(232,138,45,0.3);
  transition: border-color 0.3s;
}

.faq-answer a:hover {
  border-color: var(--orange);
}

/* ═══════ CTA BANNER ═══════ */
.cta-banner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.cta-banner-content {
  background: linear-gradient(
    135deg,
    rgba(232,138,45,0.12) 0%,
    rgba(232,138,45,0.04) 100%
  );
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/contact-devis-gratuit-projet-web-studio-hlf.webp') center/cover no-repeat;
  opacity: 0.13;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  position: relative;
}

.cta-banner .btn { position: relative; }

/* ═══════ CONTACT ═══════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.contact-links a:hover { color: var(--orange); }

.contact-links svg {
  width: 20px; height: 20px;
  color: var(--orange);
  flex-shrink: 0;
}

/* ═══════ FORM ═══════ */
.contact-form {
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-row .form-group { margin-bottom: 0; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,138,45,0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238b919e' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e85454;
}

.form-error {
  font-size: 0.75rem;
  color: #e85454;
  min-height: 0;
}

.form-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.8rem;
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(232,138,45,0.3);
}

.form-success[hidden] {
  display: none;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.2rem;
  color: var(--orange);
}

.form-success p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ═══════ FOOTER ═══════ */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 4rem 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 350px;
}

.footer-brand .nav-logo {
  display: inline-flex;
  margin-bottom: 1rem;
}

.footer-brand .nav-logo-img {
  height: 100px;
  margin: -30px 0;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover { color: var(--orange); }

/* ═══════ ANIMATIONS ═══════ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════ RESPONSIVE ═══════ */

/* ══ TABLETTE PAYSAGE — max 1100px ══ */
@media (max-width: 1100px) {
  /* Pricing : 1 colonne centree */
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .pricing-featured { transform: none; }
  .pricing-featured:hover { transform: translateY(-4px); }

  /* Process : 2 colonnes */
  .process-grid { grid-template-columns: repeat(2, 1fr); }

  /* Sections : padding reduit */
  section { padding: 5rem 2.5rem; }
  .cta-banner { padding: 0 2.5rem; }
}

/* ══ TABLETTE PORTRAIT — max 900px ══ */
@media (max-width: 900px) {
  /* Nav : burger visible, z-index pour overlay */
  nav { padding: 1rem 1.5rem; z-index: 200; }
  .nav-links { display: none; }
  .nav-burger { display: flex; position: relative; z-index: 210; }
  .nav-logo-img { height: 120px; margin: -42px 0; }

  /* Hero : adapte tablette */
  .hero-showcase { padding: 5rem 1.5rem 3rem; }
  .hero-showcase h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
  .hero-desc { font-size: 1rem; }

  /* Stats : wrap adaptatif */
  .hero-stats { flex-wrap: wrap; gap: 2rem; justify-content: center; }

  /* Sections : padding tablette */
  section { padding: 4rem 1.5rem; }

  /* Grilles : 1 colonne */
  .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* CTA banner */
  .cta-banner { padding: 0 1.5rem; }
  .cta-banner-content { padding: 3rem 2rem; }

  /* Footer : empile */
  .footer-inner { flex-direction: column; }
  footer { padding: 3rem 1.5rem 2rem; }
}

/* ══ MOBILE LARGE — max 600px ══ */
@media (max-width: 600px) {
  /* Hero : br masque pour laisser le texte couler */
  .br-desktop { display: none; }

  /* Hero : logo et titre reduits */
  .hero-showcase h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero-showcase { padding: 4.5rem 1.25rem 2.5rem; }
  .hero-logo-wrapper { width: 260px; height: 260px; }
  .hero-logo { width: 200px; }
  .hero-logo-glow { width: 300px; height: 300px; }
  .hero-logo-ring--1 { width: 250px; height: 250px; }
  .hero-logo-ring--2 { width: 280px; height: 280px; }
  .hero-desc { font-size: 0.95rem; margin-bottom: 2rem; }

  /* Hero CTA : empile */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; min-height: 48px; }

  /* Stats */
  .hero-stats { gap: 1.5rem; }
  .stat-number { font-size: 2rem; }

  /* Process : 1 colonne */
  .process-grid { grid-template-columns: 1fr; }

  /* Pricing : pleine largeur */
  .pricing-grid { max-width: 100%; }
  .pricing-card { padding: 2rem 1.5rem; }

  /* Blog : images reduites */
  .blog-card-featured .blog-card-cover { height: 180px; }
  .blog-card-cover { height: 150px; }

  /* FAQ : padding reduit */
  .faq-item summary { padding: 1rem 1.25rem; font-size: 0.92rem; }
  .faq-answer { padding: 0 1.25rem 1.25rem; }

  /* CTA banner */
  .cta-banner-content { padding: 2.5rem 1.5rem; }
  .cta-banner h2 { font-size: clamp(1.4rem, 5vw, 2rem); }

  /* Contact : centre sur mobile */
  .contact-form { padding: 1.5rem; max-width: 500px; margin: 0 auto; }
  .contact-info { max-width: 500px; margin: 0 auto; }
  .contact-info h3 { font-size: 1.3rem; }

  /* Sections */
  section { padding: 3rem 1.25rem; }
  .section-title { font-size: clamp(1.5rem, 5vw, 2rem); margin-bottom: 2rem; }

  /* Footer */
  .footer-links { flex-direction: column; gap: 2rem; }
  footer { padding: 2.5rem 1.25rem 1.5rem; }
}

/* ══ MOBILE PETIT — max 480px ══ */
@media (max-width: 480px) {
  /* Nav */
  nav { padding: 0.8rem 1rem; }
  .nav-logo-img { height: 90px; margin: -30px 0; }

  /* Hero : compact */
  .hero-showcase { padding: 4rem 1rem 2rem; }
  .hero-showcase h1 { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  .hero-logo-wrapper { width: 200px; height: 200px; }
  .hero-logo { width: 150px; }
  .hero-logo-glow { width: 230px; height: 230px; }
  .hero-logo-ring--1 { width: 190px; height: 190px; }
  .hero-logo-ring--2 { width: 210px; height: 210px; }
  .hero-badge { font-size: 0.68rem; padding: 0.4rem 0.9rem; }
  .hero-desc { font-size: 0.9rem; }

  /* Stats : colonne */
  .hero-stats { flex-direction: column; align-items: center; gap: 1.2rem; }
  .stat { align-items: center; text-align: center; }
  .stat-number { font-size: 1.8rem; }

  /* Boutons : taille tactile */
  .btn { padding: 0.85rem 1.5rem; font-size: 0.85rem; min-height: 48px; }

  /* Sections */
  section { padding: 2.5rem 1rem; }
  .section-label { font-size: 0.68rem; }
  .section-title { font-size: clamp(1.3rem, 5vw, 1.8rem); }

  /* Pricing : compact */
  .pricing-card { padding: 1.5rem 1.25rem; }
  .pricing-price { font-size: 2.2rem; }
  .pricing-sub-price { font-size: 1.6rem; }

  /* Process : compact */
  .process-step { padding: 1.5rem 1rem; }
  .process-number { font-size: 2.5rem; }

  /* Blog : compact */
  .blog-card-inner { padding: 1.25rem; }
  .blog-card-featured .blog-card-inner { padding: 1.5rem; }
  .blog-card h3 { font-size: 1rem; }
  .blog-card-featured h3 { font-size: 1.2rem; }

  /* FAQ : compact */
  .faq-item summary { padding: 0.9rem 1rem; font-size: 0.88rem; }
  .faq-answer { padding: 0 1rem 1rem; }
  .faq-answer p { font-size: 0.85rem; }

  /* CTA banner */
  .cta-banner { padding: 0 1rem; }
  .cta-banner-content { padding: 2rem 1.25rem; }

  /* Contact : compact + inputs 16px pour eviter zoom iOS */
  .contact-form { padding: 1.25rem; }
  .form-group input, .form-group select, .form-group textarea { font-size: 1rem; }
  .contact-info h3 { font-size: 1.15rem; }
  .contact-text { font-size: 0.88rem; }

  /* Footer */
  footer { padding: 2rem 1rem 1.5rem; }
  .footer-brand p { font-size: 0.82rem; }
  .footer-bottom { font-size: 0.75rem; }

  /* Mobile nav : compact */
  .mobile-nav a { font-size: 1rem; letter-spacing: 1.5px; }
  .mobile-nav li { padding: 1rem 0; max-width: 240px; }

  /* Performance : masquer grille */
  .grid-pattern { display: none; }
}
