@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/manrope-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/manrope-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/manrope-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/source-sans-3-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/source-sans-3-600.ttf) format('truetype');
}

/* 1. Tokens — palette B2B officielle fournie par l’utilisateur le 2026-10-02. */
:root {
  color-scheme: light;
  --color-primary: #2A2B69;
  --color-primary-hover: #1E1F52;
  --color-accent: #D32F2F;
  --color-bg-main: #FFFFFF;
  --color-bg-secondary: #F4F5F8;
  --color-text-main: #1F2937;
  --color-text-muted: #4B5563;
  --color-border: #E5E7EB;
  --color-product-yellow: #F59E0B;
  /* Alias du contrat UI : une seule source officielle de couleurs. */
  --brand: var(--color-primary);
  --paper: var(--color-bg-main);
  --surface: var(--color-bg-secondary);
  --ink: var(--color-text-main);
  --accent: var(--color-accent);
  --line: var(--color-border);
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: clamp(2rem, 5vw, 4rem);
  --space-section: 4rem;
  --container-width: 1200px;
  --reading-width: 70ch;
  --radius: 6px;
  --target: 44px;
  --text-body: clamp(1rem, .95rem + .25vw, 1.125rem);
}

/* 2. Reset universel. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

/* 3. Base */
html { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { overflow-x: hidden; font-family: system-ui, -apple-system, sans-serif; line-height: 1.6; color: var(--color-text-main); background: var(--color-bg-main); font-size: var(--text-body); }
h1, h2, h3 { margin-bottom: 1.5rem; color: var(--color-primary); line-height: 1.15; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.25rem, 1.5rem + 4vw, 4.75rem); font-weight: 650; letter-spacing: -.035em; }
h2 { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.5rem); font-weight: 600; letter-spacing: -.02em; }
h3 { font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-weight: 650; }
p, figcaption { max-width: var(--reading-width); overflow-wrap: anywhere; }
a { color: var(--brand); text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }

/* 4. Layouts — ordre DOM inchangé, pistes réductibles. */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 4rem 0; }
.document ul, .document ol { padding-inline-start: 1.5rem; }
.editorial-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.editorial-grid > *, .section-heading, .section-content { min-width: 0; }
.section-content > * + * { margin-block-start: var(--space-2); }

/* 5. Composants */
.skip-link { position: absolute; inset-block-start: .5rem; inset-inline-start: 1rem; transform: translateY(-200%); padding: .75rem 1rem; background: var(--paper); z-index: 1; min-height: var(--target); max-width: calc(100% - 2rem); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 2rem; padding-block: 1rem; }
.header-inner > nav:not(.languages) { justify-self: center; }
.header-inner > *, .footer-inner > * { min-width: 0; max-width: 100%; }
.brand { display: inline-flex; align-items: center; width: 240px; flex-shrink: 0; min-height: var(--target); min-width: var(--target); max-width: 100%; font-size: 1.25rem; font-weight: 750; text-decoration: none; }
/* Ratio explicite : espace conservé même en cas d'image indisponible. */
.brand-logo { width: min(240px, 100%); height: auto; aspect-ratio: 3 / 1; object-fit: contain; }
nav { min-width: 0; max-width: 100%; }
nav ul, .footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; list-style: none; padding: 0; margin: 0; }
nav li { min-width: 0; max-width: 100%; }
nav a { text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; min-height: var(--target); min-width: var(--target); max-width: 100%; padding: .5rem .625rem; }
.languages a { border: 1px solid transparent; border-radius: var(--radius); text-decoration: none; }
.languages a[aria-current="page"] { border-color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: var(--target); min-width: var(--target); max-width: 100%; padding: .75rem 1.5rem; border: 1px solid var(--brand); border-radius: var(--radius); background: var(--brand); color: var(--paper); font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; transition: background 0.2s ease; }
.button:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); text-decoration: underline; }
.button--secondary { color: var(--brand); background: var(--paper); }
.button--secondary:hover { color: var(--brand); background: var(--surface); border-color: var(--brand); }
.document { min-height: 45vh; padding-block: var(--space-section); }
.document > * + * { margin-block-start: var(--space-3); }
.site-footer { border-top: 1px solid var(--line); padding-block: var(--space-3); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) 2rem; }
.footer-name { font-weight: 650; }

