:root {
  --ink: #14100c;
  --paper: #fbf9f6;
  --bronze-1: #123817;
  --bronze-2: #0F380F;
  --bronze-3: #8fc498;
  --terracotta: #0F380F;
  --terracotta-dark: #081f08;
  --radius: 6px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

h1 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
  transition: background 0.2s ease;
}
.btn-primary:hover {
  background: var(--terracotta-dark);
}
.btn-sm {
  padding: 11px 22px;
  font-size: 14px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  padding: 0 24px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  height: 88px;
  padding: 0 24px;
  overflow: visible;
  justify-content: flex-start;
  background: rgba(251,249,246,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(20,16,12,0.08);
}
.logo {
  height: 153px;
  width: auto;
  transition: filter 0.3s ease;
}
.site-header.is-scrolled .logo {
  height: 108px;
  filter: invert(1);
}

/* Instagram icon: same look as the old footer button, shown next to the logo
   only once the compact scrolled header is visible */
.header-brand {
  display: flex;
  align-items: center;
  gap: 0;
  transition: gap 0.3s ease;
}
.site-header.is-scrolled .header-brand {
  gap: 14px;
}
.header-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0;
  height: 36px;
  border-radius: 50%;
  background: rgba(20,16,12,0.06);
  color: #8a8378;
  opacity: 0;
  overflow: hidden;
  flex-shrink: 0;
  pointer-events: none;
  transition: width 0.3s ease, opacity 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.header-instagram:hover {
  color: #fff;
  background: var(--terracotta);
  transform: translateY(-2px);
}
.header-instagram svg { width: 18px; height: 18px; flex-shrink: 0; }
.site-header.is-scrolled .header-instagram {
  width: 36px;
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 640px) {
  .site-header.is-scrolled .header-instagram { width: 28px; height: 28px; }
  .header-instagram svg { width: 14px; height: 14px; }
  .site-header { height: 200px; padding: 0 16px; }
  .logo { height: 144px; }
  .site-header.is-scrolled .logo { height: 82px; }
  .site-header.is-scrolled .header-brand { gap: 8px; }
}

.header-actions {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
/* Specialty pages: the CTA is a direct child of the header (no nav/hamburger) — pin it to the right and keep it compact */
.site-header.is-scrolled > .header-cta {
  margin-left: auto;
  padding: 10px 20px;
  font-size: 13px;
}
.site-header.is-scrolled .header-actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-nav {
  position: absolute;
  left: calc(50% - 30px);
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  display: none;
  align-items: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.header-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--terracotta);
  white-space: nowrap;
}
.header-nav a:hover {
  color: var(--terracotta-dark);
}
.header-nav a.is-active {
  color: var(--terracotta-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-header.is-scrolled .header-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

@media (min-width: 860px) {
  .header-nav { display: flex; }
  .nav-toggle { display: none; }
}
/* Specialty pages: 5 tabs need more room than the homepage's 4 — keep the
   hamburger menu until there's enough width for the tabs to fit without
   crowding the logo/CTA. */
@media (min-width: 860px) and (max-width: 1499px) {
  .site-header.has-services-nav .nav-toggle { display: flex; }
}
@media (min-width: 1500px) {
  .site-header.has-services-nav .header-nav { display: flex; }
  .site-header.has-services-nav .nav-toggle { display: none; }
}

@media (max-width: 859px) {
  .header-nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    transform: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--paper);
    padding: 0 24px;
    box-shadow: 0 12px 24px rgba(20,16,12,0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    pointer-events: auto;
    z-index: 5;
    transition: max-height 0.25s ease, padding 0.25s ease;
  }
  /* Beats .site-header.is-scrolled .header-nav's transform (same specificity, later in source) */
  .site-header.is-scrolled .header-nav {
    top: 100%;
    transform: none;
  }
  .header-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #e6e1d8;
  }
  .header-nav.is-open {
    max-height: 300px;
    padding: 8px 24px 20px;
  }
}

/* Same dropdown behavior as above, extended for specialty pages' wider hamburger range */
@media (min-width: 860px) and (max-width: 1499px) {
  .site-header.has-services-nav .header-nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    transform: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--paper);
    padding: 0 24px;
    box-shadow: 0 12px 24px rgba(20,16,12,0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    pointer-events: auto;
    z-index: 5;
    transition: max-height 0.25s ease, padding 0.25s ease;
  }
  .site-header.has-services-nav .header-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #e6e1d8;
  }
  .site-header.has-services-nav .header-nav.is-open {
    max-height: 340px;
    padding: 8px 24px 20px;
  }
}

