/* =========================================================
   Russia with Mehdi · Affiche russe, version moderne
   Rouge #C8102E · Bleu marine #12224A · Crème #F4EEE3 · Blanc
   ========================================================= */

:root {
  --red: #C8102E;
  --navy: #12224A;
  --cream: #F4EEE3;
  --white: #FFFFFF;
  --ink: #2B3654;          /* texte courant sur fond clair */

  --f-title: "Anton", Impact, "Arial Narrow", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;

  --gutter: 20px;
  --max: 1180px;
  --bar-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }

[id] { scroll-margin-top: calc(var(--bar-h) + 12px); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.topbar :focus-visible,
.hero :focus-visible,
.section--navy :focus-visible,
.final :focus-visible,
.footer :focus-visible { outline-color: var(--white); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.center { text-align: center; margin-top: 56px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px;
  background: var(--white); color: var(--navy);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.hand {
  font-family: var(--f-hand);
  font-weight: 700;
  line-height: 1;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: .75em 1.35em;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  box-shadow: 4px 4px 0 var(--navy);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--navy); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--navy); }

.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: #B00E28; }
.btn--cream { background: var(--cream); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); box-shadow: 5px 5px 0 var(--white); }
.btn--navy:hover { box-shadow: 8px 8px 0 var(--white); }

.hero .btn { box-shadow: 4px 4px 0 rgba(0, 0, 0, .45); }
.hero .btn:hover { box-shadow: 6px 6px 0 rgba(0, 0, 0, .45); }

.btn--sm { min-height: 42px; padding: .5em 1em; font-size: .95rem; box-shadow: none; }
.btn--sm:hover { box-shadow: none; transform: none; }
.btn--lg { font-size: 1.05rem; padding: .9em 1.5em; }
.btn--xl { font-size: clamp(1.05rem, 4.2vw, 1.3rem); padding: 1em 1.6em; }

/* ---------- Navbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--white);
  border-bottom: 3px solid var(--red);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  min-height: var(--bar-h);
}
.topbar .btn--sm { margin-left: auto; }

.menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu a {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.menu a:hover::after { transform: scaleX(1); }

.burger {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px 0 10px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .6);
  border-radius: 4px;
  font: 600 .95rem var(--f-body);
  cursor: pointer;
}
.burger__bars,
.burger__bars::before,
.burger__bars::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  transition: transform .2s, background-color .2s;
}
.burger__bars { position: relative; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -6px; }
.burger__bars::after { top: 6px; }
.topbar.is-open .burger__bars { background: transparent; }
.topbar.is-open .burger__bars::before { transform: translateY(6px) rotate(45deg); }
.topbar.is-open .burger__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  /* Sans JavaScript : les liens restent visibles sur une 2e ligne */
  .menu { order: 3; width: 100%; padding-bottom: 6px; }

  .js .burger { display: inline-flex; }
  .js .menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    padding: 4px var(--gutter) 20px;
    background: var(--navy);
    border-bottom: 3px solid var(--red);
  }
  .js .topbar.is-open .menu { display: block; }
  .js .menu ul { flex-direction: column; gap: 0; }
  .js .menu a {
    display: block;
    padding: 16px 0;
    font-family: var(--f-title);
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }
  .js .menu a::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--bar-h));
  min-height: calc(100svh - var(--bar-h));
  padding: 72px 0;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
}
/* Voile bleu marine ~35 % + trame d'affiche qui masque le flou de la photo */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(rgba(18, 34, 74, .22) 1px, transparent 1.4px) 0 0 / 4px 4px,
    linear-gradient(90deg, rgba(18, 34, 74, .35) 0%, rgba(18, 34, 74, 0) 70%),
    rgba(18, 34, 74, .35);
}

.hero__title { margin-bottom: 28px; }
.hero__hand {
  display: block;
  margin: 0 0 6px 4px;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  color: var(--white);
  transform: rotate(-6deg);
  transform-origin: left bottom;
  text-shadow: 0 2px 10px rgba(18, 34, 74, .7);
}
.hero__band {
  position: relative;
  display: inline-block;
  padding: .04em .28em .02em .12em;
  background: var(--red);
  color: var(--white);
  font-family: var(--f-title);
  font-size: clamp(5rem, 23vw, 12.5rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .01em;
  transform: rotate(-4deg);
  transform-origin: left center;
  box-shadow: 10px 10px 0 var(--navy);
}
/* la bande « sort » de l'écran à gauche, comme sur une affiche */
.hero__band::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  right: 100%;
  width: 100vw;
  background: var(--red);
}

.hero__sub {
  display: inline-block;
  max-width: 30em;
  margin-bottom: 32px;
  padding: .7em 1em;
  background: var(--navy);
  color: var(--cream);
  font-size: clamp(1.05rem, 3.6vw, 1.3rem);
  font-weight: 600;
  line-height: 1.4;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px 18px; }

