/* ==========================================================================
   Paléo Art Studio — feuille de styles unique
   Reprise fidèle du site d'origine (CMS Zébulon, Bootstrap 4.2) : mêmes polices,
   couleurs, espacements, animations et points de rupture. Nommage BEM.
   Les valeurs « magiques » sont des mesures de l'ancien site (grille Bootstrap :
   colonnes de 15 px de marge interne, rangées à -15 px au-dessus de 1140 px).
   ========================================================================== */

/* --- Polices (fichiers et graisses déclarées d'origine) ------------------ */
@font-face { font-family: "Jurassic Park"; src: url("../fonts/jurassic-park.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham Bold"; src: url("../fonts/gotham-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham Black"; src: url("../fonts/gotham-black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto Regular"; src: url("../fonts/roboto-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto Light"; src: url("../fonts/roboto-light.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto Medium"; src: url("../fonts/roboto-medium.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto Bold"; src: url("../fonts/roboto-bold.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --gold: #996e4b;
  --gold-light: #c5aa94;
  --dark: #1f1f1f;
  --text: #212529;
  --veil: rgba(0, 0, 0, .7);              /* bgBlack70.png de la librairie Zébulon */
  --f-jurassic: "Jurassic Park", sans-serif;
  --f-gotham-bold: "Gotham Bold", sans-serif;
  --f-gotham-black: "Gotham Black", sans-serif;
  --f-regular: "Roboto Regular", sans-serif;
  --f-light: "Roboto Light", sans-serif;
  --f-medium: "Roboto Medium", sans-serif;
  --f-bold: "Roboto Bold", sans-serif;
  /* « ralewaylight » etc. : appelées par l'ancien CSS mais jamais déclarées -> police sans empattement par défaut */
  --f-raleway: sans-serif;
  --f-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --wide: 1114px;                         /* largeur des conteneurs (« .container » à 1114 px) */
  --row: 15px;                            /* marge négative des rangées Bootstrap */
}
@media (max-width: 1200px) { :root { --wide: 100%; } }
@media (max-width: 1140px) { :root { --row: 0px; } }

/* --- Base ----------------------------------------------------------------- */
*, ::before, ::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* transition globale de l'ancien site (_default.css) */
  transition-property: background, width, height, margin, padding, border, color, transform;
  transition-duration: .2s;
  transition-timing-function: ease-in-out;
}
html { -webkit-text-size-adjust: 100%; }
body {
  position: relative;
  font-family: var(--f-system);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
img { vertical-align: middle; border-style: none; }
a { color: #007bff; text-decoration: none; }
a:hover { color: #0056b3; text-decoration: underline; }
h1, h2, h3 { margin-bottom: .5rem; font-weight: 500; line-height: 1.2; }
button, input, textarea { font: inherit; line-height: inherit; color: inherit; }
button { cursor: pointer; }
strong { font-weight: bolder; }

.skip-link { position: fixed; left: 10px; top: -60px; z-index: 40000; padding: 10px 15px; background: #000; color: #fff; font-family: var(--f-regular); font-size: 14px; }
.skip-link:focus { top: 10px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Texte courant des pages */
.text, .list { font-family: var(--f-regular); font-size: 14px; margin-bottom: 32px; }
.text--bold { font-family: var(--f-bold); }
.text--last { margin-bottom: 45px; }
.text-bold { font-family: var(--f-bold); font-weight: 400; }
.list { margin-left: 30px; }
.heading { font-family: var(--f-gotham-black); font-size: 24px; font-weight: 400; color: #000; margin-bottom: 28px; }
.subheading { font-family: var(--f-gotham-black); font-size: 15px; font-weight: 400; color: var(--gold); margin-bottom: 15px; }
.link, .link:hover { color: #000; text-decoration: underline; }
.link:hover { text-decoration: none; }
.link--white, .link--white:hover { color: #fff; }

/* --- Apparitions au défilement (WOW.js + animate.css d'origine) ----------- */
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; }   /* opacité (et non visibility) : le contenu reste atteignable au clavier */
.js .reveal.is-revealed { opacity: 1; animation-duration: 1s; animation-fill-mode: both; animation-delay: .15s; }
.js .reveal--up.is-revealed { animation-name: fadeInUp; }
.js .reveal--down.is-revealed { animation-name: fadeInDown; }
.js .reveal--left.is-revealed { animation-name: fadeInLeft; }
.js .reveal--right.is-revealed { animation-name: fadeInRight; }

/* --- Bouton « aylen » (remplissage brun depuis le haut) ------------------- */
.button {
  position: relative;
  z-index: 6;
  display: inline-block;
  padding: 28px 55px;
  overflow: hidden;
  border: 1px solid #000;
  background: none;
  font-family: var(--f-regular);
  font-size: 15px;
  line-height: 22.5px;
  color: #000;
  text-align: center;
  vertical-align: middle;
  transition: color .3s;
}
.button::before, .button::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: 100%;
  width: 100%;
  height: 100%;
  transition: transform .3s cubic-bezier(.75, 0, .125, 1);
}
.button::before { background: var(--gold-light); }
.button::after { background: var(--gold); }
.button:hover, .button:focus-visible { color: #fff; border-color: var(--gold); text-decoration: none; }
.button:hover::before, .button:hover::after, .button:focus-visible::before, .button:focus-visible::after { transform: translate3d(0, 100%, 0); }
.button:hover::after, .button:focus-visible::after { transition-delay: .175s; }
@media (max-width: 768px) { .button { padding: 23px 50px; font-size: 14px; line-height: 21px; } }

/* --- Titre de section (« welcome-title ») ---------------------------------- */
.section-title { position: relative; margin-bottom: 25px; padding: 0 15px; text-align: center; }
.section-title__heading { font-family: var(--f-gotham-black); font-size: 29px; color: var(--text); }
.section-title__rule { display: inline-block; width: 70px; height: 1px; margin-top: 25px; background: #000; }
.section-title--white .section-title__heading { color: #fff; }
.section-title--white .section-title__rule { background: #fff; }
@media (max-width: 768px) { .section-title__heading { font-size: 20px; } }

/* --- Illustration avec légende au survol ---------------------------------- */
.figure { position: relative; overflow: hidden; }
.figure__img { display: block; max-width: 100%; transition: .5s; }
.figure:hover .figure__img { transform: scale(1.2); }
.figure__caption {
  position: absolute;
  left: 0;
  bottom: -55px;
  width: 100%;
  padding: 15px;
  background: var(--veil);
  font-family: var(--f-gotham-bold);
  font-size: 15px;
  line-height: 22.5px;
  color: #fff;
  transition: .3s;
}
.figure:hover .figure__caption { bottom: 0; }
.figure__text { font-family: var(--f-light); font-size: 14px; }
@media (max-width: 992px) { .figure__caption { display: none; } }

.video { display: block; border: 0; height: 399px; }

/* --- Barre du haut ---------------------------------------------------------- */
.topbar {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #000;
  opacity: 0;
  transition: .6s;
}
.topbar.is-visible, .topbar:focus-within { opacity: 1; }
.topbar--page { height: 120px; }
.topbar--page.is-scrolled { height: 60px; }
.topbar__logo, .topbar__burger, .topbar__phone { position: absolute; top: 55%; transform: translate(0, -50%); }
.topbar__logo {
  left: -200px;
  opacity: 0;
  font-family: var(--f-jurassic);
  font-size: 50px;
  line-height: 50px;
  letter-spacing: 6px;
  color: #fff;
  white-space: nowrap;
  transition: .6s;
}
.topbar__logo:hover { color: #fff; text-decoration: none; }
.topbar__phone {
  right: -150px;
  opacity: 0;
  z-index: 21;
  width: 32px;
  height: 32px;
  background: url("../img/picto-tel.png");
  transition: .4s;
}
.topbar__burger {
  display: block;
  right: -200px;
  opacity: 0;
  width: 30px;
  height: 11px;
  border: 0;
  background: none;
  transition: .6s;
}
.topbar__burger:hover { transform: scale(1.2) translate(0, -50%); }
.topbar__bar { display: block; width: 30px; height: 3px; background: #fff; }
.topbar__bar + .topbar__bar { margin-top: 5px; }
.topbar.is-visible .topbar__logo, .topbar:focus-within .topbar__logo { left: 50px; opacity: 1; }
.topbar.is-visible .topbar__phone, .topbar:focus-within .topbar__phone { right: 122px; opacity: 1; }
.topbar.is-visible .topbar__burger, .topbar:focus-within .topbar__burger { right: 50px; opacity: 1; }
.topbar__burger[aria-expanded="true"] { opacity: 0 !important; }
@media (max-width: 768px) {
  .topbar__phone { display: none; }
  .topbar__logo { font-size: 30px; line-height: 40px; }
  .topbar.is-visible .topbar__logo, .topbar:focus-within .topbar__logo { left: 20px; }
  .topbar.is-visible .topbar__burger, .topbar:focus-within .topbar__burger { right: 20px; }
}

/* --- Menu plein écran (« flip-flap ») --------------------------------------- */
@keyframes blink { 0%, 2%, 98%, to { opacity: 0; } 12%, 88% { opacity: .25; } 25%, 75% { opacity: .5; } 37%, 62% { opacity: .75; } 50% { opacity: 1; } }
.flipflap {
  position: fixed;
  z-index: 0;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden auto;
  background: url("../img/nav/nav-bg.jpg");
  font-size: 16px;
  color: #000;
  opacity: 0;
  visibility: hidden;
  transition: top .4s, opacity .4s, visibility 0s .4s;
}
.flipflap.is-open { z-index: 30005; top: 0; opacity: 1; visibility: visible; transition: top .4s, opacity .4s, visibility 0s; }
.no-js .flipflap:target { z-index: 30005; top: 0; opacity: 1; visibility: visible; }
.flipflap__nav { position: absolute; top: 50%; left: 50%; width: 400px; transform: translate(-50%, -50%); }
.flipflap__list { list-style: none; }
.flipflap__item, .flipflap__group { display: block; width: 100%; text-align: center; }
.flipflap__item { height: 40px; font-family: var(--f-regular); }
.flipflap__item--main { font-size: 19px; color: #fff; }
.flipflap__item--sub { font-size: 15px; text-transform: uppercase; color: #fff; }
.flipflap__link, .flipflap__link:hover { text-decoration: none; }
.flipflap__item--main .flipflap__link { color: #868484; }
.flipflap__item--sub .flipflap__link { color: var(--gold); }
.flipflap__link:hover, .flipflap__link:focus-visible { color: #fff; }
.flipflap__group { margin: 50px 0 20px; font-family: var(--f-gotham-black); font-size: 24px; line-height: 1.5; color: #fff; text-transform: uppercase; }
.flipflap__close { display: block; position: absolute; z-index: 30007; top: 30px; right: 30px; width: 30px; height: 30px; border: 0; background: none; }
.flipflap__cross::before, .flipflap__cross::after { content: ""; position: absolute; top: 0; display: block; width: 42.423px; height: 1px; background: #fff; }
.flipflap__cross::before { left: 0; transform: rotate(45deg); transform-origin: top left; }
.flipflap__cross::after { right: 0; transform: rotate(-45deg); transform-origin: top right; }
.flipflap__close:hover .flipflap__cross::before, .flipflap__close:hover .flipflap__cross::after,
.flipflap__close:focus-visible .flipflap__cross::before, .flipflap__close:focus-visible .flipflap__cross::after { background: var(--gold); }
.flipflap__info { position: absolute; bottom: 30px; left: 30px; font-family: var(--f-light); font-size: 14px; line-height: 1.5; font-style: italic; color: #fff; animation: blink 2s infinite; }
.flipflap__key { font-family: var(--f-medium); }
.flipflap__deco { position: absolute; top: 50%; right: -50px; width: 725px; height: 708px; background: url("../img/nav/nav-deco.png"); transform: translate(0, -50%); pointer-events: none; }
@media (hover: none) { .flipflap__info { display: none; } }   /* « Touche Echap » : absent du balisage servi aux téléphones */
@media (max-width: 768px) {
  .flipflap__nav { width: 100%; }
  .flipflap__group { margin: 25px 0 10px; font-size: 18px; }
  .flipflap__item { height: 30px; }
  .flipflap__item--main { font-size: 16px; }
  .flipflap__item--sub { font-size: 13px; }
  .flipflap__deco, .flipflap__info { display: none; }
}
/* Écrans peu hauts (téléphone à l'horizontale) : le menu défile au lieu d'être centré */
@media (max-height: 520px) {
  .flipflap__nav { position: relative; top: auto; left: auto; margin: 40px auto; transform: none; }
}

/* --- Diaporama d'accueil ----------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero__slides { position: relative; z-index: 11; height: 1080px; }
.hero__bg { position: absolute; width: 100%; height: 100%; background: no-repeat top center / cover; }
.hero__bg--old { transition-duration: 0s; }
.hero__bg--active.is-fading { animation: heroFade 1s linear both; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero__logo { position: absolute; z-index: 30; top: 75px; left: 75px; width: 185px; height: 125px; transition: .6s; }
.hero__logo img { display: block; }
.is-scrolled .hero__logo { top: -130px; transform: scale(.2); }
.hero__shutter {
  position: absolute;
  z-index: 15;
  top: 0;
  right: 0;
  width: 44%;
  height: 100%;
  background: var(--veil);
  transition: 1s ease;
}
.hero__shutter.is-off { right: -100%; }
.is-scrolled .hero__shutter { opacity: 0; }
.slogan, .hero__slogan { font-family: var(--f-gotham-bold); }
.hero__shutter .hero__slogan {
  position: absolute;
  top: 50%;
  left: 100px;
  font-size: 50px;
  line-height: 55px;
  transform: translate(0, -50%);
  transition: 1.5s;
}
.hero__slogan.is-off { opacity: 0; }
.slogan__start { color: #fff; }
.slogan__end { color: var(--gold); }
.hero__mobile-slogan {
  display: none;
  position: absolute;
  z-index: 30;
  left: 0;
  bottom: 0;
  width: 100%;
  min-height: 80px;
  padding: 15px 0;
  background: var(--veil);
  color: #fff;
}
.hero__mobile-slogan .hero__slogan {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 20px;
  line-height: 20px;
  text-align: center;
  transform: translate(-50%, -50%);
  transition: 1s;
}
.hero__mobile-slogan .slogan__start, .hero__mobile-slogan .slogan__end { white-space: nowrap; }
@media (max-width: 1400px) { .hero__slides { height: 800px; } }
@media (max-width: 1100px) { .hero__slides { height: 700px; } .hero__shutter { width: 50%; } }
@media (max-width: 1000px) { .hero__shutter { display: none; } }
@media (max-width: 991.98px) { .hero__mobile-slogan { display: block; } }
@media (max-width: 768px) { .hero__slides { height: 500px; } .hero__logo { display: none; } }
@media (max-width: 500px) { .hero__slides { height: 350px; } }

/* --- Accueil : présentation, créations, automates, location ---------------- */
.presentation__inner, .event-rental__inner, .automatons__inner, .creations__inner {
  width: var(--wide);
  margin: 0 auto;
  padding: 100px 15px;
}
.presentation__inner { padding-left: calc(15px - var(--row)); padding-right: calc(15px - var(--row)); }
.presentation__subtitle { padding: 0 15px; font-family: var(--f-regular); font-size: 15px; line-height: 22.5px; color: var(--gold); text-align: center; }
.media-text { display: flex; flex-wrap: wrap; margin: 115px calc(-1 * var(--row)) 0; }
.event-rental .media-text { margin-top: 80px; }
.media-text__media { flex: 0 0 58.333333%; max-width: 58.333333%; padding: 0 15px; }
.media-text__figure { max-width: 95%; }
.media-text__body { flex: 0 0 41.666667%; max-width: 41.666667%; padding: 0 15px; }
.media-text__title { margin: 0 0 40px; font-family: var(--f-gotham-black); font-size: 24px; font-weight: 400; line-height: 1.5; color: var(--text); }
.media-text__text { font-family: var(--f-regular); font-size: 14px; line-height: 20px; }
.media-text__action { margin-top: 50px; }

.separator { height: 63px; background: url("../img/accueil/separator.png") no-repeat bottom; }
.separator--overlap { margin-top: -63px; }

.creations { background: var(--dark); }
.creations__list { display: flex; flex-wrap: wrap; margin: 80px calc(-1 * var(--row)) 0; list-style: none; }
.creation-card { flex: 0 0 33.333333%; max-width: 33.333333%; padding: 0 15px; }
.creation-card__link, .creation-card__link:hover { display: block; text-decoration: none; }
.creation-card__visual {
  position: relative;
  display: block;
  height: 430px;
  background: #fff center / cover;
  transition: .2s ease-in-out;
}
.creation-card__visual--1 { background-image: url("../img/accueil/how-know-1.jpg"); }
.creation-card__visual--2 { background-image: url("../img/accueil/how-know-2.jpg"); }
.creation-card__visual--3 { background-image: url("../img/accueil/how-know-3.jpg"); }
.creation-card__link:hover .creation-card__visual, .creation-card__link:focus-visible .creation-card__visual { transform: scale(1.05); }
.creation-card__hover {
  position: absolute;
  inset: 0;
  background: url("../img/accueil/how-know-hover.png");
  opacity: 0;
  transition: .5s;
}
.creation-card__link:hover .creation-card__hover, .creation-card__link:focus-visible .creation-card__hover { opacity: 1; }
.creation-card__hover-text, .creation-card__text { font-family: var(--f-regular); font-size: 14px; line-height: 21px; color: #fff; text-align: center; }
.creation-card__hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 65%;
  transform: translate(-50%, -50%);
  transition: .8s;
}
.creation-card__strong { font-family: var(--f-medium); font-size: 15px; line-height: 1.5; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }
.creation-card__plus { display: block; width: 56px; height: 56px; margin: 30px auto 5px; background: url("../img/accueil/plus-button.png"); }   /* 5 px : bloc en ligne d'origine posé sur la ligne de base */
.creation-card__link:hover .creation-card__plus { animation: spin .6s linear 1; }
.creation-card__separator { display: block; height: 50px; margin: 30px 0; text-align: center; }
.creation-card__separator::before { content: ""; display: inline-block; width: 1px; height: 35px; vertical-align: top; background: var(--gold); transition: .4s; }
.creation-card__link:hover .creation-card__separator::before { height: 50px; }
.creation-card__heading { display: block; min-height: 50px; padding: 0 15px; }
.creation-card__title { margin: 0; font-family: var(--f-regular); font-size: 20px; font-weight: 500; color: var(--gold); text-align: center; transition: .4s; }
.creation-card__link:hover .creation-card__title { font-size: 26px; }
.creation-card__text { display: none; }

.automatons { position: relative; overflow: hidden; }
.automatons__inner { position: relative; z-index: 2; text-align: center; }
.automatons__quote {
  position: relative;
  max-width: calc(100% - 30px);
  z-index: 2;
  display: inline-block;
  padding: 30px 0;
  font-family: var(--f-gotham-black);
  font-size: 50px;
  line-height: 75px;
  color: #000;
  vertical-align: middle;
}
.automatons__quote::before, .automatons__quote::after { content: ""; position: absolute; }
.automatons__quote::before { top: 0; left: 0; width: 24px; height: 18px; background: url("../img/accueil/automatons-top-quote.png"); }
.automatons__quote::after { bottom: 0; right: 0; width: 32px; height: 25px; background: url("../img/accueil/automatons-bottom-quote.png"); }
.automatons__text { width: 50%; margin: 50px auto 0; padding: 0 15px; font-family: var(--f-regular); font-size: 14px; line-height: 21px; }
.automatons__action { margin-top: 50px; }
.automatons__deco { position: absolute; z-index: 1; right: 130px; bottom: -100px; width: 628px; height: 613px; background: url("../img/accueil/automatons-deco.png"); }

.event-rental { position: relative; background: url("../img/accueil/event-rental-bg.jpg"); }

@media (max-width: 991.98px) {
  .media-text__media, .media-text__body { flex-basis: 100%; max-width: 100%; }
  .media-text__media { margin-bottom: 16px; }
  .creation-card { flex-basis: 100%; max-width: 100%; margin-bottom: 48px; }
  .creation-card__text { display: block; margin: 0 15px 24px; padding: 0 15px; }
  .automatons__text { width: auto; }
}
@media (max-width: 992px) { .media-text__figure { max-width: 100%; } }
@media (max-width: 768px) {
  .media-text, .event-rental .media-text, .creations__list { margin-top: 35px; }
  .media-text__title { font-size: 20px; }
  .creation-card__heading { min-height: 30px; }
  .creation-card__separator { height: 35px; margin: 15px 0; }
  .automatons__quote { font-size: 30px; line-height: 45px; }
  .automatons__deco { display: none; }
}

/* --- Pages intérieures ------------------------------------------------------ */
.main--page { margin-top: 120px; padding: 80px 0; }
.intro { padding: 15px 0 40px; }
.intro__inner { width: var(--wide); margin: 0 auto; padding: 0 15px; }
.intro__text { width: 66.666667%; margin-left: 16.666667%; padding: 0 15px; text-align: center; }

.paragraf { padding: 80px 0; }
.paragraf--bg { background: url("../img/accueil/event-rental-bg.jpg"); }
.paragraf--carousel { padding-bottom: 0; }
.paragraf__inner { display: flex; align-items: flex-start; width: var(--wide); margin: 0 auto; padding: 0 calc(15px - var(--row)); }
.paragraf__media { flex: 0 0 58.333333%; max-width: 58.333333%; margin-bottom: 16px; padding: 0 30px; }
.paragraf__media .figure { max-width: 90%; }
.paragraf__video { display: inline-block; width: 90%; margin-top: 48px; }   /* iframe en ligne d'origine (espace sous la ligne compris) */
.paragraf__body { flex: 0 0 41.666667%; max-width: 41.666667%; padding: 0 15px; }
.paragraf--narrow-media .paragraf__media { flex-basis: 33.333333%; max-width: 33.333333%; }
.paragraf--narrow-media .paragraf__body { flex-basis: 66.666667%; max-width: 66.666667%; }
.paragraf--right .paragraf__media { flex-basis: 50%; max-width: 50%; margin: 0 0 0 8.333333%; padding: 0 15px; }
.paragraf--right .paragraf__media .figure { margin-left: auto; }
.paragraf--right .paragraf__media { text-align: right; }
.paragraf--right .figure { text-align: left; }
.paragraf__mobile-img, .paragraf__mobile-video { display: none; }
.paragraf__action { margin-top: 50px; }

.gallery { padding: 88px 0 40px; }
.gallery__viewport { width: calc(var(--wide) - 30px - 2 * (15px - var(--row))); margin: 0 auto; }   /* zone visible d'owl */
.gallery__track { display: flex; list-style: none; }
.gallery__item { position: relative; flex: 0 0 auto; width: 371px; }
.gallery__link { position: relative; display: block; width: 90%; height: 100%; min-height: 325px; overflow: hidden; }
.gallery__img { display: block; width: 100%; height: auto; box-shadow: 5px 5px 8px #cacaca; }
@keyframes bigHover { from { opacity: 0; } to { opacity: 1; } }
.gallery__hover { position: absolute; z-index: 10; inset: 0; background: var(--veil); opacity: 0; }
.gallery__logo {
  position: absolute;
  z-index: 11;
  top: 50%;
  left: 50%;
  font-family: var(--f-jurassic);
  font-size: 30px;
  line-height: 50px;
  letter-spacing: 6px;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: .6s;
}
.gallery__link:hover .gallery__hover, .gallery__link:focus-visible .gallery__hover { animation: bigHover .25s forwards; }
.gallery__link:hover .gallery__logo, .gallery__link:focus-visible .gallery__logo { animation: bigHover .45s .2s forwards; }
.gallery__item--more { align-self: flex-start; height: 325px; }
@media (max-width: 992px) { .gallery__item--more { height: 260px; } .gallery__link { min-height: 260px; } }
.gallery__more { position: absolute; top: 50%; left: 45%; width: min-content; transform: translate(-50%, -50%); }
.gallery__dots { display: flex; align-items: flex-start; justify-content: center; min-height: 29px; margin-top: 50px; }   /* 29 px : points posés sur une ligne de texte dans owl */
.gallery__dot {
  box-sizing: content-box;
  width: 30px;
  height: 3px;
  margin: 0 3px;
  padding: 0;
  border: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  background: #000 padding-box;
  opacity: .2;
  cursor: pointer;
  transition: opacity .6s ease;
}
.gallery__dot:hover, .gallery__dot:focus-visible { opacity: 1; }
.gallery__dot[aria-current="true"] { background-color: var(--gold); opacity: 1; }
.js .gallery__viewport, .js .faq__viewport { overflow: hidden; touch-action: pan-y; }
.js .gallery__track, .js .faq__track { transition: transform .4s ease; cursor: grab; }
.js .gallery__track.is-dragging, .js .faq__track.is-dragging { transition: none; cursor: grabbing; }
.no-js .gallery__viewport { overflow-x: auto; }

.slogan-band { padding: 50px 0 100px; background: var(--dark); text-align: center; }
.slogan-band__inner { width: var(--wide); margin: 0 auto; padding: 0 15px; }
.slogan-band__quote { position: relative; display: inline-block; margin-top: 15px; }
.slogan-band__quote::before, .slogan-band__quote::after { content: ""; position: absolute; }
.slogan-band__quote::before { top: 45px; left: 0; width: 24px; height: 18px; background: url("../img/quote-top-gold.png"); }
.slogan-band__quote::after { bottom: 45px; right: 0; width: 32px; height: 25px; background: url("../img/quote-bottom-gold.png"); }
.slogan-band__title { margin-bottom: 15px; padding-top: 50px; font-family: var(--f-gotham-black); font-size: 30px; line-height: 1.5; color: var(--gold); }
.slogan-band__text { margin-bottom: 32px; padding-bottom: 50px; font-family: var(--f-light); font-size: 17px; line-height: 26px; color: var(--gold); }
.slogan-band--single .slogan-band__title { margin-bottom: 97px; }
.slogan-band--single .slogan-band__quote::after { bottom: 77px; }

.faq { position: relative; margin-bottom: -80px; padding: 148px 15px 100px; background: #000; color: #fff; text-align: center; }
.faq__viewport { max-width: 1084px; margin: 0 auto; }
.faq__track { display: flex; list-style: none; }
.faq__item { flex: 0 0 100%; padding: 0 12.5%; }
.faq__question { margin-bottom: 30px; font-family: var(--f-gotham-black); font-size: 24px; font-weight: 400; line-height: 1.5; }
.faq__answer { font-family: var(--f-regular); font-size: 14px; line-height: 21px; }
.faq__dots { margin-top: 15px; }
.faq .gallery__dot { background-color: #fff; }
.faq .gallery__dot[aria-current="true"] { background-color: var(--gold); }

@media (max-width: 992px) {
  .heading { font-size: 20px; }
  .paragraf { padding: 40px 0; }
  .paragraf--carousel { padding-bottom: 0; }
  .slogan-band__title { font-size: 25px; }
  .gallery__dots { margin-top: 25px; }
}
@media (max-width: 991.98px) {
  .intro__text { width: auto; margin-left: 0; }
  .paragraf__inner { display: block; }
  .paragraf__media { display: none; }
  .paragraf__body, .paragraf--narrow-media .paragraf__body { max-width: none; }
  .paragraf__mobile-img { display: block; max-width: 100%; margin-bottom: 16px; }
  .paragraf--right .paragraf__mobile-img { margin-bottom: 48px; }
  .paragraf__mobile-video { display: inline-block; width: 100%; margin-bottom: 48px; }   /* iframe en ligne d'origine */
  .gallery { padding-top: 40px; }
}
@media (max-width: 768px) {
  .gallery__item { width: 100%; }
  .gallery__link { width: 100%; min-height: 260px; }
}

/* --- Contact ----------------------------------------------------------------- */
.contact__inner { width: var(--wide); margin: 0 auto; padding: 0 calc(15px - var(--row)) 48px; }
.contact__grid { display: flex; flex-wrap: wrap; margin: 48px calc(-1 * var(--row)) 0; }
.contact-form { flex: 0 0 50%; max-width: 50%; }
.contact__visual { flex: 0 0 41.666667%; max-width: 41.666667%; margin-left: 8.333333%; padding: 0 15px; }
.contact__img { display: block; max-width: 100%; margin-bottom: 48px; }
.contact-form__field { margin-bottom: 25px; }
.contact-form__field:nth-child(3) { margin-bottom: 35px; }
.contact-form__field--message { margin-bottom: 35px; }
.contact-form__input {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid #ced4da;
  background: #f1f1f1;
  font-family: var(--f-raleway);
  font-size: 16px;
  line-height: 24px;
  color: #495057;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.contact-form__input:focus { outline: 0; border-color: #80bdff; box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25); }
.contact-form__input--message { height: 70px; resize: vertical; }
.contact-form__trap { position: absolute; left: -9999px; }
.contact-form__required { margin-bottom: 30px; padding: 0 15px 0 30px; font-family: var(--f-raleway); font-size: 12px; font-style: italic; font-weight: 300; line-height: 18px; }
.contact-form__consent { position: relative; padding: 0 15px 0 25px; }
.contact-form__checkbox { position: absolute; top: 3px; left: 0; width: 13px; height: 13px; }
.contact-form__consent-label { display: block; font-family: var(--f-raleway); font-size: 12px; font-style: italic; font-weight: 300; line-height: 18px; }
.contact-form__consent-label a { color: #007bff; }
.contact-form__status { min-height: 0; margin: 15px 15px 0; font-family: var(--f-regular); font-size: 14px; }
.contact-form__status:empty { display: none; }
.contact-form__status.is-error { color: #d12a2f; }
.contact-form__status.is-success { color: #155724; }
.contact-form__submit { margin-top: 31px; text-align: center; }
.contact-form__button {
  display: inline-block;
  padding: .375rem .75rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  background: #d12a2f;
  font-family: var(--f-system);
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
}
.contact-form__button:hover, .contact-form__button:focus-visible { background: #b51f24; }
.contact-form__button[disabled] { opacity: .65; cursor: wait; }
.contact__blocks { display: flex; flex-wrap: wrap; margin: 48px calc(-1 * var(--row)) 0; list-style: none; }
.contact-block {
  flex: 0 0 calc(25% - 30px);
  max-width: calc(25% - 30px);
  min-height: 144px;
  margin: 0 15px;
  padding: 30px;
  background: #202528;
  font-size: 14px;
  line-height: 21px;
  color: #fff;
  text-align: center;
}
.contact-block__title { font-family: var(--f-bold); font-weight: 400; text-transform: uppercase; }
.contact-block__phone, .contact-block__phone:hover { color: inherit; text-decoration: none; }
.contact-block__fb img { width: 38px; height: 38px; }
.contact__map { position: relative; height: 718px; margin-top: 50px; background: #e5e3df; }
.contact__map-frame { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(1); }
.contact__marker { position: absolute; top: 50%; left: 50%; margin: -58px 0 0 -20px; pointer-events: none; }
.main--contact { padding-bottom: 0; }
@media (max-width: 1150px) { .contact-block { min-height: 144px; } }
@media (max-width: 991.98px) {
  .contact-form, .contact__visual { flex-basis: 100%; max-width: 100%; margin-left: 0; }
  .contact-block { flex-basis: calc(50% - 30px); max-width: calc(50% - 30px); margin-bottom: 48px; text-align: left; }
}
@media (max-width: 960px) { .contact-block { min-height: 128px; } }
@media (max-width: 767.98px) { .contact-block { flex-basis: calc(100% - 30px); max-width: calc(100% - 30px); } }

/* --- Pages légales ----------------------------------------------------------- */
.legal__inner { width: 800px; max-width: 100%; margin: 0 auto; padding: 0 30px; }
.legal__inner > .section-title { padding: 0; }
.legal__inner > .heading { margin-top: 80px; }   /* marge du paragraphe (32) + bloc mb-5 (48) d’origine */
.legal__inner > .section-title + .heading { margin-top: 0; }
.legal__value { font-family: var(--f-medium); font-size: 14px; }
.legal__label { display: inline-block; margin-bottom: 8px; }
.legal__link, .legal__link:hover { color: #000; font-size: 14px; text-decoration: underline; }
.legal__link:hover { text-decoration: none; }

/* --- Pied de page ------------------------------------------------------------ */
.site-footer { position: relative; background: var(--dark); color: #fff; font-family: var(--f-regular); font-size: 14px; line-height: 21px; }
.site-footer__inner { position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; width: var(--wide); margin: 0 auto; padding: 100px calc(15px - var(--row)); }
.site-footer__address { flex: 0 0 25%; max-width: 25%; margin-left: 8.333333%; padding: 0 15px; line-height: 30px; }
.site-footer__name { font-family: var(--f-bold); font-size: 16px; font-weight: 400; }
.site-footer__phone, .site-footer__phone:hover { font-size: 16px; color: #fff; text-decoration: none; }
.site-footer__cta { flex: 0 0 33.333333%; max-width: 33.333333%; padding: 0 15px; text-align: center; }
.site-footer__button, .site-footer__button:hover {
  position: relative;
  z-index: 6;
  display: inline-block;
  margin-top: 30px;
  padding: 28px 55px;
  background: var(--gold);
  font-size: 15px;
  line-height: 22.5px;
  color: #fff;
  text-decoration: none;
  opacity: .5;
  transition: .6s;
}
.site-footer__button:hover, .site-footer__button:focus-visible { background: #fff; color: var(--gold); opacity: 1; }
.site-footer__links { position: relative; z-index: 4; flex: 0 0 25%; max-width: 25%; margin-left: 8.333333%; padding: 0 15px; }
.site-footer__link, .site-footer__link:hover { font-size: 14px; line-height: 30px; color: #fff; text-decoration: none; }
.site-footer__link:hover, .site-footer__link:focus-visible { color: var(--gold); text-decoration: underline; }
.site-footer__fb { display: block; width: 38px; margin-top: 10px; }
.site-footer__fb img { width: 38px; height: 38px; }
.site-footer__deco {
  position: absolute;
  z-index: 3;
  top: -15px;
  left: 50%;
  width: 671px;
  height: 367px;
  background: url("../img/footer/footer-deco.png");
  transform: translate(-50%, 0);
  pointer-events: none;
}
.site-footer__credit { padding: 30px 0; background: #fff; line-height: 31px; text-align: center; }   /* hauteur de l'ancien logo de l'agence */
.site-footer__credit a, .site-footer__credit a:hover { color: #000; font-family: var(--f-regular); font-size: 14px; text-decoration: none; }
.site-footer__credit a:hover { color: var(--gold); text-decoration: underline; }
@media (max-width: 1200px) { .site-footer__deco { display: none; } }
@media (max-width: 991.98px) {
  .site-footer__address { flex-basis: 41.666667%; max-width: 41.666667%; margin-bottom: 24px; }
  .site-footer__cta { display: none; }
  .site-footer__links { flex-basis: 41.666667%; max-width: 41.666667%; margin-left: 0; text-align: right; }
}
@media (max-width: 767.98px) {
  .site-footer__address, .site-footer__links { flex-basis: 100%; max-width: 100%; margin-left: 0; text-align: left; }
  .site-footer__cta { display: block; flex-basis: 100%; max-width: 100%; margin-bottom: 48px; text-align: left; }
  .site-footer__fb { margin-left: 0; }
}

/* --- Bouton haut de page ----------------------------------------------------- */
.to-top {
  position: fixed;
  z-index: 30000;
  right: 30px;
  bottom: 92px;
  width: 60px;
  height: 60px;
  background: url("../img/top-arrow.png") center / 60px 60px no-repeat;
  opacity: 0;
  pointer-events: none;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* --- Visionneuse photos (ekko-lightbox d'origine) ---------------------------- */
.lightbox { position: fixed; z-index: 40000; inset: 0; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 28px 10px; background: rgba(0, 0, 0, .5); }
.lightbox[hidden] { display: none; }
.lightbox__dialog { position: relative; width: auto; max-width: 100%; border: 1px solid rgba(0, 0, 0, .2); border-radius: .3rem; background: #fff; }
.lightbox__header { display: flex; align-items: flex-start; justify-content: space-between; padding: 1rem; border-bottom: 1px solid #dee2e6; }
.lightbox__title { margin: 0; font-family: var(--f-system); font-size: 14px; font-weight: 500; line-height: 1.5; }
.lightbox__close { margin: -1rem -1rem -1rem auto; padding: 1rem; border: 0; background: none; font-size: 1.5rem; font-weight: 700; line-height: 1; color: #000; opacity: .5; }
.lightbox__close:hover, .lightbox__close:focus-visible { opacity: .75; }
.lightbox__body { position: relative; padding: 1rem; }
.lightbox__img { display: block; max-width: 100%; max-height: calc(100vh - 160px); }
.lightbox__nav { position: absolute; top: 50%; padding: 0 10px; border: 0; background: none; font-size: 30px; line-height: 1; color: #000; transform: translateY(-50%); }
.lightbox__nav:hover, .lightbox__nav:focus-visible { color: #d12b2f; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__nav[hidden] { display: none; }

/* --- Mouvement réduit -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
  .js .reveal { opacity: 1; }
}
