:root {
  --navy: #1b2a4a;
  --navy-hover: #28395e;
  --navy-dark: #0f1a2e;
  --gold: #b8953e;
  --bg: #fafaf7;
  --text: #333333;
  --heading: #1a1a1a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: hidden;
}

::selection { background: var(--navy); color: var(--bg); }
input::placeholder, textarea::placeholder { color: #a8a8a2; }

h1, h2, h3 { font-family: 'EB Garamond', serif; margin: 0; }

a { color: inherit; }

.placeholder {
  background-color: #e8e8e4;
  background-image: repeating-linear-gradient(135deg, rgba(0,0,0,0.025) 0px, rgba(0,0,0,0.025) 1px, transparent 1px, transparent 14px);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.placeholder span {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  color: #999999;
  font-size: 14px;
  line-height: 1.5;
}
.placeholder-hero { aspect-ratio: 5/6; }

.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 5/6;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  box-shadow: 0 20px 48px rgba(27,42,74,0.12);
}
.placeholder-portrait-lg { aspect-ratio: 4/5; }
.placeholder-portrait { aspect-ratio: 3/4; margin-bottom: 24px; padding: 20px; }
.placeholder-news { aspect-ratio: 16/10; margin-bottom: 20px; padding: 20px; }
.placeholder-map { aspect-ratio: 16/10; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 72px);
  height: 84px;
}
.brand {
  font-family: 'EB Garamond', serif;
  font-variant: small-caps;
  font-size: 20px;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--navy); }

