/* ============================================================
   Made by : BoostMySocialBE
   AJM MENUISERIE - style.css
   Palette : Bleu royal #1a2aff / Bleu nuit #0a0f2c / Noir #05070f / Blanc
   Typos : Bebas Neue & Barlow Condensed;
   ============================================================ */

/* -- Polices locales -- */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/bebas-neue-v16-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/barlow-condensed-v13-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/barlow-condensed-v13-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/barlow-condensed-v13-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/barlow-condensed-v13-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/barlow-v13-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/barlow-v13-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/barlow-v13-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/barlow-v13-latin-700.woff2') format('woff2');
}

/* -- Variables -- */
:root {
  --blue:        #1e35e8;
  --blue-light:  #3d57ff;
  --blue-dark:   #0d1a8a;
  --night:       #050c1f;
  --night-2:     #0a1330;
  --black:       #04060e;
  --white:       #ffffff;
  --grey-light:  #f4f5f8;
  --grey:        #b0b8cc;
  --text:        #1a1f35;
  --text-light:  #5a6280;

  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 4px 24px rgba(0,0,0,.12);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.18);

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --nav-h: 72px;
}

/* -- Reset & Base -- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 18px;
}
body {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
input, textarea, select, button {
  font-family: inherit;
}

/* -- Utilities -- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--night);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 10px;
}
.section-title.left {
  text-align: left;
}
.section-header {
  text-align: center;
  margin-bottom: 36px;
}
.section-desc {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.05rem;
}

/* -- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,53,232,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}
.btn-full {
  width: 100%;
  justify-content: center;
}

/* -- Scroll Animations -- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.animate-from-left {
  opacity: 0;
  transform: translateX(-400px);
  transition: opacity .7s ease, transform .7s ease;
}
.animate-from-right {
  opacity: 0;
  transform: translateX(400px);
  transition: opacity .7s ease, transform .7s ease;
}
.animate-from-left.animated,
.animate-from-right.animated {
  opacity: 1;
  transform: none;
}
.animate-on-scroll.delay-1 {
  transition-delay: .1s;
}
.animate-on-scroll.delay-2 {
  transition-delay: .2s;
}
.animate-on-scroll.delay-3 {
  transition-delay: .3s;
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: none;
}

/* -----------------------------------------
   HEADER / NAV
----------------------------------------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(5, 12, 31, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  background: rgba(5, 12, 31, 0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
}
.nav-logo-text em {
  font-style: normal;
  color: var(--blue-light);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.nav-link.active {
  color: var(--white);
}
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px;
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30,53,232,.4);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* -----------------------------------------
   HERO
----------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--night);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/menuiserie-sur-mesure-luxembourg.webp');
  background-size: cover;
  background-position: center;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

/* Subtle wood grain texture */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      92deg,
      transparent 0px,
      transparent 18px,
      rgba(255,255,255,.07) 18px,
      rgba(255,255,255,.07) 19px
    ),
    repeating-linear-gradient(
      2deg,
      transparent 0px,
      transparent 40px,
      rgba(255,255,255,.008) 40px,
      rgba(255,255,255,.008) 41px
    );
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4,6,14,.8);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 40px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(30,53,232,.2);
  border: 1px solid rgba(30,53,232,.5);
  color: #7d9dff;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeSlideDown .8s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  animation: blink 2s ease infinite;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title-line {
  display: block;
}

.hero-title .accent {
  color: var(--blue-light);
}

.hero-subtitle {
  max-width: 520px;
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 40px;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  justify-content: center;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 20px 36px;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,.05);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
}

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  animation: fadeIn 1s ease 1s both;
}
.hero-scroll-hint span {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: rgba(255,255,255,.4);
  font-family: var(--font-head);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollAnim 2s ease infinite;
}

.hero-morph-wrap {
  display: inline-block;
  position: relative;
}
.hero-morph {
  color: var(--blue-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  display: inline-block;
  transition: opacity .4s ease, transform .4s ease;
}
.hero-morph.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}
.hero-morph.fade-in {
  opacity: 1;
  transform: none;
}

