*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: #09002D;
  color: #e8e8f0;
}

/* ── Navbar ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem max(2rem, calc((100% - 960px) / 2));
  background: #09002D;
}

.nav-logo img {
  height: 42px;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #c8c8d8;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.nav-links a:hover { color: #ffffff; }

.lang-switch {
  display: flex;
  background: #1a1040;
  border: 1px solid #2a2050;
  border-radius: 6px;
  overflow: hidden;
}

.lang-switch a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #6060a0;
  padding: 0.3rem 0.65rem;
  transition: color 0.2s, background 0.2s;
}

.lang-switch a:hover { color: #c8c8d8; }

.lang-switch a.active {
  background: #a78bfa;
  color: #09002D;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #c8c8d8;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

nav.open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .hamburger span:nth-child(2) { opacity: 0; }
nav.open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 56px);
  background-image: url('heroes-fenua.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(9, 0, 45, 0.25);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-logo {
  width: min(260px, 40vw);
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5));
  animation: fadeInDown 1.8s ease both;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tagline {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tagline-en {
  font-size: clamp(1.26rem, 2.7vw, 1.62rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.tagline-fr {
  font-size: clamp(1.17rem, 2.34vw, 1.48rem);
  font-style: italic;
  letter-spacing: 0.05em;
  color: #d8d8e8;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* ── Sections ── */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #1e1e3a;
}

section p {
  color: #b0b0c8;
  line-height: 1.75;
  font-size: 0.95rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #1e1e3a;
}

.about-contact a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #c0c0d8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.about-contact a:hover { color: #a78bfa; }

.about-contact svg { flex-shrink: 0; }

.about-map {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2a2050;
  height: 320px;
}

.about-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  filter: invert(0.9) hue-rotate(180deg);
}

/* Service rows */
.service-rows {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-info h3::before {
  content: '';
  display: block;
  width: 2rem;
  height: 3px;
  background: #a78bfa;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.service-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 12px;
  border: 1px solid #2a2050;
  overflow: hidden;
  position: relative;
  background: #10082a;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(90, 50, 180, 0);
  transition: background 0.4s ease;
}

.service-img-wrap:hover img { transform: scale(1.06); }
.service-img-wrap:hover::after { background: rgba(90, 50, 180, 0.18); }

.service-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #e0e0f0;
  margin-bottom: 0.85rem;
}

.service-info p + p { margin-top: 0.5rem; }

.service-other {
  border-top: 1px solid #1e1e3a;
  padding-top: 2rem;
}

.service-other h3 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #e0e0f0;
  margin-bottom: 1rem;
}

.service-other ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.5rem 2rem;
}

.service-other li {
  display: flex;
  gap: 0.6rem;
  color: #b0b0c8;
  font-size: 0.88rem;
  line-height: 1.5;
}

.service-other li::before {
  content: '—';
  color: #a78bfa;
  flex-shrink: 0;
}

/* Suppliers marquee */
.suppliers {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.suppliers:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-track img {
  height: 52px;
  width: auto;
  margin: 0 1.875rem;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.marquee-track img:hover { opacity: 1; }

/* Gallery */
.gallery-masonry {
  columns: 4;
  column-gap: 0.6rem;
}

.gallery-masonry img {
  width: 100%;
  display: block;
  margin-bottom: 0.6rem;
  border-radius: 8px;
  border: 1px solid #2a2050;
  break-inside: avoid;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-masonry img:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

@media (max-width: 900px) {
  .gallery-masonry { columns: 3; }
}

@media (max-width: 600px) {
  .gallery-masonry { columns: 2; }
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-intro {
  color: #b0b0c8;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #c0c0d8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.contact-detail:hover { color: #a78bfa; }

.contact-detail svg { flex-shrink: 0; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: #10082a;
  border: 1px solid #2a2050;
  border-radius: 14px;
  padding: 1.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #8080a8;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background: #09002D;
  border: 1px solid #2a2050;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  color: #e8e8f0;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus { border-color: #a78bfa; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: #404060; }

.form-submit {
  background: #a78bfa;
  color: #09002D;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.form-submit:hover { background: #c4b0fc; }
.form-submit:active { transform: scale(0.98); }

.form-status {
  font-size: 0.82rem;
  text-align: center;
  color: #a78bfa;
  min-height: 1.2em;
}

@media (max-width: 640px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #a78bfa;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover { background: #c4b0fc; }

.back-to-top svg { display: block; }

/* ── Footer ── */
footer {
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: 0.78rem;
  color: #404060;
  border-top: 1px solid #1a1040;
}

@media (max-width: 768px) {
  .service-row {
    grid-template-columns: 1fr;
  }
}

/* ── Mobile ── */
@media (max-width: 640px) {
  nav {
    flex-wrap: wrap;
    padding: 0.8rem 1.2rem;
    gap: 0;
  }

  .nav-logo { flex: 1; }

  .hamburger { display: flex; }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 98;
  }

  nav.open ~ .nav-overlay { display: block; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: fit-content;
    background: #0d0535;
    border-left: 1px solid #1e1e3a;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    padding: 5rem 1.5rem 2rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 99;
  }

  nav.open .nav-links { transform: translateX(0); }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    width: 100%;
    text-align: right;
    font-size: 0.9rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #14103a;
  }

  .hero {
    background-image: url('hero-m.jpg');
  }

  .about-grid { grid-template-columns: 1fr; }

  .about-map { height: 240px; }
}