.btn {
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-outline {
  font-size: 13px;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 11px 24px;
  white-space: nowrap;
}
.btn-outline:hover { background-color: var(--navy); color: var(--bg); }
.btn-primary { background-color: var(--navy); color: var(--bg); padding: 16px 36px; }
.btn-primary:hover { background-color: var(--navy-hover); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle.is-open .icon-open { display: none; }
.menu-toggle.is-open .icon-close { display: block; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 84px; left: 0; right: 0;
  z-index: 99;
  background-color: var(--bg);
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 16px 32px rgba(15,26,46,0.12);
  flex-direction: column;
  padding: 8px clamp(24px, 5vw, 72px) 24px;
  max-height: calc(100vh - 84px);
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-link {
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  padding: 16px 4px;
  border-bottom: 1px solid #f0f0ee;
}
.mobile-cta {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--bg);
  background-color: var(--navy);
  padding: 14px;
  border-radius: 4px;
  text-decoration: none;
}

@media (max-width: 1023px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
}

/* Hero */
.hero {
  padding: calc(84px + clamp(56px, 9vw, 120px)) clamp(24px, 5vw, 72px) clamp(56px, 9vw, 120px);
  background-color: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.hero-text { flex: 1 1 460px; min-width: 0; }
.hero-text h1 {
  font-weight: 500;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.15;
  color: var(--heading);
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0 0 24px;
  max-width: 460px;
}
.hero-rule { width: 64px; height: 1px; background-color: var(--navy); margin-bottom: 32px; }
.hero-image { flex: 1 1 360px; min-width: 280px; }

/* Sections */
.section { padding: clamp(64px, 9vw, 140px) clamp(24px, 5vw, 72px); }
.section-white { background-color: #ffffff; }
.section-tinted { background-color: #f7f7f5; }
.section-dark { background-color: var(--navy); }
.section-inner { max-width: 1240px; margin: 0 auto; }
.section-heading { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--navy);
  margin-bottom: 20px;
}
.section h2 {
  font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  color: var(--heading);
  line-height: 1.2;
}
.section h2.light { color: var(--bg); }

.two-col {
  display: flex;
  gap: clamp(40px, 6vw, 96px);
  flex-wrap: wrap;
  align-items: center;
}
.two-col .col { flex: 1 1 400px; }

.lead { font-size: 17px; line-height: 1.7; color: var(--text); margin: 28px 0 44px; }

.stats { display: flex; flex-wrap: wrap; gap: 32px; }
.stat-border { padding-right: 32px; border-right: 1px solid #e0e0e0; }
.stat-number { font-family: 'EB Garamond', serif; font-size: 34px; color: var(--navy); }
.stat-label { font-size: 12.5px; letter-spacing: 1px; color: #777777; margin-top: 8px; }

.grid { display: grid; gap: 28px; }
.grid-expertises { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-team { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; }
.grid-news { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-bottom: 56px; }
.grid-values { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px; }

.card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-top: 3px solid transparent;
  border-radius: 4px;
  padding: 40px 32px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.card:hover {
  border-top-color: var(--navy);
  box-shadow: 0 16px 36px rgba(27,42,74,0.09);
  transform: translateY(-3px);
}
.card h3 { font-size: 21px; font-weight: 600; color: var(--heading); margin: 22px 0 12px; }
.card p { font-size: 15px; line-height: 1.7; color: #777777; margin: 0; }

.team-member h3 { font-size: 21px; font-weight: 600; color: var(--heading); margin: 0 0 5px; }
.team-role { font-size: 14px; color: var(--navy); font-weight: 500; margin-bottom: 3px; }
.team-bar { font-size: 13px; color: #777777; margin-bottom: 14px; }
.team-member p { font-size: 15px; line-height: 1.7; color: #555555; margin: 0 0 16px; }

.text-link {
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
  cursor: pointer;
}
.text-link-arrow { font-size: 14px; color: var(--navy); font-weight: 500; text-decoration: none; }

.center-cta { text-align: center; margin-top: 56px; }

/* Approche (dark) */
.rule-gold { width: 48px; height: 2px; background-color: var(--gold); margin: 20px auto 0; }
.value { display: flex; gap: 18px; align-items: flex-start; }
.value h3 { font-size: 17px; font-weight: 600; color: var(--bg); margin: 4px 0 10px; }
.value p { font-size: 15px; line-height: 1.7; color: #c3cbdb; margin: 0; }

/* News */
.news-date { font-size: 13px; color: #777777; margin-bottom: 10px; }
.news-card h3 { font-size: 20px; color: var(--heading); line-height: 1.35; margin: 0 0 12px; }
.news-card p { font-size: 15px; line-height: 1.7; color: #666666; margin: 0 0 16px; }

/* Contact */
.contact-name {
  font-family: 'EB Garamond', serif;
  font-variant: small-caps;
  font-size: 24px;
  letter-spacing: 0.5px;
  color: var(--heading);
  margin: 0 0 28px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 28px;
}
.contact-details a { text-decoration: none; transition: color 0.2s ease; }
.contact-details a:hover { color: var(--navy); }
.contact-details .muted { color: #555555; }
.contact-details .note { font-style: italic; color: #777777; font-size: 15px; }

.contact-form-col {
  background-color: #f7f7f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: clamp(32px, 4vw, 48px);
}
.form-title { font-size: 26px; color: var(--heading); margin: 0 0 10px; }
.form-subtitle { font-size: 15px; color: #777777; margin: 0 0 32px; }

.form-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.form-field { flex: 1 1 180px; margin-bottom: 20px; }
.form-row .form-field { margin-bottom: 0; }
.form-field-full { flex: 1 1 100%; }
.form-field label {
  display: block;
  font-size: 13px;
  color: #555555;
  margin-bottom: 7px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d9d9d4;
  border-radius: 4px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: var(--text);
}
.form-field textarea { resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 28px;
  cursor: pointer;
}
.consent-row input { margin-top: 3px; }
.consent-row span { font-size: 13px; line-height: 1.6; color: #666666; }

.submit-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  letter-spacing: 0.3px;
  color: var(--bg);
  background-color: #a9b0bf;
  cursor: not-allowed;
  transition: background-color 0.2s ease;
}
.submit-btn.is-enabled {
  background-color: var(--navy);
  cursor: pointer;
}
.submit-btn.is-enabled:hover { background-color: var(--navy-hover); }

.success-panel { text-align: center; padding: 40px 0; }
.success-panel svg { margin-bottom: 24px; }
.success-panel h3 { font-size: 22px; color: var(--heading); margin: 0 0 12px; }
.success-panel p { font-size: 15px; line-height: 1.7; color: #666666; margin: 0 0 24px; }
.hidden { display: none; }

/* Footer */
.footer { background-color: var(--navy-dark); padding: 64px clamp(24px, 5vw, 72px) 40px; }
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.footer-brand {
  font-family: 'EB Garamond', serif;
  font-variant: small-caps;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--bg);
}
.social-links { display: flex; gap: 12px; }
.social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.social-icon:hover { border-color: var(--gold); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 14px; color: #b7bfd1; text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--bg); }
.footer-rule { width: 100%; max-width: 640px; height: 1px; background-color: rgba(255,255,255,0.1); }
.footer-legal { font-size: 13px; color: #7c869c; line-height: 1.6; }
.footer-copy { font-size: 13px; color: #5f6a80; }
