/* ============================================================
   EMULSYON — Studio Rendu 3D Architectural
   Style.css — Version 2026
   ============================================================ */

/* ===== DESIGN TOKENS ===== */
:root {
  --white:      #FFFFFF;
  --off-white:  #F7F4F0;
  --stone:      #EDE8E1;
  --taupe:      #B2A894;
  --taupe-dark: #8A7D6C;
  --brown:      #514C46;
  --charcoal:   #2E2A25;
  --black:      #1A1510;

  --ff-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  --max-w:  1280px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io:     cubic-bezier(0.76, 0, 0.24, 1);

  --nav-h: 167px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: var(--ff-sans); font-size: 1rem; line-height: 1.65; color: var(--charcoal); background: var(--white); overflow-x: hidden; }
img, picture, video, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ===== TYPOGRAPHY ===== */
h1 { font-family: var(--ff-serif); font-weight: 400; font-size: clamp(2.4rem, 5.5vw, 4.5rem); line-height: 1.1; }
h2 { font-family: var(--ff-serif); font-weight: 400; font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.15; }
h3 { font-family: var(--ff-serif); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.25; }
h4 { font-family: var(--ff-serif); font-weight: 400; font-size: 1.1rem; line-height: 1.3; }

.kicker {
  display: block;
  font-family: var(--ff-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 1.25rem;
}

.section-heading {
  max-width: 56ch;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  border: 1px solid currentColor;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary  { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-primary:hover { background: var(--brown); border-color: var(--brown); }
.btn-outline  { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-taupe { background: var(--taupe); color: var(--white); border-color: var(--taupe); }
.btn-taupe:hover { background: var(--taupe-dark); border-color: var(--taupe-dark); }

/* ===== DIVIDER ===== */
.divider { width: 48px; height: 1px; background: var(--taupe); display: block; margin-block: 1.75rem; }
.divider-full { width: 100%; height: 1px; background: var(--stone); display: block; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
  border-bottom-color: var(--stone);
  box-shadow: 0 2px 24px rgba(26,21,16,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav-logo-icon {
  display: block;
  height: 48px;
  width: auto;
  align-self: flex-start;
  flex-shrink: 0;
}
.nav-logo-img {
  display: block;
  height: 143px;
  width: auto;
  flex-shrink: 0;
}
.footer-logo-img {
  height: 90px;
  width: auto;
  max-width: none;
  align-self: flex-start;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex-shrink: 0;
  line-height: 1;
}
.nav-logo-name {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--black);
  letter-spacing: 0.08em;
}
.nav-logo-line {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe-dark);
}
.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--taupe);
  transition: width 0.25s var(--ease-out);
}
.nav-links a:hover { color: var(--black); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { flex-shrink: 0; position: relative; }

/* Badge notification */
.nav-badge {
  position: absolute;
  top: -7px; right: -7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #c0392b;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  font-family: var(--ff-sans);
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  line-height: 1;
  border: 1.5px solid var(--white);
}

/* Actions group (CTA + chat + burger) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  touch-action: manipulation;
}
.nav-burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--black);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--stone);
  padding: 2rem var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateY(-110%);
  transition: transform 0.35s var(--ease-out);
  z-index: 99;
  pointer-events: none;
}
.nav-mobile.open { transform: none; pointer-events: auto; }
.nav-mobile a {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  color: var(--black);
  border-bottom: 1px solid var(--stone);
  padding-bottom: 1rem;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: -20%;
  left: 0; right: 0;
  height: 140%;
  background-image: url('../img/p1-chalet-interieur.jpg');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
  will-change: transform;
}
/* Portfolio — pas de parallax, zoom au hover géré plus bas */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,21,16,0.85) 0%,
    rgba(26,21,16,0.45) 50%,
    rgba(26,21,16,0.20) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-content .kicker { color: var(--taupe); }
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 24px rgba(26,21,16,0.3);
}
.hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll::before {
  content: '';
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.3);
  display: block;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; height: 48px; }
  50% { opacity: 0.7; height: 60px; }
}

