/* ==========================================================================
   Pierre Giannone — site vitrine
   ========================================================================== */

:root {
  --ink: #111113;
  --ink-2: #1c1c20;
  --ink-soft: #3a3a40;
  --muted: #6b6b73;
  --line: #e7e2d8;
  --paper: #ffffff;
  --paper-2: #f7f4ee;
  --cream: #f6ecd6;
  --gold: #c9a76a;
  --gold-2: #b08d4f;
  --gold-grad: linear-gradient(135deg, #e9d3a3 0%, #c9a76a 50%, #a8854a 100%);

  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(17, 17, 19, .25);
  --shadow-sm: 0 6px 20px -8px rgba(17, 17, 19, .18);
  --container: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #d9d6cf; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 18px;
}
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 18px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font-body); letter-spacing: .02em; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--gold-grad) border-box; border: 0; padding: 16px 29px; color: var(--ink); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.btn--gold:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .55); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: 14px; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  background: #222222; box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -20px rgba(0, 0, 0, .6);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: clamp(170px, 18vw, 220px); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav__sep { width: 1px; height: 26px; background: rgba(255, 255, 255, .35); }
.nav__cta { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; padding: 13px 26px; box-shadow: none; }
.nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: #e6cf9f; font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.socials { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #e8e3d8; transition: background .2s, color .2s; }
.socials a:hover { background: rgba(255, 255, 255, .1); color: var(--gold); }
.socials svg { width: 18px; height: 18px; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 24px;
    padding: 28px 24px 36px; background: #222222;
    transform: translateY(-120%); transition: transform .35s ease; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__links { flex-direction: column; gap: 4px; }
  .nav__links a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__links a::after { display: none; }
  .socials { justify-content: center; }
  .nav__sep { display: none; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 120px; color: #fff; overflow: hidden;
  background: var(--ink) url("../img/hero-desktop.webp") 70% 38% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 12, .9) 0%, rgba(10, 10, 12, .72) 32%, rgba(10, 10, 12, .2) 55%, rgba(10, 10, 12, 0) 70%),
    linear-gradient(180deg, rgba(10, 10, 12, .35) 0%, rgba(10, 10, 12, 0) 25%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: var(--paper); clip-path: ellipse(75% 100% at 50% 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero__content { max-width: 560px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(38px, 5vw, 64px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 24px; }
.hero h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(18px, 1.6vw, 20px); color: #d8d4cb; max-width: 520px; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; align-items: center; gap: 14px; margin-top: 40px; color: #bdb8ad; font-size: 14px; }
.hero__trust strong { color: #fff; font-weight: 600; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; }

.video-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #000; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  border: 1px solid rgba(201, 167, 106, .35);
}
.video-frame::before { content: ""; display: block; padding-top: 56.25%; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 1100px) and (min-width: 761px) {
  .hero { background-position: 78% 38%; }
  .hero__content { max-width: 470px; }
}
@media (max-width: 760px) {
  .hero {
    min-height: 0; display: block; text-align: center;
    padding: calc(var(--header-h) + 92vw) 0 110px;
    background: var(--ink) url("../img/hero-mobile.webp") center var(--header-h) / 100% auto no-repeat;
  }
  .hero::before { background: linear-gradient(180deg, rgba(10, 10, 12, 0) 0, rgba(10, 10, 12, 0) calc(var(--header-h) + 70vw), rgba(10, 10, 12, .9) calc(var(--header-h) + 108vw), var(--ink) calc(var(--header-h) + 128vw)); }
  .hero__content { max-width: none; }
  .hero__lead { margin-inline: auto; }
  .hero__ctas, .hero__trust { justify-content: center; }
  .hero__trust { flex-direction: column; gap: 6px; margin-top: 28px; }
}

/* Video feature ---------------------------------------------------------- */
.video-section { padding-block: clamp(48px, 7vw, 88px) 0; }
.video-feature { max-width: 900px; margin: 0 auto; }

/* Press / partners ------------------------------------------------------- */
.press { padding: 36px 0 8px; }
.press__label { text-align: center; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.press__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 64px); list-style: none; margin: 0; padding: 0; }
.press__list li { display: flex; }
.press__list img { height: 32px; width: auto; filter: grayscale(1); opacity: .65; transition: opacity .2s, filter .2s; }
.press__list img.is-tall { height: 46px; }
.press__list a:hover img, .press__list img:hover { opacity: 1; filter: none; }
.press__text { font-family: Georgia, serif; font-weight: 700; font-size: 22px; color: #7b7b82; letter-spacing: -.02em; transition: color .2s; }
.press__list a:hover .press__text { color: #6001d2; }

/* About ------------------------------------------------------------------ */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about h2 { font-size: clamp(30px, 4vw, 44px); }
.about__text p { color: var(--ink-soft); }
.about__visual { position: relative; }
.about__visual::before {
  content: ""; position: absolute; inset: 28px -14px -18px 28px; border-radius: var(--radius);
  background: var(--cream); z-index: -1;
}
.about__visual img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.about__badge {
  position: absolute; left: -24px; bottom: 36px; background: var(--ink); color: #fff;
  padding: 18px 22px; border-radius: 14px; box-shadow: var(--shadow); max-width: 220px;
}
.about__badge strong { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: 26px; line-height: 1; color: var(--gold); }
.about__badge span { font-size: 13px; color: #c9c5bc; }
.signature { width: 210px; margin-top: 8px; opacity: .9; }
.mottos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 8px; }
.motto { background: var(--paper-2); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 18px; font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.langs li { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__visual { max-width: 460px; margin: 0 auto; order: -1; }
  .about__visual::before { inset: 20px -8px -14px 20px; }
  .about__badge { left: 12px; }
}
@media (max-width: 520px) { .mottos { grid-template-columns: 1fr; } }

/* Stats ------------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat { padding: 12px; }
.stat__icon { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--gold); }
.stat__value { font-family: var(--font-display); font-size: clamp(42px, 5vw, 60px); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fff; line-height: 1; }
.stat__label { margin-top: 10px; color: #bdb8ad; font-size: 15px; letter-spacing: .04em; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; gap: 36px; } }

/* Testimonials ----------------------------------------------------------- */
.big-quote { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; font-size: clamp(24px, 3vw, 36px); line-height: 1.3; color: var(--ink); text-align: center; max-width: 900px; margin: 0 auto clamp(48px, 6vw, 72px); }
.big-quote::before { content: "“"; display: block; font-size: 1.8em; line-height: .6; color: var(--gold); }
.big-quote cite { display: block; margin-top: 18px; font-family: var(--font-body); font-style: normal; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.testimonials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.testimonial { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.testimonial .video-frame { border-radius: 0; border: 0; box-shadow: none; }
.testimonial__body { padding: 20px 22px 24px; }
.testimonial__body .stars { font-size: 14px; }
.testimonial blockquote { margin: 10px 0 14px; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.testimonial__name { font-weight: 600; color: var(--ink); font-size: 15px; }
@media (max-width: 1080px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .testimonials { grid-template-columns: 1fr; } }

/* Services --------------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px 32px; text-align: center; display: flex; flex-direction: column; align-items: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 24px; box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--gold); }
.service h3 { font-size: 22px; }
.service h3::after { content: ""; display: block; width: 36px; height: 2px; background: var(--gold); margin: 14px auto 0; }
.service p { color: var(--muted); font-size: 15.5px; }
.service ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.service li { font-size: 12.5px; padding: 4px 10px; background: var(--paper-2); border-radius: 999px; color: var(--ink-soft); }
.service .btn { margin-top: auto; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* Steps ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm); counter-increment: step; }
.step::before { content: "0" counter(step); font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: -.03em; line-height: 1; color: var(--gold); display: block; margin-bottom: 14px; }
.step h3 { font-size: 21px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* CTA band --------------------------------------------------------------- */
.cta-band {
  position: relative; color: #fff; text-align: center; padding: clamp(96px, 12vw, 150px) 0;
  background: var(--ink) url("../img/cta-car.webp") 72% center / cover no-repeat;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 12, .72); }
.cta-band .container { position: relative; }
.cta-band__box { max-width: 760px; margin: 0 auto; padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 56px); border: 1px solid rgba(201, 167, 106, .5); border-radius: var(--radius); }
.cta-band h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); }
.cta-band p { color: #d0ccc2; font-size: 18px; margin-bottom: 32px; }
.cta-band .hero__ctas { justify-content: center; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #a9a59c; padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 18px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 10px; }
.site-footer .socials li + li { margin-top: 0; }
.site-footer a:hover { color: var(--gold); }
.footer-brand img.logo { width: 220px; margin-bottom: 18px; }
.footer-brand img.signature { filter: invert(1); opacity: .7; width: 170px; }
.footer-brand p { max-width: 320px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Inner pages ------------------------------------------------------------ */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 72px) 0 90px; text-align: center; color: #fff;
  background: var(--ink) url("../img/hero-desktop.webp") 70% 30% / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 12, .8); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 56px); }
.page-hero p { color: #d0ccc2; max-width: 640px; margin: 0 auto; font-size: 18px; }
.page-hero .eyebrow { color: var(--gold); }

.cal-wrap { margin-top: -50px; padding: clamp(8px, 2vw, 24px); position: relative; z-index: 2; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cal-inline { width: 100%; min-height: 680px; overflow: auto; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; list-style: none; padding: 0; }
.perks li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; }
.perks svg { flex: none; width: 24px; height: 24px; color: var(--gold-2); margin-top: 2px; }
.perks strong { display: block; color: var(--ink); }
@media (max-width: 760px) { .perks { grid-template-columns: 1fr; } .cal-wrap { margin-top: -36px; } .cal-inline { min-height: 560px; } }

.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: clamp(20px, 2.4vw, 24px); margin-top: 1.8em; }
.legal p, .legal li { font-size: 16px; color: var(--ink-soft); }
.legal .updated { color: var(--muted); font-style: italic; }
.legal a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }

/* Reveal animation ------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; animation: none !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 16px; }

/* Mobile : tout centré ---------------------------------------------------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .btn { white-space: normal; text-align: center; }
  .about__text, .step, .cta-band__box, .footer-grid, .footer-bottom, .perks li { text-align: center; }
  .about__text .langs, .footer-bottom, .footer-bottom .socials { justify-content: center; }
  .about__text .signature, .footer-brand img, .footer-brand p { margin-inline: auto; }
  .motto { border-left: 0; border-top: 3px solid var(--gold); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
  .footer-bottom { flex-direction: column; align-items: center; }
  .perks li { flex-direction: column; align-items: center; }
  .stats { gap: 40px; }
  .testimonial__body { text-align: center; }
  .about__visual { max-width: 380px; }
  .about__visual img { aspect-ratio: 4 / 5; object-position: center 20%; }
  .press__list { gap: 24px 32px; }
  .press__list img { height: 24px; }
  .press__list img.is-tall { height: 36px; }
}
