@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=EB+Garamond:ital@0;1&display=swap');

:root {
  --navy: #10182A;
  --navy-light: #1B2438;
  --ivory: #F7F4ED;
  --gold: #AB8E60;
  --gold-light: #C7B084;
  --charcoal: #333A4D;
}

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

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

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

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}

/* ===== HEADER ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 40px;
  background: var(--navy);
  border-bottom: 1px solid rgba(171,142,96,0.25);
}

.logo-block { display: flex; align-items: center; gap: 16px; }

.monogram {
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--gold);
}

.wordmark { line-height: 1.3; }
.wordmark .name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--ivory);
}
.wordmark .tagline {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.5px;
}

nav ul { list-style: none; display: flex; gap: 40px; }
nav a {
  font-size: 17px;
  color: var(--ivory);
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.3s;
}
nav a:hover { border-color: var(--gold); }

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 150px 20px;
  background: var(--navy);
}
.hero h1 { font-size: 80px; margin-bottom: 40px; color: var(--ivory); }
.hero .label {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 40px;
}
.divider {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 0 auto 40px;
}
.hero p {
  max-width: 620px;
  margin: 0 auto 48px;
  color: #C7CCD8;
}
.cta {
  display: inline-block;
  padding: 18px 44px;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--navy);
  font-size: 15px;
  letter-spacing: 2px;
  transition: background 0.3s, color 0.3s, opacity 0.3s;
}
.cta:hover { opacity: 0.85; }

/* ===== SECTION GENERIC ===== */
section { padding: 0 20px 120px; }
#contact { padding-top: 120px; padding-bottom: 120px; }
.section-head { text-align: center; margin-bottom: 120px; }
.section-head h2 { font-size: 50px; margin-bottom: 40px; }
.section-head .label {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 40px;
}
.prestations-lead { padding-top: 150px; }