/* -----------------------------------------
   SERVICES
----------------------------------------- */
.services {
  background: var(--grey-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-large {
  grid-column: span 2;
  min-height: 340px;
}
.bento-small {
  grid-column: span 1;
  min-height: 260px;
}

.services-grid .service-card:nth-child(1) {
  background-image: url('assets/images/service_chassis.webp');
}
.services-grid .service-card:nth-child(2) {
  background-image: url('assets/images/service_interieur.webp');
}
.services-grid .service-card:nth-child(3) {
  background-image: url('assets/images/service_escaliers.webp');
}
.services-grid .service-card:nth-child(4) {
  background-image: url('assets/images/service_bardage.webp');
}
.services-grid .service-card:nth-child(5) {
  background-image: url('assets/images/service_terrasse.webp');
}
.services-grid .service-card:nth-child(6) {
  background-image: url('assets/images/service_porte.webp');
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: default;
  opacity: 0;
  transform: translateY(24px);

  /* Image de fond via variable CSS */
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  background-color: var(--night-2); /* fallback sans image */
  transition: transform .4s ease, box-shadow .4s ease;
}
.service-card.visible {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s ease, box-shadow .4s ease;
}
.service-card:hover {
  transform: translateY(-4px) scale(1.01) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,.35);
}

/* Overlay dégradé sur chaque carte */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,12,31,.92) 0%, rgba(5,12,31,.45) 55%, rgba(5,12,31,.2) 100%);
  transition: background .4s ease;
  z-index: 1;
}
.service-card:hover::before {
  background: linear-gradient(to top, rgba(5,12,31,.96) 0%, rgba(5,12,31,.55) 55%, rgba(5,12,31,.25) 100%);
}

.service-card-inner {
  position: relative;
  z-index: 2;
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(30,53,232,.3);
  border: 1px solid rgba(30,53,232,.5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 4px;
  transition: var(--transition);
}
.service-icon svg {
  width: 24px;
  height: 24px;
}
.service-card:hover .service-icon {
  background: var(--blue);
  border-color: var(--blue);
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--white);
}
.service-card p {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  line-height: 1.6;
  max-width: 420px;
}

/* -----------------------------------------
   RÉALISATIONS
----------------------------------------- */
.realisations {
  background-image:
  	linear-gradient(rgba(255,255,255,.95), rgba(255,255,255,.95)),
  	url('assets/images/texture-bois-1.webp');
}

.realisations-cta {
  text-align: center;
  margin-top: 48px;
}

.gallery-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  background: transparent;
  border: 2px solid rgba(0,0,0,.12);
  color: var(--text-light);
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.gallery-item.hidden {
  display: none;
}

.gallery-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--night-2);
  overflow: hidden;
}
.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}