/* 6. Sections et cartes de services / équipements. */
.hero { background: linear-gradient(135deg, #F4F5F8, #FFFFFF); padding-block: 4rem; border-bottom: 1px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); align-items: center; }
.hero-layout > * { min-width: 0; }
.hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.hero-media figcaption { margin-block-start: var(--space-1); font-size: 1rem; color: var(--color-text-muted); }
.hero-content { max-width: 56rem; min-width: 0; }
.hero-content p { margin-block-start: var(--space-3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block-start: var(--space-4); }
.hero-actions > * { min-width: var(--target); }
.section { padding-block: var(--space-section); border-bottom: 1px solid var(--line); scroll-margin-block-start: var(--space-2); }
.section:last-child { border-bottom: 0; }
.contact-section { background: var(--surface); }
.equipment-list, .partners-list { list-style: none; margin: 0; padding: 0; }
.equipment-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.equipment-item { display: flex; flex-direction: column; gap: 1.25rem; background: #F4F5F8; border: 1px solid #E5E7EB; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.04); }
.equipment-item > *, .partner-item > * { min-width: 0; }
.equipment-item p { margin-block-start: var(--space-1); }
/* À l’intégration, --media-ratio doit reprendre width / height du fichier réel. */
.equipment-media img { width: 100%; height: 220px; object-fit: contain; background: #FFFFFF; padding: 1rem; border-radius: 6px; }
.equipment-media { width: 100%; margin-top: auto; }
.equipment-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: auto; }
.equipment-gallery img { padding: .5rem; }
.equipment-item h3 { margin-bottom: .75rem; }
.equipment-media figcaption { margin-block-start: var(--space-1); font-size: 1rem; color: var(--color-text-muted); }
.contact-details { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block-start: var(--space-3); }
.partners-section .partners-list { display: grid; grid-template-columns: minmax(0, 1fr); }
.partner-item { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); padding-block: var(--space-3); border-bottom: 1px solid var(--line); }
.partner-item:last-child { border-bottom: 0; }
.partner-item img { width: min(12rem, 100%); height: auto; aspect-ratio: var(--media-ratio, auto); object-fit: contain; }

/* 7. Responsive — sections compactes et cartes réductibles sur mobile. */
@media (max-width: 47.999rem) {
  :root { --space-section: 2.5rem; }
  section, .section, .hero { padding: 2.5rem 0; }
  .equipment-list { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
}
@media (min-width: 48rem) {
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
}
@media (min-width: 60rem) { .languages { margin-inline-start: auto; } }

/* 8. Accessibilité — focus visible et respect du mouvement réduit. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }

/* 9. Contact — messages de hauteur naturelle, formulaire compact. */
[data-contact-form] { margin: 2rem auto 0; max-width: 52rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: 0 2px 4px rgba(0,0,0,.04); }
.contact-section > .container > h2 { text-align: center; }
.contact-details { justify-content: center; }
.contact-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem 1.5rem; margin-block-start: var(--space-3); }
.contact-field, .consent-field, .captcha-region, .contact-actions > * { min-width: 0; }
.contact-field label { display: block; margin-block-end: .5rem; }
.contact-field input, .contact-field select, .contact-field textarea { display: block; width: 100%; min-width: 0; min-height: 44px; padding: .75rem; border: 1px solid #D1D5DB; border-radius: var(--radius); color: var(--ink); background: var(--paper); }
.contact-field textarea { resize: vertical; }
.contact-field [aria-invalid="true"] { border-color: var(--accent); }
.field-error, .captcha-error { color: #A32121; margin-block-start: .25rem; overflow-wrap: anywhere; }
.consent-row { display: flex; align-items: flex-start; gap: .75rem; }
.consent-row input { flex: 0 0 44px; inline-size: 44px; block-size: 44px; margin: 0; accent-color: var(--brand); }
.consent-row label { display: block; min-height: 44px; padding-block: .5rem; min-width: 0; overflow-wrap: anywhere; }
.consent-row a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.captcha-region { margin-block-start: 1rem; }
[data-captcha] { margin-block-start: .75rem; }
.captcha-error { margin-bottom: 1rem; }
.contact-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.contact-actions .button { width: 100%; overflow-wrap: anywhere; cursor: pointer; }
.button:disabled { background: var(--color-text-muted); border-color: var(--color-text-muted); cursor: wait; }
.whatsapp-slot { min-width: 0; }
.is-unavailable { display: none; }
.whatsapp-slot:has(.is-unavailable) { display: none; }
.form-status { margin-block-start: 1rem; }
.contact-config { margin-top: 1rem; padding: .75rem 1rem; background: var(--surface); border-radius: 6px; font-size: .875rem; color: var(--color-text-muted); }
.field-error:empty, .captcha-error:empty, .form-status:empty, .contact-config:empty { margin: 0; padding: 0; }
.consent-field { margin-top: 1.5rem; }
.contact-actions { margin-top: 1.5rem; }
@media (min-width: 48rem) {
  .contact-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-field:has(textarea), .contact-field:has([name="subject"]) { grid-column: 1 / -1; }
  .contact-actions { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

/* 10. Only explicit non-interactive targets participate in reveals. */
[data-reveal] { opacity: 1; transform: none; }
.reveal-pending { opacity: 0; transform: translateY(28px) scale(.985); }
.reveal-pending, .reveal-done { transition: opacity 700ms cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms), transform 700ms cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms); }
.reveal-immediate, .reveal-disabled [data-reveal] { opacity: 1; transform: none; transition: none; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; transition-delay: 0s; }
}

/* Navigation mobile : logo et langues, puis liens sur leur propre ligne. */
@media (max-width: 47.999rem) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; }
  .brand { width: 200px; }
  .languages { grid-column: 2; grid-row: 1; }
  .languages ul { gap: 0; }
  .languages a { padding-inline: .375rem; }
  .header-inner > nav:not(.languages) { grid-column: 1 / -1; width: 100%; border-top: 1px solid var(--line); padding-top: .5rem; }
  .header-inner > nav:not(.languages) ul { justify-content: space-between; gap: .25rem; }
  .header-inner > nav:not(.languages) a { padding-inline: .25rem; font-size: .875rem; }
  .hero-actions .button { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Language dropdown works with native details, including without JavaScript. */
.languages { position: relative; z-index: 10; }
.language-picker summary { display: flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; list-style: none; color: var(--brand); font-weight: 600; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.language-flag { display: inline-block; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.flag-fr { background: linear-gradient(90deg, #002395 33.33%, #fff 33.33% 66.66%, #ED2939 66.66%); }
.flag-de { background: linear-gradient(#000 33.33%, #D00 33.33% 66.66%, #FFCE00 66.66%); }
.flag-en { background: url('../images/flag-en.svg') center / cover; }
.language-picker .language-options { position: absolute; right: 0; top: calc(100% + .5rem); display: flex; flex-direction: column; align-items: stretch; gap: .25rem; min-width: 170px; padding: .5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(31,41,55,.12); }
.language-options a { justify-content: flex-start; gap: .75rem; width: 100%; border: 0; }
.language-options a:hover, .language-options a[aria-current="page"] { background: var(--surface); text-decoration: none; }
.language-chevron { width: 8px; height: 8px; flex: 0 0 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: .25rem; }
.language-picker[open] .language-chevron { transform: translateY(2px) rotate(225deg); }

/* Flexible track: new logo items are included in the scroll automatically. */
.partners-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.partners-heading h2 { margin: 0; }
.partners-viewport { overflow-x: auto; overscroll-behavior-inline: contain; border-radius: 8px; scrollbar-width: none; -ms-overflow-style: none; }
.partners-viewport::-webkit-scrollbar { display: none; width: 0; height: 0; }
.partners-track { display: flex; gap: 1.5rem; list-style: none; width: max-content;  }
.partner-logo { display: flex; align-items: center; justify-content: center; flex: 0 0 200px; height: 128px; padding: 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 47.999rem) { .partner-logo { flex-basis: 160px; height: 112px; } }

.subject-other[hidden] { display: none; }
.subject-other { grid-column: 1 / -1; }
.required-mark { color: var(--accent); }
.footer-company address { font-style: normal; font-size: .925rem; margin-top: .5rem; color: var(--color-text-muted); }
.footer-copyright { font-size: .8rem; margin-top: .75rem; color: var(--color-text-muted); }

/* Depth, light and image motion remain subtle enough for a business site. */
.button { position: relative; overflow: hidden; transition: background .2s ease, box-shadow .3s ease, transform .3s cubic-bezier(.22,1,.36,1); }
.button::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.22) 50%, transparent 80%); transform: translateX(-140%); transition: transform .65s ease; }
.equipment-item { position: relative; transition: opacity 700ms cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms), transform 700ms cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms), box-shadow .35s ease, border-color .35s ease; }
.hero-media { overflow: hidden; border-radius: 12px; }
.hero-media img, .equipment-media img, .partner-logo img { transition: transform .65s cubic-bezier(.22,1,.36,1), filter .5s ease; }
.partner-logo { overflow: hidden; transition: border-color .3s ease, box-shadow .3s ease; }
.header-inner > nav:not(.languages) a { position: relative; }
.header-inner > nav:not(.languages) a::after { content: ''; position: absolute; bottom: .25rem; left: .625rem; right: .625rem; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.contact-field input, .contact-field select, .contact-field textarea { transition: border-color .2s ease, box-shadow .2s ease; }
.contact-field :is(input, select, textarea):focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(42,43,105,.08); }
@media (hover: hover) and (pointer: fine) {
  .button:not(:disabled):hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(42,43,105,.18); }
  .button:not(:disabled):hover::after { transform: translateX(140%); }
  .equipment-item.reveal-done:hover { transform: translateY(-6px); border-color: rgba(42,43,105,.25); box-shadow: 0 14px 30px rgba(42,43,105,.1); transition-delay: 0s; }
  .equipment-media:hover img { transform: scale(1.045); }
  .hero-media:hover img { transform: scale(1.025); filter: saturate(1.08); }
  .partner-logo:hover { border-color: rgba(42,43,105,.3); box-shadow: inset 0 0 0 1px rgba(42,43,105,.08); }
  .partner-logo:hover img { transform: scale(1.07); }
  .header-inner > nav:not(.languages) a:hover::after { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .equipment-item, .button, .button::after, .hero-media img, .equipment-media img, .partner-logo, .partner-logo img, .header-inner > nav:not(.languages) a::after, .contact-field :is(input, select, textarea) { transition: none !important; }
  .equipment-item.reveal-done:hover, .button:not(:disabled):hover, .hero-media:hover img, .equipment-media:hover img, .partner-logo:hover img { transform: none; }
  .button::after { display: none; }
}

/* Contact actions stay visible, with native disabled behavior. */
.contact-actions .button:disabled { cursor: not-allowed; background: #E5E7EB; border-color: #D1D5DB; color: #6B7280; box-shadow: none; }
.button--whatsapp { background: #176B43; border-color: #176B43; color: #FFFFFF; }
.button--whatsapp:hover:not(:disabled) { background: #125536; border-color: #125536; }
.consent-row { position: relative; gap: .5rem; }
.consent-row input { appearance: none; -webkit-appearance: none; flex: 0 0 24px; inline-size: 24px; block-size: 24px; margin: .625rem; border: 1px solid #9CA3AF; border-radius: 6px; background: var(--paper); cursor: pointer; }
.consent-row input:checked { background: var(--brand); border-color: var(--brand); }
.consent-row input:checked::after { content: ''; display: block; width: 6px; height: 11px; border: solid white; border-width: 0 2px 2px 0; transform: translate(8px, 3px) rotate(45deg); }
.consent-row label { cursor: pointer; }
.footer-phone { display: block; font-size: .925rem; font-weight: 600; text-decoration: none; }
.footer-phone:hover { text-decoration: underline; }

/* Hero carousel keeps a fixed frame; landscape images fill it without distortion. */
.hero-carousel-frame { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 12px; background: var(--surface); }
.hero-carousel-frame .hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 0; opacity: 1; visibility: hidden; transform: translateX(100%); transition: none; }
.hero-carousel-frame .hero-slide.is-active { visibility: visible; transform: translateX(0); z-index: 1; }
.hero-carousel-frame .hero-slide.is-leaving { visibility: visible; transform: translateX(-100%); z-index: 1; }
.hero-media:hover .hero-carousel-frame .hero-slide { transform: translateX(100%); }
.hero-media:hover .hero-carousel-frame .hero-slide.is-active { transform: translateX(0); }
.hero-media:hover .hero-carousel-frame .hero-slide.is-leaving { transform: translateX(-100%); }
.hero-carousel-controls { position: absolute; bottom: .5rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; padding: 0 .25rem; border-radius: 24px; background: rgba(15,23,42,.45); }
.hero-carousel-controls[hidden] { display: none; }
.carousel-dot { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.carousel-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); }
.carousel-dot[aria-pressed="true"]::after { width: 20px; border-radius: 8px; background: #FFFFFF; }
.hero-media [data-carousel-caption] { min-height: 3.2em; }
@media (prefers-reduced-motion: reduce) { .hero-carousel-frame .hero-slide { transition: none !important; } }

/* Footer information stays readable on narrow screens and long documents. */
.site-footer nav { min-width: 0; }
.footer-inner { align-items: flex-start; }
.footer-sections { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; flex: 0 1 20rem; }
.footer-section h3 { font-size: .95rem; margin: 0 0 .5rem; }
.site-footer .footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.site-footer .footer-links a { overflow-wrap: anywhere; font-size: .875rem; font-weight: 400; line-height: 1.5; justify-content: flex-start; min-height: 0; padding: .2rem 0; text-decoration: none; text-underline-offset: .2em; }
.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; }
.document { max-width: 80ch; overflow-wrap: anywhere; }
.document h2 { margin-block-start: 2rem; }
.document h3 { margin-block-start: 1.5rem; }
.document li + li { margin-block-start: .5rem; }
@media (max-width: 60rem) {
  .footer-sections { width: 100%; flex-basis: auto; }
}
@media (max-width: 40rem) {
  .footer-sections { grid-template-columns: 1fr; }
}

.contact-privacy { margin-top: 1.5rem; font-size: .875rem; line-height: 1.6; color: var(--color-text-muted); }

.footer-email { display: block; font-size: .925rem; overflow-wrap: anywhere; }

/* Place the copyright after the legal links on mobile. */
@media (max-width: 47.999rem) {
  .footer-inner { row-gap: .25rem; }
  .footer-company { display: contents; }
  .footer-sections { margin-top: 1rem; }
  .footer-copyright { order: 1; }
}

/* Refined typography and alternating section surfaces. */
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { font-family: 'Source Sans 3', sans-serif; font-size: clamp(1.0625rem, 1rem + .2vw, 1.1875rem); line-height: 1.65; }
h1, h2, h3, .button, .header-inner nav { font-family: 'Manrope', sans-serif; }
h1, h2, h3 { overflow-wrap: normal; }
h1 { font-weight: 700; font-size: clamp(2.6rem, 4.8vw, 4.8rem); letter-spacing: -.055em; }
h2 { font-weight: 600; font-size: clamp(1.75rem, 2.8vw, 2.65rem); letter-spacing: -.04em; }
h3 { font-weight: 600; font-size: clamp(1.125rem, 1.5vw, 1.35rem); line-height: 1.35; letter-spacing: -.025em; }
.container { max-width: 1320px; padding-inline: clamp(1.25rem, 3vw, 2.5rem); }
.site-header { background: #fff; }
.header-inner { padding-block: .85rem; }
.header-inner > nav:not(.languages) a { font-size: .9375rem; font-weight: 600; }
.hero { background: linear-gradient(180deg, #ffffff 0%, #f4f6fb 38%, #f7f8fb 72%, #fafaf9 100%); border-bottom: 0; padding-block: clamp(3rem, 6vw, 5.5rem); }
.hero-layout { gap: clamp(2rem, 4vw, 4rem); }
.hero-content h1 { color: var(--color-primary); margin-bottom: 1.75rem; }
.hero-content h1::before { content: ''; display: block; width: 3rem; height: 4px; background: #e45a5b; border-radius: 2px; margin-bottom: 1.5rem; }
.hero-content p { color: #454c63; font-size: clamp(1.25rem, 1.65vw, 1.5rem); line-height: 1.55; max-width: 34ch; margin-top: 0; }
.hero-actions { margin-top: 2rem; }
.hero-actions .button { background: #2a2b69; color: #fff; border-color: #2a2b69; border-radius: 100px; font-size: .9375rem; padding: .95rem 1.5rem; }
.hero-actions .button:hover { background: #1e1f52; }
.hero-media { border-radius: 18px; }
.hero-carousel-frame { border-radius: 18px; }
.hero-media figcaption { color: #61687b; font-size: .9375rem; padding-inline: .25rem; }
.section { border-bottom: 0; padding-block: clamp(3rem, 5vw, 4.5rem); }
#presentation { background: linear-gradient(180deg, #fafaf9, #fdfdfc 60%, #ffffff); }
#presentation .editorial-grid { gap: 1.5rem; }
#presentation .section-heading h2 { margin-bottom: 0; }
#presentation .section-content { max-width: none; width: 100%; }
#presentation p { max-width: none; }
#presentation .section-content > p + p { margin-top: 1.25rem; }
#activites { background: #fff; }
.equipment-item { background: #f7f8fc; border-color: #e5e7f0; border-radius: 16px; box-shadow: none; }
.equipment-media img { border-radius: 10px; }
.equipment-media figcaption { font-size: .9375rem; line-height: 1.5; }
.partners-section { background: linear-gradient(180deg, #ffffff, #f5f7fb 50%, #ffffff); }
.partner-logo { border: 0; border-radius: 14px; }
.contact-section { background: linear-gradient(180deg, #ffffff, #f8f9fc 60%, #f8f9fc); }
[data-contact-form] { box-shadow: 0 12px 40px rgba(31,35,70,.05); border-radius: 18px; }
.site-footer { background: #f8f9fc; color: var(--color-text-main); border: 0; padding-block: 2.5rem; }
.site-footer :is(a, h3) { color: var(--color-primary); }
.site-footer :is(.footer-company address, .footer-copyright) { color: var(--color-text-muted); }
.language-picker summary { width: 62px; height: 62px; min-height: 62px; padding: 7px; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; gap: 3px; background: #f5f6fb; border: 1px solid #e1e4ef; box-shadow: 0 3px 12px rgba(42,43,105,.06); transition: background .2s ease, box-shadow .2s ease; }
.language-picker summary:hover, .language-picker[open] summary { background: #e9ecf7; box-shadow: 0 4px 16px rgba(42,43,105,.12); }
.language-picker summary > span:not(.language-flag) { display: none; }
.language-picker summary .language-flag { flex: 0 0 30px; width: 30px; height: 30px; }
.language-picker summary .language-chevron { display: none; }
.language-picker .language-options { border-radius: 16px; padding: .625rem; }
.language-options a { border-radius: 10px; font-size: .9375rem; }
@media (max-width: 47.999rem) {
  .hero-content p { max-width: 36ch; }
  .hero-actions .button { width: auto; }
  .language-picker summary { width: 54px; height: 54px; min-height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .language-picker summary { transition: none; }
}

/* Product cards: consistent image area followed by compact copy. */
.equipment-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.equipment-item { display: grid; grid-template-rows: auto 1fr; gap: 0; padding: 0; overflow: hidden; background: #fff; border: 1px solid #e9ebf2; border-radius: 18px; }
.equipment-item > .equipment-media { grid-row: 1; margin: 0; padding: 1.25rem 1.5rem 0; background: linear-gradient(180deg, #f7f8fb, #fff); }
.equipment-item > div:not(.equipment-gallery) { grid-row: 2; padding: 1.5rem 1.5rem 1.75rem; }
.equipment-media img { height: 280px; padding: .75rem; background: #fff; border-radius: 12px; }
.equipment-media figcaption { margin-top: .65rem; font-size: .8125rem; line-height: 1.45; min-height: 2.9em; color: #737b8c; }
.equipment-item h3 { margin: 0 0 .85rem; font-size: 1.375rem; line-height: 1.35; }
.equipment-item p { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: #515a6b; }
@media (hover: hover) and (pointer: fine) {
  .equipment-item.reveal-done:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(42,43,105,.06); }
}
@media (max-width: 63.999rem) { .equipment-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 39.999rem) { .equipment-list { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .equipment-item.reveal-done:hover { transform: none; } }

/* JavaScript owns anchor easing; native scrolling remains the no-script fallback. */
html.anchor-scroll-controlled { scroll-behavior: auto !important; }

/* Anchor destinations receive focus without outlining the entire section. */
main:focus, main .section:focus { outline: none; }

/* Shared form controls, including Safari's otherwise compressed select boxes. */
[data-contact-form] .contact-field label { font-weight: 600; font-size: 1rem; color: #374151; }
[data-contact-form] .contact-field :is(input, select, textarea) {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: .875rem 1rem;
  border: 1px solid #d9deea;
  border-radius: 10px;
  background-color: #fff;
  color: #1f2937;
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(31,41,55,.03);
}
[data-contact-form] .contact-field :is(input, select) { height: 52px; }
[data-contact-form] .contact-field select {
  padding-right: 3rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 7.5 5 5 5-5' stroke='%232A2B69' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 20px 20px;
  text-overflow: ellipsis;
}
[data-contact-form] .contact-field textarea { min-height: 160px; }
[data-contact-form] .contact-field :is(input, select, textarea):focus {
  border-color: #2a2b69;
  outline: none;
  box-shadow: 0 0 0 3px rgba(42,43,105,.13);
}
[data-contact-form] .contact-field [aria-invalid="true"] { border-color: var(--accent); }
[data-contact-form] .contact-field :is(input, select, textarea):disabled { background-color: #f4f5f8; color: #6b7280; cursor: not-allowed; }
@media (forced-colors: active) {
  [data-contact-form] .contact-field select { -webkit-appearance: auto; appearance: auto; background-image: none; }
  [data-contact-form] .contact-field :is(input, select, textarea):focus { outline: 2px solid Highlight; }
}

/* Language trigger shows only the enlarged circular flag. */
.language-picker summary,
.language-picker summary:hover,
.language-picker[open] summary {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.language-picker summary .language-flag {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  box-shadow: none;
}

/* Full-width hero photograph with protected text contrast. */
.hero { position: relative; isolation: isolate; padding: 0; background: #202541; }
.hero .hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-height: clamp(540px, 72vh, 780px); padding-block: clamp(3rem, 7vw, 6rem); }
.hero .hero-media { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border-radius: 0; overflow: hidden; z-index: -2; }
.hero .hero-layout { max-width: none; padding-inline: max(clamp(1.25rem, 4vw, 3rem), calc((100vw - 1240px) / 2)); }
.hero .hero-carousel-frame { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.hero .hero-layout::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(13,20,39,.94) 0%, rgba(13,20,39,.85) 30%, rgba(13,20,39,.5) 60%, rgba(13,20,39,.15) 100%); }
.hero .hero-content { width: 100%; max-width: 650px; position: relative; }
.hero .hero-content h1 { color: #fff; }
.hero .hero-content p { color: #f0f2f8; max-width: 34ch; text-shadow: 0 1px 3px rgba(0,0,0,.2); }
.hero .hero-actions .button { background: #fff; border-color: #fff; color: #2a2b69; }
.hero .hero-actions .button:hover { background: #eef0f7; }
.hero .hero-media [data-carousel-caption] { position: absolute; z-index: 3; bottom: 1.25rem; right: 1.5rem; left: 1.5rem; margin: 0; min-height: 0; max-width: none; text-align: right; color: #fff; font-size: .8125rem; text-shadow: 0 1px 4px #000; }
.hero .hero-carousel-controls { bottom: 3rem; }
.hero .hero-media.reveal-pending { opacity: 1; transform: none; }
@media (max-width: 47.999rem) {
  .hero .hero-layout { min-height: 620px; padding-block: 3.5rem 7rem; }
  .hero .hero-layout::before { background: linear-gradient(90deg, rgba(13,20,39,.87), rgba(13,20,39,.62)); }
  .hero .hero-content h1 { font-size: clamp(2.5rem, 9vw, 3.75rem); }
  .hero .hero-content p { font-size: 1.25rem; }
  .hero .hero-carousel-controls { bottom: 4.25rem; }
  .hero .hero-media [data-carousel-caption] { text-align: center; }
}
