/* ═══════════════════════════════════════════════════════════
   LIGNE JAUNE — style.css v7
   Jaune: #f2c200 · DM Sans · Conteneur 83%
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400&display=swap');

:root {
  --yellow: #f2c200;
  --yellow-hover: #dab000;
  --yellow-soft: rgba(242, 194, 0, .06);

  --black: #0c0c0c;
  --dark: #1a1a1a;
  --text-light: #e4e4e4;
  --muted: #737373;
  --line: #e2e0dc;
  --card-bg: #f5f4f0;
  --bg: #faf9f6;
  --white: #fff;

  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  --v-space: 140px;
  --ease: cubic-bezier(.25, .46, .45, .94);
  --ease-out: cubic-bezier(.77, 0, .175, 1);
  --speed: .4s;
  --speed-fast: .25s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); font-size: 18px; line-height: 1.65; color: var(--muted); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--speed-fast); }
ul { list-style: none; }

.wrap { width: 91.667%; max-width: 83.333%; margin: 0 auto; }
@media (max-width: 768px) { .wrap { max-width: 91.667%; } }


/* ═══════════ BOUTON ANIMÉ ═══════════ */
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin-border { to { --angle: 360deg; } }
@keyframes wave-hand {
  0% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-8deg); }
  45% { transform: rotate(14deg); } 60% { transform: rotate(-4deg); } 75% { transform: rotate(10deg); } 100% { transform: rotate(0); }
}

.coucou-wrap {
  position: relative; display: inline-flex; border-radius: 100px; padding: 3px; background: transparent;
}
.coucou-wrap::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background: conic-gradient(from var(--angle, 0deg), var(--dark) 0%, rgba(26,26,26,.08) 30%, rgba(26,26,26,.03) 50%, rgba(26,26,26,.08) 70%, var(--dark) 100%);
  animation: spin-border 2.5s linear infinite; z-index: 0;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 3px;
}
.coucou-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 100px; border: none; background: transparent;
  color: var(--dark); font-family: var(--sans); font-size: 15px; font-weight: 500;
  text-decoration: none; cursor: pointer; overflow: hidden; z-index: 1; transition: color .35s ease;
}
.coucou-btn::before {
  content: ''; position: absolute; inset: 0; background: var(--dark); border-radius: inherit;
  transform: translateX(-105%); transition: transform .45s var(--ease-out); z-index: 0;
}
.coucou-wrap:hover .coucou-btn::before { transform: translateX(0); }
.coucou-wrap:hover .coucou-btn { color: var(--white); }
.coucou-btn > * { position: relative; z-index: 1; }
.wave-ico { display: inline-block; font-size: 15px; transform-origin: 70% 70%; }
.coucou-wrap:hover .wave-ico { animation: wave-hand .7s ease forwards; }
.coucou-wrap--sm .coucou-btn { padding: 8px 18px; font-size: 14px; }
.coucou-wrap--sm .wave-ico { font-size: 14px; }


