/* ===========================================================
   Intérieurs Français · replica of davidseyfried.com structure
   Uniform serif, ample whitespace, warm-neutral palette
   =========================================================== */

:root {
  --ink:        #1d1b18;
  --ink-soft:   rgba(29, 27, 24, 0.82);
  --ink-mute:   rgba(29, 27, 24, 0.55);
  --paper:      #ffffff;
  --cream:      #f3efe7;
  --sage:       #eceee7;
  --grey:       #f5f4f1;
  --slate:      #26241f;
  --line:       rgba(29, 27, 24, 0.16);
  --line-light: rgba(255, 255, 255, 0.55);
  --maxw:       1280px;
  --ease:       cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Newsreader", "Iowan Old Style", Baskerville, "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

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

h1, h2, h3, h4 { font-weight: 400; color: var(--ink); line-height: 1.12; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-family: "Newsreader", serif;
}

/* ---------- Buttons (Seyfried-style outline) ---------- */
.btn {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 34px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background 0.45s var(--ease), color 0.45s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.light { border-color: var(--line-light); color: #fff; }
.btn.light:hover { background: #fff; color: var(--ink); }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0 18px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
  transition: background 0.5s var(--ease), color 0.5s var(--ease),
              padding 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.site-header .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  row-gap: 16px;
}
.header-spacer { grid-column: 1; }

.brand {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.brand img { height: 56px; width: auto; transition: height 0.5s var(--ease); }
.brand .wordmark {
  font-size: 22px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  padding-left: 0.34em;
  line-height: 1;
}
/* dark logo on the white header */
.brand img { filter: none; transition: filter 0.5s var(--ease), height 0.5s var(--ease); }

.header-tools {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}
.lang-toggle { display: flex; align-items: center; gap: 6px; letter-spacing: 0.1em; }
.lang-toggle button {
  background: none; border: none; color: inherit; cursor: pointer;
  font-family: inherit; font-size: 14px; letter-spacing: 0.1em;
  opacity: 0.55; transition: opacity 0.3s;
  padding: 2px 0;
}
.lang-toggle button.active { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.lang-toggle .sep { opacity: 0.4; }

.main-nav { grid-column: 1 / -1; }
.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 42px;
  flex-wrap: wrap;
}
.main-nav a {
  font-size: 19px;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 3px;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.4s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }

/* scrolled state */
.site-header.scrolled {
  background: var(--paper);
  color: var(--ink);
  padding: 12px 0 10px;
  box-shadow: 0 1px 0 var(--line);
}
.site-header.scrolled .brand img { filter: none; height: 40px; }
.site-header.scrolled .brand .wordmark { color: var(--ink); }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  height: 100vh;
  min-height: 620px;
  background: #2a1d18 center/cover no-repeat;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0.12) 100%);
  pointer-events: none;
}
.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2;
}
.scroll-cue span { width: 1px; height: 46px; background: rgba(255,255,255,0.6); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0%,100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ===========================================================
   INTRO
   =========================================================== */
.intro { background: var(--cream); }
.intro .wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 84px;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 110px;
}
.intro-copy p { font-size: 19px; line-height: 1.6; margin-bottom: 22px; max-width: 30em; }
.intro-copy p:last-child { margin-bottom: 0; }
.intro-copy .eyebrow { display: block; margin-bottom: 26px; font-size: 26px; }
.intro-figure { position: relative; }
.intro-figure img { width: 100%; height: 560px; object-fit: cover; }

/* ===========================================================
   CATEGORIES
   =========================================================== */
.categories { padding: 96px 0; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.cat-card { display: block; }
.cat-card .cat-img {
  position: relative;
  overflow: hidden;
  background: var(--grey);
  aspect-ratio: 3 / 4;
}
.cat-card .cat-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.cat-card:hover .cat-img img { transform: scale(1.05); }
.cat-card .cat-label {
  text-align: center;
  margin-top: 22px;
  font-size: 24px;
  color: var(--ink);
}
.cat-card .cat-sub {
  text-align: center;
  margin-top: 6px;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ===========================================================
   FEATURED
   =========================================================== */
.featured { background: var(--grey); }
.feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  min-height: 78vh;
}
.feature-row .feature-img { height: 100%; min-height: 78vh; background: center/cover no-repeat; }
.feature-row .feature-text {
  padding: 70px clamp(40px, 8vw, 130px);
  text-align: center;
}
.feature-row.reverse .feature-text { order: -1; }
.feature-text .eyebrow { display: block; margin-bottom: 20px; }
.feature-text h2 { font-size: clamp(32px, 4vw, 50px); margin-bottom: 14px; }
.feature-text p { font-size: 18px; color: var(--ink-soft); max-width: 30em; margin: 0 auto 32px; }

/* ===========================================================
   PARTNERS
   =========================================================== */
.partners { background: var(--cream); padding: 90px 0; text-align: center; }
.partners h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.partners .eyebrow { display: block; margin-bottom: 50px; }
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 44px 36px;
  align-items: center;
}
.partner-grid img {
  max-height: 52px;
  max-width: 100%;
  width: auto;
  margin: 0 auto;
  filter: grayscale(1);
  opacity: 0.62;
  transition: opacity 0.4s, filter 0.4s;
}
.partner-grid a:hover img { filter: grayscale(0); opacity: 1; }

/* ===========================================================
   SERVICES
   =========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 70px;
}
.service {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.service h3 { font-size: 24px; margin-bottom: 12px; }
.service p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 34em; }

@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; gap: 0; }
}

/* ===========================================================
   TEAM (Qui sommes-nous)
   =========================================================== */
.team { padding: 112px 0; background: var(--paper); }
.team-head { text-align: center; max-width: 720px; margin: 0 auto 72px; }
.team-head .eyebrow { display: block; margin-bottom: 22px; }
.team-head h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 24px; }
.team-head p { font-size: 19px; line-height: 1.6; color: var(--ink-soft); }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 72px;
  max-width: 1040px;
  margin: 0 auto;
}
.member { border-top: 1px solid var(--line); padding-top: 30px; }
.member .role {
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute); display: block; margin-bottom: 10px;
}
.member h3 { font-size: 30px; margin-bottom: 20px; }
.member p { font-size: 17px; line-height: 1.62; margin-bottom: 16px; color: var(--ink-soft); }
.member p:last-child { margin-bottom: 0; }

