:root {
  --navy: #0f2438;
  --navy-2: #16344f;
  --steel: #4a6b85;
  --white: #ffffff;
  --bg: #f5f6f7;
  --text: #17222c;
  --text-dim: #5c6b78;
  --accent: #d9782f;
  --accent-dark: #b5601f;
  --border: #e1e5e8;
  --radius: 6px;
  --max: 1160px;
  --font-head: 'Oswald', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: 0.01em; margin: 0; text-transform: uppercase; }
p { margin: 0 0 14px; color: var(--text-dim); }
a { color: inherit; }
img, video { max-width: 100%; display: block; }

/* header */
header.site {
  background: var(--navy);
  position: sticky; top: 0; z-index: 50;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 96px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.logo-img { height: 84px; width: auto; }
.nav-panel { display: flex; align-items: center; gap: 28px; }
nav.main { display: flex; align-items: center; gap: 28px; }
nav.main a {
  color: #c3cfd9; text-decoration: none; font-size: 14px; font-weight: 500;
  letter-spacing: 0.03em; text-transform: uppercase;
}
nav.main a:hover, nav.main a.active { color: var(--white); }
.lang-switch { font-size: 12px; color: #8ea0af; letter-spacing: 0.05em; }
.lang-switch a { color: #8ea0af; text-decoration: none; }
.lang-switch .active { color: var(--white); font-weight: 700; }
.btn-quote {
  background: var(--accent); color: var(--white) !important; padding: 10px 20px;
  border-radius: var(--radius); font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; text-decoration: none;
}
.btn-quote:hover { background: var(--accent-dark); }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 34px; height: 34px; padding: 0; margin-left: auto;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--white); border-radius: 2px; }

/* hero */
.hero {
  color: var(--white); padding: 0; background: var(--navy); overflow: hidden;
  position: relative; min-height: clamp(520px, 88vh, 900px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-image {
  position: absolute; inset: 0;
  background: url("/img/header-cradle-b.jpg") center 55% / cover no-repeat;
}
.hero-panel {
  position: relative; z-index: 2;
  padding: 0 0 60px;
}
.hero-panel .wrap {
  background: var(--navy);
  max-width: 640px; margin-left: max(24px, calc((100% - var(--max)) / 2)); margin-right: 0;
  padding: 40px 44px 48px;
}
.hero .eyebrow {
  color: var(--accent); font-family: var(--font-head); font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px;
}
.hero h1 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.14; color: var(--white); max-width: 720px; text-wrap: balance; }
.hero .lead { color: #b7c4cf; font-size: 17px; max-width: 560px; margin: 18px 0 28px; text-transform: none; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 26px; border-radius: var(--radius);
  font-family: var(--font-head); font-size: 14px; letter-spacing: 0.04em;
  text-transform: uppercase; text-decoration: none; font-weight: 600;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border: 1.5px solid #ffffff55; color: var(--white); }
.btn-outline:hover { border-color: var(--white); }
.btn-outline-dark { border: 1.5px solid var(--border); color: var(--navy); }
.btn-outline-dark:hover { border-color: var(--navy); }

/* sections */
section { padding: 76px 0; }
section.alt { background: var(--white); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head .eyebrow {
  color: var(--accent); font-family: var(--font-head); font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; display: block;
}
.section-head h2 { font-size: clamp(24px, 3vw, 34px); color: var(--navy); margin-bottom: 14px; text-wrap: balance; }
.section-head p { font-size: 16px; }

.concept-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.concept-grid img { width: 100%; height: auto; display: block; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px;
}
.feature .num { font-family: var(--font-head); color: var(--accent); font-size: 13px; letter-spacing: 0.1em; margin-bottom: 10px; display: block; }
.feature h3 { font-size: 17px; color: var(--navy); margin-bottom: 10px; text-transform: none; }
.feature p { font-size: 14.5px; margin: 0; }

/* products */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.product-card video { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--navy); }
.product-card .label {
  padding: 16px 18px; font-family: var(--font-head); font-size: 14px;
  letter-spacing: 0.04em; color: var(--navy); text-transform: uppercase;
}
.range-note {
  margin-top: 18px; font-size: 14.5px; color: var(--text-dim);
}
.range-note strong { color: var(--navy); }

/* gamme (models G/M/P/X) */
.gamme-table { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.gamme-row {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 18px; text-align: center;
}
.gamme-model {
  display: block; font-family: var(--font-head); font-weight: 600; font-size: 15px;
  color: var(--navy); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px;
}
.gamme-range { display: block; font-size: 20px; font-weight: 600; color: var(--accent-dark); font-family: var(--font-head); }
.gamme-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gamme-photos figure { margin: 0; }
.gamme-photos img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); display: block; }
.gamme-photos figcaption { margin-top: 10px; font-size: 13.5px; color: var(--text-dim); text-align: center; }

.gamme-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.gamme-gallery img { width: 100%; height: 190px; object-fit: cover; border-radius: var(--radius); display: block; }

/* sustainability banner */
.sustain {
  background: var(--navy); color: var(--white); border-radius: var(--radius);
  padding: 44px 40px; display: flex; gap: 40px; align-items: center; flex-wrap: wrap;
}
.sustain .icon { font-size: 34px; }
.sustain h3 { color: var(--white); font-size: 20px; margin-bottom: 10px; }
.sustain p { color: #b7c4cf; margin: 0; max-width: 640px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; }
.contact-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px;
}
.contact-card .row { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-card .row .ic {
  width: 38px; height: 38px; border-radius: 50%; background: #f0e4d8;
  color: var(--accent-dark); display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.contact-card .row div p { margin: 0; font-size: 14.5px; }
.contact-card .row div .label-line { color: var(--navy); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }

/* quote form (devis) */
.quote-form {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px; margin-top: 30px;
}
.quote-form h3 { color: var(--navy); font-size: 20px; margin-bottom: 22px; }
.qf-steps { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }
.qf-steps .qf-dot {
  width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--border);
  color: var(--text-dim); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 13px; flex-shrink: 0;
}
.qf-steps .qf-dot.qf-active { border-color: var(--accent); color: var(--accent); background: #fdf1e7; }
.qf-steps .qf-line { flex: 1; height: 1px; background: var(--border); }
.qf-step { display: none; }
.qf-step.qf-visible { display: block; }
.qf-intro { font-size: 14.5px; margin-bottom: 22px; }
.qf-radio-row { display: flex; gap: 22px; margin-bottom: 24px; flex-wrap: wrap; }
.qf-radio-row label { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text); cursor: pointer; }
.qf-radio-row input[type=radio] { accent-color: var(--accent); width: 16px; height: 16px; }
.qf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; margin-bottom: 20px; }
.qf-field { display: flex; flex-direction: column; gap: 6px; }
.qf-field.qf-span2 { grid-column: 1 / -1; }
.qf-field label { font-size: 13px; font-weight: 600; color: var(--navy); }
.qf-field .qf-unit-wrap { position: relative; }
.qf-field .qf-unit-wrap span {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 13px; color: var(--text-dim); pointer-events: none;
}
.qf-field input[type=text], .qf-field input[type=number], .qf-field input[type=email],
.qf-field input[type=tel], .qf-field select, .qf-field textarea {
  width: 100%; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 11px 14px; font-family: var(--font-body); font-size: 14.5px; color: var(--text);
  background: var(--bg);
}
.qf-field .qf-unit-wrap input { padding-right: 42px; }
.qf-field textarea { resize: vertical; min-height: 90px; }
.qf-field input:focus, .qf-field select:focus, .qf-field textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; background: var(--white); }
.qf-dropzone {
  border: 1.5px dashed var(--border); border-radius: var(--radius); padding: 26px;
  text-align: center; font-size: 13.5px; color: var(--text-dim); cursor: pointer;
  background: var(--bg); margin-bottom: 8px;
}
.qf-dropzone:hover { border-color: var(--accent); }
.qf-configs {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 22px;
}
.qf-configs-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.qf-configs-head strong { color: var(--navy); font-size: 14.5px; }
.qf-unit-toggle button {
  border: 1px solid var(--border); background: var(--white); color: var(--text-dim);
  font-size: 12.5px; padding: 4px 10px; cursor: pointer;
}
.qf-unit-toggle button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.qf-unit-toggle button:last-child { border-radius: 0 var(--radius) var(--radius) 0; border-left: none; }
.qf-unit-toggle button.qf-unit-actif { background: var(--navy); color: var(--white); border-color: var(--navy); }
.qf-configs-resume { font-size: 13.5px; color: var(--text); margin-bottom: 10px; }
.qf-config-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 8px; }
.qf-config-card h4 { margin: 0 0 6px; font-size: 13.5px; color: var(--navy); }
.qf-config-card table { width: 100%; border-collapse: collapse; font-size: 12px; }
.qf-config-card td, .qf-config-card th { padding: 3px 6px; text-align: left; color: var(--text-dim); }
.qf-config-card th { font-weight: 600; }
.qf-dropzone.qf-dragover { border-color: var(--accent); background: #fdf1e7; }
.qf-dropzone strong { color: var(--accent-dark); }
.qf-filenote { font-size: 12px; color: var(--text-dim); margin-bottom: 20px; }
.qf-fileinput { display: none; }
.qf-filelist { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.qf-filelist:empty { margin: 0; }
.qf-file-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 999px;
  padding: 5px 8px 5px 14px; font-size: 13px; color: var(--navy);
}
.qf-file-remove {
  border: none; background: var(--border); color: var(--navy);
  width: 20px; height: 20px; border-radius: 50%; font-size: 14px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.qf-file-remove:hover { background: var(--accent); color: var(--white); }
.qf-professional { display: none; }
.qf-professional.qf-visible { display: contents; }
.qf-consent { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; font-size: 13px; color: var(--text-dim); }
.qf-consent input { margin-top: 3px; accent-color: var(--accent); }
.qf-consent a { color: var(--accent); text-decoration: underline; }
.qf-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 6px; }
.qf-modal { position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; }
.qf-modal[hidden] { display: none; }
.qf-modal-backdrop { position: absolute; inset: 0; background: rgba(15,36,56,.6); }
.qf-modal-panel {
  position: relative; background: var(--white); width: calc(100% - 40px); max-width: 680px;
  max-height: 84vh; overflow-y: auto; padding: 34px 30px; border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0,0,0,.32);
}
.qf-modal-close {
  position: absolute; top: 12px; right: 14px; border: none; background: none;
  font-size: 26px; line-height: 1; cursor: pointer; color: var(--text-dim);
}
.qf-modal-panel h3 { margin-top: 0; }
.qf-modal-body { font-size: 14px; line-height: 1.6; color: var(--text-dim); }
.qf-modal-body h4 { color: var(--navy); margin: 22px 0 6px; font-family: var(--font-head); }
.qf-modal-body ul { margin: 6px 0 14px; padding-left: 20px; }
.qf-modal-body li { margin-bottom: 5px; }
.qf-modal-body hr { margin: 26px 0; border: none; border-top: 1px solid var(--border); }
.qf-modal-body .qf-modal-warn { color: var(--navy); font-weight: 600; }
.qf-status { font-size: 13.5px; margin-top: 14px; }
.qf-status.qf-ok { color: #1a7a44; }
.qf-status.qf-error { color: #b5342a; }
.qf-success {
  text-align: center; padding: 30px 10px 10px; font-size: 16px; color: #1a7a44;
  font-family: var(--font-head); font-weight: 600; letter-spacing: 0.01em;
}
.qf-success::before {
  content: "\2713"; display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; background: #e4f5ea; color: #1a7a44;
  font-size: 24px; margin: 0 auto 16px;
}

@media (max-width: 640px) {
  .qf-grid { grid-template-columns: 1fr; }
  .quote-form { padding: 24px; }
}

/* footer */
footer.site { background: var(--navy); color: #8ea0af; padding: 32px 0; font-size: 13px; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer.site a { color: #8ea0af; text-decoration: none; }

/* blog */
.post-list { display: flex; flex-direction: column; gap: 26px; }
.post-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; gap: 22px; }
.post-item img { width: 220px; flex-shrink: 0; object-fit: cover; }
.post-item .post-item-body { padding: 26px 28px 26px 0; }
.post-item .date { font-family: var(--font-head); font-size: 12px; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; }
.post-item h3 { margin: 8px 0 8px; text-transform: none; }
.post-item h3 a { color: var(--navy); text-decoration: none; font-size: 19px; }
.post-item h3 a:hover { color: var(--accent-dark); }
.post-item p { margin: 0; font-size: 14.5px; }

article.post h1 { color: var(--navy); font-size: clamp(26px, 3.4vw, 36px); text-transform: none; margin-bottom: 10px; text-wrap: balance; }
article.post .date { font-family: var(--font-head); font-size: 12px; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; display: block; margin-bottom: 26px; }
article.post .post-image { width: 100%; border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; }
article.post .post-image img { width: 100%; object-fit: cover; max-height: 420px; }
article.post h2 { color: var(--navy); font-size: 21px; text-transform: none; margin: 34px 0 12px; }
article.post p { font-size: 15.5px; color: var(--text); }
article.post p, article.post li { color: #384754; }
article.post ul { padding-left: 20px; }
article.post a { color: var(--accent-dark); }

@media (max-width: 900px) {
  .concept-grid { grid-template-columns: 1fr; gap: 30px; }
  .concept-grid img { order: -1; }
  .features { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .gamme-table { grid-template-columns: repeat(2, 1fr); }
  .gamme-photos { grid-template-columns: 1fr; }
  .gamme-gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  header.site .wrap { height: 72px; padding: 0 20px; flex-wrap: nowrap; }
  .logo-img { height: 56px; }
  .nav-toggle { display: flex; }
  .nav-panel {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy); flex-direction: column; align-items: flex-start;
    gap: 18px; padding: 20px; box-shadow: 0 16px 28px rgba(0,0,0,.28);
  }
  .nav-panel.nav-open { display: flex; }
  nav.main { flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; }
  .btn-quote { width: 100%; text-align: center; }
  .post-item { flex-direction: column; }
  .post-item img { width: 100%; aspect-ratio: 16/9; }
  .post-item .post-item-body { padding: 0 22px 22px; }
  .hero { min-height: 78vh; }
  .hero-panel { padding: 0 0 36px; }
  .hero-panel .wrap { max-width: none; margin: 0 16px; padding: 28px 24px 34px; }
}