/* ===== CARDS (prestations / detail pages) ===== */
.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}
.card { text-align: center; }
.card-image {
  width: 100%; aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid rgba(171,142,96,0.4);
  margin-bottom: 70px;
}
.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95);
}
.card h3 { font-size: 50px; margin-bottom: 40px; }
.card .card-label {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 40px;
}
.card p { margin-bottom: 32px; }
.card h3 a {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.card h3 a:hover { border-bottom-color: var(--gold); }
.card .more {
  display: inline-block;
  margin-top: 24px;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== METHODE (navy band) ===== */
.methode {
  background: var(--navy);
  color: var(--ivory);
  padding: 150px 20px 150px;
}
.methode .section-head h2, .methode .section-head .label { color: var(--ivory); }
.methode .section-head .label { color: var(--gold-light); }
.piliers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.pilier .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 30px;
}
.pilier h3 { color: var(--ivory); font-size: 26px; margin-bottom: 24px; white-space: nowrap; }
.pilier p { color: #D8DCE3; font-size: 17px; }

/* ===== AGENCE ===== */
.equipe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}
.membre { text-align: center; }
.membre .card-image { aspect-ratio: 1/1; }
.membre .card-image img { object-position: center 20%; }
.membre .nom { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 32px; color: var(--navy); margin-bottom: 12px; }
.membre .role { font-family: 'EB Garamond', serif; font-style: italic; color: var(--gold); font-size: 19px; margin-bottom: 28px; }
.membre .bio { font-size: 17px; }

/* ===== PAGE-BODY (prose : CGV, confidentialité, pages événements) ===== */
.page-body { max-width: 760px; margin: 0 auto 100px; }
.page-body h3 {
  font-size: 26px;
  margin-top: 56px;
  margin-bottom: 20px;
  color: var(--navy);
}
.page-body h3:first-child { margin-top: 0; }
.page-body p { margin-bottom: 20px; text-align: left; }

/* ===== CONTACT ===== */
.contact { text-align: center; }
.contact-block { margin-top: 60px; }
.contact-block .item { margin-bottom: 32px; }
.contact-block .item-label { font-size: 15px; letter-spacing: 1px; color: var(--gold); margin-bottom: 8px; }
.contact-block .item-value { font-family: 'Cormorant Garamond', serif; font-size: 26px; color: var(--navy); }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  padding: 60px 40px;
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  row-gap: 10px;
}
.footer-name { grid-column: 1; grid-row: 1; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 20px; letter-spacing: 1px; color: var(--ivory); }
.footer-tagline { grid-column: 1; grid-row: 2; font-style: italic; font-size: 14px; color: var(--gold); align-self: center; }
.footer-center { grid-column: 2; grid-row: 2; text-align: center; display: flex; gap: 24px; justify-content: center; align-items: center; }
.footer-center a { font-size: 15px; color: var(--ivory); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.footer-right-1 { grid-column: 3; grid-row: 1; text-align: right; font-size: 14px; }
.footer-right-2 { grid-column: 3; grid-row: 2; text-align: right; font-size: 14px; align-self: center; }
.footer-right-3 { grid-column: 3; grid-row: 3; text-align: right; font-size: 14px; }
.footer-right-1, .footer-right-2, .footer-right-3 { color: #A9AEBB; }
.footer-right-1 a, .footer-right-2 a { color: #A9AEBB; }
.footer-right-1 a:hover, .footer-right-2 a:hover { color: var(--gold); }

/* ===== MODAL ÉTUDE CONFIDENTIELLE ===== */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(16,24,42,0.75);
  z-index: 1000;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--ivory);
  max-width: 460px; width: 100%;
  padding: 56px 44px;
  position: relative;
  border: 1px solid var(--gold);
  text-align: center;
}
.modal-close {
  position: absolute; top: 18px; right: 22px;
  font-size: 22px; color: var(--navy);
  cursor: pointer; background: none; border: none;
  font-family: 'EB Garamond', serif;
}
.modal-box h3 { font-size: 32px; margin-bottom: 16px; }
.modal-box .modal-sub { font-family: 'EB Garamond', serif; font-style: italic; color: var(--gold); font-size: 18px; margin-bottom: 36px; }
.modal-box form { display: flex; flex-direction: column; gap: 18px; }
.modal-box input {
  width: 100%;
  padding: 14px 16px;
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  border: 1px solid #C9CDD6;
  background: #fff;
  color: var(--charcoal);
}
.modal-box input:focus { outline: none; border-color: var(--gold); }
.modal-box button[type="submit"] {
  margin-top: 10px;
  padding: 16px;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--navy);
  font-size: 15px;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: opacity 0.3s;
}
.modal-box button[type="submit"]:hover { opacity: 0.85; }

/* ===== TÉLÉPHONE DROPDOWN ===== */
.phone-wrap { position: relative; display: inline-block; }
#phone-trigger { cursor: pointer; }
.phone-dropdown {
  display: none;
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
  background: var(--ivory);
  border: 1px solid var(--gold);
  min-width: 180px;
  z-index: 10;
}
.phone-dropdown.open { display: block; }
.phone-dropdown a {
  display: block;
  padding: 14px 20px;
  font-size: 16px;
  color: var(--navy);
  text-align: center;
}
.phone-dropdown a:hover { background: rgba(171,142,96,0.12); }
.phone-dropdown a + a { border-top: 1px solid rgba(171,142,96,0.25); }

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
  .pilier h3 { white-space: normal; }
  header { flex-direction: column; gap: 24px; }
  nav ul { gap: 24px; flex-wrap: wrap; justify-content: center; }
  .hero h1 { font-size: 48px; }
  .section-head h2, .card h3 { font-size: 34px; }
  .cards-2, .cards-3, .piliers, .equipe { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 16px; text-align: center; }
  .footer-name, .footer-tagline, .footer-center,
  .footer-right-1, .footer-right-2, .footer-right-3 { grid-column: 1; text-align: center; }
  .footer-name { grid-row: 1; }
  .footer-tagline { grid-row: 2; }
  .footer-center { grid-row: 3; }
  .footer-right-1 { grid-row: 4; }
  .footer-right-2 { grid-row: 5; }
  .footer-right-3 { grid-row: 6; }
}
