@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400&family=Cormorant+Garamond:ital,wght@1,300;1,400&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --ivoire:    #FBF7F0;
  --lin:       #F1E9DA;
  --greige:    #DCD2C0;
  --or:        #C9A43C;
  --or-fonce:  #A8862B;
  --encre:     #2B2620;

  --nav-h: 72px;
  --side: clamp(1.5rem, 5vw, 4rem);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--encre);
  background: var(--ivoire);
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typographie utilitaires ────────────────────────────── */
.label {
  font-size: 9px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--or);
  font-weight: 400;
}
.titre-section {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--encre);
}
.accent {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
}
.or-line {
  width: 36px;
  height: 0.5px;
  background: var(--or);
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--side);
  background: var(--ivoire);
  border-bottom: 0.5px solid var(--greige);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(43,38,32,0.06); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-logo-text span:first-child {
  font-size: 9px;
  letter-spacing: 0.35em;
  font-weight: 400;
  color: var(--encre);
  text-transform: uppercase;
}
.nav-logo-text span:last-child {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 11px;
  color: var(--or-fonce);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--encre);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 0.5px;
  background: var(--or);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--or-fonce); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--or-fonce); }

.nav-contact {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--or-fonce);
  border: 0.5px solid var(--or);
  padding: 8px 18px;
  transition: background 0.2s, color 0.2s;
}
.nav-contact:hover {
  background: var(--or);
  color: var(--ivoire);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 0.5px;
  background: var(--encre);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem var(--side);
  padding-top: calc(var(--nav-h) + 3rem);
  gap: 1.5rem;
}
.hero-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--or);
  letter-spacing: 0.04em;
}
.hero-titre {
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: 0.2em;
  font-weight: 300;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--encre);
}
.hero-desc {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  color: var(--encre);
  opacity: 0.75;
  max-width: 400px;
}
.btn-lien {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--or-fonce);
  width: fit-content;
  transition: gap 0.3s;
}
.btn-lien::after {
  content: '';
  display: block;
  width: 30px;
  height: 0.5px;
  background: var(--or);
  transition: width 0.3s;
}
.btn-lien:hover { gap: 18px; }
.btn-lien:hover::after { width: 44px; }

.hero-right {
  background: var(--lin);
  position: relative;
  overflow: hidden;
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lin);
}
.hero-image-placeholder img.logo-watermark {
  width: 55%;
  height: auto;
  object-fit: contain;
  opacity: 0.15;
}

/* ── Section header centré ──────────────────────────────── */
.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
}
.section-header .accent {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--encre);
  opacity: 0.6;
}

/* ── Séparateur or ──────────────────────────────────────── */
.separateur {
  width: 36px;
  height: 0.5px;
  background: var(--or);
  margin: 0 auto;
}

/* ── Section savoir-faire ───────────────────────────────── */
.section-savoir {
  padding: 6rem var(--side);
  background: var(--ivoire);
}
.savoir-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 0.5px solid var(--greige);
  gap: 0.5px;
  background: var(--greige);
}
.savoir-card {
  background: var(--ivoire);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.3s;
}
.savoir-card:hover { background: var(--lin); }
.savoir-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 36px;
  color: var(--or);
  opacity: 0.4;
  line-height: 1;
}
.savoir-titre {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--encre);
}
.savoir-texte {
  font-size: 13px;
  line-height: 1.9;
  color: var(--encre);
  opacity: 0.7;
}

/* ── Section réalisations (aperçu) ─────────────────────── */
.section-realisations {
  padding: 6rem var(--side);
  background: var(--lin);
}
.galerie-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.galerie-item {
  position: relative;
  overflow: hidden;
  background: var(--greige);
  aspect-ratio: 2/3;
}
.galerie-item img { transition: transform 0.6s ease; width: 100%; height: 100%; object-fit: cover; }
.galerie-item:hover img { transform: scale(1.04); }
.galerie-legende {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.2rem 1rem;
  background: linear-gradient(transparent, rgba(43,38,32,0.55));
  opacity: 0;
  transition: opacity 0.3s;
}
.galerie-item:hover .galerie-legende { opacity: 1; }
.galerie-legende span {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ivoire);
  text-transform: uppercase;
  font-weight: 400;
}
.galerie-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.galerie-placeholder span {
  font-size: 8px;
  letter-spacing: 0.25em;
  color: var(--or-fonce);
  opacity: 0.4;
  text-transform: uppercase;
}
.voir-plus {
  margin-top: 2.5rem;
  text-align: center;
}

/* ── Section matériauthèque ─────────────────────────────── */
.section-materiautheque {
  padding: 6rem var(--side);
  background: var(--lin);
  border-top: 0.5px solid var(--greige);
}
.mat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--greige);
  border: 0.5px solid var(--greige);
}
.mat-card {
  background: var(--ivoire);
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 0.3s;
}
.mat-card-bg {
  position: absolute;
  inset: 0;
  background: var(--greige);
}
.mat-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mat-card-placeholder span {
  font-size: 7px;
  letter-spacing: 0.2em;
  color: var(--or-fonce);
  opacity: 0.4;
  text-transform: uppercase;
}
.mat-card-info {
  position: relative;
  padding: 1.2rem 1rem;
  background: var(--ivoire);
  border-top: 0.5px solid var(--greige);
}
.mat-card-nom {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--encre);
  margin-bottom: 3px;
}
.mat-card-desc {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--encre);
  opacity: 0.6;
}

