/* ==========================================================================
   Solution4event — refonte statique
   Charte d'origine : rouge #c43131 · sections sombres #333 · texte #222/#5f5f5f
   Polices : Montserrat (titres, UltraLight pour les portions "light"),
             Source Sans Pro (texte), MonteCarlo (citation manuscrite)
   ========================================================================== */

/* ---------- polices ---------- */
@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  src: url('/assets/fonts/source-sans-pro-300.woff2') format('woff2');
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  src: url('/assets/fonts/source-sans-pro-400.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  src: url('/assets/fonts/source-sans-pro-600.woff2') format('woff2');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  src: url('/assets/fonts/source-sans-pro-700.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'MonteCarlo';
  src: url('/assets/fonts/montecarlo-400.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}

/* ---------- variables & reset ---------- */
:root {
  --red: #c43131;
  --red-dark: #a32626;
  --dark: #333333;
  --ink: #222222;
  --body: #5f5f5f;
  --card: #f0f3f2;
  --input-bg: #f5f7f6;
  --input-border: #dfe5e8;
  --footer-bg: #202534;
  --footer-text: #92a1ae;
  --font-title: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Source Sans Pro', 'Segoe UI', Arial, sans-serif;
  --header-h: 84px;
  --radius: 6px;
  --shadow: 0 12px 34px rgba(0, 0, 0, .12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
.red { color: var(--red); }
.light { font-weight: 200; }
.center { text-align: center; }
.round { border-radius: 50%; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }
.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 999; width: auto; height: auto;
  clip: auto; background: #fff; color: var(--ink); padding: 10px 16px;
  border-radius: 4px; box-shadow: var(--shadow);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1500px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 900px; }

/* ---------- boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 34px;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(196, 49, 49, .35); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; transform: translateY(-2px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 3px 18px rgba(0, 0, 0, .1); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
}
.logo img { width: 140px; height: auto; }
.site-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 16px; color: var(--ink);
  padding: 10px 14px; border-radius: 4px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--red); }
.nav-link.active { color: var(--red); font-weight: 600; }
.lang-link { font-weight: 600; font-size: 14px; letter-spacing: .5px; }
.lang-link img { width: 18px; height: 12px; border-radius: 2px; }
.social-link svg { display: block; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span {
  display: block; width: 26px; height: 3px; margin: 5px 0;
  background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s;
}
.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); }

/* ---------- hero slider ---------- */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  min-height: 520px;
  max-height: 860px;
  overflow: hidden;
  background: #303241;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
  display: flex; align-items: center;
}
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 16, 22, .55), rgba(15, 16, 22, .35) 55%, rgba(15, 16, 22, .6));
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-content { position: relative; text-align: center; width: 100%; }
.hero-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(38px, 7vw, 92px);
  line-height: 1.05;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-sub {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(18px, 2.6vw, 34px);
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.hero-btn { margin-top: 6px; }
.hero-slide .hero-content > * { opacity: 0; transform: translateY(26px); }
.hero-slide.is-active .hero-content > * {
  animation: heroIn .8s ease forwards;
}
.hero-slide.is-active .hero-content > *:nth-child(2) { animation-delay: .25s; }
.hero-slide.is-active .hero-content > *:nth-child(3) { animation-delay: .5s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  background: none; border: 0; color: rgba(255, 255, 255, .75);
  font-size: 38px; cursor: pointer; padding: 12px 16px; transition: color .2s;
}
.hero-arrow:hover { color: #fff; }
.hero-prev { left: 8px; }
.hero-next { right: 8px; }
.hero-dots {
  position: absolute; bottom: 84px; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: center; gap: 10px;
}
.hero-dots button {
  width: 11px; height: 11px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .45); transition: background .2s, transform .2s;
}
.hero-dots button.on { background: var(--red); transform: scale(1.2); }
.hero-scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 5;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

/* ---------- sections ---------- */
.section { padding: 70px 0; }
.section-dark { background: var(--dark); }
.section-tinted { background: var(--card); }

.sec-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: 1px;
  color: var(--ink);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 28px;
}
.sec-title-left { text-align: left; }
.sec-title-white { color: #fff; }
.sec-sub {
  font-size: 21px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--body);
  margin-bottom: 34px;
}
.sec-sub-center { text-align: center; max-width: 900px; margin-left: auto; margin-right: auto; }
.sec-sub-white { color: #fff; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.grid-center { align-items: center; }

/* ---------- section "qu'est-ce qu'un stand" (sombre) ---------- */
.stand-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.3;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.stand-text { color: #fff; font-size: 16.5px; }
.stand-text .red { font-weight: 700; }
.stand-side { text-align: center; }
.stand-quote {
  font-family: 'MonteCarlo', cursive;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 28px;
}

/* ---------- notre fonctionnement ---------- */
.fonct-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 40px;
}
.fonct-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.fonct-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fonct-picto { width: 110px; height: 110px; margin: 0 auto 18px; }
.card-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 1px;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.fonct-arrow { display: flex; align-items: center; justify-content: center; }
.fonct-arrow img { width: 84px; height: 84px; }
.arrow-v { display: none; }
.fonct-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fonct-photos img {
  width: 100%; aspect-ratio: 700 / 575; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ---------- listes picto + texte ---------- */
.feature-item {
  display: flex; align-items: flex-start; gap: 20px;
  margin-bottom: 26px;
}
.feature-item:last-child { margin-bottom: 0; }
.feature-picto { width: 74px; height: 74px; flex: 0 0 74px; }
.feature-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .5px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.feature-item p { font-size: 16px; }
.item-white p { color: #fff; }

/* ---------- montage ---------- */
.montage-photo img { max-height: 640px; width: auto; margin: 0 auto; }

/* ---------- mosaïque réalisations ---------- */
.mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1.1fr;
  grid-template-rows: 300px 300px;
  grid-template-areas:
    "a b c"
    "d e c";
  gap: 14px;
}
.mosaic .tile-a { grid-area: a; }
.mosaic .tile-b { grid-area: b; }
.mosaic .tile-c { grid-area: c; }
.mosaic .tile-d { grid-area: d; }
.mosaic .tile-e { grid-area: e; }
.mosaic .tile-f { display: none; }
.mosaic-tile {
  position: relative; overflow: hidden; border-radius: var(--radius); display: block;
}
.mosaic-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.mosaic-tile:hover img { transform: scale(1.06); }
.mosaic-cta::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(34, 34, 34, .72); transition: background .3s;
}
.mosaic-cta:hover::after { background: rgba(196, 49, 49, .82); }
.mosaic-cta-inner {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px; color: #fff;
}
.mosaic-cta-text { font-size: 19px; font-weight: 300; line-height: 1.4; color: #fff; }
.mosaic-cta-more {
  align-self: flex-end;
  font-family: var(--font-title); font-weight: 700; font-size: 26px; color: #fff;
}

/* ---------- une question ---------- */
.section-question { padding: 60px 0; }
.question-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 1px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.question-text { font-size: 21px; color: #fff; max-width: 950px; margin: 0 auto; }
.question-text .red { font-weight: 700; }

/* ---------- section formulaire (accueil) ---------- */
.section-form {
  position: relative;
  background: url('/assets/img/fond-biseaute.webp') center top / cover no-repeat, var(--dark);
}
.section-form::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(34, 34, 34, .78);
}
.grid-form {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center;
}
.form-logo {
  background: #fff; border-radius: var(--radius);
  padding: 44px 36px; text-align: center; box-shadow: var(--shadow);
}
.form-logo img { margin: 0 auto; }

/* ---------- formulaire ---------- */
.contact-form label { display: block; margin-bottom: 14px; }
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  padding: 13px 16px;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 49, 49, .15);
}
.contact-form textarea { resize: vertical; }
.form-file-note { font-size: 14.5px; margin-bottom: 18px; }
.form-dark .form-file-note { color: #d8d8d8; }
.form-dark .form-file-note a { color: #fff; text-decoration: underline; }
.form-feedback { font-size: 15px; color: #2e8b57; font-weight: 600; margin-bottom: 14px; }
.form-dark .form-feedback { color: #8fe0b0; }
.form-error { font-size: 15px; color: var(--red); margin-bottom: 14px; }
.form-dark .form-error { color: #ffb3b3; }
/* honeypot antispam : champ invisible pour les humains */
.hp-field {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden; opacity: 0;
}

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); padding: 26px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap;
}
.footer-credit, .footer-copy { color: var(--footer-text); font-size: 15px; }
.footer-credit a { color: #fff; }
.footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: #fff; background: rgba(255, 255, 255, .08);
  transition: background .2s;
}
.footer-socials a:hover { background: var(--red); }

/* ---------- page réalisations ---------- */
.hero-realisations { height: 60vh; }
.loic-photo { margin-bottom: 24px; }
.loic-photo img { width: 190px; height: 190px; margin: 0 auto; object-fit: cover; box-shadow: var(--shadow); }
.loic-quote {
  font-size: 23px; font-weight: 300; font-style: italic;
  color: var(--ink); margin-bottom: 18px;
}
.section .btn { margin-top: 6px; }
.section-gallery { padding-top: 0; }
.gallery {
  columns: 3 340px;
  column-gap: 16px;
}
.g-item {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); margin-bottom: 16px;
  break-inside: avoid;
}
.g-item img { width: 100%; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.05); }
.g-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .78));
  opacity: 0; transition: opacity .3s;
}
.g-item:hover .g-overlay, .g-item:focus .g-overlay { opacity: 1; }
.g-title {
  font-family: var(--font-title); font-weight: 600; font-size: 14px;
  letter-spacing: .5px; color: #fff; padding: 16px 18px; text-transform: uppercase;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 10, 12, .93);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox figure {
  max-width: min(92vw, 1400px); max-height: 88vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lightbox img {
  max-width: 100%; max-height: 80vh; object-fit: contain;
  border-radius: 4px;
}
.lightbox figcaption {
  color: #fff; font-family: var(--font-title); font-size: 14px;
  letter-spacing: 1px; text-transform: uppercase; text-align: center;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute; z-index: 1;
  background: none; border: 0; color: rgba(255, 255, 255, .8);
  cursor: pointer; transition: color .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: #fff; }
.lb-close { top: 18px; right: 26px; font-size: 46px; line-height: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 40px; padding: 18px; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }

/* ---------- page contact ---------- */
.page-title {
  background-size: cover; background-position: center;
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
}
.page-title::before {
  content: ""; position: absolute; inset: 0; background: rgba(20, 20, 24, .45);
}
.page-title h1 {
  position: relative;
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(34px, 5vw, 54px);
  color: #fff; letter-spacing: 1px;
}
.contact-map { overflow: hidden; max-height: 480px; }
.map-img { width: 100%; object-fit: cover; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }

.question-band {
  background-size: cover; background-position: center;
  padding: 80px 0 130px;
  position: relative;
}
.question-band::before {
  content: ""; position: absolute; inset: 0; background: rgba(24, 24, 28, .55);
}
.question-band .container { position: relative; }
.question-band .question-title { color: #fff; }
.question-band .question-text { color: #fff; font-size: 21px; }
.question-strong {
  display: inline-block; margin-top: 16px;
  font-family: var(--font-title); font-weight: 700;
  font-size: 26px; letter-spacing: 2px; color: var(--red);
}

.contact-infos { padding-top: 0; padding-bottom: 30px; }
.contact-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: -90px; position: relative; z-index: 2;
}
.contact-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 38px 28px; text-align: center;
}
.contact-picto { width: 84px; height: 84px; margin: 0 auto 18px; }
.contact-label {
  font-family: var(--font-title);
  color: var(--red); font-size: 22px; letter-spacing: 2px;
  margin-bottom: 14px;
}
.contact-detail { font-size: 16.5px; line-height: 1.7; }
.contact-detail a { color: var(--body); }
.contact-detail a:hover { color: var(--red); }

.section-write { position: relative; overflow: hidden; }
.write-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .16;
}
.section-write .container { position: relative; }
.form-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 40px 36px;
}