/* ═══════════ HEADER ═══════════ */
.header {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--header-h); z-index: 1000;
  background: rgba(250,249,246,.88); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent; transition: border-color var(--speed);
}
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; color: var(--black); text-transform: uppercase; letter-spacing: .06em; }
.logo img { height: 32px; width: auto; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav-link { font-size: 18px; font-weight: 400; color: var(--muted); padding: 4px 0; transition: color var(--speed-fast); }
.nav-link:hover { color: var(--black); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--black); transition: transform var(--speed), opacity var(--speed); }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ═══════════ HERO ═══════════ */
.hero { padding-top: calc(var(--header-h) + 80px); padding-bottom: 0; }

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; padding-bottom: var(--v-space);
}
.hero-content { max-width: 600px; }
.hero-tag { font-size: 16px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 24px; }
.hero h1 { font-size: clamp(44px, 6vw, 90px); font-weight: 600; line-height: 1.05; color: var(--black); letter-spacing: -.03em; margin-bottom: 32px; }
.hero h1 .yellow { color: var(--yellow); }
.hero-desc { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 36px; max-width: 480px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* iPhone */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.iphone {
  position: relative; width: 300px; height: 620px; border-radius: 50px; background: #1a1a1a;
  box-shadow: inset 0 0 0 2px #333, inset 0 0 0 4px #1a1a1a, 0 40px 80px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.06);
  padding: 14px; z-index: 2;
}
.iphone::before { content: ''; position: absolute; top: 120px; left: -3px; width: 3px; height: 32px; background: #333; border-radius: 2px 0 0 2px; }
.iphone::after { content: ''; position: absolute; top: 170px; left: -3px; width: 3px; height: 60px; background: #333; border-radius: 2px 0 0 2px; }
.iphone-power { position: absolute; top: 140px; right: -3px; width: 3px; height: 48px; background: #333; border-radius: 0 2px 2px 0; }
.iphone-notch { display: none; }
.iphone-screen { width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #000; position: relative; }
.iphone-screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.iphone-screen .placeholder { width: 100%; height: 100%; background: linear-gradient(145deg, #1a1a1a, #111); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.play-btn { width: 56px; height: 56px; border: 2px solid var(--yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all var(--speed); cursor: pointer; }
.play-btn svg { width: 20px; height: 20px; fill: var(--yellow); transition: fill var(--speed); }
.play-btn:hover { background: var(--yellow); }
.play-btn:hover svg { fill: var(--black); }
.iphone-screen .label { font-size: 11px; color: rgba(255,255,255,.35); letter-spacing: .12em; text-transform: uppercase; }
.iphone-glare { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50px; background: linear-gradient(135deg, rgba(255,255,255,.06) 0%, transparent 50%); pointer-events: none; z-index: 5; }


/* ═══════════ SHARED ═══════════ */
.rule { width: 100%; height: 1px; background: var(--line); }
.tag { font-size: 16px; font-weight: 400; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.section-title { font-size: clamp(32px, 4.5vw, 60px); font-weight: 600; color: var(--black); line-height: 1.1; letter-spacing: -.02em; }
.section-title .faded { color: var(--yellow); }
.section-desc { font-size: 18px; color: var(--muted); max-width: 560px; line-height: 1.7; }
.section-head { margin-bottom: 56px; }
.section-head .section-title { margin-bottom: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 16px;
  font-weight: 400; border: 1px solid rgba(0,0,0,.15); cursor: pointer; padding: 16px 36px; transition: opacity var(--speed-fast);
}
.btn:hover { opacity: .8; }
.btn > * { position: relative; z-index: 1; }
.btn--dark { background: var(--black); color: var(--text-light); border-color: rgba(255,255,255,.15); }
.btn--outline { background: transparent; color: var(--dark); border-color: rgba(0,0,0,.15); }
.btn--outline:hover { border-color: var(--black); color: var(--black); }
.btn--yellow { background: var(--yellow); color: var(--black); border-color: transparent; }
.arrow { display: inline-block; transition: transform var(--speed-fast); }
.btn:hover .arrow { transform: translate(3px, -3px); }


/* ═══════════ PROBLÉMATIQUE ═══════════ */
.problematique { background: var(--white); padding: var(--v-space) 0; }

.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.stat { background: var(--white); padding: 48px 32px; text-align: center; transition: background var(--speed); }
.stat:hover { background: var(--bg); }
.stat .n { font-size: clamp(36px, 4vw, 56px); font-weight: 600; color: var(--black); line-height: 1; margin-bottom: 12px; }
.stat p { font-size: 16px; color: var(--muted); line-height: 1.5; }


/* ═══════════ SOLUTION ═══════════ */
.solution { background: var(--bg); padding: var(--v-space) 0; }

.solution-statement {
  font-size: clamp(22px, 3.2vw, 40px); font-weight: 600; color: var(--black);
  line-height: 1.3; max-width: 900px; margin-bottom: 72px;
}
.solution-statement em { font-style: normal; color: var(--muted); }

.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat-card {
  background: var(--white); border: 1px solid var(--line); padding: 40px;
  transition: all .3s ease;
}
.feat-card:hover { border-color: rgba(0,0,0,.25); }
.feat-card h3 { font-size: clamp(24px, 2.5vw, 40px); font-weight: 600; color: var(--black); margin-bottom: 8px; }
.feat-subtitle { font-size: 20px; font-weight: 500; color: var(--black); margin-bottom: 8px; }
.feat-card p { font-size: 16px; color: var(--muted); line-height: 1.65; margin-bottom: 24px; max-width: 540px; }
.feat-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.feat-tag { border: 1px solid var(--muted); padding: 4px 12px; font-size: 14px; color: var(--muted); }


/* ═══════════ APPROACH ═══════════ */
.approach {
  background: var(--white); padding: var(--v-space) 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.approach .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.approach-intro h2 { font-size: clamp(28px, 3.5vw, 52px); font-weight: 600; color: var(--black); line-height: 1.15; margin-bottom: 20px; }
.approach-intro > p { font-size: 16px; color: var(--muted); line-height: 1.7; }
.steps { display: flex; flex-direction: column; gap: 40px; }
.step { display: flex; gap: 24px; align-items: flex-start; }
.step-n { font-size: 20px; color: var(--muted); min-width: 36px; padding-top: 2px; }
.step h4 { font-size: 20px; font-weight: 500; color: var(--black); margin-bottom: 4px; }
.step p { font-size: 16px; color: var(--muted); line-height: 1.6; }


/* ═══════════ DÉMO ═══════════ */
.demo { background: var(--black); padding: var(--v-space) 0; text-align: center; overflow: hidden; position: relative; }
.demo::before { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--yellow), transparent); opacity: .08; }
.demo-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.demo-logo { width: 80px; height: 80px; border-radius: 50%; background: #4a4f52; margin: 0 auto 32px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.demo-logo img { width: 48px; height: 48px; object-fit: contain; }
.demo .tag { color: rgba(255,255,255,.4); }
.demo .section-title { color: var(--white); margin-bottom: 24px; }
.demo .section-desc { color: rgba(255,255,255,.45); margin: 0 auto 48px; text-align: center; }


/* ═══════════ FAQ ═══════════ */
.faq { background: var(--bg); padding: var(--v-space) 0; }
.faq-grid { display: flex; flex-direction: column; gap: 0; margin-top: 48px; }

.faq-item {
  border-top: 1px solid var(--line);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0; cursor: pointer; background: none; border: none;
  font-family: var(--sans); font-size: 20px; font-weight: 600;
  color: var(--black); text-align: left; width: 100%;
  transition: color var(--speed-fast);
}
.faq-q:hover { color: var(--yellow); }
.faq-q .plus {
  font-size: 24px; font-weight: 300; color: var(--muted);
  transition: transform var(--speed); flex-shrink: 0; margin-left: 20px;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  padding: 0 0;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 28px;
}
.faq-a p { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 700px; }


/* ═══════════ À PROPOS ═══════════ */
.about { background: var(--white); padding: var(--v-space) 0; }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-values { display: flex; flex-direction: column; gap: 32px; margin-top: 40px; }
.val-row { display: flex; gap: 20px; align-items: flex-start; }
.val-bar { width: 3px; min-height: 40px; background: var(--yellow); border-radius: 2px; flex-shrink: 0; margin-top: 4px; }
.val-row h4 { font-size: 18px; font-weight: 600; color: var(--black); margin-bottom: 4px; }
.val-row p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.about-quote { background: var(--bg); border: 1px solid var(--line); padding: 56px 48px; position: relative; }
.about-quote::before { content: '\201C'; font-size: 120px; color: var(--yellow); opacity: .15; position: absolute; top: 12px; left: 28px; line-height: 1; }
.about-quote blockquote { font-size: 26px; font-weight: 600; font-style: italic; color: var(--black); line-height: 1.45; margin-bottom: 24px; position: relative; }
.about-quote cite { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }


/* ═══════════ CONTACT ═══════════ */
.contact { background: var(--bg); padding: var(--v-space) 0; }
.contact .wrap { max-width: 640px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.form-group input,
.form-group textarea {
  background: var(--white); border: 1px solid var(--line); padding: 14px 18px;
  color: var(--black); font-family: var(--sans); font-size: 16px; outline: none;
  transition: border-color var(--speed-fast), box-shadow var(--speed-fast);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #aaa; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(242,194,0,.1); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-msg { padding: 16px 20px; font-size: 15px; margin-bottom: 20px; }
.form-msg--ok { background: rgba(242,194,0,.07); border: 1px solid rgba(242,194,0,.2); color: var(--yellow-hover); }
.form-msg--err { background: rgba(220,53,69,.05); border: 1px solid rgba(220,53,69,.18); color: #c0392b; }


/* ═══════════ FOOTER ═══════════ */
.footer { background: var(--black); padding: 48px 0 0; color: rgba(255,255,255,.35); }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; padding-bottom: 48px; }
.footer .logo { color: var(--white); }
/* Le logo SVG a un fond gris — on ne filtre pas, on l'affiche tel quel */
.footer .logo img { height: 28px; width: auto; }
.footer-copy { font-size: 14px; color: rgba(255,255,255,.25); }
.footer-address { font-size: 14px; color: rgba(255,255,255,.35); letter-spacing: .02em; }
.footer-rule { width: 100%; height: 3px; background: linear-gradient(90deg, transparent, var(--yellow), transparent); opacity: .35; }


/* ═══════════ ANIMATIONS ═══════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
.anim { animation: fadeUp .8s var(--ease) both; }
.anim-d1 { animation-delay: .12s; }
.anim-d2 { animation-delay: .24s; }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.reveal.vis { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: .1s; }
.rd2 { transition-delay: .2s; }


/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1100px) {
  :root { --v-space: 100px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-content { margin: 0 auto; max-width: 100%; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { order: -1; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .approach .wrap { grid-template-columns: 1fr; gap: 48px; }
  .about .wrap { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --v-space: 72px; --header-h: 64px; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; width: 100%;
    height: calc(100vh - var(--header-h)); background: rgba(250,249,246,.98);
    backdrop-filter: blur(20px); flex-direction: column; align-items: center;
    justify-content: center; gap: 24px; opacity: 0; pointer-events: none; transition: opacity var(--speed);
  }
  .nav.open { opacity: 1; pointer-events: all; }
  .nav-link { font-size: 22px; }
  .menu-toggle { display: flex; }
  .iphone { width: 260px; height: 540px; border-radius: 44px; }
  .iphone-screen { border-radius: 32px; }
  .iphone-notch { width: 96px; height: 28px; }
  .stats-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer .wrap { flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 14px; }
}

@media (max-width: 420px) {
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; width: 100%; }
  .iphone { width: 240px; height: 500px; border-radius: 40px; }
}