/* Placeholder when no image */
.gallery-img-wrap.placeholder {
  background: linear-gradient(135deg, var(--night-2) 0%, #1a2560 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-img-wrap.placeholder::after {
  content: '📷 Photo à venir';
  color: rgba(255,255,255,.35);
  font-family: var(--font-head);
  font-size: .85rem;
  letter-spacing: .06em;
}
.gallery-img-wrap.placeholder img {
  display: none;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,12,31,.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay span {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
}

.gallery-note {
  text-align: center;
  margin-top: 40px;
  color: var(--text-light);
  font-size: .9rem;
}
.gallery-note code {
  background: var(--grey-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: .82rem;
  color: var(--blue-dark);
}

/* -----------------------------------------
   À PROPOS
----------------------------------------- */
.apropos {
  background: var(--night);
}
.apropos .section-tag {
  color: #7d9dff;
}
.apropos .section-title {
  color: var(--white);
}
.apropos p {
  color: rgba(255,255,255,.65);
  line-height: 1.8;
  margin-bottom: 16px;
}
.apropos p strong {
  color: var(--white);
}

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

.apropos-visual {
  position: relative;
}

.apropos-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.apropos-img-frame img {
  width: 100%;
  object-fit: cover;
}

.apropos-accent-block {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.accent-big {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: .04em;
}
.accent-sub {
  font-family: var(--font-head);
  font-size: .75rem;
  color: rgba(255,255,255,.75);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.apropos-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0 36px;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.value-icon {
  color: var(--blue-light);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.value-item strong {
  display: block;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}
.value-item span {
  color: rgba(255,255,255,.55);
  font-size: .9rem;
}

/* -----------------------------------------
   ZONE D'ACTIVITÉ
----------------------------------------- */
.zone {
  background-image:
  	linear-gradient(rgba(255,255,255,.95), rgba(255,255,255,.95)),
  	url('assets/images/texture-bois-1.webp');
}

.zone-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.zone-map {
  position: relative;
  z-index: 1;
}

.zone-map::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: rgba(30,53,232,.07);
  opacity: 0.5;
  transform: translate(20px, 20px);
  z-index: -1;
}

.zone-map > div {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.zone-intro {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 28px;
}

.zone-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.zone-city {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--night);
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.07);
  transition: var(--transition);
}
.zone-city:hover {
  border-color: rgba(30,53,232,.3);
  color: var(--blue);
  transform: translateX(4px);
}
.zone-city svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
  flex-shrink: 0;
}

.zone-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(30,53,232,.07);
  border: 1px solid rgba(30,53,232,.2);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--blue-dark);
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 28px;
}
.zone-note svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue);
}

#map {
  height: 420px;
  border-radius: var(--radius-lg);
}

/* -----------------------------------------
   CONTACT
----------------------------------------- */
.contact {
  background: var(--grey-light);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
}
.contact-info .section-title {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.contact-info > p {
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 100%;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.07);
  transition: var(--transition);
  color: var(--text);
  min-width:0;
}
.contact-item:hover {
  border-color: rgba(30,53,232,.3);
  box-shadow: 0 4px 16px rgba(30,53,232,.1);
  transform: translateX(4px);
}
.contact-item-icon {
  width: 42px;
  height: 42px;
  background: rgba(30,53,232,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-item-icon svg {
  width: 18px;
  height: 18px;
}
.contact-item > div:not(.contact-item-icon) {
  min-width: 0;
  flex: 1;
}
.contact-item-label {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-light);
  margin-bottom: 2px;
}
.contact-item-value {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--night);
  word-break: break-word;
  overflow-wrap: break-word;
}
/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow);
  transition: background var(--transition), border-color var(--transition), opacity .7s ease, transform .7s ease;
  display: flex;
  flex-direction: column;
}
.contact-form-wrap.submitted {
  background: rgba(34,197,94,.06);
  border-color: rgba(34,197,94,.35);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}
.contact-form.submitted {
  justify-content: center;
  align-items: center;
}
.cf-turnstile {
  max-width: 100%;
  overflow: hidden;
}
.cf-turnstile iframe {
  max-width: 100% !important;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: var(--grey-light);
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(30,53,232,.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Masque les champs du formulaire une fois envoyé */
.contact-form.submitted > *:not(.form-success) {
  display: none;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 20px 10px;
}
.form-success.show {
  display: flex;
}
.form-success svg {
  color: #22c55e;
  flex-shrink: 0;
}
.form-success p {
  color: #166534;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 340px;
}

.form-required-note {
  font-size: .8rem;
  color: var(--text-light);
  text-align: center;
}
.form-required-note a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  transition: color var(--transition);
}
.form-required-note a:hover {
  color: var(--blue-light);
}
.turnstile-note {
  font-size: .78rem;
  color: var(--text-light);
  text-align: justify;
  margin-bottom: -12px;
}

/* -----------------------------------------
   BOUTON APPEL FLOTTANT (MOBILE)
----------------------------------------- */
.mobile-call-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(30,53,232,.4);
  z-index: 999;
  animation: callPulse 2.5s ease infinite;
}
.mobile-call-btn svg {
  width: 24px;
  height: 24px;
}
.mobile-call-btn:active {
  transform: scale(0.92);
}

