:root {
  --primary: #22577a;
  --primary-dark: #1a4460;
  --secondary: #57cc99;
  --accent: #f4845f;
  --heading: #111111;
  --body: #555555;
  --muted: #888;
  --bg: #f7f9fb;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 4px 24px rgba(34, 87, 122, 0.08);
  --radius: 12px;
  --font: "IBM Plex Sans", system-ui, sans-serif;
}

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

/* Simulateur temporairement masqué — retirer avec les attributs data-sim-temp */
[data-sim-temp="off"] { display: none !important; }

html { scroll-behavior: smooth; overflow-x: clip; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font);
  color: var(--body);
  line-height: 1.65;
  background: var(--white);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

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

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--secondary); }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Top bar */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.92);
  font-size: 0.875rem;
  padding: max(10px, env(safe-area-inset-top)) 0 10px;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
}

.top-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  width: 100%;
}

.top-bar__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.lang-switch__link {
  color: rgba(255, 255, 255, 0.85);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  min-width: 2rem;
  text-align: center;
}

.lang-switch__link:hover,
.lang-switch__link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.lang-switch__sep {
  opacity: 0.5;
  user-select: none;
}

.top-bar a { color: #fff; }
.top-bar a:hover { color: var(--secondary); }

.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.top-bar__icon {
  color: #b8f0d8;
  flex-shrink: 0;
}

.top-bar span { display: flex; align-items: center; gap: 0.5rem; }

/* Header */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo img { height: 56px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav__link {
  color: var(--heading);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
  background: rgba(34, 87, 122, 0.06);
}

.nav__link--cta {
  background: var(--primary);
  color: #fff !important;
}

.nav__link--cta:hover,
.nav__link--cta.active {
  background: var(--primary-dark);
  color: #fff !important;
}

/* Dropdown navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  cursor: pointer;
}

.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  display: block;
}

.nav-dropdown__link {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--heading);
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-dropdown__link:hover,
.nav-dropdown__link.active {
  background: rgba(34, 87, 122, 0.06);
  color: var(--primary);
}

.mobile-nav__group {
  border-bottom: 1px solid var(--border);
}

.mobile-nav__toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.75rem 0;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
}

.mobile-nav__toggle::after {
  content: " +";
  color: var(--primary);
}

.mobile-nav__group.open .mobile-nav__toggle::after {
  content: " −";
}

.mobile-nav__subs {
  display: none;
  padding-left: 0.75rem;
  padding-bottom: 0.5rem;
}

.mobile-nav__group.open .mobile-nav__subs {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.header-cta { display: flex; align-items: center; gap: 1rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--heading);
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 4%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.mobile-nav.open { display: flex; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

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

.btn--secondary {
  background: var(--secondary);
  color: #fff;
}

.btn--secondary:hover {
  background: #45b888;
  color: #fff;
}

.btn--outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn--outline-light {
  border-color: #fff;
  color: #fff;
}

.btn--outline-light:hover {
  background: #fff;
  color: var(--primary);
}

.btn--white {
  background: #fff;
  color: var(--primary);
}

.btn--white:hover {
  background: var(--bg);
  color: var(--primary-dark);
}

.btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 75vh;
  min-height: 75dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 87, 122, 0.88) 0%, rgba(34, 87, 122, 0.55) 50%, rgba(87, 204, 153, 0.35) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  max-width: 680px;
  color: #fff;
}

.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

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

.hero__sub {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero--compact { min-height: 50vh; }
.hero--compact .hero__content { padding: 3.5rem 0; }

/* Pillars bar */
.pillars {
  background: var(--primary);
  color: #fff;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-left: auto;
  margin-right: auto;
  width: min(1100px, 92%);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.pillar {
  padding: 1.75rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.pillar:last-child { border-right: none; }

.pillar__icon { font-size: 1.75rem; margin-bottom: 0.5rem; }

.pillar h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.pillar p { font-size: 0.8rem; opacity: 0.85; }

/* Sections */
.section { padding: 5rem 0; }
.section--bg { background: var(--bg); }
.section--primary { background: var(--primary); color: #fff; }

/* Careers: tighten gap between L'essentiel / Das Wesentliche and Why join */
#tldr:has(+ #a-propos-carrieres) {
  padding-bottom: 1.25rem;
}
#tldr + #a-propos-carrieres {
  padding-top: 1.25rem;
}
#a-propos-carrieres:has(+ #offres) {
  padding-bottom: 1.25rem;
}
#a-propos-carrieres + #offres {
  padding-top: 1.25rem;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--heading);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section--primary .section-header h2,
.section--primary .section-header p { color: #fff; }

.section-header p { font-size: 1.05rem; }

.section-header .label {
  display: inline-block;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.footer-grid > *,
.stats > *,
.form-grid > *,
.pillars__grid > * {
  min-width: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Cards */
.card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(34, 87, 122, 0.12);
}

.card__img { aspect-ratio: 16/10; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }

.card__body { padding: 1.5rem; }

.card__body h3 {
  font-size: 1.1rem;
  color: var(--heading);
  margin-bottom: 0.5rem;
}

.card__body p { font-size: 0.925rem; }

.solution-block { align-self: start; }
.solution-block > .prose {
  margin-top: 1rem;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.solution-block > .prose p { margin-bottom: 0.5rem; }
.solution-block > .prose h3 {
  font-size: 0.9rem;
  margin: 0.65rem 0 0.25rem;
}
.solution-block > .prose ul {
  margin: 0 0 0.5rem 1.15rem;
}
.solution-block > .prose ul li {
  margin-bottom: 0.2rem;
  line-height: 1.4;
}

.installation-columns {
  margin-top: 1.5rem;
  align-items: start;
}

.card--icon { text-align: center; padding: 2rem 1.5rem; }
.card--icon .card__icon {
  width: 56px;
  height: 56px;
  background: rgba(34, 87, 122, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

/* About image */
.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.about-img--contain img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  background: var(--white);
}

.about-content h2 {
  font-size: 2rem;
  color: var(--heading);
  margin-bottom: 1rem;
}

.about-content h2 span { color: var(--primary); }

.about-content p { margin-bottom: 1rem; }

/* Features */
.feature-list { list-style: none; }

.feature-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.feature-list li::before {
  content: "✓";
  color: var(--secondary);
  font-weight: 700;
  flex-shrink: 0;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 2rem 0;
}

.stat strong {
  display: block;
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat span { font-size: 0.9rem; color: var(--muted); }

/* Testimonials */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.testimonial__stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }

.testimonial p { font-style: italic; margin-bottom: 1rem; font-size: 0.95rem; }

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--heading);
  font-size: 0.9rem;
}

.page-meta {
  font-size: 0.9rem;
  color: var(--muted, #5a6472);
  margin-bottom: 1rem;
}

.page-meta time { font-style: normal; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.25rem; }

details.faq-item > .faq-answer {
  max-height: none;
  overflow: visible;
  display: none;
}

details.faq-item[open] > .faq-answer {
  display: block;
  padding-bottom: 1.25rem;
}

details.faq-item > summary.faq-question {
  min-height: 44px;
  list-style: none;
}

details.faq-item > summary.faq-question::-webkit-details-marker { display: none; }

details.faq-item > summary.faq-question h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
}

details.faq-item[open] > summary.faq-question::after {
  content: "−";
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .faq-question::after,
  .faq-answer { transition: none; }
}

.faq-answer p { font-size: 0.95rem; }

/* Comparison table */
.table-wrap { overflow-x: auto; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--border);
}

.compare-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--heading);
}

