/* ============================================================
   Landing Craft — AA A & Artisans Genevois
   Palette & fonts depuis brand.json
   ============================================================ */

:root {
  --primary: #12158c;
  --primary-d: #0d0f62;
  --accent: #0d0f62;
  --accent-d: #080a3d;
  --accent-soft: rgba(13, 15, 98, 0.08);
  --accent-light: #4a4fd8;
  --ink: #0d0d0d;
  --ink-soft: #4a4a4a;
  --muted: #737373;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --line: #e6e1d8;
  --white: #ffffff;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 24px 60px rgba(13, 13, 13, 0.16);
  --shadow-sm: 0 8px 26px rgba(13, 13, 13, 0.09);
  --maxw: 1180px;

  --font-display: 'Raleway', system-ui, sans-serif;
  --font-body: 'Raleway', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }
html.js-ready .reveal-el { opacity: 0; transform: translateY(30px); }
html.js-ready .reveal-el.in { opacity: 1; transform: translateY(0); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.12;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.title {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}
.title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(var(--maxw), 92%); margin-inline: auto; }

.section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--primary-d); color: var(--white); }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.eyebrow .tick { width: 26px; height: 2px; background: var(--accent); }
.eyebrow--light { color: var(--accent-light); }
.eyebrow--light .tick { background: var(--accent-light); }

.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.sec-head p { color: var(--ink-soft); margin-top: 18px; font-size: 1.08rem; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .96rem;
  padding: 15px 30px; border-radius: 999px; cursor: pointer; border: none;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-d); transform: translateY(-2px); }