@keyframes callPulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(30,53,232,.4), 0 0 0 0 rgba(30,53,232,.4);
  }
  50% {
    box-shadow: 0 8px 24px rgba(30,53,232,.4), 0 0 0 10px rgba(30,53,232,0);
  }
}

/* -----------------------------------------
   PAGE MENTIONS LÉGALES
----------------------------------------- */
.mentions-hero {
  background: var(--night);
  padding: calc(var(--nav-h) + 60px) 24px 60px;
  text-align: center;
}
.mentions-hero .section-tag {
  color: #7d9dff;
}
.mentions-hero .section-title {
  color: var(--white);
  margin-bottom: 0;
}

.mentions-body {
  background: var(--grey-light);
  padding: 80px 0 100px;
}

.mentions-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mentions-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow);
}

.mentions-block h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--night);
  margin-bottom: 18px;
}
.mentions-block h2 .num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mentions-block p {
  color: var(--text-light);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 12px;
}
.mentions-block p:last-child {
  margin-bottom: 0;
}
.mentions-block p strong {
  color: var(--text);
}
.mentions-block a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mentions-block a:hover {
  color: var(--blue-light);
}

.mentions-block ul {
  margin: 4px 0 16px 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mentions-block ul li {
  position: relative;
  padding-left: 20px;
  color: var(--text-light);
  font-size: .95rem;
  line-height: 1.6;
}
.mentions-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.mentions-back {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

/* -----------------------------------------
   FOOTER
----------------------------------------- */
.footer {
  background: var(--black);
  padding: 64px 0 0;
}

.footer-col-title {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}
.footer-logo p {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  line-height: 1.7;
}

.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a, .footer-contact a {
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-links a:hover, .footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p {
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  letter-spacing: .02em;
  line-height: 1.8;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-contact-item:hover {
  color: var(--white);
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: .7;
}

.footer-legal-info {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-legal-info p {
  color: rgba(255,255,255,.65);
  font-size: .8rem;
  line-height: 1.5;
}

.footer-bottom a {
  color: rgba(255,255,255,.7);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.footer-bottom a:hover {
  color: var(--white);
}

/* -- Animations -- */
@keyframes fadeSlideDown {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeSlideUp {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .3;
  }
}
@keyframes scrollAnim {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* -----------------------------------------
   MEDIA QUERIES
----------------------------------------- */
@media (max-width: 1100px) {
  .hero-actions {
    margin-bottom: 36px;
  }
  .hero-title {
    font-size: clamp(2.4rem, 5vw, 5.5rem);
  }
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-large {
    grid-column: span 2;
  }
  .bento-small {
    grid-column: span 1;
  }
  .apropos-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .apropos-visual {
    order: -1;
  }
  .zone-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .animate-from-left,
  .animate-from-right {
    transform: translateY(24px);
  }
}

@media (max-width: 860px) {
  .burger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(5,12,31,.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 32px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: all;
  }
  .nav-link {
    padding: 10px 16px;
    border-radius: var(--radius);
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 32px;
    text-align: center;
    justify-content: center;
  }
  .mobile-call-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .section-pad {
    padding: 70px 0;
  }
  .hero-stats {
    gap: 20px;
  }
  .stat-num {
    font-size: 1.2rem;
  }
  .apropos-accent-block {
    right: 0;
    bottom: -16px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .mentions-block {
    padding: 26px 22px;
  }
  .mentions-block h2 {
    font-size: 1.15rem;
  }
  .hero-scroll-hint {
    display: none;
  }
  .hero-actions {
    margin-bottom: 32px;
  }
}

@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .bento-large, .bento-small {
    grid-column: span 1;
    min-height: 220px;
  }
}

@media (max-width: 540px) {
  .contact-form-wrap {
    padding: 28px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}