/* ==========================================================================
   [NOM DE L'ENTREPRISE] — thème clair, noir + touches d'orange
   Typo : Barlow Condensed (titres) / Inter (texte)
   ========================================================================== */

:root {
  --white: #ffffff;
  --offwhite: #f6f5f3;
  --black: #111111;
  --black-soft: #1c1c1c;
  --grey: #63636b;
  --grey-light: #8d8d94;
  --line: rgba(17, 17, 17, 0.1);
  --orange: #ff5a1f;
  --orange-deep: #d9440f;
  --orange-tint: #fff1ea;

  --font-head: "Barlow Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --max-w: 1100px;
  --pad: 22px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.04;
  margin: 0;
  color: var(--black);
}
h1 { font-size: clamp(2.4rem, 10vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 7vw, 2.5rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

p { color: var(--grey); margin: 0; }

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

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.placeholder-value { color: var(--orange-deep); }

/* ---------- Reveal-on-scroll animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 26px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease, background-color .15s ease, border-color .15s ease;
  line-height: 1;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: .92rem; }

.btn--whatsapp { background: #1f9d5a; color: #ffffff; }
.btn--whatsapp:hover { background: #188047; }

.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: var(--black-soft); }

.btn--outline { background: transparent; border-color: var(--black); color: var(--black); }
.btn--outline:hover { background: var(--black); color: #fff; }

.btn--outline-light { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn--outline-light:hover { border-color: #fff; }

.btn--ghost { background: var(--offwhite); color: var(--black); border-color: var(--line); }
.btn--ghost:hover { background: #efece7; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand { display: flex; align-items: center;}
.brand__mark { width: 40px; height: 20px; color: var(--black); flex-shrink: 0; }
.brand__name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
  white-space: nowrap;
}

.desktop-only { display: none; }

.nav-toggle {
  background: none;
  border: none;
  color: var(--black);
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 101;
}
.nav-toggle .bar {
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s ease, top .25s var(--ease);
}
.nav-toggle .bar:nth-child(1) { top: 14px; }
.nav-toggle .bar:nth-child(2) { top: 20px; }
.nav-toggle .bar:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* mobile dropdown panel (sous le header, pas plein écran) */
.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(17,17,17,0.08);
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s var(--ease);
}
.mobile-nav.is-open { max-height: 420px; }
.mobile-nav__inner { padding: 8px var(--pad) 24px; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav a {
  font-family: var(--font-head);
  font-size: 1.6rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--black);
}
.mobile-nav .btn { margin-top: 18px; }
.mobile-nav .btn {
  font-size: 18px;
  color: var(--white);
}

@media (min-width: 860px) {
  .desktop-only { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }

  nav.main-nav { display: flex; align-items: center; gap: 30px; }
  nav.main-nav a {
    font-size: .98rem;
    color: var(--grey);
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    transition: color .15s ease, border-color .15s ease;
  }
  nav.main-nav a:hover { color: var(--black); border-color: var(--orange); }

  .header-right { display: flex; align-items: center; gap: 22px; }
}

/* ---------- Hero (clair, texte en haut, pas d'espace mort) ---------- */
.hero {
  padding: 40px 0 0;
  background: linear-gradient(180deg, var(--offwhite) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero__eyebrow {
  color: var(--orange-deep);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .01em;
  margin-bottom: 10px;
}
.hero h1 { max-width: 13ch; }
.hero__lede {
  color: var(--grey);
  margin-top: 14px;
  font-size: 1.08rem;
  max-width: 40ch;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
  max-width: 360px;
}
.hero__art {
  margin-top: 34px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--black);
  aspect-ratio: 4 / 3;
}
.hero__art svg { width: 100%; height: 100%; }

.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 640px) {
  .hero__actions { flex-direction: row; max-width: none; }
}
@media (min-width: 900px) {
  .hero { padding-top: 56px; }
  .hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .hero__art { margin-top: 0; aspect-ratio: auto; height: 420px; }
}

/* ---------- Section shells ---------- */
section { padding: 64px 0; }
.section--offwhite { background: var(--offwhite); }
.section--dark { background: var(--black); color: #fff; }
.section--dark h2 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.65); }
.section-head { margin-bottom: 32px; }
.section-head p { margin-top: 10px; max-width: 42ch; }
.hairline {
  height: 3px;
  width: 42px;
  background: var(--orange);
  margin-bottom: 16px;
  border: none;
  border-radius: 2px;
}

/* ---------- Services ---------- */
.services-list {
  display: grid;
  gap: 0;
}
.service-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.services-list .service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row__icon {
  color: var(--orange);
  width: 44px; height: 44px;
  background: var(--orange-tint);
  border-radius: 50%;
  padding: 10px;
}
.service-row h3 { margin-bottom: 5px; }
.service-row p { font-size: .96rem; }