@media (max-width: 599px) {
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }

.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }

.section__head { margin-bottom: 52px; }

.kicker {
  margin-bottom: 10px;
  font-size: 1.85rem;
  color: var(--red);
  transform: rotate(-2deg);
  transform-origin: left;
}
.kicker--light { color: var(--cream); }

.title {
  font-family: var(--f-title);
  font-size: clamp(2.7rem, 10vw, 5.2rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--navy);
}
.title--light { color: var(--white); }

.band {
  display: inline-block;
  padding: .02em .22em;
  background: var(--red);
  color: var(--white);
  transform: rotate(-2.5deg);
  box-shadow: 6px 6px 0 var(--navy);
}
.section--navy .band { box-shadow: 6px 6px 0 var(--white); }
.band--navy { background: var(--navy); color: var(--white); box-shadow: 6px 6px 0 var(--white); }

/* ---------- Pourquoi Moscou ---------- */
.photos {
  display: grid;
  gap: 48px 32px;
  max-width: 380px;
  margin-inline: auto;
}
@media (min-width: 760px) {
  .photos { grid-template-columns: repeat(3, 1fr); max-width: none; }
}

.photo-card__media {
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border: 3px solid var(--navy);
  box-shadow: 8px 8px 0 var(--navy);
  background: var(--navy);
}
.photo-card:nth-child(2) .photo-card__media { box-shadow: 8px 8px 0 var(--red); }
.photo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.photo-card:hover .photo-card__media img { transform: scale(1.03); }

.photo-card__title {
  position: relative;
  margin: -26px 0 14px 12px;
}
.photo-card__title span {
  display: inline-block;
  padding: .12em .4em;
  background: var(--red);
  color: var(--white);
  font-family: var(--f-title);
  font-size: clamp(1.5rem, 2.6vw, 1.85rem);
  line-height: 1.1;
  text-transform: uppercase;
  transform: rotate(-3deg);
}
.photo-card p { color: var(--ink); padding-right: 8px; }

.photos__more {
  max-width: 44em;
  margin: 64px auto 0;
  padding: 24px 28px;
  border-left: 6px solid var(--red);
  background: var(--white);
  color: var(--ink);
  font-size: 1.15rem;
}
.photos__more strong { color: var(--navy); }

/* ---------- Services ---------- */
.services {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 600px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .services { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.service {
  padding: 28px 24px 26px;
  background: var(--white);
  color: var(--navy);
  border-radius: 4px;
  box-shadow: 6px 6px 0 var(--red);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.service:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--red); }

.service__icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
}
.service__icon svg { width: 30px; height: 30px; }
.service h3 {
  margin-bottom: 8px;
  font-family: var(--f-title);
  font-size: 1.65rem;
  text-transform: uppercase;
  line-height: 1.1;
}
.service p { color: var(--ink); }

/* ---------- Ligne de métro ---------- */
.metro {
  --line: 10px;
  --dot: 30px;
  position: relative;
  margin: 0;
  padding: 0 0 0 64px;
  list-style: none;
}
.metro::before {
  content: "";
  position: absolute;
  left: calc(var(--dot) / 2 - var(--line) / 2);
  top: 10px; bottom: 10px;
  width: var(--line);
  border-radius: 999px;
  background: var(--red);
  transform-origin: top;
}
.js .metro::before { transform: scaleY(0); transition: transform 1.6s var(--ease); }
.js .metro.is-visible::before { transform: none; }

.metro__stop { position: relative; padding-bottom: 34px; min-height: 64px; }
.metro__stop:last-child { padding-bottom: 0; }

.metro__dot {
  position: absolute;
  left: -64px;
  top: 0;
  width: var(--dot); height: var(--dot);
  border-radius: 50%;
  background: var(--white);
  border: 6px solid var(--navy);
}
.metro__stop--end .metro__dot {
  background: var(--red);
  box-shadow: inset 0 0 0 4px var(--white);
}
.metro__num {
  display: block;
  margin-bottom: 4px;
  font-size: 1.5rem;
  color: var(--red);
}
.metro__stop h3 {
  font-family: var(--f-title);
  font-size: 1.55rem;
  line-height: 1.1;
  text-transform: uppercase;
}
.metro__stop p { margin-top: 6px; color: var(--ink); }

@media (min-width: 960px) {
  .metro {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    padding: 0;
  }
  .metro::before {
    left: calc(100% / 12); right: calc(100% / 12);
    top: calc(var(--dot) / 2 - var(--line) / 2);
    bottom: auto;
    width: auto;
    height: var(--line);
    transform-origin: left;
  }
  .js .metro::before { transform: scaleX(0); }
  .js .metro.is-visible::before { transform: none; }

  .metro__stop { padding: calc(var(--dot) + 22px) 0 0; text-align: center; }
  .metro__dot { left: 50%; transform: translateX(-50%); }
  .metro__stop h3 { font-size: 1.3rem; }
}

