/* ==========================================================================
   Luca Laurent — site one page
   Design tokens per Charte et site.dc.html (bloc #1b) — see README.md
   ========================================================================== */

:root {
  --ink: #14161A;
  --cream: #F4F2ED;
  --vermillon: #C13E22;
  --vermillon-dark: #A73418;
  --vermillon-light: #E8734F;
  --slate: #6B7078;
  --photo-fallback: #E2DFD6;

  --rule-light: rgba(20, 22, 26, 0.12);
  --rule-medium: rgba(20, 22, 26, 0.16);
  --rule-strong: rgba(20, 22, 26, 0.2);
  --rule-field: rgba(20, 22, 26, 0.28);

  --veil-72: rgba(244, 242, 237, 0.72);
  --veil-90: rgba(244, 242, 237, 0.9);
  --veil-30: rgba(244, 242, 237, 0.3);
  --veil-60: rgba(244, 242, 237, 0.6);
  --veil-28: rgba(244, 242, 237, 0.28);
  --veil-85: rgba(244, 242, 237, 0.85);

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Work Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --pad-x: 64px;
  --pad-section: 84px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, p, ul {
  margin: 0;
}

a {
  color: var(--vermillon);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.section-divider {
  border-bottom: 1px solid var(--rule-light);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--pad-x);
  border-bottom: 1px solid var(--rule-light);
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: var(--vermillon);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.03em;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.header-email {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  text-decoration: none;
}

.header-email:hover {
  color: var(--ink);
}

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

.btn {
  display: inline-block;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  color: inherit;
}

.btn-primary {
  background: var(--vermillon);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--vermillon-dark);
  color: #FFFFFF;
}

.btn-inverse {
  background: var(--cream);
  color: var(--ink);
  text-align: center;
}

.btn-inverse:hover {
  background: #FFFFFF;
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
  padding: 15px 28px;
  font-size: 16px;
}

.btn-ink:hover {
  background: #000000;
}

.btn:focus-visible {
  outline: 2px solid var(--vermillon);
  outline-offset: 2px;
}

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

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.hero-content {
  padding: 88px 56px 88px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-eyebrow {
  color: var(--vermillon);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 62px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 540px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 14px;
  color: var(--slate);
}

.hero-photo {
  min-height: 460px;
  background: var(--photo-fallback);
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

/* ---------- Credibility bar ---------- */

.credibility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 28px var(--pad-x);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.credibility .sep {
  color: var(--veil-30);
}

/* ---------- Generic two-column section (label/h2 + copy) ---------- */

.section {
  padding: var(--pad-section) var(--pad-x);
}

.section-split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}

.section-split .section-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 17px;
  line-height: 1.75;
  max-width: 620px;
  text-wrap: pretty;
}

.copy .muted {
  color: var(--slate);
}

/* ---------- Services ---------- */

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.services-header h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 480px;
}

.services-header p {
  font-size: 15px;
  color: var(--slate);
  max-width: 340px;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule-light);
}

.service-card {
  background: var(--cream);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-number {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--vermillon);
}

.service-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.service-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate);
  text-wrap: pretty;
}

/* ---------- Method (inverted) ---------- */

.method {
  padding: var(--pad-section) var(--pad-x);
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.method-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.method-heading .label {
  color: var(--vermillon-light);
}

.method-heading h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.method-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 2px solid var(--veil-28);
  padding-top: 22px;
}

.method-step.is-first {
  border-top-color: var(--vermillon-light);
}

.method-step-time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--veil-60);
}

.method-step.is-first .method-step-time {
  color: var(--vermillon-light);
}

.method-step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.method-step-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--veil-72);
  text-wrap: pretty;
}

/* ---------- FAQ ---------- */

.faq h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
}

.faq-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--rule-medium);
  padding-top: 20px;
}

.faq-item dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
}

.faq-item dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate);
  text-wrap: pretty;
}

/* ---------- CTA ---------- */

.cta {
  padding: 96px var(--pad-x);
  background: var(--vermillon);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  flex-wrap: wrap;
}

.cta-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 620px;
}

.cta-copy h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.cta-copy p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--veil-90);
}

.cta-action {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

.cta-action .btn {
  padding: 18px 32px;
  font-size: 17px;
}

.cta-email {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--veil-85);
  text-align: center;
}

/* ---------- Contact form ---------- */

.contact {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}

.contact-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-heading h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.contact-heading p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 620px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-field);
  padding: 10px 0;
  outline: none;
  width: 100%;
  transition: border-color 0.15s ease;
}

.field textarea {
  line-height: 1.6;
  resize: none;
}

.field input:focus,
.field textarea:focus {
  border-bottom: 2px solid var(--vermillon);
  padding-bottom: 9px;
}

.field.has-error input,
.field.has-error textarea {
  border-bottom-color: var(--vermillon);
}

.field-error {
  font-size: 13px;
  color: var(--vermillon);
  min-height: 1em;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.form-footer .disclaimer {
  font-size: 13px;
  color: var(--slate);
}

.form-status {
  font-size: 14px;
  color: var(--vermillon);
}

.form-success {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 620px;
}

.btn[disabled] {
  cursor: default;
  opacity: 0.7;
}

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

.site-footer {
  padding: 34px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--slate);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 12px;
}

.footer-meta a {
  color: var(--slate);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-meta a:hover {
  color: var(--ink);
}

/* ==========================================================================
   Legal pages (mentions-legales.html)
   ========================================================================== */

.legal-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-intro h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.legal-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-nav a {
  text-decoration: none;
}

.legal-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.legal-section > h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.legal-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}

.legal-block h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0;
}

.legal-block h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 8px 0 0;
}

.legal-block p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  text-wrap: pretty;
}

.legal-block p.muted {
  color: var(--slate);
}

.legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-list li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

.legal-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--vermillon);
}

.legal-box {
  border: 1px solid var(--rule-medium);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  line-height: 1.6;
  max-width: 480px;
}

.legal-box strong {
  font-weight: 600;
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}

@media (max-width: 900px) {
  .legal-nav {
    gap: 16px;
  }
}

/* ==========================================================================
   Responsive — single breakpoint at 900px (unspecified in the design file)
   ========================================================================== */

@media (max-width: 900px) {
  :root {
    --pad-x: 24px;
    --pad-section: 56px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 56px var(--pad-x);
  }

  .hero-title {
    font-size: clamp(34px, 7vw, 62px);
  }

  .hero-photo {
    min-height: 320px;
  }

  .credibility {
    justify-content: flex-start;
    gap: 12px 20px;
  }

  .credibility .sep {
    display: none;
  }

  .section-split,
  .contact {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-grid,
  .method-steps,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .services-header {
    align-items: flex-start;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 56px var(--pad-x);
  }

  .cta-action {
    width: 100%;
  }

  .cta-action .btn {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .btn-inverse,
  .btn-ink {
    min-height: 44px;
  }
}
