/* Language visibility */
[data-lang] {
  display: block;
}

body.lang-fr [data-lang="en"] {
  display: none;
}

body.lang-en [data-lang="fr"] {
  display: none;
}

/* End language visibility */

/* Base variables */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --text: #111111;
  --muted: #666666;
  --primary: #c9a054;
  --primary-dark: #a8853e;
  --border: #e2e2e2;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.06);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

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

/* Layout */

.page {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
}

.brand-text-main {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.brand-text-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

nav a {
  position: relative;
  padding-bottom: 3px;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.2s ease;
}

nav a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.header-cta span {
  color: var(--muted);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 3px 8px;
  background: #ffffff;
}

.lang-btn {
  border: none;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
  padding: 2px 4px;
  color: var(--muted);
}

.lang-btn.active {
  color: var(--primary-dark);
  font-weight: 600;
}

.lang-sep {
  color: var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease,
    box-shadow 0.15s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

main {
  margin-top: 20px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  padding: 26px 22px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, #fdf7eb 0, #ffffff 45%);
  box-shadow: var(--shadow-soft);
  margin-bottom: 34px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
}

.hero h1 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero h1 span {
  color: var(--primary-dark);
}

.hero-sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-signature-mini {
  font-size: 13px;
  border-left: 2px solid var(--primary);
  padding-left: 12px;
  margin-bottom: 20px;
  color: #444;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 11px;
  color: var(--muted);
}

.hero-right {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-right-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.hero-right-item {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
  padding-bottom: 6px;
  margin-bottom: 6px;
}

.hero-right-item strong {
  font-weight: 600;
}

.hero-right-item span {
  color: var(--muted);
}

.hero-right-book {
  margin-top: 4px;
  display: flex;
  justify-content: flex-end;
}

.hero-right-note {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}

/* Signature */

.signature-section {
  padding: 22px 20px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: #fcfaf6;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.signature-quote-mark {
  position: absolute;
  right: 16px;
  top: 0;
  font-size: 80px;
  color: rgba(201, 160, 84, 0.13);
  font-family: "Georgia", serif;
  pointer-events: none;
}

.signature-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 10px;
}

.signature-text {
  font-size: 16px;
  line-height: 1.7;
  max-width: 780px;
}

.signature-text em {
  font-style: normal;
  color: var(--primary-dark);
  font-weight: 500;
}

.signature-author {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* Sections */

.section {
  margin-bottom: 32px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 13px;
  color: var(--muted);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 16px 14px;
  font-size: 14px;
}

.card h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 4px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
}

ul {
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
}

ul li + li {
  margin-top: 4px;
}

/* RDV Section */

.rdv-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 18px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 18px 16px;
  background: var(--bg-soft);
}

.rdv-details {
  font-size: 14px;
  color: var(--muted);
}

.rdv-details p + p {
  margin-top: 6px;
}

.rdv-highlight {
  margin-top: 10px;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(201, 160, 84, 0.08);
  border: 1px dashed rgba(201, 160, 84, 0.6);
}

.rdv-side {
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rdv-side strong {
  font-size: 14px;
}

.rdv-side a {
  color: var(--primary-dark);
  font-weight: 500;
}

/* Recrutement */

.recrutement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 18px;
}

.recrutement-main {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 18px 16px;
  background: #fcfaf6;
  font-size: 14px;
}

.recrutement-main h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.recrutement-main ul {
  margin-top: 6px;
}

.recrutement-side {
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(0, 0, 0, 0.08);
  padding: 14px 12px;
  font-size: 13px;
  background: var(--bg-soft);
}

.recrutement-side strong {
  display: block;
  margin-bottom: 4px;
}

/* Contact / Form */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 18px;
  font-size: 14px;
}

.contact-grid a {
  color: var(--primary-dark);
  font-weight: 500;
}

.contact-form {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 16px 14px;
  background: #ffffff;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.form-row label {
  font-size: 13px;
  color: var(--muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--bg-soft);
}

.form-row textarea {
  resize: vertical;
  min-height: 90px;
}

.form-btn {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}

/* Footer */

footer {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

footer span {
  white-space: nowrap;
}


/* Responsive */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .rdv-wrapper,
  .recrutement-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  nav {
    display: none;
  }

  .header-cta span {
    display: none;
  }

  .hero {
    padding: 20px 16px;
  }

  .section-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .brand-text-main {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .page {
    padding-inline: 14px;
  }
}

/* Global gold logo background */
body::before {
  content: "";
  position: fixed;
  right: 5%;
  top: 18%;
  width: 420px;
  height: 420px;
  background: url('logo-daleth-gold.jpg') no-repeat center/contain;
  opacity: 0.06;
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 900px) {
  body::before {
    width: 260px;
    height: 260px;
    right: 2%;
    top: 24%;
    opacity: 0.05;
  }
}

@media (max-width: 600px) {
  body::before {
    width: 220px;
    height: 220px;
    right: -20px;
    top: 28%;
    opacity: 0.04;
  }
}