/* ============================================================
   PROOF BAR
   ============================================================ */
#proof {
  background: var(--black);
  padding-block: 1.75rem;
  overflow: hidden;
}
.proof-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}
.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-inline: 2rem;
  flex: 1;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.proof-item:last-child { border-right: none; }
.proof-num {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--taupe);
  line-height: 1;
}
.proof-label {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.4rem;
}

/* ============================================================
   SECTION : AGENCE
   ============================================================ */
#agence {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--white);
}
.agence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.agence-text p {
  font-size: 1.05rem;
  color: var(--brown);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}
.agence-text p:last-of-type { margin-bottom: 2rem; }
.agence-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.agence-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.agence-img:hover img { transform: scale(1.03); }
.agence-img::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid var(--taupe);
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   SECTION : EXPERTISE
   ============================================================ */
#expertise {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--off-white);
}
.expertise-header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}
.expertise-header .divider { margin-inline: auto; }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.expertise-card {
  background: var(--white);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--stone);
  transition: box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.expertise-card:hover {
  box-shadow: 0 8px 40px rgba(26,21,16,0.08);
  transform: translateY(-4px);
}
.expertise-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--stone);
  margin-bottom: 1.75rem;
  color: var(--taupe-dark);
}
.expertise-card h3 { margin-bottom: 0.75rem; }
.expertise-card p {
  font-size: 0.92rem;
  color: var(--brown);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.expertise-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.expertise-list li {
  font-size: 0.78rem;
  color: var(--taupe-dark);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.expertise-list li::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--taupe);
  flex-shrink: 0;
}

/* ============================================================
   SECTION : PORTFOLIO
   ============================================================ */
#portfolio {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--white);
}
.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
  flex-wrap: wrap;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 3px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.portfolio-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.portfolio-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.portfolio-item .portfolio-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  transition: transform 0.7s var(--ease-out);
}
.portfolio-item:hover .portfolio-img,
.portfolio-item:hover .portfolio-bg { transform: scale(1.05); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,21,16,0.75) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  opacity: 0;
  transition: opacity 0.35s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.25rem; }