@media (max-width: 640px) {
  .header-actions { right: 12px; gap: 12px; }
  .header-cta .btn-sm { padding: 9px 16px; font-size: 13px; }
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease, transform 8s ease;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(20,16,12,0.55) 0%, rgba(20,16,12,0.35) 45%, rgba(20,16,12,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  color: #fff;
}

.hero h1 {
  font-size: clamp(34px, 5.6vw, 58px);
  margin-bottom: 22px;
}

.hero-content .btn-primary {
  align-self: center;
}

.hero .lead {
  font-size: 19px;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-dot.is-active {
  background: var(--bronze-3);
  transform: scale(1.3);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(20,16,12,0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.hero-arrow:hover {
  background: rgba(20,16,12,0.55);
  border-color: #fff;
}
.hero-arrow svg { width: 22px; height: 22px; }
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

@media (max-width: 640px) {
  .hero-arrow { width: 38px; height: 38px; }
  .hero-arrow-prev { left: 12px; }
  .hero-arrow-next { right: 12px; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .hero .lead { font-size: 17px; }
}

/* Services — horizontal scrolling blocks */
.services {
  padding: 100px 0 24px;
  background: var(--paper);
}

.services-head {
  max-width: 680px;
  margin: 0 auto 44px;
  padding: 0 24px;
}
.services-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.services-carousel {
  position: relative;
}

.services-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 24px;
  padding: 0 24px 8px;
  scrollbar-width: none;
}
.services-scroll::-webkit-scrollbar { display: none; }

.service-card {
  position: relative;
  flex: 0 0 auto;
  width: 78vw;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  scroll-snap-align: start;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 18px 40px rgba(20,16,12,0.18);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,16,12,0) 45%, rgba(20,16,12,0.8) 100%);
}
.service-card-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 24px;
}

.services-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e6e1d8;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.services-arrow:hover {
  border-color: var(--bronze-2);
  background: var(--paper-soft, #f2efe9);
}
.services-arrow svg { width: 20px; height: 20px; }

.services-arrow-side {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 2;
  box-shadow: 0 6px 18px rgba(20,16,12,0.2);
}
.services-arrow-prev { left: 4px; }
.services-arrow-next { right: 4px; }

@media (min-width: 640px) {
  .services-arrow-prev { left: 12px; }
  .services-arrow-next { right: 12px; }
}

@media (min-width: 900px) {
  .service-card { width: 30%; }
}

/* About — text left, video right */
/* Video-only block */
.video-block {
  padding: 90px 24px;
  background: var(--paper);
}
.video-block-inner {
  max-width: 960px;
  margin: 0 auto;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 18px 40px rgba(20,16,12,0.2);
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 640px) {
  .video-block { padding: 0; }
  .video-frame { aspect-ratio: 16 / 10; border-radius: 0; }
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: none;
  background: var(--terracotta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.video-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.video-play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-frame.is-playing .video-play {
  opacity: 0;
  pointer-events: none;
}

/* 3D model viewer (about/CTA block) — floats directly on the section's main background */
.model-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
}
.model-frame model-viewer {
  width: 100%;
  height: 100%;
  display: block;
  --poster-color: transparent;
}
.model-hint {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  background: rgba(20,16,12,0.55);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  pointer-events: none;
  animation: model-hint-fade 5s ease forwards;
}
@keyframes model-hint-fade {
  0%, 60% { opacity: 1; }
  100% { opacity: 0; }
}
@media (max-width: 640px) {
  .model-frame { aspect-ratio: 4 / 3; }
  .model-hint { font-size: 11px; padding: 5px 12px; }
}

/* About — 3 points, homepage */
.about {
  padding: 90px 24px 90px;
  background: var(--paper);
}
.about-head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}
.about-head .eyebrow { text-align: center; font-size: 11px; }
.about-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Points: photo + title only — full text revealed as a bubble over the photo on hover/tap (all formats) */
.about .page-point {
  position: relative;
}
.about .page-point-bubble {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  cursor: pointer;
}
.about .page-point-bubble::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--terracotta);
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .about .page-point-bubble::after {
    animation: about-bubble-pulse 2.6s ease-out infinite;
  }
  .about .page-point:nth-child(2) .page-point-bubble::after { animation-delay: 0.35s; }
  .about .page-point:nth-child(3) .page-point-bubble::after { animation-delay: 0.7s; }
}
.about .page-point.is-open .page-point-bubble::after {
  animation-play-state: paused;
  opacity: 0;
}
@media (hover: hover) {
  .about .page-point-bubble:hover::after {
    animation-play-state: paused;
    opacity: 0;
  }
}
@keyframes about-bubble-pulse {
  0% { transform: scale(0.94); opacity: 0.6; }
  70% { transform: scale(1.14); opacity: 0; }
  100% { transform: scale(1.14); opacity: 0; }
}
.about .page-point p {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translate(-50%, 0) scale(0.94);
  transform-origin: top center;
  width: max-content;
  min-width: 240px;
  max-width: 340px;
  margin: 0;
  background: var(--terracotta);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  padding: 16px 18px;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(20,16,12,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 30;
}
.about .page-point:first-child p {
  left: 0;
  transform: translate(0, 0) scale(0.94);
  transform-origin: top left;
}
.about .page-point:last-child p {
  left: auto;
  right: 0;
  transform: translate(0, 0) scale(0.94);
  transform-origin: top right;
}
.about .page-point.is-open p {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}
.about .page-point:first-child.is-open p {
  transform: translate(0, 0) scale(1);
}
.about .page-point:last-child.is-open p {
  transform: translate(0, 0) scale(1);
}
@media (hover: hover) {
  .about .page-point-bubble:hover ~ p {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
  }
  .about .page-point:first-child .page-point-bubble:hover ~ p {
    transform: translate(0, 0) scale(1);
  }
  .about .page-point:last-child .page-point-bubble:hover ~ p {
    transform: translate(0, 0) scale(1);
  }
}

@media (max-width: 640px) {
  .partners { padding: 24px 0 16px; }
  .partners-head .eyebrow { font-size: 9px; }
  .about { padding-top: 28px; }
  .about-head { margin-bottom: 24px; }
  .about-head .eyebrow { font-size: 10px; margin-bottom: 10px; }
  .about .page-point h3 { text-align: center; }
  .about .page-points-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .about .page-point-bubble {
    width: 92px;
    height: 92px;
    margin: 0 auto 12px;
    border-width: 3px;
  }
  .about .page-point h3 {
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 0;
  }
  .about .page-point p {
    min-width: 190px;
    max-width: 80vw;
    font-size: 12px;
    line-height: 1.45;
    padding: 14px 16px;
  }
}
/* Partners marquee */
.partners {
  padding: 40px 0 32px;
  background: var(--paper);
  overflow: hidden;
}
.partners-head {
  text-align: center;
  margin-bottom: 28px;
  padding: 0 24px;
}
.partners-head .eyebrow { margin-bottom: 0; font-size: 11px; }
.partners-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.partners-track {
  display: flex;
  align-items: center;
  gap: 96px;
  width: max-content;
  animation: partners-scroll 18s linear infinite;
}
.partner-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}
.partner-logo-audebert {
  height: 107px;
}
.partner-logo-karukera {
  height: 41px;
}
.partner-logo-card {
  height: 56px;
  border-radius: 8px;
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
}

