/* =========================================================
   Executive Office Partners — Feuille de style
   Palette : bleu nuit / or / crème
   Typo : Playfair Display (titres) + Inter (texte)
   ========================================================= */

:root {
  --navy: #1B2A4A;
  --navy-deep: #13203b;
  --gold: #B8893D;
  --gold-light: #c9a063;
  --cream: #F5EFE6;
  --cream-dark: #ece2d2;
  --white: #ffffff;
  --text: #2a2a2a;
  --muted: #6f6f6f;
  --line: #e3d9c8;
  --maxw: 1240px;
  --radius: 2px;
  --shadow: 0 18px 50px rgba(27, 42, 74, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand .mark {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand .divider { width: 1px; height: 42px; background: var(--gold); opacity: 0.5; }
.brand .name {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}
.brand .name small {
  display: block;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 500;
  margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { border-color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 20px; }

.lang-toggle {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  border-radius: 40px;
  overflow: hidden;
}
.lang-toggle button {
  background: transparent;
  border: none;
  padding: 7px 12px;
  cursor: pointer;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: all 0.2s ease;
}
.lang-toggle button.active { background: var(--navy); color: var(--white); }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero { padding: 24px 0 48px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 24px;
  align-items: center;
}
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); }
.hero .sub-gold {
  font-family: 'Playfair Display', serif;
  font-style: normal;
  color: var(--gold);
  font-size: clamp(24px, 3vw, 34px);
  margin: 16px 0 10px;
  line-height: 1.2;
}
.hero .brand-line {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.hero .lead { font-size: 19px; color: var(--muted); max-width: 460px; margin-bottom: 34px; }
.hero .rule { width: 70px; height: 3px; background: var(--gold); margin: 26px 0; }
.hero-img {
  background: transparent;
}
.hero-img img { width: 100%; height: auto; display: block; object-fit: contain; }
/* Bords estompés pour fondre une image rectangulaire dans le fond crème */
.img-blend {
  -webkit-mask-image: radial-gradient(ellipse 84% 88% at 50% 48%, #000 38%, transparent 90%);
          mask-image: radial-gradient(ellipse 84% 88% at 50% 48%, #000 38%, transparent 90%);
}
/* Image du hero d'accueil : grande et fondue dans le fond, habillant toute la hauteur */
.hero .hero-grid { min-height: auto; }
.hero .hero-text { align-self: center; padding-top: 0; text-align: left; }
.hero .hero-text > * { margin-left: 0; text-indent: 0; }
.hero h1 { letter-spacing: 0; }
.hero .hero-tagline {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 14px;
}
.hero .hero-img { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: flex-end; }
.hero .hero-img img { width: 138%; max-width: none; height: auto; margin-right: -30%; }
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  background: repeating-linear-gradient(45deg, #ece2d2, #ece2d2 12px, #e6dac6 12px, #e6dac6 24px);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  padding: 24px;
}

/* ---------- Bande des atouts ---------- */
.features {
  background: var(--navy);
  color: var(--white);
  margin-top: 0;
  padding: 20px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.feature {
  text-align: center;
  padding: 8px 22px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.feature:first-child { border-left: none; }
.feature .icon { color: var(--gold-light); margin: 0 auto 16px; width: 38px; height: 38px; }
.feature h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature p { font-size: 13.5px; color: rgba(255,255,255,0.7); line-height: 1.55; }

/* ---------- Sections génériques ---------- */
.section { padding: 96px 0; }
.section.cream-dark { background: var(--cream-dark); }
.section.navy { background: var(--navy); color: var(--white); }
.section.navy h2, .section.navy h3 { color: var(--white); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); margin: 14px 0 18px; }
.section-head p { color: var(--muted); font-size: 18px; }
.section.navy .section-head p { color: rgba(255,255,255,0.72); }

/* ---------- Cartes services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon { color: var(--gold); width: 40px; height: 40px; margin-bottom: 20px; }
.card h3 { font-size: 24px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card ul { list-style: none; margin-top: 16px; }
.card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 8px;
}
.card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---------- Blocs de services ---------- */
.service-blocks { display: grid; gap: 24px; }
.service-block { padding: 36px 40px; }
.service-block .icon { color: var(--gold); width: 34px; height: 34px; margin-bottom: 16px; }
.service-block h3 { font-size: 24px; margin-bottom: 8px; }
.service-block .desc { color: var(--muted); font-size: 15.5px; max-width: 780px; margin-bottom: 20px; }
.service-block ul { columns: 2; column-gap: 44px; margin-top: 0; }
.service-block ul li { break-inside: avoid; margin-bottom: 10px; }
@media (max-width: 720px) {
  .service-block { padding: 28px 24px; }
  .service-block ul { columns: 1; }
}

/* ---------- Équipe / About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; }
.about-grid .hero-img img { width: 126%; max-width: none; margin-right: -24%; }
.stat-row { display: flex; gap: 48px; margin-top: 40px; }
.stat .num { font-family: 'Playfair Display', serif; font-size: 46px; color: var(--gold); line-height: 1; }
.stat .label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-top: 8px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 20px; }
.member { text-align: center; }
.member .photo {
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 300px;
  background: transparent;
  border-radius: var(--radius);
  margin: 0 auto 18px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 12px; text-align: center; padding: 14px;
}
.member .photo img { width: 100%; height: 100%; object-fit: contain; }
.member h3 { font-size: 22px; }
.member .role { color: var(--gold); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin: 6px 0 12px; }
.member p { font-size: 14.5px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-info .item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.contact-info .item .icon { color: var(--gold); width: 24px; height: 24px; flex-shrink: 0; margin-top: 3px; }
.contact-info .item h4 { font-family: 'Inter', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy); margin-bottom: 4px; }
.contact-info .item p { color: var(--muted); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--white); text-align: center; padding: 80px 0; }
.cta-band h2 { color: var(--white); font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 540px; margin: 0 auto 34px; font-size: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 56px 0 30px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 40px; }
.footer .mark { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 26px; color: var(--white); }
.footer .tag { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-top: 8px; }
.footer-links { display: flex; gap: 50px; flex-wrap: wrap; }
.footer-col h5 { color: var(--white); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 10px; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Langue ---------- */
[data-lang-fr] { display: none; }
body.lang-fr [data-lang-fr] { display: revert; }
body.lang-fr [data-lang-en] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 0; }
  .feature:nth-child(4) { border-left: none; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-img { order: -1; }
  .hero .hero-img img { width: 100%; margin-right: 0; }
  .about-grid .hero-img img { width: 100%; margin-right: 0; }
  .team { grid-template-columns: 1fr; max-width: 340px; margin: 20px auto 0; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-right .btn { display: none; }
  .burger { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 84px; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
  }
  .features-grid { grid-templat