.portfolio-overlay span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* Portfolio placeholder backgrounds */
.pb-1 { background: linear-gradient(145deg, #C5B8A6 0%, #8A7D6C 100%); }
.pb-2 { background: linear-gradient(145deg, #3A3530 0%, #514C46 100%); }
.pb-3 { background: linear-gradient(145deg, #E8E3DC 0%, #B2A894 100%); }
.pb-4 { background: linear-gradient(145deg, #6B5F52 0%, #3A3530 100%); }
.pb-5 { background: linear-gradient(145deg, #B2A894 0%, #8A7D6C 100%); }

/* ============================================================
   SECTION : PROCESS
   ============================================================ */
#process {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--stone);
}
.process-header { text-align: center; margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.process-header .divider { margin-inline: auto; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.process-step {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid rgba(178,168,148,0.4);
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-num {
  font-family: var(--ff-serif);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--taupe);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 0.75rem; color: var(--black); }
.process-step p { font-size: 0.88rem; color: var(--brown); line-height: 1.65; }

/* ============================================================
   SECTION : COFFRETS
   ============================================================ */
#coffrets {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--white);
}
.coffrets-header { text-align: center; margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.coffrets-header .divider { margin-inline: auto; }
.coffrets-lead {
  font-size: 1.05rem;
  color: var(--brown);
  max-width: 56ch;
  margin-inline: auto;
  margin-top: 1rem;
  text-align: center;
}
.coffrets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.coffret-card {
  border: 1px solid var(--stone);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.coffret-card:hover {
  border-color: var(--taupe);
  box-shadow: 0 8px 32px rgba(26,21,16,0.07);
}
.coffret-card.featured {
  border-color: var(--black);
  position: relative;
}
.coffret-card.featured::before {
  content: 'Le plus populaire';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  white-space: nowrap;
}
.coffret-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 0.75rem;
}
.coffret-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.coffret-desc {
  font-size: 0.92rem;
  color: var(--brown);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.coffret-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}
.coffret-list li {
  font-size: 0.88rem;
  color: var(--charcoal);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.coffret-list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 0.55rem;
  width: 20px; height: 1px;
  background: var(--taupe);
}
.coffret-card .btn { align-self: flex-start; }

/* ============================================================
   SECTION : TEMOIGNAGES
   ============================================================ */
#temoignages {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--off-white);
}
.temoignages-header { text-align: center; margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.temoignages-header .divider { margin-inline: auto; }
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.temoignage {
  background: var(--white);
  padding: clamp(2rem, 3.5vw, 2.75rem);
  border: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
}
.temoignage-quote {
  font-family: var(--ff-serif);
  font-size: 2.5rem;
  color: var(--taupe);
  line-height: 1;
  margin-bottom: 1rem;
  font-style: italic;
}
.temoignage p {
  font-size: 0.95rem;
  color: var(--brown);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 2rem;
  font-style: italic;
}
.temoignage-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-top: 1px solid var(--stone);
  padding-top: 1.25rem;
}
.temoignage-name { font-size: 0.85rem; font-weight: 500; color: var(--black); }
.temoignage-company { font-size: 0.75rem; color: var(--taupe-dark); letter-spacing: 0.06em; }

/* ============================================================
   SECTION : FAQ
   ============================================================ */
#faq {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--white);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.faq-intro .divider { margin-block: 1.5rem; }
.faq-intro p {
  font-size: 0.95rem;
  color: var(--brown);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--stone);
}
.faq-item:first-child { border-top: 1px solid var(--stone); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  text-align: left;
  gap: 1rem;
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  color: var(--black);
  font-weight: 400;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--brown); }
.faq-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
  color: var(--taupe);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.faq-icon::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.faq-icon::after  { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.faq-item.open .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-answer-inner {
  padding-bottom: 1.5rem;
  font-size: 0.92rem;
  color: var(--brown);
  line-height: 1.75;
}

/* ============================================================
   SECTION : CONTACT
   ============================================================ */
#contact {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--charcoal);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.contact-info .kicker { color: var(--taupe); }
.contact-info h2 { color: var(--white); font-size: clamp(1.3rem, 2.2vw, 2rem); }
.contact-info .divider { background: var(--taupe); }
.contact-info p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-detail-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(178,168,148,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--taupe);
}
.contact-detail-icon svg { width: 16px; height: 16px; }
.contact-detail-text { display: flex; flex-direction: column; gap: 0.1rem; }
.contact-detail-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.contact-detail-val { font-size: 0.92rem; color: rgba(255,255,255,0.85); }
.contact-detail-val a:hover { color: var(--taupe); transition: color 0.2s; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.85rem 1rem;
  color: var(--white);
  font-size: 0.92rem;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--taupe); }
.form-group select option { background: var(--charcoal); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { align-self: flex-start; margin-top: 0.5rem; }
.form-note { font-size: 0.75rem; color: rgba(255,255,255,0.3); margin-top: 0.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--black);
  padding-top: clamp(3rem, 5vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 32ch;
}
.footer-brand .nav-logo-name { color: var(--white); }
.footer-brand .nav-logo-line { color: var(--taupe); opacity: 0.7; }
.footer-col h4 {
  font-family: var(--ff-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--taupe); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.25); }
.footer-legal {
  display: flex;
  gap: 2rem;
}
.footer-legal a { font-size: 0.75rem; color: rgba(255,255,255,0.25); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* ============================================================
   CHATBOT
   ============================================================ */
#chatbot {
  position: fixed;
  top: var(--nav-h);
  right: var(--gutter);
  z-index: 200;
}
#chat-toggle {
  position: relative;
  width: 38px; height: 38px;
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
#chat-toggle:hover,
#chat-toggle.open { background: var(--black); color: var(--white); }
.chat-icon-open  { display: block; }
.chat-icon-close { display: none; }
#chat-toggle.open .chat-icon-open  { display: none; }
#chat-toggle.open .chat-icon-close { display: block; }

#chat-window {
  width: 340px;
  max-height: 520px;
  background: var(--white);
  border: 1px solid var(--stone);
  box-shadow: 0 12px 48px rgba(26,21,16,0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
#chat-window.open {
  transform: none;
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: var(--charcoal);
  flex-shrink: 0;
}
.chat-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--taupe);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: var(--white);
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-header-info { display: flex; flex-direction: column; gap: 0.15rem; }
.chat-header-info strong { font-size: 0.88rem; font-weight: 500; color: var(--white); }
.chat-status { display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.chat-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 2px; }

.chat-msg { display: flex; flex-direction: column; max-width: 90%; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }
.chat-msg p, .chat-msg div {
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  line-height: 1.55;
}
.chat-msg.bot p, .chat-msg.bot div {
  background: var(--off-white);
  border: 1px solid var(--stone);
  color: var(--charcoal);
}
.chat-msg.user p {
  background: var(--black);
  color: var(--white);
}
.chat-msg a { color: var(--taupe); text-decoration: underline; }

.chat-typing {
  display: flex; gap: 4px; align-items: center;
  padding: 0.7rem 1rem;
  background: var(--off-white);
  border: 1px solid var(--stone);
  align-self: flex-start;
  width: fit-content;
}
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--taupe);
  animation: bounce 1.2s ease infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

/* Choix principaux d'entrée */
.chat-main-choices {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-self: stretch;
  width: 100%;
}
.chat-choice {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--stone);
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  width: 100%;
}
.chat-choice:hover {
  border-color: var(--taupe);
  background: var(--off-white);
  transform: translateX(3px);
}
.chat-choice-icon { font-size: 1.3rem; flex-shrink: 0; line-height: 1; }
.chat-choice div { display: flex; flex-direction: column; gap: 0.1rem; }
.chat-choice strong { font-size: 0.85rem; font-weight: 500; color: var(--black); }
.chat-choice span { font-size: 0.72rem; color: var(--taupe-dark); font-weight: 400; }

.choice-calendly:hover { border-color: #0069FF; }
.choice-calendly:hover strong { color: #0069FF; }
.choice-wa:hover { border-color: #25D366; }
.choice-wa:hover strong { color: #25D366; }

/* FAQ chips (affichés après clic "J'ai une question") */
.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-self: flex-start;
}
.chat-chip {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--taupe);
  background: transparent;
  color: var(--brown);
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.chat-chip:hover { background: var(--taupe); color: var(--white); }

.chat-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: #25D366;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.chat-wa-btn:hover { background: #1dbd5c; }
.chat-wa-btn svg { flex-shrink: 0; }

.chat-input-row {
  display: flex;
  border-top: 1px solid var(--stone);
  flex-shrink: 0;
}
#chat-input {
  flex: 1;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  border: none;
  outline: none;
  color: var(--charcoal);
  background: var(--white);
}
#chat-input::placeholder { color: var(--taupe); }
.chat-input-row button[type="submit"] {
  padding: 0 1.1rem;
  background: var(--black);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.chat-input-row button[type="submit"]:hover { background: var(--brown); }

/* ============================================================
   SECTION : ESTIMATEUR
   ============================================================ */
#estimateur {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--stone);
}
.estimateur-header { text-align: center; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.estimateur-lead {
  font-size: 1.05rem;
  color: var(--brown);
  max-width: 56ch;
  margin-inline: auto;
  margin-top: 1rem;
}
.estimateur-box {
  max-width: 760px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid rgba(178,168,148,0.4);
  overflow: hidden;
}
.est-progress { height: 3px; background: var(--stone); }
.est-progress-bar {
  height: 100%;
  background: var(--taupe);
  transition: width 0.4s var(--ease-out);
}
.est-steps-label {
  display: flex;
  border-bottom: 1px solid var(--stone);
}
.est-step-lbl {
  flex: 1;
  text-align: center;
  padding: 0.75rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  transition: color 0.3s;
}
.est-step-lbl.active { color: var(--black); }
.est-step-lbl.done { color: var(--taupe-dark); }

.est-step { padding: clamp(1.75rem, 4vw, 2.5rem); }
.est-step-intro {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  color: var(--black);
  margin-bottom: 1.5rem;
}
.est-step-intro em {
  font-family: var(--ff-sans);
  font-size: 0.82rem;
  color: var(--taupe-dark);
  font-style: normal;
}
.est-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
  margin-bottom: 2rem;
}
.est-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--stone);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.est-card:hover { border-color: var(--taupe); background: var(--off-white); }
.est-card.selected { background: var(--black); border-color: var(--black); color: var(--white); }
.est-card.selected strong,
.est-card.selected span { color: var(--white); }
.est-card-icon { font-size: 1.4rem; margin-bottom: 0.25rem; }
.est-card strong { font-size: 0.85rem; font-weight: 500; color: var(--black); line-height: 1.3; }
.est-card span { font-size: 0.72rem; color: var(--taupe-dark); }

.est-card-multi.selected::after {
  content: '✓';
  position: absolute;
  top: 0.5rem; right: 0.6rem;
  width: 18px; height: 18px;
  background: var(--white);
  color: var(--black);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 18px;
  text-align: center;
}

.est-qty-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.est-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.est-qty-label { font-size: 0.88rem; font-weight: 500; color: var(--black); flex-shrink: 0; min-width: 180px; }
.est-qty-options { display: flex; gap: 6px; flex-wrap: wrap; }
.est-qty-btn {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--stone);
  background: var(--white);
  color: var(--brown);
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.est-qty-btn:hover { border-color: var(--taupe); }
.est-qty-btn.selected { background: var(--black); border-color: var(--black); color: var(--white); }

.est-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--stone);
}

.est-result-inner { text-align: center; padding: clamp(1rem, 3vw, 2rem) 0; }
.est-result-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 0.5rem;
}
.est-result-price {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.est-result-note { font-size: 0.78rem; color: var(--taupe-dark); margin-bottom: 2rem; }
.est-result-coffret {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  background: var(--off-white);
  border: 1px solid var(--stone);
  padding: 1.25rem 2.5rem;
  margin-bottom: 2rem;
}
.est-coffret-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe-dark);
}
.est-coffret-name { font-family: var(--ff-serif); font-size: 1.4rem; font-weight: 400; color: var(--black); }
.est-coffret-desc { font-size: 0.78rem; color: var(--brown); max-width: 32ch; }
.est-result-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- Estimateur responsive ---- */
@media (max-width: 768px) {
  .est-cards-grid { grid-template-columns: 1fr 1fr; }
  .est-qty-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .est-cards-grid { grid-template-columns: 1fr; }
}

/* ---- Tablette large (≤1024px) ---- */
@media (max-width: 1024px) {
  .agence-grid { grid-template-columns: 1fr; }
  .agence-img { order: -1; }
  .expertise-grid { grid-template-columns: 1fr; gap: 2px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item:first-child { grid-column: span 2; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(1),
  .process-step:nth-child(2) { border-bottom: 1px solid rgba(178,168,148,0.4); }
  .coffrets-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .temoignages-grid { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Mobile (≤768px) ---- */
@media (max-width: 768px) {
  /* Nav : hauteur réduite — cascade sur hero padding + mobile menu top */
  :root { --nav-h: 72px; }

  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-logo-img { height: 58px; }

  /* Hero */
  .hero-scroll { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { text-align: center; justify-content: center; align-self: stretch; }

  /* Proof bar : 2×2 */
  .proof-inner { flex-wrap: wrap; }
  .proof-item {
    flex: 0 0 50%;
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-block: 1.25rem;
  }
  .proof-item:nth-child(2n) { border-right: none; }
  .proof-item:nth-child(3),
  .proof-item:nth-child(4) { border-bottom: none; }

  /* Portfolio : 1 colonne, overlays toujours visibles (pas de hover sur touch) */
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item:first-child { grid-column: span 1; aspect-ratio: 4/3; }
  .portfolio-overlay { opacity: 1; }

  /* Portfolio header */
  .portfolio-header { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* Process : 1 colonne */
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid rgba(178,168,148,0.4); }
  .process-step:last-child { border-bottom: none; }
  .process-step:nth-child(1),
  .process-step:nth-child(2) { border-bottom: 1px solid rgba(178,168,148,0.4); }

  /* Coffrets & témoignages : pleine largeur */
  .coffrets-grid, .temoignages-grid { max-width: 100%; }

  /* Formulaire : 1 colonne */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .footer-legal { gap: 1.25rem; }

  /* Chatbot */
  #chat-window { width: calc(100vw - 2.5rem); max-height: calc(100svh - 110px); }
}

/* ---- Petit mobile (≤480px) ---- */
@media (max-width: 480px) {
  :root { --nav-h: 62px; }

  .nav-logo-img { height: 50px; }

  /* Chatbot quasi plein écran */
  #chat-window {
    width: calc(100vw - 2rem);
    max-height: calc(100svh - 84px);
  }

  /* Proof : texte compact */
  .proof-num { font-size: 1.4rem; }
  .proof-label { font-size: 0.6rem; }

  /* Sections : padding vertical réduit */
  #agence, #expertise, #portfolio, #process,
  #coffrets, #temoignages, #faq, #contact {
    padding-block: clamp(2.5rem, 6vw, 4rem);
  }
}

/* ---- Touch : supprimer les effets hover qui ne fonctionnent pas ---- */
@media (hover: none) {
  .portfolio-overlay { opacity: 1; }
  .portfolio-item:active .portfolio-img { transform: none; }
  .expertise-card:hover { box-shadow: none; transform: none; }
  .agence-img:hover img { transform: none; }
  .coffret-card:hover { box-shadow: none; border-color: var(--stone); }
}

/* ============================================================
   PROCESS TIMELINE (section discrète sous le formulaire contact)
   ============================================================ */
#process.process-tl-section {
  background: var(--black);
  padding-block: clamp(2rem, 3vw, 2.75rem);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.process-tl-kicker {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  text-align: center;
  margin-bottom: 2.25rem;
}
.process-tl {
  display: flex;
  align-items: flex-start;
  position: relative;
}
.process-tl::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}
.process-tl-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 clamp(0.75rem, 2vw, 1.5rem);
}
.process-tl-num {
  font-family: var(--ff-serif);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--taupe);
  margin-bottom: 0.85rem;
  background: var(--black);
  padding: 0 0.4rem;
  position: relative;
  z-index: 1;
  line-height: 2;
}
.process-tl-step h4 {
  font-family: var(--ff-serif);
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  margin-bottom: 0.35rem;
}
.process-tl-step p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.32);
  line-height: 1.55;
  max-width: 15ch;
}
@media (max-width: 580px) {
  #process.process-tl-section { padding-block: 2rem; }
  .process-tl { flex-direction: column; gap: 1.25rem; }
  .process-tl::before { display: none; }
  .process-tl-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
  }
  .process-tl-num { margin-bottom: 0; padding: 0; line-height: 1.4; }
  .process-tl-step h4 { margin-bottom: 0.15rem; }
  .process-tl-step p { max-width: none; }
}