/* Reviews */
.reviews {
  padding: 90px 24px 110px;
  background: var(--paper);
}
.reviews-head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}
.reviews-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.reviews .eyebrow { text-align: center; }

.reviews-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.review-card {
  background: var(--paper-soft, #f2efe9);
  border-radius: var(--radius);
  padding: 32px;
}
.review-stars {
  color: var(--terracotta);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.review-quote {
  font-size: 15px;
  line-height: 1.6;
  color: #3d3830;
  margin: 0 0 24px;
}
.review-author { display: flex; flex-direction: column; gap: 2px; }
.review-name { font-size: 14px; font-weight: 700; }
.review-location { font-size: 13px; color: #6f665c; }

@media (min-width: 700px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 699px) {
  .reviews-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .review-card {
    flex: 0 0 86%;
    scroll-snap-align: center;
  }
}

/* Specialty pages (e.g. charpente.html) */
.page-hero {
  position: relative;
  height: 60svh;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.page-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,16,12,0.45) 0%, rgba(20,16,12,0.35) 40%, rgba(20,16,12,0.85) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px 56px;
  color: #fff;
}
.page-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}
.page-back:hover { color: #fff; }
.page-hero-content .eyebrow { color: var(--bronze-3); }
.page-hero-content h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-hero-content .lead {
  max-width: 620px;
  font-size: 18px;
  color: rgba(255,255,255,0.85);
}
@media (max-width: 640px) {
  .page-hero-content .lead { font-size: 14px; }
}

.page-intro {
  padding: 64px 24px;
  background: var(--paper);
}
.page-intro-inner {
  max-width: 780px;
  margin: 0 auto;
}
.page-intro-inner p {
  font-size: 19px;
  line-height: 1.6;
  color: #4a453e;
  margin: 0;
}
.page-intro-text {
  font-size: 15px !important;
  line-height: 1.6;
}

.page-points {
  padding: 90px 24px 80px;
  background: var(--paper);
}
.page-points-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
}
.page-point-bubble {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 28px rgba(20,16,12,0.18);
  border: 4px solid #fff;
}
.page-point h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
}
.page-point p {
  margin: 0;
  font-size: 15px;
  color: #6f665c;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}
.page-point p.no-justify {
  text-align: center;
}

/* Mobile: same photo + title only, full text revealed as a bubble over the photo on tap
   (matches the "Qui sommes-nous" pattern). Desktop is untouched. */
@media (max-width: 640px) {
  .page-points { padding: 48px 24px 56px; }
  .page-points-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .page-point {
    position: relative;
  }
  .page-point-bubble {
    position: relative;
    width: 92px;
    height: 92px;
    margin: 0 auto 12px;
    border-width: 3px;
    cursor: pointer;
  }
  .page-point-bubble::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--terracotta);
    opacity: 0;
    pointer-events: none;
  }
  .page-point.is-open .page-point-bubble::after {
    animation-play-state: paused;
    opacity: 0;
  }
  @media (hover: hover) {
    .page-point-bubble:hover::after {
      animation-play-state: paused;
      opacity: 0;
    }
  }
  .page-point h3 {
    font-size: 13px;
    line-height: 1.3;
    margin: 0;
    text-align: center;
  }
  .page-point p {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translate(-50%, 0) scale(0.94);
    transform-origin: top center;
    width: max-content;
    min-width: 190px;
    max-width: 80vw;
    margin: 0;
    background: var(--terracotta);
    color: #fff;
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(20,16,12,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 30;
  }
  .page-point:first-child p {
    left: 0;
    transform: translate(0, 0) scale(0.94);
    transform-origin: top left;
  }
  .page-point:last-child p {
    left: auto;
    right: 0;
    transform: translate(0, 0) scale(0.94);
    transform-origin: top right;
  }
  .page-point.is-open p {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
  }
  .page-point:first-child.is-open p {
    transform: translate(0, 0) scale(1);
  }
  .page-point:last-child.is-open p {
    transform: translate(0, 0) scale(1);
  }
  @media (hover: hover) {
    .page-point-bubble:hover ~ p {
      opacity: 1;
      pointer-events: auto;
      transform: translate(-50%, 0) scale(1);
    }
    .page-point:first-child .page-point-bubble:hover ~ p {
      transform: translate(0, 0) scale(1);
    }
    .page-point:last-child .page-point-bubble:hover ~ p {
      transform: translate(0, 0) scale(1);
    }
  }
  @media (prefers-reduced-motion: no-preference) {
    .page-point-bubble::after {
      animation: about-bubble-pulse 2.6s ease-out infinite;
    }
    .page-point:nth-child(2) .page-point-bubble::after { animation-delay: 0.35s; }
    .page-point:nth-child(3) .page-point-bubble::after { animation-delay: 0.7s; }
  }
}