.btn-accent { background: var(--primary); color: #fff; box-shadow: 0 12px 28px rgba(18,21,140,.28); }
.btn-accent:hover { background: var(--primary-d); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-outline:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-outline-dark { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 17px 36px; font-size: 1.02rem; }
.btn-sm { padding: 11px 22px; font-size: .88rem; }
.btn-block { width: 100%; }

/* Topbar */
.topbar { background: var(--primary-d); color: #cfcfd9; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: center; flex-wrap: wrap; padding: 9px 0; }
.topbar-item {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 22px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.topbar-item:last-child { border-right: none; }
.topbar-item a { color: #fff; font-weight: 600; }
.topbar-item a:hover { text-decoration: underline; }
.topbar-item svg { width: 15px; height: 15px; color: var(--accent-light); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; }
.wordmark {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: -.01em; color: var(--primary); line-height: 1.1;
}
.wordmark--light { color: #fff; }
.nav-logo { display: inline-flex; align-items: center; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: .9rem; letter-spacing: .03em; transition: color .15s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-cta-mobile { display: none; }
.nav-cta-mobile-bar { display: none; }
.nav-cta-mobile-bar svg { width: 18px; height: 18px; flex-shrink: 0; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { width: 26px; height: 2px; background: var(--primary); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero — Carte à cheval + rideau */
.hero { position: relative; min-height: 95vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,10,61,.45) 0%, rgba(8,10,61,.15) 40%, rgba(8,10,61,.78) 100%); }
.hero-shutter {
  position: absolute; inset: 0; z-index: 5;
  background: linear-gradient(180deg, #0b0d4a 0%, #05062e 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  visibility: hidden;
  animation: shutter-lift 2.4s cubic-bezier(.65,.05,.36,1) .4s 1 forwards;
}
.shutter-lines {
  position: absolute; inset: 0; opacity: .12;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 60px,
    rgba(255,255,255,.35) 60px,
    rgba(255,255,255,.35) 62px
  );
}
.shutter-label {
  position: relative; z-index: 2; font-size: .9rem; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.65); animation: fadeOutLabel .4s ease 1.4s forwards;
}
@keyframes fadeOutLabel { to { opacity: 0; } }
@keyframes shutter-lift {
  0%, 18% { visibility: hidden; transform: translateY(-100%); }
  19% { visibility: visible; transform: translateY(0); }
  40% { visibility: visible; transform: translateY(0); }
  100% { visibility: hidden; transform: translateY(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-shutter { animation: none; visibility: hidden; }
  .shutter-label { animation: none; opacity: 0; }
}

.hero-stage { position: relative; z-index: 10; padding-bottom: 64px; width: 100%; }
.hero-card {
  max-width: 42%; min-width: 340px;
  background: linear-gradient(180deg, rgba(8,10,61,.62) 0%, rgba(8,10,61,.82) 100%);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow);
}
.hero-card .eyebrow { color: var(--accent-light); }
.hero-card .eyebrow .tick { background: var(--accent-light); }
.hero-title {
  font-family: var(--font-display); font-weight: 300; color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.05; letter-spacing: -0.02em;
}
.hero-title em { font-style: italic; color: #fff; font-weight: 500; }
.hero-lead { font-size: clamp(1rem, 1.4vw, 1.18rem); color: #e8e8f0; margin: 20px 0 30px; line-height: 1.6; max-width: 52ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats band */
.stats-band { padding: 72px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat { text-align: center; padding: 0 24px; border-right: 2px solid rgba(255,255,255,.22); }
.stat:last-child { border-right: none; }
.stat strong {
  display: block; font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 700; color: #fff; line-height: 1; margin-bottom: 10px;
}
.stat span { font-size: .78rem; color: #b5b7d4; letter-spacing: .14em; text-transform: uppercase; }

/* Problem */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pain-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--primary); transition: transform .25s, box-shadow .25s; }
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pain-ico { width: 54px; height: 54px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 18px; color: var(--primary); }
.pain-ico svg { width: 26px; height: 26px; }
.pain-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.pain-card p { color: var(--ink-soft); font-size: .97rem; line-height: 1.65; }
.problem-cta { margin-top: 44px; text-align: center; }
.problem-cta .btn { min-height: 48px; }
@media (max-width: 720px) {
  .problem-cta .btn { width: 100%; justify-content: center; }
}

/* Services bento */
.bento { display: grid; grid-template-columns: 1.8fr 1fr; grid-template-rows: 1fr 1fr; gap: 22px; }
.bento-feature { grid-row: 1 / 3; }
.bento-tile { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 220px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.bento-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.bento-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .6s ease; }
.bento-tile:hover img { transform: scale(1.05); }
.bento-tile-body { position: relative; z-index: 2; margin-top: auto; padding: 26px; background: linear-gradient(0deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 70%, transparent 100%); }
.bento-tile-body h3 { font-size: 1.35rem; margin-bottom: 8px; }
.bento-tile-body p { color: var(--ink-soft); font-size: .96rem; line-height: 1.55; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.about-text p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 24px; }
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: .97rem; }
.checklist li svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.about-collage { position: relative; min-height: 520px; }
.about-img { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img--back { top: 0; right: 0; width: 68%; aspect-ratio: 4/3; }
.about-img--front { bottom: 0; left: 0; width: 62%; aspect-ratio: 3/2; border: 6px solid var(--bg); }
.about-stat-card {
  position: absolute; right: 10%; bottom: 8%;
  background: var(--primary); color: #fff;
  padding: 18px 22px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); z-index: 3;
}
.about-stat-card strong { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.about-stat-card span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }

/* Quote parallax */
.quote { position: relative; padding: 150px 0; background: var(--primary-d) url('assets/hero-1.jpg') center/cover fixed; color: #fff; text-align: center; }
.quote-overlay { position: absolute; inset: 0; background: rgba(8,10,61,.85); }
.quote-inner { position: relative; z-index: 2; }
.quote blockquote {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 24ch; margin: 0 auto; line-height: 1.25;
  border-left: 3px solid var(--accent-light); padding-left: 28px;
}
.quote cite { display: block; margin-top: 22px; font-style: normal; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--accent-light); }

/* Method */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; padding: 36px 28px 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step-n { font-family: var(--font-display); font-style: italic; font-size: 3rem; color: var(--primary); opacity: .22; line-height: 1; margin-bottom: 8px; display: block; }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: .97rem; line-height: 1.6; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow-sm); text-align: center; position: relative; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--primary); transform: scale(1.03); box-shadow: var(--shadow); }
.ribbon { position: absolute; top: -12px; right: 20px; background: var(--primary); color: #fff; padding: 6px 14px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border-radius: 999px; }
.price-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.price-desc { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 22px; }
.price { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--primary); line-height: 1; }
.price-note { font-size: .85rem; color: var(--muted); font-weight: 500; }
.price-features { list-style: none; margin: 0 0 26px; display: grid; gap: 10px; text-align: left; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.price-features li svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.pricing-foot { text-align: center; margin-top: 40px; color: var(--muted); font-size: .9rem; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.stars { color: var(--primary); display: flex; gap: 4px; }
.stars svg { width: 18px; height: 18px; }
.testi-card p { color: var(--ink-soft); font-size: 1rem; line-height: 1.65; font-style: italic; }
.testi-card cite { color: var(--muted); font-size: .88rem; font-style: normal; font-weight: 600; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .pm { width: 22px; height: 22px; flex-shrink: 0; color: var(--primary); transition: transform .25s; }
.faq-list details[open] .pm { transform: rotate(45deg); }
.faq-answer { padding: 0 26px 24px; color: var(--ink-soft); font-size: .97rem; line-height: 1.65; }

/* CTA + Contact */
.cta-contact { background: var(--bg-soft); }
.cta-card {
  background: var(--primary); color: #fff; border-radius: var(--radius);
  padding: 64px; text-align: center; margin-bottom: 50px;
}
.cta-card .title { color: #fff; }
.cta-card .title em { color: var(--accent-light); }
.cta-card p { color: #d9d9e8; margin: 18px auto 30px; max-width: 60ch; }
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-info h3 { font-size: 1.35rem; margin-bottom: 18px; }
.contact-info address { font-style: normal; color: var(--ink-soft); line-height: 1.8; margin-bottom: 12px; }
.contact-info address p { margin-bottom: 2px; }
.contact-note { color: var(--muted); font-size: .9rem; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-row label { font-weight: 600; font-size: .9rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .96rem; background: var(--bg-soft); transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--accent-soft); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-success { display: none; color: #1f7a1f; font-weight: 600; margin-top: 14px; }
.form-success.visible { display: block; }

/* Footer */
.footer { background: var(--primary-d); color: #b5b7d4; padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 14px; font-size: .96rem; line-height: 1.6; max-width: 32ch; }
.footer-col h4 { color: #fff; font-weight: 700; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { display: block; font-size: .94rem; color: #b5b7d4; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; font-size: .94rem; line-height: 1.8; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.12); margin-top: 50px; padding-top: 24px; font-size: .84rem; color: #8a8cb3; }
.footer-bottom a:hover { color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .section { padding: 72px 0; }
  .hero-card { max-width: 55%; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat { border-right: none; border-bottom: 2px solid rgba(255,255,255,.22); padding-bottom: 28px; }
  .stat:last-child { border-bottom: none; padding-bottom: 0; }
  .pain-grid, .steps, .testi-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-collage { min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 44px 28px; }
}

@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .bento-feature { grid-row: auto; }
  .pain-grid, .steps, .testi-grid, .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: scale(1); }
  .hero { align-items: flex-end; }
  .hero-photo img { object-position: 65% center; }
  .hero-card { max-width: 100%; min-width: auto; width: 92%; margin: 0 auto 28px; padding: 24px 20px; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .about-collage { min-height: 360px; }
  .about-img--back { width: 72%; }
  .about-img--front { width: 66%; }
  .about-stat-card { right: 4%; bottom: 4%; padding: 14px 18px; }
  .contact-form { padding: 26px 22px; }
  .cta-card { padding: 36px 22px; }
  .cta-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .topbar-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 6px 14px; }
  .topbar-inner { flex-direction: column; align-items: center; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  .section { padding: 76px 0; }
  #probleme, #services, #tarifs, #avis, #contact, #apropos, #methode, #faq { padding-top: 110px; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; padding: 0 6%; max-height: 0; overflow: hidden; transition: max-height .35s, padding .35s; box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--line); }
  .nav-links.open { max-height: 420px; padding: 12px 6%; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-cta-desk { display: none; }
  .nav-cta-mobile-bar { display: inline-flex; }
  .nav-cta-mobile { display: block; margin-top: 10px; }
  .nav-cta-mobile .btn { width: 100%; justify-content: center; }
  .burger { display: flex; }
  .quote { background-attachment: scroll; }
}

@media (max-width: 390px) {
  .sec-head h2 { font-size: 1.75rem; line-height: 1.18; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-ready .reveal-el { opacity: 1; transform: none; transition: none; }
  .hero-shutter { transition: none; transform: translateY(-100%); }
  .shutter-label { animation: none; opacity: 0; }
}
