/* ============================================================
   DRAFSH — Global Stylesheet
   Studio Moderne / Bauhaus Contemporain
   ============================================================ */

/* Google Fonts loaded via <link rel="preload"> in HTML for better performance */

:root {
  --bg: #F5F3EE;
  --dark: #2A2A2A;
  --accent: #8B7355;
  --muted: #9A9487;
  --white: #FEFCF8;
  --line: #E0DDD8;
  --font-heading: 'Syne', sans-serif;
  --font-sub: 'Syne', sans-serif;
  --font-ui: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --section-pad: 110px 0;
  --container-max: 1200px;
  --trans-fast: 0.2s ease;
  --trans-normal: 0.35s ease;
  --trans-slow: 0.6s ease;
  --shadow-card: none;
  --shadow-gold: none;
  --shadow-gold-hover: 0 4px 20px rgba(0,0,0,0.07);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--white);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Remove grain overlay */
body::after { display: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--trans-fast); }
ul { list-style: none; }
button { border: none; background: none; font-family: inherit; }

/* Custom Cursor */
.cursor {
  width: 10px; height: 10px;
  background: var(--dark);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-follower {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(139, 115, 85, 0.3);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor.hovered { width: 18px; height: 18px; }
.cursor-follower.hovered { width: 48px; height: 48px; border-color: rgba(139, 115, 85, 0.45); }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.15; color: var(--dark); }
h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-family: var(--font-sub); font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 700; }
p { color: var(--muted); font-size: 1rem; line-height: 1.85; }
.label {
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

/* Layout */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: var(--section-pad); position: relative; }
.section-header { text-align: center; margin-bottom: 72px; }
.section-header .label { display: block; margin-bottom: 18px; }
.section-header h2 { margin-bottom: 18px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* Divider (1px terracotta line, no gradient) */
.divider {
  width: 48px; height: 1px;
  background: var(--accent);
  margin: 22px 0;
}
.divider-center { margin: 22px auto; }

/* Decorative dots */
.bg-dots { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bg-dot {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.12;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px;
  border-radius: 4px;
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all var(--trans-fast);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--dark);
  color: #FFFFFF;
  border: 1.5px solid var(--dark);
}
.btn-primary::after { display: none; }
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: none;
  box-shadow: none;
}
.btn-secondary {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
}
.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: #FFFFFF;
}
.btn-large { padding: 18px 44px; font-size: 0.85rem; }
.w-full { width: 100%; justify-content: center; }

/* Navigation */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 26px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: all var(--trans-normal);
}
.navbar.scrolled {
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; flex-direction: column; gap: 3px; }
.nav-logo-name {
  font-family: var(--font-heading);
  font-size: 1.65rem; font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.06em; line-height: 1;
}
.nav-logo-tagline {
  font-family: var(--font-sub);
  font-size: 0.58rem; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-family: var(--font-sub);
  font-size: 0.77rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--muted);
  transition: color var(--trans-fast);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--trans-normal);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px;
}
.hamburger span { width: 22px; height: 1.5px; background: var(--dark); transition: all var(--trans-normal); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 0; right: 0;
  width: 300px; height: 100vh;
  background: var(--white);
  border-left: 2px solid var(--accent);
  z-index: 999;
  padding: 110px 36px 40px;
  transform: translateX(100%);
  transition: transform var(--trans-slow);
  display: flex; flex-direction: column; gap: 0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.9rem; font-weight: 700;
  color: var(--dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: color var(--trans-fast);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { margin-top: 28px; justify-content: center; cursor: pointer; }
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998; opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-normal);
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

/* Footer */
footer {
  background: var(--dark);
  padding: 80px 0 32px;
  border-top: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}
.footer-brand p { margin-top: 20px; font-size: 0.88rem; max-width: 290px; line-height: 1.75; color: rgba(255,255,255,0.6); }
.footer-col h4 {
  font-family: var(--font-sub);
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent); margin-bottom: 22px;
}
.footer-col ul li { margin-bottom: 13px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: color var(--trans-fast); }
.footer-col ul li a:hover { color: #FFFFFF; }
.footer-email { color: var(--accent) !important; }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.footer-signature {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--accent) !important;
  font-size: 0.85rem !important;
}
/* Footer logo override: white text on dark green bg */
footer .nav-logo-name { color: #FFFFFF; }
footer .nav-logo-tagline { color: var(--accent); }

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Cards */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px;
  transition: all var(--trans-normal);
}
.card:hover {
  border-color: var(--accent);
  box-shadow: none;
  transform: translateY(-3px);
}
.card-icon {
  width: 54px; height: 54px;
  background: rgba(139, 115, 85, 0.08);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--dark); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 110px 0 80px;
  position: relative; overflow: hidden;
  background: var(--white);
}
.hero::before { display: none; }
.hero::after { display: none; }
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  width: 100%;
}
.hero-content { z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 30px;
}
.hero-dot {
  width: 7px; height: 7px;
  background: var(--accent); border-radius: 50%;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}
