@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@300;400&display=swap');
:root { --primary-color: #111111; --secondary-color: #c9a563; --background-color: #ffffff; --text-color: #333333; --light-text-color: #eeeeee; --font-main: 'Playfair Display', serif; --font-text: 'Roboto', sans-serif; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-text); color: var(--text-color); background-color: var(--background-color); line-height: 1.8; font-weight: 300; }
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1.5rem 2rem; background-color: transparent; transition: background-color 0.4s ease, padding 0.4s ease; display: flex; justify-content: center; align-items: center; }
header.scrolled { background-color: var(--primary-color); padding: 1rem 2rem; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
nav { display: flex; justify-content: center; flex-wrap: wrap; }
nav a { color: var(--light-text-color); text-decoration: none; padding: 0.5rem 1.5rem; font-family: var(--font-main); font-size: 1.1rem; font-weight: 700; letter-spacing: 1px; transition: color 0.3s; border-bottom: 2px solid transparent; }
nav a:hover, nav a.active { color: var(--secondary-color); }
header.scrolled nav a.active { border-bottom-color: var(--secondary-color); }
.burger-menu { display: none; width: 30px; height: 25px; background: transparent; border: none; cursor: pointer; position: relative; z-index: 1010; }
.burger-menu span { display: block; width: 100%; height: 3px; background-color: var(--light-text-color); margin: 5px 0; transition: transform 0.4s, opacity 0.4s; border-radius: 2px; }
.burger-menu.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-menu.open span:nth-child(2) { opacity: 0; }
.burger-menu.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
main { padding: 2rem; max-width: 1200px; margin: 0 auto; }
.page { display: none; padding-top: 100px; animation: fadeIn 0.8s ease-in-out; }
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
h1, h2, h3 { font-family: var(--font-main); color: var(--primary-color); margin-bottom: 1.5rem; font-weight: 700; }
h1 { font-size: 3.5rem; text-align: center; }
h2 { font-size: 2.8rem; text-align: center; margin-bottom: 2rem; padding-bottom: 1rem; position: relative; }
h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 2px; background-color: var(--secondary-color); }
h3 { font-size: 1.8rem; margin-top: 2rem; }
p { margin-bottom: 1rem; font-size: 1.05rem; }
ul { list-style-position: inside; margin-bottom: 1rem; padding-left: 20px; }
article { margin-bottom: 2rem; }
.quote { font-style: normal; font-family: var(--font-main); font-size: 1.3rem; color: #555; text-align: center; padding: 2rem 0; }
.cta-button { display: inline-block; background-color: var(--secondary-color); color: #fff; padding: 1rem 2rem; text-decoration: none; border-radius: 2px; font-weight: 400; transition: background-color 0.3s, color 0.3s; border: 2px solid var(--secondary-color); font-family: var(--font-text); }
.cta-button:hover { background-color: transparent; color: var(--secondary-color); }
.estimation-form { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.estimation-form label { font-family: var(--font-main); font-size: 1.3rem; color: var(--primary-color); }
.estimation-form input, .estimation-form textarea, .estimation-form select { padding: 0.8rem; border: 1px solid #ccc; border-radius: 2px; font-family: var(--font-text); font-size: 1rem; transition: border-color 0.3s; }
.estimation-form input:focus, .estimation-form textarea:focus, .estimation-form select:focus { outline: none; border-color: var(--secondary-color); }
.estimation-form button { align-self: flex-start; padding: 1rem 2.5rem; background-color: var(--primary-color); color: white; border: 2px solid var(--primary-color); border-radius: 2px; cursor: pointer; font-size: 1.1rem; transition: background-color 0.3s, color 0.3s; }
.estimation-form button:hover { background-color: transparent; color: var(--primary-color); }
footer { text-align: center; padding: 3rem; margin-top: 2rem; background-color: var(--primary-color); color: #aaa; }
.fade-in-element { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in-element.visible { opacity: 1; transform: translateY(0); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.gallery-item { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 1 / 1; border-radius: 4px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(17, 17, 17, 0.6); display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.4s ease; }
.gallery-item:hover .overlay { opacity: 1; }
.overlay .zoom-icon { color: white; font-size: 4rem; font-weight: 300; }
.modal { display: none; position: fixed; z-index: 2000; padding: 0; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background-color: rgba(0, 0, 0, 0.9); justify-content: center; align-items: center; }
.modal.active { display: flex; }
.modal-content { margin: auto; display: block; max-width: 85%; max-height: 85vh; animation-name: zoom; animation-duration: 0.4s; }
@keyframes zoom { from {transform: scale(0.5)} to {transform: scale(1)} }
.close-modal { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; cursor: pointer; z-index: 2010; }
.close-modal:hover, .close-modal:focus { color: #bbb; text-decoration: none; }
.modal-nav { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(0, 0, 0, 0.5); color: white; border: none; padding: 1rem; font-size: 1.5rem; cursor: pointer; transition: background-color 0.3s ease; z-index: 2005; border-radius: 4px; line-height: 1; }
.modal-nav:hover { background-color: rgba(0, 0, 0, 0.8); }
.modal-nav.prev { left: 1rem; }
.modal-nav.next { right: 1rem; }

@media (max-width: 768px) {
  header { justify-content: flex-end; }
  .burger-menu { display: block; }
  nav { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: var(--primary-color); flex-direction: column; justify-content: center; align-items: center; gap: 2rem; transform: translateX(100%); transition: transform 0.4s ease-in-out; }
  nav.open { transform: translateX(0); }
  nav a { font-size: 1.5rem; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2.2rem; }
  main { padding: 1rem; }
  .modal-content { max-width: 95%; }
  .cta-button, .estimation-form button { display: block; width: 100%; text-align: center; padding: 1rem; }
  .cta-button { margin-top: 1.5rem; }
  .modal-nav { padding: 0.8rem; font-size: 1.2rem; }
  .modal-nav.prev { left: 0.5rem; }
  .modal-nav.next { right: 0.5rem; }

  /* Le bloc pour justifier le texte a été retiré. */
}
