/* SH.IMMO — brand palette
   navy   #172946  (primary)
   gold   #B79662  (primary)
   grey   #E5E4E4  (primary)
   blue   #6998D0  (accent)
*/

:root {
  --navy: #172946;
  --navy-soft: #1f3556;
  --gold: #B79662;
  --gold-soft: #cdb389;
  --grey: #E5E4E4;
  --grey-soft: #f3f2f0;
  --blue: #6998D0;
  --ink: #0f1c30;
  --muted: #6b7281;
  --white: #ffffff;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --maxw: 1180px;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(15, 28, 48, 0.06), 0 2px 8px rgba(15, 28, 48, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 28, 48, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.005em;
  margin: 0 0 .5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.35rem; font-weight: 600; }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--navy);
  margin: 0 0 1rem;
}
.eyebrow.gold { color: var(--gold); }

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: all .2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(23, 41, 70, 0.06);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.brand-words {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .06em;
}
.brand-tag {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.primary-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
}
.primary-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.primary-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.nav-cta:hover { background: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */

.hero {
  background:
    linear-gradient(180deg, var(--grey-soft) 0%, #ffffff 100%);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(105, 152, 208, 0.08), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(183, 150, 98, 0.10), transparent 45%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.hero-copy h1 strong { color: var(--gold); font-weight: 500; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

.hero-visual { display: flex; justify-content: center; }
.hero-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--gold);
  width: min(100%, 360px);
}
.hero-card img { width: 100%; }

/* ---------- Sections ---------- */

.section { padding: 96px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

/* services */
.section-services { background: var(--white); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid rgba(23, 41, 70, 0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(183, 150, 98, 0.4);
}
.card-icon {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: .04em;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* approche */
.section-approche {
  background: var(--navy);
  color: var(--white);
}
.section-approche h2,
.section-approche .eyebrow { color: var(--white); }
.section-approche .eyebrow { color: var(--gold-soft); }
.section-approche p { color: rgba(255, 255, 255, 0.78); }
.approche-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}
.approche-list { list-style: none; padding: 0; margin: 24px 0 0; }
.approche-list li {
  position: relative;
  padding: 14px 0 14px 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}
.approche-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 24px;
  width: 22px; height: 1px;
  background: var(--gold);
}
.approche-list strong { color: var(--white); font-weight: 600; }

.stats {
  display: grid;
  gap: 18px;
}
.stat {
  background: var(--navy-soft);
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
  border-radius: var(--radius);
}
.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.stat-num small { font-size: 1.4rem; color: var(--gold); margin-left: 2px; }
.stat-label {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold-soft);
  margin-top: 8px;
}

/* about */
.section-about { background: var(--grey-soft); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}
.portrait-frame {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--white);
  outline: 1px solid rgba(23, 41, 70, 0.08);
  max-width: 360px;
  margin: 0 auto;
}
.portrait-initials {
  font-family: var(--serif);
  font-size: 6rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: .04em;
}

/* contact */
.section-contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(23, 41, 70, 0.08);
  font-size: .95rem;
}
.contact-list li > span:first-child {
  color: var(--gold);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 600;
  align-self: center;
}

.contact-form {
  background: var(--grey-soft);
  padding: 36px;
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  display: grid;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .04em;
}
.contact-form label em {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid rgba(23, 41, 70, 0.15);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(183, 150, 98, 0.18);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { justify-self: start; margin-top: 4px; }
.form-note {
  margin: 0;
  font-size: .85rem;
  color: var(--muted);
  min-height: 1.2em;
}
.form-note.ok { color: #2f7d4f; }
.form-note.err { color: #b94a48; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0;
  font-size: .9rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-mark {
  width: 40px; height: 40px;
  object-fit: contain;
  background: var(--white);
  border-radius: 4px;
  padding: 4px;
}
.footer-name {
  margin: 0;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .06em;
}
.footer-tag {
  margin: 0;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { color: rgba(255, 255, 255, 0.75); font-size: .9rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-legal { margin: 0; font-size: .8rem; color: rgba(255, 255, 255, 0.5); }

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  .hero-grid,
  .approche-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-card { max-width: 260px; padding: 24px; }

  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid rgba(23, 41, 70, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(23, 41, 70, 0.06);
  }
  .primary-nav a:last-child { border-bottom: 0; }
  .nav-cta { text-align: center; margin-top: 8px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 20px; }
  .stat-num { font-size: 2rem; }
}

@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .brand-words { display: none; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .contact-list li > span:first-child { font-size: .68rem; }
}
