/* Apple-inspired UI — extended with product scrollytelling and mega footer */
:root{
  --bg: #0b0b0c; --bg-2:#0f1012; --surface:#111214; --surface-2:#15171a;
  --text:#f5f5f7; --muted:#98989d; --line:#202226; --accent:#2997ff;
  --radius-xl:20px; --radius-lg:14px; --radius-md:10px;
  --shadow-sm:0 .5px 0 rgba(255,255,255,.06) inset, 0 1px 2px rgba(0,0,0,.25);
  --shadow-lg:0 24px 64px rgba(0,0,0,.45);
}
@media (prefers-color-scheme: light){
  :root{ --bg:#f5f7fb; --bg-2:#ffffff; --surface:#ffffff; --surface-2:#f6f6f8;
    --text:#111114; --muted:#6b6f76; --line:#e6e7ea; --accent:#0071e3; }
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; background: radial-gradient(1200px 600px at 70% -10%, rgba(41,151,255,.12), transparent 60%),
              radial-gradient(900px 500px at -10% 20%, rgba(255,255,255,.06), transparent 50%), var(--bg);
  color:var(--text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-family: ui-sans-serif, system-ui, -apple-system, "SF Pro Text", "Segoe UI", Roboto, Arial;
  line-height:1.5;
}
a{color:var(--accent); text-decoration:none} a:hover{text-decoration:underline}
.container{max-width:1120px;margin:0 auto;padding:24px}

.site-header{
  position:sticky; top:0; z-index:40;
  background: color-mix(in oklab, var(--bg-2) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom:1px solid var(--line);
}
.site-footer{
  background: color-mix(in oklab, var(--bg-2) 90%, transparent);
  border-top:1px solid var(--line); margin-top:64px; color:var(--muted);
}
.logo{ font-weight:700; letter-spacing:.2px; font-size:18px; padding:10px 0; display:inline-block; }
nav a{ margin-left:16px; padding:8px 10px; border-radius:10px; transition: background .2s ease; }
nav a:hover{ background: color-mix(in oklab, var(--surface-2) 85%, transparent); text-decoration:none }

/* HERO — big gradient + responsive artwork block */
.hero{ padding:82px 0 38px; text-align:center; }
.hero h1{ font-size:clamp(34px, 6vw, 62px); line-height:1.06; letter-spacing:-.02em; margin:0 0 12px; }
.hero p{ font-size:clamp(16px, 2.4vw, 20px); color:var(--muted); margin:0 0 18px; }
.hero-art{
  position:relative; height: clamp(240px, 35vw, 420px);
  border-radius: 28px; margin: 22px auto 0; max-width:1100px; overflow:hidden;
  background: radial-gradient(600px 280px at 20% 30%, rgba(41,151,255,.24), transparent 60%),
              linear-gradient(180deg, color-mix(in oklab, var(--surface) 98%, transparent), color-mix(in oklab, var(--surface-2) 96%, transparent));
  border:1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.hero-art .glow{
  position:absolute; inset: -10% -10% auto auto; width:55%; height:80%;
  background: radial-gradient(50% 40% at 60% 35%, rgba(255,255,255,.12), transparent 60%);
  filter: blur(24px);
}
.hero-art .mock{
  position:absolute; inset:auto 0 0 0; margin:auto; width:min(860px, 92%); height:70%;
  border-radius: 22px; border:1px solid var(--line);
  background:
    linear-gradient(0deg, rgba(255,255,255,.04), rgba(255,255,255,.02)),
    linear-gradient(180deg, #0f1114 0%, #0c0d0f 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 14px 40px rgba(0,0,0,.5);
}

/* Sections */
.section{ padding: 34px 0 10px }
.section h2{ font-size:clamp(22px, 3.6vw, 30px); letter-spacing:-.01em; margin:0 0 18px; }

/* Grid + cards */
.grid{ display:grid; gap:20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card{
  background: linear-gradient(180deg, color-mix(in oklab, var(--surface) 96%, transparent), color-mix(in oklab, var(--surface-2) 96%, transparent));
  border:1px solid var(--line); border-radius:20px; padding:20px;
  box-shadow: var(--shadow-sm); transition: transform .12s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{ transform: translateY(-2px); box-shadow: var(--shadow-lg);
  border-color: color-mix(in oklab, var(--accent) 35%, var(--line) 65%); }
.card .icon{ width:28px; height:28px; opacity:.9; }
.card h3{ margin:10px 0 6px; font-size:18px; }
.muted{ color:var(--muted) }

/* Forms */
.form label{ display:block; margin-bottom:14px }
input,textarea,select{
  width:100%; padding:12px 14px; border-radius:14px; border:1px solid var(--line);
  background: color-mix(in oklab, var(--surface) 94%, transparent);
  color:var(--text); transition:border-color .2s ease, box-shadow .2s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
input:focus,textarea:focus,select:focus{
  outline:none; border-color: color-mix(in oklab, var(--accent) 55%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 20%, transparent);
}
textarea{ resize:vertical }

.btn{
  display:inline-block; padding:12px 18px; border-radius:999px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 90%, white 5%), var(--accent));
  color:#fff; border:0; cursor:pointer;
  box-shadow: 0 6px 18px color-mix(in oklab, var(--accent) 35%, black 65%);
  transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover{ transform:translateY(-1px);
  box-shadow: 0 10px 24px color-mix(in oklab, var(--accent) 45%, black 55%);
  filter:saturate(110%);
}

/* Product scrollytelling */
.fullbleed{ width:100%; }
.panel{
  padding: clamp(40px, 12vw, 120px) 0;
  border-top:1px solid var(--line);
  background:
    radial-gradient(600px 260px at 80% 10%, rgba(41,151,255,.10), transparent 70%),
    var(--bg);
}
.panel .container{ display:grid; gap:24px; grid-template-columns: 1.2fr 1fr; align-items:center; }
.panel.alt .container{ grid-template-columns: 1fr 1.2fr; }
.kicker{ font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted) }
.panel h2{ font-size: clamp(28px, 5vw, 44px); line-height:1.1; margin:6px 0 8px }
.panel p{ color:var(--muted); font-size: clamp(15px, 2.4vw, 18px) }

.mock-xl{
  width:100%; aspect-ratio: 16/10; border-radius: 28px; border:1px solid var(--line);
  background:
    radial-gradient(60% 80% at 40% 30%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, #0f1114, #0c0d0f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 64px rgba(0,0,0,.5);
}

/* Reveal on scroll */
[data-reveal]{ opacity:0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.reveal-in{ opacity:1; transform:none }

/* Mega footer */
.footer-grid{
  display:grid; gap:24px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  padding: 24px 0 34px;
}
.footer-col h4{ font-size:14px; margin:0 0 10px; color:var(--text) }
.footer-col a{ display:block; color:var(--muted); padding:6px 0; text-decoration:none }
.footer-col a:hover{ color:var(--text) }
.small{ font-size:12px; color:var(--muted); }

.logo {
  display: flex;
  align-items: center;
  gap: 10px; /* espace entre logo et texte */
  font-family: ui-sans-serif, -apple-system, "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, var(--accent), #66ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid var(--line);
}

.service-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  margin: 10px 0;
  object-fit: cover;
  border: 1px solid var(--line);
}

.mock-xl-img {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 28px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.review-head { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.avatar { width:36px; height:36px; border-radius:50%; object-fit:cover; border:1px solid var(--line); }

.contact-illu {
  width: 30%;
  max-width: 680px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 20px;
  margin: 12px 0 16px;
  border: 1px solid var(--line);
}

:root {
  --bg: #0b0b0c;
  --bg-2: #0f1012;
  --surface: #111214;
  --surface-2: #15171a;
  --text: #f5f5f7;
  --muted: #98989d;
  --line: #202226;
  --accent: #2997ff;
}

:root[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f6f8;
  --text: #111114;
  --muted: #6b6f76;
  --line: #e6e7ea;
  --accent: #0071e3;
}

.theme-toggle {
  margin-left: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: inline; }
:root[data-theme="light"] .theme-toggle .sun { display: inline; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }

.section { padding-top: 18px; }

/* Hero avec effet de parallaxe */
.hero-art {
  position: relative;
  overflow: hidden;
  perspective: 1000px;
}

.hero-img {
  transform: translateY(0);
  transition: transform 0.2s ease-out;
  will-change: transform;
}

/* Boutons */
.btn {
  transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.btn:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.1);
}

/* Cartes */
.card {
  transition: transform 0.25s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
}

/* === Parallaxe multi-couches === */
.hero-art {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

/* Les couches sont en absolu, derrière l'image */
.px-layer {
  position: absolute;
  inset: -10% -10% -10% -10%;
  pointer-events: none;
  filter: blur(14px);
  transform: translate3d(0,0,0);
  will-change: transform, opacity;
  opacity: .9;
}

/* Dégradés stylés (tu peux ajuster les couleurs) */
.px-l1 {
  background:
    radial-gradient(42% 38% at 20% 30%, color-mix(in oklab, var(--accent) 40%, transparent), transparent 60%),
    radial-gradient(36% 32% at 85% 20%, rgba(255,255,255,.08), transparent 60%);
}
.px-l2 {
  background:
    radial-gradient(40% 36% at 25% 75%, color-mix(in oklab, #8a7bff 45%, transparent), transparent 60%),
    radial-gradient(36% 32% at 75% 60%, rgba(255,255,255,.06), transparent 60%);
  mix-blend-mode: screen;
  opacity: .7;
}
.px-l3 {
  background:
    radial-gradient(34% 30% at 60% 45%, color-mix(in oklab, #00d1ff 35%, transparent), transparent 60%);
  mix-blend-mode: screen;
  opacity: .6;
}

/* L'image hero reste au-dessus des couches */
.hero-img {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(240px, 35vw, 420px);
  object-fit: cover;
  border-radius: 28px;
  z-index: 1;
}

/* Respecte la préférence utilisateur */
@media (prefers-reduced-motion: reduce) {
  .px-layer { transition: none !important; transform: none !important; }
}

/* ==== Base mobile-friendly ==== */
:root { --tap: 44px; }                    /* taille cible tap iOS/Android */
* { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; }    /* images fluides */
a, button { min-height: var(--tap); }     /* touch targets confortables */
input, select, textarea { font-size: 16px; } /* évite le zoom iOS */
.container { padding-left: 16px; padding-right: 16px; }

/* Safe-area (iPhone notch) */
.site-header { padding-top: env(safe-area-inset-top); }

/* Grille: 1 colonne sur mobile */
@media (max-width: 768px){
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .hero { padding: 56px 0 24px; }
  .hero h1 { font-size: clamp(24px, 7vw, 32px); }
  .section h2 { font-size: clamp(18px, 5.5vw, 24px); }
  .logo-img { height: 32px; }
}

/* ==== Navigation responsive ==== */
.nav { display: flex; align-items: center; gap: 12px; }
.burger {
  display: none; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); border-radius: 10px; padding: 8px 12px; font-size: 18px;
}
.nav-links { display: flex; align-items: center; gap: 12px; }

@media (max-width: 768px){
  .burger { display: inline-block; }
  .nav { width: 100%; justify-content: space-between; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: calc(100% + 1px);
    display: none; flex-direction: column; gap: 0;
    background: color-mix(in oklab, var(--bg-2) 92%, transparent);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a, .nav-links .theme-toggle {
    width: 100%; text-align: left; padding: 12px 16px; border-top: 1px solid var(--line);
  }
}

/* ==== Cartes & boutons sur mobile ==== */
@media (max-width: 768px){
  .card { padding: 16px; border-radius: 16px; }
  .service-thumb { border-radius: 12px; }
  .btn { width: 100%; text-align: center; }
}

/* ==== Images responsives (balises) ==== */
/* Si tu ajoutes sizes/srcset côté HTML, ce style aide juste à l’affichage */
.hero-img, .mock-xl-img { width: 100%; height: auto; display: block; }

/* FAQ: recherche + filtres */
.faq-intro { display: grid; gap: 12px; margin: 10px 0 16px; }
#faq-search {
  width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface) 94%, transparent); color: var(--text);
}
.faq-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface) 94%, transparent); color: var(--text);
  cursor: pointer; transition: background .2s ease, border-color .2s ease;
}
.chip.is-active { border-color: color-mix(in oklab, var(--accent) 50%, var(--line)); }

/* Accordéon <details> */
.accordion { display: grid; gap: 12px; }
.acc {
  background: linear-gradient(180deg, color-mix(in oklab, var(--surface) 96%, transparent), color-mix(in oklab, var(--surface-2) 96%, transparent));
  border: 1px solid var(--line); border-radius: 16px; padding: 0 14px;
}
.acc summary {
  list-style: none; cursor: pointer; padding: 14px 6px; display: flex; align-items: center; gap: 10px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary h3 { margin: 0; font-size: 18px; }
.acc .acc-panel { padding: 0 6px 14px; color: var(--muted); }
.acc[open] { border-color: color-mix(in oklab, var(--accent) 35%, var(--line)); }

/* CTA poser question */
.cta-question { margin-top: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 768px){
  #faq-search { font-size: 16px; }
}