/* ── Section à propos ───────────────────────────────────── */
.section-apropos {
  padding: 6rem var(--side);
  background: var(--ivoire);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.apropos-photo {
  aspect-ratio: 3/4;
  background: var(--lin);
  position: relative;
  overflow: hidden;
}
.apropos-photo::after {
  content: '';
  position: absolute;
  top: 1.5rem; left: 1.5rem; right: -1.5rem; bottom: -1.5rem;
  border: 0.5px solid var(--or);
  z-index: 0;
  pointer-events: none;
}
.apropos-photo > * { position: relative; z-index: 1; }
.apropos-texte {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.apropos-texte p {
  font-size: 14px;
  line-height: 1.9;
  opacity: 0.75;
}
.apropos-signature {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--or-fonce);
}

/* ── Section blog ───────────────────────────────────────── */
.section-blog {
  padding: 6rem var(--side);
  background: var(--lin);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--greige);
  border: 0.5px solid var(--greige);
}
.blog-card {
  background: var(--ivoire);
  display: flex;
  flex-direction: column;
  transition: background 0.3s;
}
.blog-card:hover { background: #FBF7F0; }
.blog-card-img {
  aspect-ratio: 4/3;
  background: var(--greige);
  overflow: hidden;
  position: relative;
}
.blog-card-img img { transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body {
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.blog-date {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--or);
  text-transform: uppercase;
}
.blog-titre {
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--encre);
}
.blog-extrait {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.7;
  color: var(--encre);
  opacity: 0.65;
  flex: 1;
}
.blog-lire {
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or-fonce);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}
.blog-lire::after {
  content: '';
  display: block;
  width: 20px;
  height: 0.5px;
  background: var(--or);
  transition: width 0.3s;
}
.blog-card:hover .blog-lire { gap: 12px; }
.blog-card:hover .blog-lire::after { width: 32px; }

/* ── Section contact ────────────────────────────────────── */
.section-contact {
  padding: 6rem var(--side);
  background: var(--ivoire);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-info p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.6;
  color: var(--encre);
  opacity: 0.8;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-details a {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--encre);
  opacity: 0.7;
  transition: color 0.2s, opacity 0.2s;
}
.contact-details a:hover { color: var(--or-fonce); opacity: 1; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-groupe {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-groupe label {
  font-size: 8px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--encre);
  opacity: 0.6;
}
.form-groupe input,
.form-groupe textarea,
.form-groupe select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 0.5px solid var(--greige);
  padding: 10px 0;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--encre);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-groupe input[type="checkbox"] {
  width: auto;
  height: auto;
  border: none;
  padding: 0;
  flex-shrink: 0;
}
.form-groupe input:focus,
.form-groupe textarea:focus,
.form-groupe select:focus {
  border-bottom-color: var(--or);
}
.form-groupe textarea {
  resize: none;
  height: 100px;
}
.form-groupe select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23A8862B'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 20px;
}
.btn-envoyer {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ivoire);
  background: var(--or-fonce);
  border: none;
  padding: 16px 32px;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
  align-self: flex-start;
}
.btn-envoyer:hover { background: var(--or); }
.form-success {
  display: none;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--or-fonce);
  padding: 1.5rem 0;
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--encre);
  padding: 4rem var(--side) 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.footer-brand-name {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(251,247,240,0.5);
  font-weight: 400;
}
.footer-brand-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--or);
}
.footer-col-titre {
  font-size: 8px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.2rem;
  font-weight: 400;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col ul a {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(251,247,240,0.5);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--ivoire); }
.footer-col p {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(251,247,240,0.5);
  line-height: 2;
}
.footer-col p a { color: rgba(251,247,240,0.5); transition: color 0.2s; }
.footer-col p a:hover { color: var(--ivoire); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(251,247,240,0.25);
}
.footer-legal a {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(251,247,240,0.25);
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(251,247,240,0.5); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-contact { display: none; }
  .nav-burger { display: flex; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { min-height: 50vw; }

  .savoir-grid { grid-template-columns: 1fr; }
  .galerie-home {
    grid-template-columns: 1fr 1fr;
  }
  .galerie-item:first-child { grid-row: auto; }

  .mat-grid { grid-template-columns: repeat(2, 1fr); }
  .section-apropos { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .section-contact { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Menu mobile ─────────────────────────────────────────── */
.nav-mobile {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--ivoire);
  border-bottom: 0.5px solid var(--greige);
  padding: 2rem var(--side);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateY(-110%);
  transition: transform 0.35s ease;
  z-index: 99;
}
.nav-mobile.ouvert { transform: translateY(0); }
.nav-mobile a {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--encre);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--or-fonce); }

/* ── Animation entrée ────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
</style>