/* ---------- Qui suis-je ---------- */
.about {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 860px) {
  .about { grid-template-columns: auto 1fr; gap: 88px; }
}

.about__photo { position: relative; justify-self: center; }

/* Portrait : affiché à sa taille réelle (object-fit: none), donc jamais agrandi.
   Le cadrage centre le visage et le haut du corps. */
.portrait {
  width: min(320px, 82vw);
  aspect-ratio: 1;
  overflow: hidden;
  border: 4px solid var(--navy);
  box-shadow: 14px 14px 0 var(--red);
  transform: rotate(-2deg);
  background: var(--navy);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: none;
  object-position: 46% 27%;
}

.about__note {
  position: absolute;
  right: -18px;
  bottom: -54px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin: 0;
  font-size: 1.9rem;
  color: var(--red);
  transform: rotate(-6deg);
}
.about__note svg { width: 52px; height: 36px; transform: translateY(-18px) scaleX(-1) rotate(10deg); }

.about__lead {
  max-width: 30em;
  margin-top: 28px;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy);
}
.placeholder {
  max-width: 30em;
  margin-bottom: 32px;
  padding: 16px 18px;
  border: 2px dashed var(--navy);
  color: var(--ink);
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq { border-bottom: 2px solid var(--navy); }
.faq details { border-top: 2px solid var(--navy); }
.faq summary {
  position: relative;
  display: block;
  padding: 24px 56px 24px 0;
  font-weight: 700;
  font-size: clamp(1.1rem, 3.6vw, 1.3rem);
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 10px; top: 50%;
  width: 22px; height: 3px;
  margin-top: -1.5px;
  background: var(--navy);
  transition: transform .25s var(--ease), background-color .2s;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary { color: var(--red); }
.faq details[open] summary::before,
.faq details[open] summary::after { background: var(--red); }
.faq details[open] summary::after { transform: rotate(0); }

.faq__answer { max-width: 42em; padding-bottom: 26px; color: var(--ink); }
.faq details[open] .faq__answer { animation: faq-in .35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

.tag {
  display: inline-block;
  padding: 1px 8px;
  background: var(--navy);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  vertical-align: .1em;
  white-space: nowrap;
}
.ph {
  display: inline-block;
  padding: 0 6px;
  border: 2px dashed var(--navy);
  font-weight: 700;
  color: var(--navy);
}

/* ---------- CTA final ---------- */
.final {
  position: relative;
  overflow: hidden;
  padding: 96px 0 112px;
  background: var(--red);
  color: var(--white);
  text-align: center;
}
/* bandes d'affiche en arrière-plan */
.final::before,
.final::after {
  content: "";
  position: absolute;
  left: -10%; right: -10%;
  height: 26px;
  background: var(--navy);
  transform: rotate(-4deg);
}
.final::before { top: 22px; }
.final::after { bottom: 26px; height: 12px; background: var(--white); opacity: .9; }
.final__inner { position: relative; }

.final__hand { font-size: 2.2rem; color: var(--cream); margin-bottom: 6px; transform: rotate(-3deg); }
.final__title {
  max-width: 14ch;
  margin: 0 auto 28px;
  font-family: var(--f-title);
  font-size: clamp(3rem, 12vw, 7rem);
  line-height: 1.08;
  text-transform: uppercase;
}
.final__lead { max-width: 30em; margin: 0 auto 36px; font-size: 1.2rem; }
.final__phone { margin-top: 30px; font-size: 1.1rem; }
.final__phone a {
  font-weight: 700;
  font-size: 1.3rem;
  white-space: nowrap;
  text-underline-offset: 4px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 56px 0 110px;
  background: var(--navy);
  color: var(--cream);
}
.footer__inner { display: grid; gap: 28px; }
.footer__name {
  margin: 0;
  font-family: var(--f-title);
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--white);
}
.footer__contact {
  display: grid;
  gap: 10px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 800px) {
  .footer__inner { grid-template-columns: auto 1fr; align-items: center; }
  .footer__contact { grid-template-columns: repeat(4, auto); justify-content: end; }
  .footer__copy { grid-column: 1 / -1; }
}
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact .icon { color: var(--white); }
.footer a { text-decoration: none; padding-block: 4px; overflow-wrap: anywhere; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__copy {
  margin: 8px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 238, 227, .25);
  font-size: .9rem;
}

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  border: 3px solid var(--white);
  box-shadow: 0 6px 18px rgba(18, 34, 74, .35), 3px 3px 0 var(--navy);
  transition: transform .18s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); }

/* ---------- Apparition au défilement ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .metro::before { transform: none; }
}

/* ---------- Ajustements ---------- */
.nowrap { white-space: nowrap; }
@media (max-width: 959px) {
  .metro__stop h3 { font-size: 1.4rem; }
}