.page-gallery {
  padding: 80px 24px 100px;
  background: var(--paper-soft, #f2efe9);
}
.page-gallery-head {
  max-width: 1160px;
  margin: 0 auto 32px;
}
.page-gallery-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-gallery-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 24px;
  padding: 0 24px 8px;
  scrollbar-width: none;
}
.page-gallery-scroll::-webkit-scrollbar { display: none; }

.page-gallery-item {
  position: relative;
  flex: 0 0 auto;
  width: 78vw;
  max-width: 380px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  scroll-snap-align: start;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 14px 32px rgba(20,16,12,0.16);
  text-align: left;
  font-family: inherit;
}
.page-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,16,12,0) 40%, rgba(20,16,12,0.82) 100%);
}
.page-gallery-caption {
  position: relative;
  z-index: 1;
  padding: 20px;
  color: #fff;
}
.page-gallery-title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}
.page-gallery-tags {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

.page-gallery-nav {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  max-width: 1160px;
  margin: 20px auto 0;
  padding: 0 24px;
}

@media (min-width: 900px) {
  .page-gallery-item { width: 30%; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,16,12,0.78);
}
.lightbox-panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(20,16,12,0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-close svg { width: 20px; height: 20px; }

.lightbox-media {
  position: relative;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.lightbox-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-soft, #f2efe9);
}
.lightbox-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  background-size: cover;
  background-position: center;
}
.lightbox-slide.is-active { opacity: 1; z-index: 1; }
.lightbox-slide.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(20,16,12,0.05) 0 12px, transparent 12px 24px);
}
.lightbox-slide.is-video {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #14100c;
}
.lightbox-slide.is-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lightbox-placeholder-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a49a8e;
}
.lightbox-dots {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.lightbox-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  padding: 0;
  cursor: pointer;
}
.lightbox-dot.is-active { background: #fff; }
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(20,16,12,0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-arrow svg { width: 18px; height: 18px; }
.lightbox-arrow-prev { left: 16px; }
.lightbox-arrow-next { right: 16px; }

.lightbox-body { padding: 20px 28px 28px; }
.lightbox-body h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
}
.lightbox-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.lightbox-tags span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--terracotta);
  background: rgba(15,56,15,0.1);
  padding: 4px 10px;
  border-radius: 16px;
}
.lightbox-tags span:empty { display: none; }
.lightbox-body p {
  margin: 0 0 14px;
  font-size: 15px;
  color: #4a453e;
  line-height: 1.6;
}
.lightbox-body p:empty { display: none; margin: 0; }
.lightbox-wood {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #5c4a2e;
  background: #f2ead9;
  border: 1px solid #e3d5b8;
  padding: 5px 12px;
  border-radius: 16px;
  line-height: 1.35;
}
.lightbox-wood::before {
  content: attr(data-icon);
  font-size: 12px;
  flex-shrink: 0;
}
.lightbox-wood:empty { display: none; }

