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

:root {
  --ivory: #F5F2EB;
  --ivory-mid: #EBE4DB;
  --ivory-drk: #D4C9B8;
  --gold: #9A7B3E;
  --gold-lt: #C4A05A;
  --ink: #2A2218;
  --ink-md: #3D3224;
  --ink-lt: #6B5E46;
  --white: #FFFFFF;
  --black-overlay: rgba(0, 0, 0, 0.45);
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Cormorant Garamond', 'Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--ink);
}

/* NAVIGATION */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 242, 235, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ivory-mid);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  height: 70px;
  transition: background 0.3s ease, height 0.3s ease;
}

.nav-logo {
  font-family: 'Cormorant SC', serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 42px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.nav-logo:hover img {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Cormorant SC', serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-lt);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Burger menu open state */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* MAIN CONTENT WRAPPER */
main {
  flex: 1 0 auto;
  margin-top: 70px;
}

/* HERO SECTION (HOME) */
.hero {
  position: relative;
  height: calc(90vh - 70px);
  min-height: 480px;
  width: 100%;
  overflow: hidden;
  background-color: var(--ink);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.hero-content {
  max-width: 900px;
}

.hero-title {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* PAGE SECTION CONTAINER */
.section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Cormorant SC', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background-color: var(--gold-lt);
  margin: 1rem auto 0;
}

/* HOME - NOS VENTES RECENTES */
.ventes-intro {
  text-align: center;
  max-width: 750px;
  margin: -1.5rem auto 3rem;
  font-size: 1.15rem;
  color: var(--ink-lt);
  font-style: italic;
}

.ventes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.vente-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: transform 0.4s ease;
}

.vente-card:hover {
  transform: translateY(-8px);
}

.vente-img-wrapper {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--ivory-mid);
  background-color: #FFFFFF;
  margin-bottom: 1rem;
}

.vente-img-wrapper a {
  display: block;
  width: 100%;
  height: 100%;
}

.vente-card:nth-child(2) .vente-img-wrapper {
  aspect-ratio: 16 / 11; /* Make the wide image look correct */
}

.vente-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.vente-card:hover .vente-img {
  transform: scale(1.05);
}

.vente-info {
  text-align: center;
}

.vente-artist {
  font-family: 'Cormorant SC', serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.vente-title {
  font-size: 1rem;
  font-style: italic;
  color: var(--ink);
}

/* SERVICES PAGE */
.services-intro {
  text-align: center;
  max-width: 800px;
  margin: -1rem auto 4rem;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--ink-md);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.service-card {
  background: transparent;
  border: 1px solid var(--ivory-mid);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-lt);
  box-shadow: 0 10px 25px rgba(42, 34, 24, 0.05);
}

.service-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-link .service-content {
  text-align: center;
  padding: 1.8rem 1.5rem;
  justify-content: center;
  align-items: center;
}

.service-link .service-name {
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.service-link:hover .service-name {
  color: var(--gold-lt);
}

.service-img-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--ivory-mid);
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img {
  transform: scale(1.04);
}

.service-content {
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-name {
  font-family: 'Cormorant SC', serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.service-desc {
  font-size: 1rem;
  color: var(--ink-md);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-section-title {
  font-family: 'Cormorant SC', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-lt);
  margin: 1.2rem 0 0.5rem;
  border-bottom: 1px solid var(--ivory-mid);
  padding-bottom: 0.2rem;
}

.service-list {
  list-style: none;
  margin-bottom: 1rem;
}

.service-list li {
  font-size: 0.95rem;
  color: var(--ink-md);
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1.1rem;
  line-height: 1.5;
}

.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-lt);
}

/* TEAM PAGE */
.team-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
}

.team-member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-portrait-wrapper {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--ivory-mid);
  background-color: var(--white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease;
}

.team-portrait-wrapper:hover {
  transform: scale(1.02);
}

.team-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.1);
  transition: filter 0.4s ease;
}

.team-portrait-wrapper:hover .team-portrait {
  filter: sepia(0);
}

.team-member-info {
  text-align: center;
}

.team-member-name {
  font-family: 'Cormorant SC', serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.team-member-role {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.team-bios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ivory-mid);
}

.team-bio {
  font-size: 0.98rem;
  color: var(--ink-md);
  line-height: 1.8;
  text-align: justify;
}

.team-bio p {
  margin-bottom: 1rem;
}

/* CONTACT PAGE */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-block {
  padding-right: 1.5rem;
}