/* ---------- animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .map-img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .fonct-arrow img { width: 60px; height: 60px; }
}

@media (max-width: 900px) {
  .grid-2, .grid-form { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 56px 0; }
  .fonct-row { grid-template-columns: 1fr; }
  .fonct-arrow img.arrow-h { display: none; }
  .arrow-v { display: block !important; width: 64px !important; height: 64px !important; }
  .fonct-photos { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 220px);
    grid-template-areas:
      "a a"
      "b c"
      "e c";
  }
  .mosaic .tile-d { display: none; }
  .montage-photo img { max-height: 480px; }
  .contact-cards { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; margin-top: -70px; }
  .hero-dots { bottom: 74px; }
}

@media (max-width: 760px) {
  .burger { display: block; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; box-shadow: 0 14px 24px rgba(0, 0, 0, .12);
    transform: translateY(-130%); transition: transform .3s ease;
    z-index: 90;
  }
  .site-nav.open { transform: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px 0; gap: 0; }
  .nav-link { padding: 14px 26px; font-size: 17px; }
  .nav-lang, .nav-social { border-top: 1px solid var(--input-border); }
  .hero { min-height: 480px; }
  .hero-arrow { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { justify-content: center; text-align: center; }
  .question-band { padding: 64px 0 110px; }
}

@media (max-width: 560px) {
  .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 220px);
    grid-template-areas: "a" "b" "e";
  }
  .mosaic .tile-c { display: none; }
  .gallery { columns: 1; }
  .form-card { padding: 28px 20px; }
  .form-logo { padding: 30px 22px; }
}