.cta-banner {
  padding: 40px 24px 100px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
}
.cta-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 32px;
  background: var(--terracotta);
  border-radius: var(--radius);
}
.cta-banner .eyebrow { color: rgba(255,255,255,0.75); font-size: 11px; }
.cta-banner h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  color: #fff;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 0;
}
.cta-banner .btn-primary {
  background: var(--terracotta);
  color: #fff;
}
.cta-banner .btn-primary:hover {
  background: var(--terracotta-dark);
  color: #fff;
}
/* When the button sits inside the green card itself (specialty pages), invert it for contrast */
.cta-inner .btn-primary {
  background: #fff;
  color: var(--terracotta);
  margin-top: 8px;
}
.cta-inner .btn-primary:hover {
  background: var(--ink);
  color: #fff;
}
.cta-video {
  max-width: 460px;
  margin: 8px auto 0;
}
.cta-btn-below {
  position: relative;
  margin-top: 56px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-btn-below:hover {
  transform: translateY(-2px) scale(1.03);
}
@media (prefers-reduced-motion: no-preference) {
  .cta-btn-below {
    animation: cta-btn-pulse 1.8s ease-in-out infinite;
  }
  .cta-btn-below:hover {
    animation-play-state: paused;
  }
}
@keyframes cta-btn-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 16px rgba(15,56,15,0.25); }
  50% { transform: scale(1.07); box-shadow: 0 16px 38px rgba(15,56,15,0.6); }
}