.contact-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.contact-address {
  font-size: 1.05rem;
  color: var(--ink-md);
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-members {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-member {
  border-left: 2px solid var(--ivory-mid);
  padding-left: 1.2rem;
}

.contact-member-name {
  font-family: 'Cormorant SC', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.contact-member-role {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-lt);
  display: block;
  margin-bottom: 0.4rem;
}

.contact-member-detail {
  font-size: 0.9rem;
  color: var(--ink-md);
  display: block;
}

.contact-member-detail a {
  color: var(--gold);
  text-decoration: none;
}

.contact-member-detail a:hover {
  text-decoration: underline;
}

/* FORM STYLES */
.contact-form-container {
  background: transparent;
  border-left: 1px solid var(--ivory-mid);
  padding-left: 4rem;
}

.submission-form {
  display: flex;
  flex-direction: column;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: 'Cormorant SC', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-lt);
  margin-bottom: 0.45rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  background: rgba(235, 228, 219, 0.2);
  border: 1px solid var(--ivory-mid);
  border-radius: 2px;
  color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  outline: none;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(235, 228, 219, 0.4);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.file-upload-wrapper {
  position: relative;
  display: block;
}

.file-upload-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-btn {
  display: inline-block;
  background: rgba(235, 228, 219, 0.15);
  border: 1px dashed var(--gold-lt);
  color: var(--ink-md);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  padding: 0.85rem;
  width: 100%;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.file-upload-btn:hover {
  background: var(--ivory-mid);
  border-color: var(--gold);
}

.submit-btn {
  background: var(--gold);
  color: var(--ivory);
  border: 1px solid var(--gold);
  font-family: 'Cormorant SC', serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  cursor: pointer;
  width: 100%;
  border-radius: 2px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

.submit-btn:disabled {
  background: var(--ivory-drk);
  border-color: var(--ivory-drk);
  cursor: not-allowed;
}

.form-status {
  margin-top: 1.2rem;
  padding: 0.85rem;
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  border-radius: 2px;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(44, 61, 47, 0.06);
  color: #2c3d2f;
  border: 1px solid rgba(44, 61, 47, 0.2);
}

.form-status.error {
  display: block;
  background: rgba(154, 43, 43, 0.06);
  color: #9a2b2b;
  border: 1px solid rgba(154, 43, 43, 0.2);
}

/* FOOTER */
footer {
  background: var(--ink);
  color: var(--ivory-drk);
  padding: 4rem 4rem 3rem;
  border-top: 1px solid rgba(212, 201, 184, 0.1);
  flex-shrink: 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1rem;
  display: block;
}

.footer-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.footer-desc {
  font-size: 0.95rem;
  color: #A39683;
  line-height: 1.6;
}

.footer-title {
  font-family: 'Cormorant SC', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-lt);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-address {
  font-size: 0.92rem;
  color: #A39683;
  font-style: normal;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: #A39683;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold-lt);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(212, 201, 184, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: #635848;
}

.footer-by {
  font-size: 0.8rem;
  color: #635848;
}

.footer-legal {
  font-size: 0.8rem;
}

.footer-legal a {
  color: #635848;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--gold);
}

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1024px) {
  nav {
    padding: 0 2rem;
  }

  .section {
    padding: 4rem 2rem;
  }

  .ventes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .team-grid {
    gap: 2rem;
  }

  .team-bios-grid {
    gap: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-form-container {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--ivory-mid);
    padding-top: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-logo img {
    height: 36px;
  }

  .footer-logo img {
    height: 32px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--ivory-mid);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.8rem 2rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    height: 60vh;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .team-portrait-wrapper {
    max-width: 320px;
  }

  .team-bios-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0 1rem;
  }
  
  .nav-logo {
    font-size: 0.95rem;
    letter-spacing: 0.12em;
  }

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

  .ventes-grid {
    grid-template-columns: 1fr;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .section {
    padding: 3rem 1rem;
  }

  footer {
    padding: 3rem 1.5rem 2rem;
  }
}

/* LEGAL PAGES STYLES */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  line-height: 1.8;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-family: 'Cormorant SC', serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--ivory-mid);
  padding-bottom: 0.3rem;
}

.legal-section p {
  font-size: 1rem;
  color: var(--ink-md);
  margin-bottom: 1rem;
}

.legal-section address {
  font-style: normal;
  font-size: 1rem;
  color: var(--ink-md);
  margin-bottom: 1rem;
}

.legal-intro {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink-lt);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.legal-section ul {
  list-style: none;
  margin-bottom: 1.5rem;
  padding-left: 0;
}

.legal-section ul li {
  font-size: 0.98rem;
  color: var(--ink-md);
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.6;
}

.legal-section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-lt);
}

.to-complete {
  color: #c94a29;
  background: rgba(201, 74, 41, 0.05);
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  font-style: italic;
}