@media (max-width: 820px) {
  .team-grid { grid-template-columns: 1fr; gap: 48px; max-width: 560px; }
  .team { padding: 84px 0; }
}

/* ===========================================================
   STORY (closing)
   =========================================================== */
.story { background: var(--sage); padding: 120px 0; }
.story .wrap { max-width: 760px; text-align: center; }
.story .eyebrow { display: block; margin-bottom: 24px; }
.story h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 28px; }
.story p { font-size: 19px; line-height: 1.65; margin-bottom: 22px; color: var(--ink-soft); }
.story .btn { margin-top: 18px; }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { background: #faf8f3; padding: 80px 0 0; color: var(--ink-soft); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 70px;
}
.footer-brand img { height: 46px; filter: none; margin-bottom: 18px; }
.footer-brand .wordmark {
  font-size: 16px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink);
  display: block; margin-bottom: 16px;
}
.footer-brand p { font-size: 16px; max-width: 22em; }
.footer-col h4 {
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 22px; font-weight: 400;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; font-size: 17px; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-col address { font-style: normal; font-size: 17px; line-height: 1.7; }
.footer-col address a:hover { text-decoration: underline; }

.footer-bar { background: var(--slate); color: rgba(255,255,255,0.78); }
.footer-bar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; padding-bottom: 22px;
  font-size: 14px; letter-spacing: 0.04em;
}
.footer-bar a { text-decoration: underline; text-underline-offset: 3px; }
.footer-social { display: flex; gap: 22px; }
.footer-social a { text-decoration: none; letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; opacity: 0.85; }
.footer-social a:hover { opacity: 1; }

/* ===========================================================
   RÉALISATIONS PAGE
   =========================================================== */
.page-hero {
  padding: 190px 0 64px;
  text-align: center;
  background: var(--cream);
}
.page-hero .eyebrow { display: block; margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 70px); margin-bottom: 22px; }
.page-hero p { font-size: 19px; max-width: 40em; margin: 0 auto; color: var(--ink-soft); }