.compare-table tr:nth-child(even) td { background: var(--bg); }

/* CTA */
.cta {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #143a54 0%, #1c4f70 42%, #2f9e78 100%);
  color: #fff;
}

.cta h2 { color: #fff; font-size: 2rem; margin-bottom: 0.75rem; }
.cta p { opacity: 0.9; margin-bottom: 1.5rem; max-width: 540px; margin-left: auto; margin-right: auto; }

/* Contact form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1rem; }
.form-group--full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-group--check {
  margin-top: 0.25rem;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 400;
  cursor: pointer;
  line-height: 1.45;
}
.form-check input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--primary);
}

.contact-info-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-info-card h3 {
  color: var(--heading);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  background: #e3f0f7;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__svg {
  display: block;
}

.contact-item strong {
  display: block;
  color: var(--heading);
  margin-bottom: 0.15rem;
}

/* Job listings */
.job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.job-card:hover { border-color: var(--primary); }

.job-card h3 { color: var(--heading); margin-bottom: 0.25rem; }
.job-card h4 {
  color: var(--heading);
  font-size: 0.95rem;
  margin: 1rem 0 0.35rem;
}
.job-card .location { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.5rem; }
.job-card ul {
  margin: 0.15rem 0 0.25rem;
  padding-left: 1.25rem;
  list-style: disc;
}
.job-card li { margin-bottom: 0.35rem; }
.job-card--detailed .job-card__cta {
  align-self: center;
  min-width: 9rem;
}
.job-card--detailed .job-card__cta .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 700px) {
  .job-card {
    grid-template-columns: 1fr;
  }
  .job-card--detailed .job-card__cta {
    width: 100%;
  }
  .job-card--detailed .job-card__cta .btn {
    width: 100%;
  }
}

/* Careers hiring popup (index) */
.careers-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
}
.careers-popup[hidden] { display: none !important; }
.careers-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 36, 51, 0.55);
}
.careers-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(32rem, 100%);
  max-height: min(90dvh, 90vh);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 18px 48px rgba(15, 36, 51, 0.22);
}
.careers-popup__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.careers-popup__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}
.careers-popup__dialog h2 {
  margin: 0 0 0.75rem;
  color: var(--heading);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}
.careers-popup__label {
  margin: 1rem 0 0.4rem;
  font-weight: 600;
  color: var(--heading);
}
.careers-popup__jobs {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
}
.careers-popup__jobs li { margin-bottom: 0.4rem; }
.careers-popup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.careers-popup__actions .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
body.careers-popup-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .careers-popup__dialog { transition: none; }
}

