:root {
  --bg: #f7f1ea;
  --paper: #fffaf5;
  --ink: #28231f;
  --muted: #7f756d;
  --soft: #e8ddd2;
  --dark: #24231f;
  --accent: #a47b61;
  --white: #fffaf5;
  --line: rgba(40, 35, 31, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Arial, sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
.site-header { position: fixed; z-index: 10; top: 18px; left: 50%; transform: translateX(-50%); width: min(1120px, calc(100% - 36px)); display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 14px 22px; color: var(--white); background: rgba(28, 28, 25, .20); border: 1px solid rgba(255,255,255,.20); border-radius: 999px; backdrop-filter: blur(18px); }
.brand { color: inherit; text-decoration: none; font-family: Georgia, serif; font-size: 22px; letter-spacing: -0.035em; }
.nav { display: flex; gap: 8px; align-items: center; }
.nav a { color: rgba(255,250,245,.76); text-decoration: none; font-size: 13px; padding: 9px 12px; border-radius: 999px; transition: .2s ease; }
.nav a:hover { color: var(--white); background: rgba(255,255,255,.10); }
.hero { min-height: 100vh; position: relative; display: flex; align-items: flex-end; padding: 150px 8vw 80px; color: var(--white); background: linear-gradient(180deg, rgba(20,21,20,.02), rgba(20,21,20,.12) 48%, rgba(20,21,20,.58)), url('images/hero-aiguille-v2.jpg') center center/cover; }
.hero-note { max-width: 520px; }
.hero-note .name { margin: 0 0 10px; font-family: Georgia, serif; font-size: clamp(40px, 5.5vw, 86px); line-height: .96; letter-spacing: -0.065em; }
.hero-note p { margin: 0; color: rgba(255,250,245,.82); font-size: 18px; }
.scroll-cue { position: absolute; right: 8vw; bottom: 82px; color: rgba(255,250,245,.75); text-decoration: none; font-size: 13px; letter-spacing: .03em; }
.scroll-cue::after { content: ' ↓'; }
.section { padding: 118px 8vw; }
.soft-section { background: var(--paper); }
.eyebrow { margin: 0 0 18px; font-size: 13px; letter-spacing: .03em; color: rgba(255,250,245,.78); }
.eyebrow.dark { color: var(--accent); }
h1,h2,h3 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h2 { font-size: clamp(36px, 5.2vw, 76px); line-height: .98; letter-spacing: -0.055em; }
h3 { font-size: 26px; letter-spacing: -0.035em; }
.large-text { margin: 0; max-width: 1040px; font-family: Georgia, serif; font-size: clamp(40px, 6vw, 92px); line-height: .98; letter-spacing: -0.065em; }
.intro-text { max-width: 720px; margin: 32px 0 0; color: var(--muted); font-size: 20px; line-height: 1.65; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 56px; border-bottom: 1px solid var(--line); padding-bottom: 30px; }
.heading-note { max-width: 360px; margin: 0 0 8px; color: var(--muted); line-height: 1.55; }
.featured-project { display: grid; grid-template-columns: minmax(320px, .95fr) minmax(320px, 1.05fr); gap: 46px; align-items: center; margin-bottom: 72px; }
.project-cover { min-height: 720px; border-radius: 34px; background-size: cover; background-position: center; box-shadow: 0 24px 70px rgba(39,32,28,.14); }
.saf-cover { background-image: url('images/DSC00900.jpg'); }
.project-copy { max-width: 760px; }
.project-kicker { margin: 18px 0 26px; font-family: Georgia, serif; font-size: 25px; color: var(--accent); }
.project-copy p:not(.eyebrow):not(.project-kicker) { color: var(--muted); font-size: 18px; line-height: 1.75; }
.project-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-meta span { color: var(--muted); line-height: 1.45; }
.project-meta strong { display: block; color: var(--ink); font-size: 13px; margin-bottom: 4px; }
.text-link { display: inline-block; margin-top: 12px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin: 64px 0 90px; align-items: start; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; display: block; background: var(--soft); }
.gallery img:nth-child(1) { grid-column: span 7; height: 520px; }
.gallery img:nth-child(2) { grid-column: span 5; height: 520px; }
.gallery img:nth-child(3) { grid-column: span 4; height: 560px; }
.gallery img:nth-child(4) { grid-column: span 8; height: 560px; }
.gallery img:nth-child(5) { grid-column: span 6; height: 460px; }
.gallery img:nth-child(6) { grid-column: span 6; height: 460px; }
.gallery img:nth-child(7) { grid-column: span 4; height: 620px; }
.gallery img:nth-child(8) { grid-column: span 4; height: 620px; }
.gallery img:nth-child(9) { grid-column: span 4; height: 620px; }
.coming-projects, .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.coming-projects article, .service { background: rgba(255,250,245,.56); border: 1px solid var(--line); border-radius: 24px; padding: 26px; min-height: 250px; }
.coming-projects span, .service span { display: block; color: var(--accent); margin-bottom: 42px; font-size: 14px; }
.coming-projects p, .service p { color: var(--muted); line-height: 1.6; }
.soft-card { background: #eadfd3 !important; }
.about-section { background: #efe4d8; padding: 130px 8vw; }
.about-content { max-width: 860px; }
.about-content p:not(.eyebrow) { color: var(--muted); font-size: 19px; line-height: 1.72; max-width: 700px; }
.contact-section { padding: 135px 8vw; text-align: center; background: var(--dark); color: var(--white); }
.contact-section h2 { max-width: 930px; margin: 0 auto 24px; }
.contact-section p { color: rgba(255,250,245,.72); font-size: 19px; line-height: 1.6; max-width: 620px; margin: 0 auto 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 13px 20px; border: 1px solid rgba(255,250,245,.48); border-radius: 999px; color: var(--white); text-decoration: none; font-size: 14px; transition: .25s ease; }
.button:hover { background: var(--white); color: var(--dark); transform: translateY(-1px); }
.footer { display: flex; justify-content: space-between; gap: 24px; padding: 32px 8vw; color: var(--muted); font-size: 14px; background: var(--paper); }
.footer a { color: inherit; }
@media (max-width: 1000px) { .featured-project, .coming-projects, .services-grid { grid-template-columns: 1fr; } .project-cover { min-height: 560px; } .gallery img { grid-column: 1 / -1 !important; height: auto !important; } }
@media (max-width: 760px) { .site-header { top: 12px; width: calc(100% - 24px); } .nav { display: none; } .hero { padding: 125px 24px 70px; } .scroll-cue { left: 24px; right: auto; bottom: 30px; } .section, .about-section { padding: 82px 24px; } .section-heading { display: block; } .heading-note { margin-top: 18px; } .project-meta { grid-template-columns: 1fr; } .project-cover { min-height: 430px; border-radius: 24px; } .footer { flex-direction: column; padding: 28px 24px; } }

/* Projet Kaatsup × Marion */
.kaatsup-cover { background-image: url('images/Avoriaz-Marion-Kaatsup-1.jpg'); background-position: center; }
.project-alt { margin-top: 110px; padding-top: 72px; border-top: 1px solid var(--line); }
.editorial-story { margin: 30px 0 110px; }
.editorial-story img { width: 100%; display: block; object-fit: cover; border-radius: 28px; background: var(--soft); box-shadow: 0 18px 60px rgba(39,32,28,.08); }
.story-row { margin: 22px 0; }
.story-row.wide img { height: min(82vh, 860px); }
.story-row.portrait-center { max-width: 620px; margin: 24px auto 80px; }
.story-row.portrait-center img { height: 760px; }
.story-row.cinematic img { height: min(88vh, 900px); object-position: center; }
.story-row.final img { height: min(88vh, 920px); object-position: center; }
.story-grid { display: grid; gap: 18px; margin: 18px 0; align-items: stretch; }
.story-grid.two { grid-template-columns: 1fr 1fr; }
.story-grid.three { grid-template-columns: repeat(3, 1fr); }
.story-grid img { height: 660px; }
.story-grid.three img { height: 520px; }
.story-grid.uneven img:first-child { height: 760px; }
.story-grid.uneven img:last-child { height: 620px; align-self: end; }
.story-caption { max-width: 660px; margin: 24px auto 54px; text-align: center; }
.story-caption p { color: var(--muted); font-size: 18px; line-height: 1.75; }
.editorial-story blockquote { max-width: 980px; margin: 90px auto; text-align: center; font-family: Georgia, serif; font-size: clamp(34px, 5vw, 72px); line-height: 1.05; letter-spacing: -0.055em; color: var(--ink); }
.coming-projects.reduced { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
@media (max-width: 1000px) { .story-grid.two, .story-grid.three, .coming-projects.reduced { grid-template-columns: 1fr; } .story-row.wide img, .story-row.cinematic img, .story-row.final img, .story-grid img, .story-grid.three img, .story-grid.uneven img:first-child, .story-grid.uneven img:last-child, .story-row.portrait-center img { height: auto; } }

/* V6 — projets cachés derrière trois cartes */
.project-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
.project-panel { display: contents; }
.project-panel summary { list-style: none; }
.project-panel summary::-webkit-details-marker { display: none; }
.project-card {
  min-height: 360px;
  border-radius: 30px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  color: var(--white);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 60px rgba(39,32,28,.12);
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,18,.08), rgba(20,20,18,.72));
}
.project-card > * { position: relative; z-index: 1; }
.project-card:hover { transform: translateY(-3px); box-shadow: 0 24px 70px rgba(39,32,28,.18); }
.project-card span { font-size: 13px; color: rgba(255,250,245,.78); margin-bottom: auto; }
.project-card h3 { max-width: 310px; margin-top: 120px; color: var(--white); font-size: clamp(28px, 3vw, 42px); line-height: 1; letter-spacing: -0.055em; }
.project-card p { margin: 12px 0 0; color: rgba(255,250,245,.78); line-height: 1.45; }
.saf-card { background-image: url('images/DSC00900.jpg'); }
.kaatsup-card { background-image: url('images/Avoriaz-Marion-Kaatsup-1.jpg'); }
.lecoq-card { background-image: url('images/Merlin-44.jpg'); background-position: center; }
.project-panel[open] .project-card { outline: 1px solid rgba(40,35,31,.18); transform: translateY(-3px); }
.project-detail {
  grid-column: 1 / -1;
  padding: 72px 0 26px;
  animation: projectReveal .35s ease both;
}
.project-detail .featured-project { margin-bottom: 72px; }
.project-alt.no-border { margin-top: 0; padding-top: 0; border-top: 0; }
.empty-project {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 8vw;
  text-align: center;
  background: rgba(255,250,245,.54);
  border: 1px solid var(--line);
  border-radius: 30px;
}
.empty-project p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.7; }
@keyframes projectReveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1000px) {
  .project-cards { grid-template-columns: 1fr; }
  .project-detail { grid-column: auto; padding-top: 42px; }
  .project-card { min-height: 280px; }
}

/* V6 corrigée — cartes cliquables puis projet affiché dessous */
.project-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.project-tabs .project-card {
  width: 100%;
  border: 0;
  text-align: left;
  font: inherit;
}
.project-tabs .project-card.is-active {
  transform: translateY(-3px);
  box-shadow: 0 26px 76px rgba(39,32,28,.2);
  outline: 1px solid rgba(255,250,245,.48);
}
.project-details { margin-top: 54px; }
.project-view { display: none; }
.project-view.is-visible { display: block; animation: projectReveal .35s ease both; }
.project-view .project-detail { padding-top: 0; }
.project-view .project-alt { margin-top: 0; }
@media (max-width: 1000px) {
  .project-tabs { grid-template-columns: 1fr; }
}

/* V7 — projet Le Coq Sportif × Merlin Surget */
.lecoq-cover { background-image: url('images/Merlin-44.jpg'); background-position: center; }
.lecoq-story .story-row.wide:first-child img { object-position: center; }

/* V8 — section À propos avec portrait */
.about-with-photo {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(320px, 1.15fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: center;
  background: #efe4d8;
}
.about-photo img {
  width: 100%;
  height: min(82vh, 760px);
  object-fit: cover;
  object-position: center;
  border-radius: 32px;
  display: block;
  box-shadow: 0 24px 70px rgba(39,32,28,.14);
}
.about-with-photo .about-content { max-width: 780px; }
.about-with-photo .about-content h2 { margin-bottom: 30px; }
.about-signature {
  display: grid;
  gap: 8px;
  margin: 34px 0 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .02em;
}
@media (max-width: 1000px) {
  .about-with-photo { grid-template-columns: 1fr; }
  .about-photo img { height: auto; max-height: none; }
}


/* V9 — réseaux sociaux */
.social-section {
  padding: 120px 8vw;
  background: var(--paper);
}
.social-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.social-inner h2 {
  max-width: 840px;
  margin: 0 auto 24px;
}
.social-inner > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}
.instagram-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  transition: .25s ease;
}
.instagram-button:hover { transform: translateY(-2px); background: var(--accent); }
.social-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
  text-align: left;
}
.social-links a {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255,250,245,.62);
  transition: .25s ease;
}
.social-links a:hover { transform: translateY(-2px); background: #fffaf5; box-shadow: 0 16px 50px rgba(39,32,28,.08); }
.social-links span {
  display: block;
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 10px;
}
.social-links strong {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.035em;
}
@media (max-width: 760px) {
  .social-section { padding: 82px 24px; }
  .social-links { grid-template-columns: 1fr; }
}