.filter-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.filter-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 30px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.filter-bar button {
  font-family: inherit;
  font-size: 17px;
  color: var(--ink-mute);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  position: relative;
  transition: color 0.3s;
  letter-spacing: 0.01em;
}
.filter-bar button::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.35s var(--ease);
}
.filter-bar button:hover { color: var(--ink); }
.filter-bar button.active { color: var(--ink); }
.filter-bar button.active::after { transform: scaleX(1); }

.gallery { padding: 64px 0 110px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work {
  position: relative;
  overflow: hidden;
  background: var(--grey);
  cursor: pointer;
  aspect-ratio: 4 / 5;
}
.work img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.work:hover img { transform: scale(1.05); }
.work .work-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 22px 20px;
  color: #fff;
  background: linear-gradient(to top, rgba(20,18,15,0.72), rgba(20,18,15,0));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.work:hover .work-cap { opacity: 1; transform: none; }
.work .work-cap .k { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; display: block; margin-bottom: 5px; }
.work .work-cap .t { font-size: 20px; line-height: 1.2; }
.work.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(18,16,13,0.93);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 90vw; max-height: 84vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox .lb-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.8); font-size: 15px; letter-spacing: 0.06em; }
.lightbox .lb-close, .lightbox .lb-nav {
  position: absolute; background: none; border: none; color: #fff; cursor: pointer;
  font-size: 34px; line-height: 1; opacity: 0.7; transition: opacity 0.3s; font-family: inherit;
}
.lightbox .lb-close { top: 24px; right: 30px; font-size: 40px; }
.lightbox .lb-nav { top: 50%; transform: translateY(-50%); font-size: 54px; padding: 20px; }
.lightbox .lb-prev { left: 10px; }
.lightbox .lb-next { right: 10px; }
.lightbox button:hover { opacity: 1; }

@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .page-hero { padding-top: 150px; }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .work .work-cap { opacity: 1; transform: none; padding: 18px 14px 14px; }
  .work .work-cap .t { font-size: 16px; }
  .filter-bar .wrap { gap: 6px 18px; }
  .filter-bar button { font-size: 15px; }
}

/* ===========================================================
   CONTACT PAGE
   =========================================================== */
.contact-section { padding: 72px 0 100px; background: var(--paper); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  max-width: 1120px;
  margin: 0 auto;
}
.contact-info .block { border-top: 1px solid var(--line); padding-top: 26px; margin-bottom: 38px; }
.contact-info .block:last-child { margin-bottom: 0; }
.contact-info .role {
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute); display: block; margin-bottom: 12px;
}
.contact-info h3 { font-size: 25px; margin-bottom: 14px; }
.contact-info p { font-size: 17px; line-height: 1.5; margin-bottom: 6px; }
.contact-info a { border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.contact-info a:hover { border-color: var(--ink); }

.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 22px; }
.field label {
  display: block; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.contact-form .btn { margin-top: 4px; cursor: pointer; }
.form-note { margin-top: 18px; font-size: 14px; color: var(--ink-mute); }

.contact-map { margin-top: 0; }
.contact-map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(0.4); }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 50px; max-width: 560px; }
  .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-map iframe { height: 320px; }
}

/* ===========================================================
   REVEAL ANIMATION
   =========================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 980px) {
  .intro .wrap { grid-template-columns: 1fr; gap: 48px; padding-top: 80px; padding-bottom: 80px; }
  .intro-figure img { height: 440px; }
  .cat-grid { grid-template-columns: 1fr; gap: 44px; max-width: 460px; margin: 0 auto; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row .feature-img { min-height: 60vh; }
  .feature-row.reverse .feature-text { order: 0; }
  .feature-row .feature-text { padding: 56px 32px; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); gap: 38px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 22px; }
  body { font-size: 17px; }
  .site-header .wrap { grid-template-columns: 1fr auto; }
  .header-spacer { display: none; }
  .brand { grid-column: 1; align-items: flex-start; }
  .brand img { height: 40px; }
  .brand .wordmark { font-size: 15px; letter-spacing: 0.22em; }
  .header-tools { grid-column: 2; gap: 14px; }
  .main-nav { display: none; }
  .site-header.scrolled .brand img { height: 34px; }
  .hero { min-height: 80vh; height: 88vh; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bar .wrap { flex-direction: column; gap: 14px; text-align: center; }
}