@media (min-width: 860px) {
  .services-list { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .service-row { grid-template-columns: 1fr; border-top: none; border-bottom: none; padding: 0; }
  .services-list .service-row:last-child { border-bottom: none; }
}

/* ---------- Tags (ce que nous groupons) ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.tag {
  font-size: .9rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--offwhite);
  border: 1px solid var(--line);
  color: var(--black);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}
.tag:hover { border-color: var(--orange); }
.tag:active { transform: scale(0.96); }
.tag--accent { background: var(--orange-tint); border-color: transparent; color: var(--orange-deep); }

/* ---------- Galerie photo : slider avec flèches + points ---------- */
.gallery-slider {
  position: relative;
  margin-top: 8px;
}
.gallery-slider__viewport {
  overflow: hidden;
  border-radius: 8px;
  background: var(--offwhite);
}
.gallery-slider__track {
  display: flex;
  transition: transform .4s var(--ease);
}
.gallery-slider__slide {
  flex: 0 0 100%;
  aspect-ratio: 4 / 3;
}
.gallery-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  display: block;
}
.gallery-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(17,17,17,0.55);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .15s ease;
}
.gallery-slider__arrow:hover { background: rgba(17,17,17,0.8); }
.gallery-slider__arrow--prev { left: 10px; }
.gallery-slider__arrow--next { right: 10px; }

.gallery-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.gallery-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  padding: 0;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.gallery-dots button.is-active {
  background: var(--orange);
  transform: scale(1.3);
}

/* ---------- Lightbox (photo agrandie) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10,10,10,0.94);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}
.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
}
.lightbox__arrow--prev { left: 14px; }
.lightbox__arrow--next { right: 14px; }
@media (min-width: 640px) {
  .lightbox__arrow--prev { left: 30px; }
  .lightbox__arrow--next { right: 30px; }
}

/* ---------- Étapes (processus, compact) ---------- */
.steps-mini {
  display: grid;
  gap: 0;
  margin-top: 8px;
}
.step-mini {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.steps-mini .step-mini:last-child { border-bottom: 1px solid var(--line); }
.step-mini__num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--orange);
  font-weight: 700;
}
.step-mini h3 { font-size: 1.1rem; margin-bottom: 3px; }
.step-mini p { font-size: .93rem; }

@media (min-width: 860px) {
  .steps-mini { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .step-mini { grid-template-columns: 1fr; border: none; padding: 0; }
  .steps-mini .step-mini:last-child { border: none; }
}

/* ---------- Trajet (départ / arrivée) ---------- */
.route-grid {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}
.route-card {
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
}
.route-card__label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 8px;
}
.route-card__place { font-family: var(--font-head); font-size: 1.15rem; color: var(--black); }
.route-freq {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--black);
  color: #fff;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 600;
}
@media (min-width: 700px) {
  .route-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Visual band (image sombre pleine largeur) ---------- */
.visual-band {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
  border-radius: 0;
}
.visual-band__art { position: absolute; inset: 0; z-index: 0; }
.visual-band__art svg { width: 100%; height: 100%; }
.visual-band__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(17,17,17,0.05) 30%, rgba(17,17,17,0.9) 100%);
}
.visual-band__content { position: relative; z-index: 2; padding: 0 var(--pad) 36px; }
.visual-band h2 { max-width: 16ch; color: #fff; }

/* ---------- About ---------- */
.about-block p { color: var(--grey); font-size: 1.02rem; max-width: 58ch; }
.about-facts {
  margin-top: 26px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.about-fact {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.about-fact dt { color: var(--grey-light); margin: 0; }
.about-fact dd { margin: 0; color: var(--black); font-weight: 600; text-align: right; }

/* ---------- Contact ---------- */
.contact-lines { display: grid; gap: 12px; margin: 24px 0 28px; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 1.02rem;
}
.contact-line span.icon { font-size: 1.1rem; }
.contact-line a { color: var(--black); word-break: break-word; }

.contact-actions { display: grid; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 24px;
}
.site-footer .brand__mark { color: #fff; }
.site-footer .brand__name { color: #fff; }
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 24px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .88rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
  font-size: .8rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

@media (min-width: 640px) {
  .footer-top { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1f9d5a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(17,17,17,0.25);
  transform: translateY(0);
  transition: transform .3s var(--ease), opacity .3s ease;
  animation: wa-pop .5s var(--ease) .4s backwards;
}
.wa-float:hover { transform: translateY(-3px); }

@keyframes wa-pop {
  from { opacity: 0; transform: translateY(16px) scale(.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Legal pages ---------- */
.legal-content h2 { font-size: 1.4rem; margin-top: 2em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--grey); max-width: 68ch; font-size: .98rem; }
.page-intro { padding: 42px 0 6px; background: var(--offwhite); }
.page-intro h1 { font-size: clamp(2rem, 8vw, 2.4rem); }
.breadcrumb { color: var(--grey-light); font-size: .85rem; margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--black); }