.hero h1 { margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-headline {
  margin-bottom: 26px;
}
.hero-headline .hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}
.hero-headline.is-visible .hero-word {
  opacity: 1;
  transform: translateY(0);
}
.hero-subtitle {
  font-size: 1.08rem; line-height: 1.85;
  color: var(--muted);
  margin-bottom: 42px; max-width: 480px;
}
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-note {
  font-family: var(--font-sub);
  font-size: 0.76rem; color: var(--muted);
}
.hero-note strong { color: var(--dark); font-weight: 700; }

/* MacBook Mockup (light device) */
.hero-visual { position: relative; z-index: 1; }
.device-wrapper { position: relative; max-width: 520px; margin: 0 auto; }
.macbook {
  position: relative;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.12));
}
.macbook-lid {
  background: linear-gradient(160deg, #E8E8E8 0%, #D8D8D8 100%);
  border-radius: 14px 14px 0 0;
  padding: 10px 10px 5px;
  position: relative;
  border: 1px solid #C8C8C8;
}
.macbook-camera {
  width: 7px; height: 7px;
  background: #B8B8B8; border-radius: 50%;
  margin: 0 auto 6px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
.macbook-screen {
  background: var(--white);
  border-radius: 6px;
  aspect-ratio: 16/10;
  overflow: hidden; position: relative;
}
.macbook-screen-inner {
  padding: 14px; height: 100%;
  display: flex; flex-direction: column; gap: 10px;
}
.ms-nav {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.ms-logo { width: 50px; height: 7px; background: var(--dark); border-radius: 3px; opacity: 0.8; }
.ms-nav-items { display: flex; gap: 6px; }
.ms-nav-item { width: 26px; height: 4px; background: var(--line); border-radius: 2px; }
.ms-hero-text { padding: 12px 0 8px; }
.ms-h1 { height: 11px; background: var(--dark); border-radius: 5px; margin-bottom: 6px; opacity: 0.75; }
.ms-h1.short { width: 55%; }
.ms-p { height: 5px; background: #AAAAAA; border-radius: 2px; margin-bottom: 4px; opacity: 0.5; }
.ms-p.w80 { width: 80%; }
.ms-p.w65 { width: 65%; }
.ms-btn { width: 88px; height: 20px; background: var(--dark); border-radius: 3px; margin-top: 10px; opacity: 0.9; }
.ms-cards { display: flex; gap: 6px; flex: 1; align-items: flex-end; }
.ms-card {
  flex: 1; background: var(--bg);
  border: 1px solid var(--line); border-radius: 4px;
  height: 52px;
}
.macbook-base {
  background: linear-gradient(180deg, #D0D0D0 0%, #C0C0C0 100%);
  height: 12px; border-radius: 0 0 3px 3px;
}
.macbook-foot {
  background: #BBBBBB;
  height: 5px;
  width: 38%; margin: 0 auto;
  border-radius: 0 0 6px 6px;
}

/* iPhone floating */
.iphone {
  position: absolute; right: -28px; bottom: 24px;
  width: 92px;
  background: linear-gradient(160deg, #EFEFEF, #E0E0E0);
  border-radius: 18px;
  border: 1px solid #D0D0D0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  overflow: hidden; aspect-ratio: 9/19;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.iphone-notch {
  width: 36px; height: 8px;
  background: #CCCCCC; border-radius: 0 0 8px 8px;
  margin: 0 auto;
}
.iphone-screen {
  padding: 8px 7px 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.ip-bar { height: 5px; background: rgba(42, 42, 42, 0.15); border-radius: 3px; }
.ip-bar.gold { background: var(--accent); opacity: 0.7; width: 60%; }
.ip-img { height: 30px; background: var(--bg); border-radius: 4px; border: 1px solid var(--line); }
.ip-btn { height: 14px; background: var(--dark); opacity: 0.85; border-radius: 3px; margin-top: 4px; }

/* SOCIAL PROOF STRIP */
.social-proof {
  padding: 38px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.social-proof .container {
  display: flex; align-items: center;
  justify-content: center; gap: 72px; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.9rem; font-weight: 700;
  color: var(--dark); line-height: 1;
  margin-bottom: 7px;
}
.stat-label {
  font-family: var(--font-sub);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--muted);
}
.stat-sep { width: 1px; height: 52px; background: var(--line); }

/* PROBLEM SECTION */
.problem { background: var(--white); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.problem-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px; padding: 36px;
  transition: all var(--trans-normal);
}
.problem-card:hover {
  border-color: var(--accent);
  box-shadow: none;
  transform: translateY(-3px);
}
.problem-icon {
  width: 54px; height: 54px;
  background: rgba(139, 115, 85, 0.08);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.problem-icon svg { width: 26px; height: 26px; stroke: var(--dark); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.problem-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.problem-card p { font-size: 0.9rem; line-height: 1.7; }

/* OFFERS PREVIEW (Homepage) */
.offers-preview { background: var(--bg); }
.offers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 50px; }
.offer-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px; padding: 36px;
  text-align: center;
  transition: all var(--trans-normal);
  position: relative; overflow: hidden;
}
.offer-card.featured {
  border-color: var(--dark);
  border-width: 2px;
  background: var(--white);
}
.offer-card.featured::before {
  content: 'Populaire';
  position: absolute; top: 14px; right: -24px;
  background: var(--dark); color: #FFFFFF;
  font-family: var(--font-sub); font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 34px; transform: rotate(45deg);
}
.offer-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.offer-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.offer-name {
  font-family: var(--font-sub); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--dark); margin-bottom: 14px;
}
.offer-price {
  font-family: var(--font-heading); font-size: 3.1rem; font-weight: 700;
  color: var(--dark); line-height: 1; margin-bottom: 6px;
}
.offer-price sup { font-size: 1.4rem; color: var(--accent); vertical-align: super; }
.offer-delay { font-family: var(--font-sub); font-size: 0.78rem; color: var(--muted); margin-bottom: 26px; }
.offer-features { text-align: left; margin-bottom: 30px; }
.offer-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; font-size: 0.88rem; color: var(--muted);
  border-bottom: 1px solid var(--bg);
}
.offer-features li:last-child { border-bottom: none; }
.offer-check {
  width: 17px; height: 17px;
  background: rgba(139, 115, 85, 0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.offer-check::after { content: '✓'; color: var(--dark); font-size: 0.62rem; font-weight: 800; }
.offers-cta { text-align: center; }

/* PROCESS SECTION */
.process { background: var(--white); }
.process-timeline {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative; margin-top: 64px;
}
.process-line {
  position: absolute; top: 27px;
  left: calc(12.5% + 28px); right: calc(12.5% + 28px);
  height: 1px;
  background: var(--line);
  opacity: 1;
}
.process-step { text-align: center; padding: 0 18px; position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 26px;
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700;
  color: var(--accent);
  position: relative; z-index: 1;
  transition: all var(--trans-normal);
}
.process-step:hover .step-num {
  background: var(--dark); color: #FFFFFF;
  border-color: var(--dark);
  box-shadow: none;
}
.step-day {
  font-family: var(--font-sub); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--accent); opacity: 0.8; margin-bottom: 10px;
}
.step-title { font-family: var(--font-sub); font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.step-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.65; }

/* REALIZATIONS / PROJECTS */
.realizations { background: var(--bg); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden;
  transition: all var(--trans-normal);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-color: var(--accent);
}
.project-card:hover .project-mockup-frame {
  transform: scale(1.02);
}
.project-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.project-mockup {
  height: 195px; position: relative;
  overflow: hidden; display: flex;
  align-items: center; justify-content: center;
}
.project-mockup-frame {
  width: 82%; height: 82%;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 10px;
  display: flex; flex-direction: column; gap: 7px;
  transition: transform 0.22s ease-out;
}
.pmf-header { display: flex; justify-content: space-between; align-items: center; }
.pmf-logo { width: 44px; height: 6px; border-radius: 3px; opacity: 0.85; }
.pmf-nav { display: flex; gap: 5px; }
.pmf-nav-dot { width: 20px; height: 4px; background: rgba(255,255,255,0.25); border-radius: 2px; }
.pmf-hero { flex: 1; display: flex; flex-direction: column; gap: 5px; justify-content: center; }
.pmf-line { height: 4px; background: rgba(255,255,255,0.3); border-radius: 2px; }
.pmf-line.w70 { width: 70%; }
.pmf-line.w50 { width: 50%; }
.pmf-line.w85 { width: 85%; }
.pmf-btn { width: 70px; height: 18px; border-radius: 3px; margin-top: 6px; opacity: 0.9; }

/* Project gradient backgrounds (keep colorful for visual interest) */
.pg-1 { background: linear-gradient(135deg, #6B46C1 0%, #553C9A 100%); }
.pg-1 .pmf-logo, .pg-1 .pmf-btn { background: var(--white); }
.pg-2 { background: linear-gradient(135deg, #1B3A5C 0%, #122840 100%); }
.pg-2 .pmf-logo, .pg-2 .pmf-btn { background: #C8A96E; }
.pg-3 { background: linear-gradient(135deg, #059669 0%, #047857 100%); }
.pg-3 .pmf-logo, .pg-3 .pmf-btn { background: var(--white); }
.pg-4 { background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%); }
.pg-4 .pmf-logo, .pg-4 .pmf-btn { background: var(--white); }
.pg-5 { background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%); }
.pg-5 .pmf-logo, .pg-5 .pmf-btn { background: var(--white); }
.pg-6 { background: linear-gradient(135deg, #D97706 0%, #B45309 100%); }
.pg-6 .pmf-logo, .pg-6 .pmf-btn { background: var(--white); }
.project-info { padding: 24px; }
.project-category {
  font-family: var(--font-sub); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--accent); margin-bottom: 8px;
}
.project-name { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.project-sector { font-size: 0.83rem; color: var(--muted); margin-bottom: 14px; }
.project-result {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 13px;
  background: var(--bg);
  border-radius: 4px; border: 1px solid var(--line);
}
.result-icon { color: var(--dark); font-size: 0.9rem; line-height: 1; }
.project-result span { font-size: 0.8rem; color: var(--muted); }
.project-result strong { color: var(--dark); }

/* TESTIMONIALS */
.testimonials { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px; padding: 36px;
  transition: all var(--trans-normal);
}
.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: none;
  transform: translateY(-3px);
}
.stars { display: flex; gap: 4px; margin-bottom: 20px; }
.star { color: var(--accent); font-size: 1rem; }
.testimonial-text {
  font-family: var(--font-heading); font-style: italic;
  font-size: 1.08rem; line-height: 1.72;
  color: var(--dark); margin-bottom: 28px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(139, 115, 85, 0.1);
  border: 2px solid rgba(139, 115, 85, 0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700;
  color: var(--dark); flex-shrink: 0;
}
.author-name { font-family: var(--font-sub); font-size: 0.88rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.author-role { font-size: 0.78rem; color: var(--muted); }

/* CTA BANNER (green background, white text) */
.cta-banner {
  background: var(--dark);
  border-top: none;
  border-bottom: none;
  text-align: center; padding: 110px 0;
  position: relative; overflow: hidden;
}
.cta-banner::before { display: none; }
.cta-banner h2 { margin-bottom: 18px; color: #FFFFFF; }
.cta-banner p { max-width: 480px; margin: 0 auto 42px; font-size: 1.05rem; color: rgba(255,255,255,0.75); }
.cta-banner .label { color: var(--accent); }
.cta-banner .divider { background: rgba(255,255,255,0.3); }
.cta-banner .btn-primary { background: var(--white); color: var(--dark); border-color: #FFFFFF; }
.cta-banner .btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 165px 0 88px;
  text-align: center; position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero::before { display: none; }
.page-hero .label { display: block; margin-bottom: 18px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero > .container > p { max-width: 560px; margin: 0 auto; font-size: 1.07rem; }

/* OFFERS / PRICING PAGE */
.pricing-section { background: var(--white); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 60px; }
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px; padding: 40px;
  position: relative; overflow: hidden;
  transition: all var(--trans-normal);
}
.pricing-card.featured { border-color: var(--dark); border-width: 2px; padding-top: 58px; }
.pricing-card.featured::before {
  content: 'Le plus populaire';
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--dark); color: #FFFFFF;
  font-family: var(--font-sub); font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  text-align: center; padding: 9px;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.pricing-name {
  font-family: var(--font-sub); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--dark); margin-bottom: 12px;
}
.pricing-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.pricing-tagline {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.4;
}
.pricing-price {
  font-family: var(--font-heading); font-size: 3.6rem; font-weight: 700;
  color: var(--dark); line-height: 1; margin-bottom: 8px;
}
.pricing-price sup { font-size: 1.6rem; color: var(--accent); vertical-align: super; }
.pricing-delay { font-size: 0.82rem; color: var(--muted); margin-bottom: 8px; }
.pricing-desc {
  font-size: 0.9rem; color: var(--muted);
  margin-bottom: 28px; padding-bottom: 28px;
  border-bottom: 1px solid var(--line); line-height: 1.7;
}
.pricing-features { margin-bottom: 36px; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; font-size: 0.88rem; color: var(--muted);
  border-bottom: 1px solid var(--bg);
}
.pricing-features li:last-child { border-bottom: none; }
.check {
  width: 19px; height: 19px;
  background: rgba(139, 115, 85, 0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.check::after { content: '✓'; color: var(--dark); font-size: 0.62rem; font-weight: 800; }

/* Maintenance card */
.maintenance-section { padding-bottom: 0; }
.maintenance-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px; padding: 44px;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 48px;
  margin-bottom: 0;
}
.maintenance-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(139, 115, 85, 0.08);
  border: 1px solid rgba(139, 115, 85, 0.15); border-radius: 30px;
  margin-bottom: 18px;
}
.maintenance-badge .dot-blue { width: 6px; height: 6px; background: var(--dark); border-radius: 50%; }
.maintenance-badge span {
  font-family: var(--font-sub); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em; color: var(--dark);
}
.maintenance-card h3 { color: var(--dark); font-size: 1.3rem; margin-bottom: 12px; }
.maintenance-card > div > p { font-size: 0.92rem; margin-bottom: 20px; }
.maint-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.maint-feature { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--muted); }
.maint-feature::before { content: '•'; color: var(--accent); font-size: 1.2rem; }
.maintenance-price-box {
  text-align: center; padding: 32px 44px;
  background: rgba(61,90,76,0.05);
  border: 1.5px solid var(--dark); border-radius: 4px;
}
.maintenance-price-num {
  font-family: var(--font-heading); font-size: 3rem; font-weight: 700;
  color: var(--dark); line-height: 1;
}
.maintenance-price-num sup { font-size: 1.4rem; color: var(--dark); vertical-align: super; }
.maintenance-price-lbl { font-size: 0.78rem; color: var(--muted); margin-top: 8px; }

/* FAQ SECTION */
.faq-section { background: var(--bg); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0; cursor: pointer; gap: 24px;
}
.faq-question h3 {
  font-family: var(--font-sub); font-size: 0.98rem; font-weight: 700;
  color: var(--dark); transition: color var(--trans-fast);
}
.faq-question:hover h3 { color: var(--accent); }
.faq-icon {
  width: 33px; height: 33px;
  border: 1.5px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all var(--trans-normal);
  color: var(--dark); font-size: 1.4rem; line-height: 1;
  font-family: var(--font-sub); font-weight: 300;
}
.faq-item.active .faq-icon { background: var(--dark); color: #FFFFFF; border-color: var(--dark); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.faq-answer p { padding-bottom: 26px; font-size: 0.93rem; line-height: 1.85; }
.faq-item.active .faq-answer { max-height: 320px; }

/* PORTFOLIO PAGE */
.portfolio-section { background: var(--white); }
.filter-bar { display: flex; justify-content: center; gap: 12px; margin-bottom: 54px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 24px; border-radius: 4px;
  font-family: var(--font-sub); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.11em;
  border: 1.5px solid var(--line);
  color: var(--muted); background: transparent;
  transition: all var(--trans-normal); cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--dark);
  color: var(--dark);
  background: transparent;
}
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.portfolio-item { transition: opacity 0.3s ease; }
.portfolio-item.hidden { display: none; }

/* ABOUT PAGE */
.about-section { background: var(--white); }
.about-intro-grid {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 80px; align-items: start; margin-bottom: 90px;
}
.about-photo-wrap { position: sticky; top: 110px; }
.photo-circle {
  width: 270px; height: 270px; border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px; position: relative; overflow: hidden;
}
.photo-circle::before { display: none; }
.photo-circle svg { width: 90px; height: 90px; stroke: rgba(139, 115, 85, 0.2); fill: none; stroke-width: 1; }
.location-badge {
  padding: 16px 22px;
  background: var(--bg);
  border: 1px solid var(--line); border-radius: 4px;
  text-align: center;
}
.location-badge .label { margin-bottom: 7px; display: block; }
.location-badge p { font-size: 0.87rem; }
.about-blocks { display: flex; flex-direction: column; gap: 52px; }
.about-block h2 { font-size: 2.1rem; margin-bottom: 18px; }
.about-block p { font-size: 0.98rem; line-height: 1.92; }

/* Values */
.values-section {
  background: var(--bg);
  padding: 90px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px; padding: 36px 28px;
  text-align: center; transition: all var(--trans-normal);
}
.value-card:hover {
  border-color: var(--accent);
  box-shadow: none; transform: translateY(-3px);
}
.value-icon {
  width: 64px; height: 64px;
  background: rgba(139, 115, 85, 0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.value-icon svg { width: 30px; height: 30px; stroke: var(--dark); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.value-name {
  font-family: var(--font-sub); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); margin-bottom: 12px;
}
.value-desc { font-size: 0.87rem; color: var(--muted); line-height: 1.7; }

/* CONTACT PAGE */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
.contact-info-col h2 { font-size: 2.3rem; margin-bottom: 20px; }
.contact-info-col > p { font-size: 1rem; line-height: 1.88; margin-bottom: 44px; }
.contact-details { display: flex; flex-direction: column; gap: 22px; margin-bottom: 44px; }
.contact-detail { display: flex; align-items: center; gap: 18px; }
.detail-icon {
  width: 46px; height: 46px;
  background: rgba(139, 115, 85, 0.08);
  border: 1px solid var(--line); border-radius: 4px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.detail-icon svg { width: 21px; height: 21px; stroke: var(--dark); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.detail-text strong {
  display: block; font-family: var(--font-sub); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--muted); margin-bottom: 3px;
}
.detail-text span, .detail-text a { color: var(--dark); font-size: 0.93rem; }
.detail-text a { color: var(--accent); transition: opacity var(--trans-fast); }
.detail-text a:hover { opacity: 0.8; }

/* Calendly placeholder */
.calendly-wrap {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 4px; padding: 64px 40px;
  text-align: center; margin-bottom: 40px;
  min-height: 380px; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.cal-icon {
  width: 66px; height: 66px;
  background: rgba(139, 115, 85, 0.08); border: 1px solid var(--line);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 6px;
}
.cal-icon svg { width: 34px; height: 34px; stroke: var(--dark); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.calendly-wrap h3 { font-family: var(--font-sub); font-size: 1.05rem; font-weight: 700; color: var(--dark); }
.calendly-wrap p { font-size: 0.85rem; max-width: 270px; }
.loading-dots { display: flex; gap: 6px; margin-top: 10px; }
.loading-dot {
  width: 8px; height: 8px; background: var(--dark);
  border-radius: 50%; opacity: 0.3;
  animation: blink 1.5s ease-in-out infinite;
}
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

/* Contact form */
.contact-form-wrap {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px; padding: 44px;
}
.contact-form-wrap h3 { font-family: var(--font-sub); font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 7px; }
.form-sub { font-size: 0.84rem; color: var(--muted); margin-bottom: 30px; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-family: var(--font-sub); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--muted); margin-bottom: 9px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 4px; color: var(--dark);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--dark);
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.08);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%232A2A2A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 11px;
  padding-right: 44px; cursor: pointer;
}
.form-group select option { background: var(--white); color: var(--dark); }
.form-group textarea { height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-footer { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 0.76rem; color: var(--muted); }
.form-footer svg { width: 14px; height: 14px; stroke: var(--dark); fill: none; flex-shrink: 0; }
.form-footer strong { color: var(--dark); }

/* RESPONSIVE — Tablet */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-subtitle { margin: 0 auto 42px; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .device-wrapper { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .footer-brand { grid-column: span 2; }
  .about-intro-grid { grid-template-columns: 250px 1fr; gap: 60px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 900px) {
  .problem-grid, .offers-grid, .projects-grid,
  .testimonials-grid, .pricing-grid, .portfolio-grid,
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 44px; }
  .process-line { display: none; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-photo-wrap { position: static; }
  .maintenance-card { grid-template-columns: 1fr; gap: 32px; }
  /* Nav collapses to hamburger from 900px */
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
  .navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}

/* RESPONSIVE — Mobile */
@media (max-width: 768px) {
  :root { --section-pad: 72px 0; }
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
  button, a { cursor: pointer; }
  .container { padding: 0 20px; }
  .section-header { margin-bottom: 44px; }
  .problem-grid, .offers-grid, .projects-grid,
  .testimonials-grid, .pricing-grid, .portfolio-grid,
  .values-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; gap: 32px; }
  .social-proof .container { gap: 28px; }
  .stat-sep { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .maintenance-card { padding: 30px; }
  .maint-features { grid-template-columns: 1fr; }
  .iphone { display: none; }
  .contact-form-wrap { padding: 28px 22px; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.75rem; }
  .hero { padding-top: 90px; }
  .pricing-card, .card { padding: 26px; }
  .btn-large { padding: 16px 30px; }
}

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--dark);
  outline-offset: 3px; border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .iphone { animation: none; }
}

/* Utilities */
.text-gold { color: var(--accent); }
.text-center { text-align: center; }
.w-full { width: 100%; justify-content: center; }