/* Footer */
.footer {
  background: linear-gradient(90deg, #143a54 0%, #1c4f70 42%, #2f9e78 100%);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 0.5rem; }
.footer a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer a:hover { color: var(--secondary); }

.footer-brand p { margin: 1rem 0 1.5rem; font-size: 0.9rem; max-width: 280px; }

.footer-logo {
  height: 64px;
  width: auto;
  display: block;
}

.footer-newsletter {
  background: rgba(0, 0, 0, 0.2);
  padding: 2rem 0;
  text-align: center;
}

.footer-newsletter h4 { color: #fff; margin-bottom: 0.35rem; }
.footer-newsletter p { font-size: 0.9rem; margin-bottom: 1rem; opacity: 0.85; }

.footer-newsletter .newsletter {
  justify-content: center;
  max-width: 420px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.75rem;
  color: var(--heading);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.footer-grid--keg {
  grid-template-columns: 1.2fr 1.2fr 1fr 1fr;
}

.footer-contact li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.prose p { margin-bottom: 1rem; }

.prose h3 {
  font-size: 1.1rem;
  color: var(--heading);
  margin: 1.25rem 0 0.5rem;
}

.prose ul {
  margin: 0 0 1rem 1.25rem;
  list-style: disc;
}

.prose ul li { margin-bottom: 0.5rem; }

.image-gallery .about-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.prose h2, .legal h2 {
  font-size: 1.25rem;
  color: var(--heading);
  margin: 1.5rem 0 0.75rem;
}

.prose h2:first-child, .legal h2:first-child { margin-top: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  text-align: center;
  font-size: 0.85rem;
}

.newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 6px;
  font-family: inherit;
}

/* Page hero inner */
.page-hero {
  background: linear-gradient(90deg, #143a54 0%, #1c4f70 42%, #2f9e78 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #fff;
  margin-bottom: 0.75rem;
}

.page-hero p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .nav__link {
    font-size: 0.82rem;
    padding: 0.45rem 0.55rem;
  }
  .logo img { height: 48px; }
}

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: none; }
  .pillar:nth-child(1), .pillar:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.12); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .prose { font-size: 1rem; }
  .page-hero { padding: 3rem 0; }
}

@media (max-width: 768px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .job-card { grid-template-columns: 1fr; }
  .hero { min-height: 60vh; min-height: 60dvh; }
  .top-bar__inner { justify-content: center; }
  .top-bar__contact { justify-content: center; }
  .lang-switch { margin: 0 auto; }
  .header-inner { padding: 0.5rem 0; }
  .solution-block .prose { font-size: 0.95rem; }
  .about-img--contain img { max-height: 280px; object-fit: contain; margin: 0 auto; }
  .cta { padding: 2rem 1.25rem; }
  .section { padding: 3rem 0; }
  #tldr:has(+ #a-propos-carrieres) { padding-bottom: 1rem; }
  #tldr + #a-propos-carrieres { padding-top: 1rem; }
  #a-propos-carrieres:has(+ #offres) { padding-bottom: 1rem; }
  #a-propos-carrieres + #offres { padding-top: 1rem; }
}

@media (max-width: 480px) {
  .container { width: min(1200px, 94%); }
  .hero__sub { font-size: 1rem; }
  .btn--lg { width: 100%; text-align: center; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; }
}

/* Full menu needs about 1400px. Below that, use the hamburger so items do not wrap or collide. */
@media (max-width: 1399px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
}

/* Phones, including iPhone 13 (390px), and tablets: touch targets and form zoom */
@media (max-width: 1023px) {
  .form-group input,
  .form-group textarea,
  .form-group select,
  .newsletter input,
  .sim-field select {
    font-size: 16px;
  }

  .btn,
  .lang-switch__link,
  .top-bar a,
  .mobile-nav .nav__link,
  .mobile-nav__toggle,
  .footer a {
    min-height: 44px;
  }

  .lang-switch__link,
  .top-bar a,
  .mobile-nav .nav__link,
  .mobile-nav__toggle,
  .footer a {
    display: inline-flex;
    align-items: center;
  }

  .mobile-nav__toggle,
  .mobile-nav .nav__link {
    width: 100%;
  }
}

@media (orientation: portrait) and (max-width: 430px) {
  .hero__content { padding: 3rem 0; }
  .section-title { font-size: clamp(1.35rem, 6vw, 1.75rem); }
  .page-hero h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: auto; }
  .hero__content { padding: 1.5rem 0; }
  .page-hero { padding: 1.75rem 0; }
}

@media (min-width: 1440px) {
  .container { width: min(1320px, 90%); }
  .hero__content { max-width: 760px; }
}

@media (min-width: 1920px) {
  .container { width: min(1480px, 84%); }
  .hero h1 { font-size: clamp(2.75rem, 3vw, 4rem); }
}

@media (min-width: 2560px) {
  .container { width: min(1600px, 72%); }
}