/* Desktop: only the text band is full-bleed green; model + button stay on the main background.
   Sized so the whole block (text + 3D viewer + button) fits one screen without scrolling. */
@media (min-width: 641px) {
  .cta-banner { padding-top: 0; padding-bottom: 36px; }
  .cta-inner {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: var(--terracotta);
    border-radius: 0;
    padding: 32px 24px;
  }
  .cta-inner .eyebrow,
  .cta-inner h2,
  .cta-inner p {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .cta-inner h2 { margin-bottom: 8px; font-size: clamp(24px, 2.8vw, 32px); }
  .cta-video { max-width: 760px; margin-top: 16px; }
  .cta-video .model-frame { aspect-ratio: 2 / 1; }
  .cta-btn-below { margin-top: 48px; }
}

@media (max-width: 640px) {
  .cta-banner { padding: 24px 24px 56px; }
  .cta-banner .eyebrow { font-size: 9px; }
  .cta-banner h2 { font-size: 24px; margin-bottom: 10px; }
  .cta-inner { padding-left: 16px; padding-right: 16px; }
  .cta-banner p {
    font-size: 9px;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cta-video { margin: 4px auto 0; }
  .cta-btn-below {
    margin-top: 64px;
    padding: 12px 22px;
    font-size: 14px;
  }
}

/* FAQ */
.faq {
  padding: 90px 24px 100px;
  background: var(--paper);
}
.faq-head {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}
.faq-head .eyebrow { text-align: center; font-size: 11px; }
.faq-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid #e6e1d8;
  border-radius: var(--radius);
  background: var(--paper-soft, #f2efe9);
  padding: 4px 22px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 32px 18px 0;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--terracotta);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: '+';
  transform: translateY(-50%) rotate(45deg);
}
.faq-item p {
  margin: 0;
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #4a453e;
}

.site-footer {
  padding: 48px 24px 24px;
  background: var(--paper-soft, #f2efe9);
  text-align: left;
}
.site-footer-inner {
  max-width: 480px;
  margin: 0;
}
.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 0 0 16px;
}
.footer-logo {
  height: 113px;
  width: auto;
  display: block;
}
.footer-logo-garantie {
  height: 30px;
}
.footer-logos img:nth-child(2) {
  margin-left: auto;
}
.site-footer .logo-mark {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
}
.site-footer p {
  max-width: 480px;
  font-size: 12px;
  color: #8a8378;
  margin-bottom: 14px;
  line-height: 1.5;
}
.site-footer > .site-footer-inner > a {
  font-size: 12px;
  font-weight: 600;
  color: var(--terracotta);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.footer-nav a {
  font-size: 12px;
  font-weight: 500;
  color: #4a453e;
}
.footer-nav a:hover { color: var(--terracotta); }
.footer-legal {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid #e6e1d8;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: #a49a8e;
}
.footer-legal a {
  font-size: 11px;
  font-weight: 500;
  color: #8a8378;
}
.footer-legal a:hover { color: var(--terracotta); }

@media (min-width: 700px) {
  .page-points-grid { grid-template-columns: repeat(3, 1fr); }
  .page-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Devis page */
.devis-hero {
  padding: 140px 24px 64px;
  background: var(--terracotta);
  color: #fff;
}
.devis-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}
.devis-hero .page-back { color: rgba(255,255,255,0.75); }
.devis-hero .page-back:hover { color: #fff; }
.devis-hero .eyebrow { color: rgba(255,255,255,0.75); }
.devis-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(13px, 3.8vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}
.devis-hero .lead {
  margin: 0;
  font-size: 17px;
  color: rgba(255,255,255,0.85);
}
@media (max-width: 640px) {
  .devis-hero { padding: 120px 16px 48px; }
  .devis-hero .lead {
    font-size: 12px;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.devis-section {
  padding: 64px 24px 100px;
  background: var(--paper);
}
.devis-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.devis-form {
  background: #fff;
  border: 1px solid #e6e1d8;
  border-radius: var(--radius);
  padding: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  position: relative;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #4a453e;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid #d8d2c5;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}
.form-group textarea { resize: vertical; }
.devis-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: #8a8378;
}
.devis-success h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
}
.devis-success p {
  margin: 0;
  font-size: 15px;
  color: #4a453e;
  line-height: 1.6;
}
.devis-success a { color: var(--terracotta); font-weight: 600; }
.devis-error {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #fdecec;
  border: 1px solid #f3c6c6;
}
.devis-error p { margin: 0; font-size: 14px; color: #8a2b2b; line-height: 1.5; }
.devis-error a { color: #8a2b2b; font-weight: 600; }

/* Location autocomplete */
.location-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #d8d2c5;
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(20,16,12,0.16);
  max-height: 230px;
  overflow-y: auto;
  z-index: 20;
}
.location-suggestion {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}
.location-suggestion:hover,
.location-suggestion.is-active {
  background: var(--paper-soft, #f2efe9);
}
.location-suggestion .cp {
  font-size: 12px;
  color: #8a8378;
  white-space: nowrap;
}
.location-suggestion .territory {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--terracotta);
  margin-left: 6px;
}

/* File attachment */
.file-drop {
  position: relative;
  border: 1px dashed #d8d2c5;
  border-radius: var(--radius);
  background: var(--paper);
  padding: 16px 14px;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.file-drop:hover { border-color: var(--terracotta); }
.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-drop-label {
  font-size: 13px;
  color: #8a8378;
}
.file-drop.has-files {
  border-style: solid;
  border-color: var(--terracotta);
}
.file-drop.has-files .file-drop-label {
  color: var(--terracotta);
  font-weight: 600;
}

@media (min-width: 700px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* Legal page */
.legal-section {
  padding: 140px 24px 100px;
  background: var(--paper);
}
.legal-wrap {
  max-width: 680px;
  margin: 0 auto;
}
.legal-wrap h1 {
  margin: 24px 0 32px;
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.legal-wrap h2 {
  margin: 32px 0 10px;
  font-size: 18px;
  font-weight: 700;
}
.legal-wrap p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.6;
  color: #4a453e;
}
.legal-wrap a {
  color: var(--terracotta);
  font-weight: 600;
}
