/* Theme base styles */

/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/

/* Generic
This is where reset, normalize & box-sizing styles go.
*/

*, *:before, *:after {
  box-sizing: border-box;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Tokens
Design tokens (couleurs, typo, espacement, rayons, ombres) générés depuis les theme fields.
*/



















:root {
  /* Couleurs · marque */
  --c-primary: #0F4578;
  --c-primary-rgb: 15, 69, 120;
  --c-primary-900: #0A2E52;
  --c-primary-50: #EDFAFF;
  --c-accent: #00B4D8;
  --c-accent-rgb: 0, 180, 216;
  --c-accent-600: #007C99;
  --c-on-accent: #0B2540;

  /* Couleurs · neutres */
  --c-ink: #0B2540;
  --c-muted: #4A5B70;
  --c-bg: #FFFFFF;
  --c-surface: #F5F8FB;
  --c-border: #E1E7EF;

  /* Couleurs · sémantiques (données et statuts uniquement) */
  --c-success: #15803D;
  --c-success-rgb: 21, 128, 61;
  --c-warning: #B45309;
  --c-warning-rgb: 180, 83, 9;
  --c-danger: #B91C1C;
  --c-danger-rgb: 185, 28, 28;

  /* Typographie */
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-ui: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-body: 17px;
  --fs-lead: 1.25rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8125rem;
  --fs-h1: clamp(40px, calc(40px + 24 * ((100vw - 375px) / 905)), 64px);
  --fs-h2: clamp(32px, calc(32px + 12 * ((100vw - 375px) / 905)), 44px);
  --fs-h3: 24px;
  --fs-h4: 20px;
  --fs-stat: clamp(40px, calc(40px + 16 * ((100vw - 375px) / 905)), 56px);
  --lh-body: 1.6;
  --lh-tight: 1.15;

  /* Espacement : échelle 1·2·3·4·6·8·12·16·24·32 × unité */
  --space-unit: 4px;
  --space-1: calc(var(--space-unit) * 1);
  --space-2: calc(var(--space-unit) * 2);
  --space-3: calc(var(--space-unit) * 3);
  --space-4: calc(var(--space-unit) * 4);
  --space-5: calc(var(--space-unit) * 6);
  --space-6: calc(var(--space-unit) * 8);
  --space-7: calc(var(--space-unit) * 12);
  --space-8: calc(var(--space-unit) * 16);
  --space-9: calc(var(--space-unit) * 24);
  --space-10: calc(var(--space-unit) * 32);
  --section-y: clamp(64px, calc(64px + 64 * ((100vw - 375px) / 905)), 128px);

  /* Conteneurs */
  --container: 1200px;
  --container-text: 720px;
  --gutter: clamp(16px, 4vw, 24px);

  /* Rayons */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Ombres (teintées primaire) */
  --shadow-sm: 0 1px 2px rgba(var(--c-primary-rgb), 0.060);
  --shadow-md: 0 8px 24px -8px rgba(var(--c-primary-rgb), 0.140);

  /* Focus clavier */
  --focus-ring: 3px solid rgba(var(--c-accent-rgb), .55);
  --focus-offset: 2px;

  /* Mouvement */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --dur-fast: 150ms;
  --dur-reveal: 400ms;
}

/* Objects
Non-cosmetic design patterns including grid and layout classes)
*/



/* CSS variables */

:root {
  --column-gap: 2.13%;
  --column-width-multiplier: 8.333;
}

/* Mobile layout */

.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}


  .row-fluid .span1,
  .row-fluid .span2,
  .row-fluid .span3,
  .row-fluid .span4,
  .row-fluid .span5,
  .row-fluid .span6,
  .row-fluid .span7,
  .row-fluid .span8,
  .row-fluid .span9,
  .row-fluid .span10,
  .row-fluid .span11,
  .row-fluid .span12{
  min-height: 1px;
  width: 100%;
}

/* Desktop layout */

@media (min-width: 768px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  
    .row-fluid .span1 {
      width: calc(var(--column-width-multiplier) * 1% * 1 - var(--column-gap) * (11 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span2 {
      width: calc(var(--column-width-multiplier) * 1% * 2 - var(--column-gap) * (10 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span3 {
      width: calc(var(--column-width-multiplier) * 1% * 3 - var(--column-gap) * (9 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span4 {
      width: calc(var(--column-width-multiplier) * 1% * 4 - var(--column-gap) * (8 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span5 {
      width: calc(var(--column-width-multiplier) * 1% * 5 - var(--column-gap) * (7 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span6 {
      width: calc(var(--column-width-multiplier) * 1% * 6 - var(--column-gap) * (6 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span7 {
      width: calc(var(--column-width-multiplier) * 1% * 7 - var(--column-gap) * (5 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span8 {
      width: calc(var(--column-width-multiplier) * 1% * 8 - var(--column-gap) * (4 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span9 {
      width: calc(var(--column-width-multiplier) * 1% * 9 - var(--column-gap) * (3 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span10 {
      width: calc(var(--column-width-multiplier) * 1% * 10 - var(--column-gap) * (2 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span11 {
      width: calc(var(--column-width-multiplier) * 1% * 11 - var(--column-gap) * (1 * var(--column-width-multiplier) / 100));
    }
  
}
.content-wrapper {
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 var(--gutter);
}

.content-wrapper--vertical-spacing {
  padding-bottom: var(--section-y);
  padding-top: var(--section-y);
}

.dnd-section {
  padding: var(--section-y) var(--gutter);
}

.dnd-section > .row-fluid {
  margin: 0 auto;
  max-width: var(--container);
}

.dnd-section .dnd-column {
  padding: 0 var(--space-4);
}

@media (max-width: 767px) {
  .dnd-section .dnd-column {
    padding: 0;
  }
}

/* Modules « section » (hero, bandeaux…) : ils gèrent eux-mêmes marges, largeur et fond.
   La section glisser-déposer qui les contient s'efface pour leur laisser toute la largeur. */

.dnd-section:has(.section) {
  padding: 0;
}

.dnd-section:has(.section) > .row-fluid {
  max-width: none;
}

.dnd-section:has(.section) .dnd-column {
  padding: 0;
}

/* Conteneurs et sections réutilisables par les modules */

.container {
  margin: 0 auto;
  max-width: var(--container);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container--text {
  max-width: calc(var(--container-text) + 2 * var(--gutter));
}

.section {
  padding-bottom: var(--section-y);
  padding-top: var(--section-y);
}

.section--surface {
  background-color: var(--c-surface);
}

.section--dark {
  background-color: var(--c-primary-900);
  color: var(--c-bg);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark .h1,
.section--dark .h2,
.section--dark .h3,
.section--dark .h4 {
  color: var(--c-bg);
}

.section--dark .eyebrow,
.section--dark .stat,
.section--dark .text-highlight {
  color: var(--c-accent);
}

.section--dark .lead,
.section--dark .text-small {
  color: rgba(255, 255, 255, .78);
}

.section--dark a:not(.button) {
  color: var(--c-bg);
}

/* Section bleu du logo : texte blanc ; sur-titre en blanc atténué (le cyan n'atteint pas l'AA en petit texte sur ce bleu) */
.section--primary {
  background-color: var(--c-primary);
  color: var(--c-bg);
}

.section--primary h1,
.section--primary h2,
.section--primary h3,
.section--primary h4,
.section--primary .h1,
.section--primary .h2,
.section--primary .h3,
.section--primary .h4 {
  color: var(--c-bg);
}

.section--primary .eyebrow,
.section--primary .lead,
.section--primary .text-small {
  color: rgba(255, 255, 255, .85);
}

/* Grands textes uniquement : le cyan reste lisible en grande taille (≥ 3:1) */
.section--primary .stat,
.section--primary .text-highlight {
  color: var(--c-accent);
}

.section--primary a:not(.button) {
  color: var(--c-bg);
}

.section__header {
  margin-bottom: var(--space-7);
  max-width: var(--container-text);
}

.section__header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__header--center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* Grilles auto-adaptatives : autant d'éléments que voulu, aucun nombre codé en dur */

.grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--grid-min, 260px)), 1fr));
}

.grid--narrow {
  --grid-min: 220px;
}

.grid--wide {
  --grid-min: 320px;
}

/* Pages de texte long (mentions légales…) : colonne de lecture étroite */
.body-container--text .dnd-section > .row-fluid {
  max-width: var(--container-text);
}

.body-container--text h2 {
  font-size: var(--fs-h3);
  margin-top: var(--space-7);
}

/* Elements
Base HTML elements are styled in this section (<body>, <h1>, <a>, <p>, <button> etc.)
*/

/* The overflow-wrap is meant to prevent long/large words from breaking the mobile responsiveness of a page (e.g. horizontal scrolling). */

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

body {
  background-color: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Handles word breaking for a few specific languages which handle breaks in words differently. */

html[lang^="ja"] body,
html[lang^="zh"] body,
html[lang^="ko"] body {
  line-break: strict;
  overflow-wrap: normal;
  word-break: break-all;
}

/* Paragraphs */

p {
  margin: 0 0 var(--space-4);
}

/* Anchors */

a {
  color: var(--c-primary);
  cursor: pointer;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  transition: color var(--dur-fast) var(--ease-out);
}

a:hover {
  color: var(--c-primary-900);
}

a:focus-visible {
  border-radius: 2px;
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* Headings */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4 {
  color: var(--c-ink);
  margin: 0 0 var(--space-4);
}

h1, .h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h2, .h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: var(--lh-tight);
}

h3, .h3 {
  font-family: var(--font-ui);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

h4, .h4 {
  font-family: var(--font-ui);
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.3;
}

h5, h6 {
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.4;
}

/* Text styles */

.eyebrow {
  color: var(--c-primary);
  display: block;
  font-family: var(--font-ui);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin: 0 0 var(--space-3);
  text-transform: uppercase;
}

.lead {
  color: var(--c-muted);
  font-size: var(--fs-lead);
  line-height: 1.55;
  max-width: 60ch;
}

.text-small {
  color: var(--c-muted);
  font-size: var(--fs-small);
  line-height: 1.5;
}

.text-highlight {
  color: var(--c-primary);
}

/* Chiffre-preuve : chiffres tabulaires pour aligner les valeurs */

.stat {
  color: var(--c-primary);
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-stat);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Valeur en toutes lettres : plus petite, mais même hauteur de bloc que les chiffres
   pour que les légendes d'un bandeau restent alignées */
.stat--text {
  align-items: flex-end;
  display: flex;
  font-size: var(--fs-h3);
  line-height: var(--lh-tight);
  min-height: var(--fs-stat);
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* Lists */

ul,
ol {
  margin: 0 0 var(--space-4);
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin: 0;
}

ul.no-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Code blocks */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */

blockquote {
  border-left: 3px solid var(--c-accent);
  margin: 0 0 var(--space-4);
  padding-left: var(--space-4);
}

/* Horizontal rules */

hr {
  border: none;
  border-bottom: 1px solid var(--c-border);
  margin: var(--space-7) 0;
}

/* Image alt text */

img {
  font-size: 0.583rem;
  word-break: normal;
}

/* Selection */

::selection {
  background-color: var(--c-primary-50);
  color: var(--c-ink);
}
/*
  Boutons : 4 variantes
  - .button (= primaire par défaut) : fond accent, un seul par écran
  - .button--secondary : contour primaire
  - .button--inverse : sur fonds foncés
  - .link-arrow : lien texte avec flèche
  Les boutons de formulaires HubSpot (.hs-button) héritent du style primaire.
*/

button,
.button,
.hs-button {
  align-items: center;
  background-color: var(--c-accent);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  color: var(--c-on-accent);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  gap: var(--space-2);
  justify-content: center;
  line-height: 1.2;
  min-height: 48px;
  padding: var(--space-3) var(--space-5);
  text-align: center;
  text-decoration: none;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
  white-space: normal;
}

button:hover,
.button:hover,
.hs-button:hover {
  background-color: var(--c-accent-600);
  box-shadow: var(--shadow-md);
  color: var(--c-bg);
  transform: translateY(-1px);
}

button:active,
.button:active,
.hs-button:active {
  box-shadow: var(--shadow-sm);
  transform: none;
}

button:focus-visible,
.button:focus-visible,
.hs-button:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

button:disabled,
.button:disabled,
.hs-button:disabled,
.button[aria-disabled="true"] {
  background-color: var(--c-border);
  border-color: var(--c-border);
  box-shadow: none;
  color: var(--c-muted);
  cursor: not-allowed;
  transform: none;
}

/* Secondaire */

.button--secondary {
  background-color: transparent;
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.button--secondary:hover {
  background-color: var(--c-primary-50);
  color: var(--c-primary);
}

/* Inversé (fonds foncés) */

.button--inverse {
  background-color: var(--c-bg);
  color: var(--c-primary-900);
}

.button--inverse:hover {
  background-color: var(--c-primary-50);
  color: var(--c-primary-900);
}

.button--inverse:focus-visible {
  outline-color: rgba(255, 255, 255, .7);
}

/* Pleine largeur */

.button--block {
  width: 100%;
}

/* Lien fléché */

.link-arrow {
  align-items: center;
  color: var(--c-primary);
  display: inline-flex;
  font-family: var(--font-ui);
  font-weight: 600;
  gap: var(--space-2);
  text-decoration: none;
}

.link-arrow:hover {
  color: var(--c-primary-900);
}

.link-arrow__icon {
  transition: transform var(--dur-fast) var(--ease-out);
}

.link-arrow:hover .link-arrow__icon,
.card--link:hover .link-arrow__icon {
  transform: translateX(4px);
}

/* Groupe de boutons */

.button-group {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* No button */

.no-button,
.no-button:hover,
.no-button:focus,
.no-button:active {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: inherit;
  display: inline;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin-bottom: 0;
  min-height: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transform: none;
  transition: none;
}
/* Form container */

form,
.submitted-message {
  font-family: var(--font-body);
}

/* Fields */

.hs-form-field {
  margin-bottom: var(--space-5);
}

/* Labels */

form label {
  color: var(--c-ink);
  display: block;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

/* Form Title */
.form-title {
  margin-bottom: 0;
}

/* Help text */

form legend {
  color: var(--c-muted);
  font-size: var(--fs-small);
}

/* Inputs */

form input[type=text],
form input[type=search],
form input[type=email],
form input[type=password],
form input[type=tel],
form input[type=number],
form input[type=file],
form select,
form textarea {
  background-color: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-ink);
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  transition: border-color var(--dur-fast) var(--ease-out);
  width: 100%;
}

form input[type=text]:focus,
form input[type=search]:focus,
form input[type=email]:focus,
form input[type=password]:focus,
form input[type=tel]:focus,
form input[type=number]:focus,
form select:focus,
form textarea:focus {
  border-color: var(--c-accent-600);
  outline: var(--focus-ring);
  outline-offset: 0;
}

::placeholder {
  color: var(--c-muted);
  opacity: 1;
}

form textarea {
  resize: vertical;
}

form fieldset {
  max-width: 100% !important;
}

/* Inputs - checkbox/radio */

form .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

form .inputs-list > li {
  display: block;
  margin: 0.7rem 0;
}

form .inputs-list input,
form .inputs-list span {
  vertical-align: middle;
}

form input[type=checkbox],
form input[type=radio] {
  cursor: pointer;
  margin-right: 0.35rem;
}

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

.hs-dateinput:before {
  content:'\01F4C5';
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.fn-date-picker .pika-table thead th {
  color: var(--c-bg);
}

.fn-date-picker td.is-selected .pika-button {
  border-radius: 0;
  box-shadow: none;
}

.fn-date-picker td .pika-button:hover,
.fn-date-picker td .pika-button:focus {
  background-color: var(--c-primary) !important;
  border-radius: 0 !important;
  color: var(--c-bg);
}

.fn-date-picker td.is-selected .pika-button {
  background: var(--c-primary);
}

.fn-date-picker td.is-today .pika-button {
  color: var(--c-primary);
}

/* Inputs - file picker */

form input[type=file] {
  background-color: transparent;
  border: initial;
  padding: initial;
}

/* Headings and text */

form .hs-richtext,
form .hs-richtext p {
  font-size: var(--fs-small);
  margin: 0 0 var(--space-4);
}

form .hs-richtext img {
  max-width: 100% !important;
}

/* GDPR */

.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 1rem !important;
}

/* Validation (statut : couleur sémantique danger) */

.hs-form-required {
  color: var(--c-danger);
}

.hs-input.invalid.error {
  border-color: var(--c-danger);
}

.hs-error-msg {
  color: var(--c-danger);
  font-size: var(--fs-small);
  margin-top: var(--space-1);
}

/* Submit button : même style que le bouton primaire */

form input[type=submit] {
  background-color: var(--c-accent);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  color: var(--c-on-accent);
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  min-height: 48px;
  padding: var(--space-3) var(--space-5);
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  white-space: normal;
}

form input[type=submit]:hover {
  background-color: var(--c-accent-600);
  color: var(--c-bg);
}

form input[type=submit]:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* Captcha */

.grecaptcha-badge {
  margin: 0 auto;
}


  /* Search button input field and suggestions */
  .body-container-wrapper .hs-search-field__button {
    padding: 15px;
  }

  .body-container-wrapper .hs-search-field__bar--button-inline .hs-search-field__button {
    margin-left: 6px;
    margin-bottom: 0;
  }

  .body-container-wrapper .hs-search-field__button svg {
    height: 15px;
    fill: currentColor;
  }

  .body-container-wrapper .hs-search-field__bar > form > .hs-search-field__input {
    padding: 10px;
  }

  .body-container-wrapper .hs-search-field__suggestions li a {
    color: var(--c-ink);
    padding: var(--space-1) var(--space-3);
    text-decoration: none;
    transition: background-color 0.3s;
  }

/* Table */

table {
  background-color: var(--c-bg);
  border: 1px solid var(--c-border);
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-5);
  overflow-wrap: break-word;
}

/* Table cells */

td,
th {
  border: 1px solid var(--c-border);
  color: var(--c-ink);
  padding: var(--space-3) var(--space-4);
  vertical-align: top;
}

/* Table header */

thead th {
  background-color: var(--c-surface);
  font-family: var(--font-ui);
  font-weight: 600;
  vertical-align: bottom;
}

/* Table footer */

tfoot td {
  background-color: var(--c-surface);
}

/* Components
Specific pieces of UI that are stylized. Typically used for global partial styling
*/

/*
  En-tête : logo | navigation | bouton d'action.
  Sous 1024 px : bouton « Menu » qui ouvre un panneau (navigation + bouton).
  Couleurs : tokens du thème uniquement. Les styles du menu lui-même sont dans modules/menu.module et theme-overrides.css.
*/

.header {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Lien d'évitement, visible au focus clavier */

.header__skip {
  background-color: var(--c-ink);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  color: var(--c-bg);
  left: var(--space-4);
  padding: var(--space-2) var(--space-4);
  position: absolute;
  top: -100px;
  z-index: 101;
}

.header__skip:focus {
  color: var(--c-bg);
  top: 0;
}

.header__container {
  align-items: center;
  display: flex;
  gap: var(--space-5);
  min-height: 72px;
}

.header__logo {
  flex: none;
  margin-right: auto;
}

/* Bouton Menu (mobile et tablette) */

.header__toggle {
  align-items: center;
  border-radius: var(--radius-sm);
  color: var(--c-ink);
  cursor: pointer;
  display: none;
  font-family: var(--font-ui);
  font-weight: 600;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 var(--space-2);
}

.header__toggle:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.header__toggle-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.header__toggle-close,
.header__toggle[aria-expanded="true"] .header__toggle-open {
  display: none;
}

.header__toggle[aria-expanded="true"] .header__toggle-close {
  display: inline;
}

/* Panneau : en ligne sur grand écran */

.header__panel {
  align-items: center;
  display: flex;
  gap: var(--space-5);
}

.header__actions {
  align-items: center;
  display: flex;
  gap: var(--space-4);
}

.header__actions .button-wrapper {
  text-align: left;
}

.header__actions .button {
  min-height: 44px;
  padding: var(--space-2) var(--space-4);
}

/* Le menu boilerplate reste en ligne et sans marges parasites */
.header__navigation .menu {
  margin: 0;
}

@media (max-width: 1023px) {
  .header__toggle {
    display: inline-flex;
  }

  .header__panel {
    background-color: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    display: none;
    flex-direction: column;
    gap: var(--space-5);
    left: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: var(--space-4) var(--gutter) var(--space-6);
    position: absolute;
    right: 0;
    top: 100%;
  }

  .header__panel.is-open {
    display: flex;
  }

  .header__panel,
  .header__navigation,
  .header__actions {
    align-items: stretch;
    width: 100%;
  }

  .header__actions {
    flex-direction: column;
  }

  .header__actions .button {
    width: 100%;
  }

  /* Menu empilé dans le panneau */
  .header__navigation .menu__wrapper,
  .header__navigation .menu > ul {
    flex-direction: column;
  }
}

/* Sélecteur de langue (affiché seulement si des traductions existent) */

.header__language-switcher .lang_list_class {
  background-color: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Liens du menu : casse normale (le menu boilerplate force les majuscules) */
.header__navigation .menu__link {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
/*
  Cartes : socle commun + variantes
  - .card            socle (fond, bordure, rayon, padding)
  - .card--link      carte entièrement cliquable (survol : élévation + bordure primaire)
  - .card--flat      sans bordure ni ombre (chiffres du bandeau de preuve)
  - .card--surface   fond surface (calculateur, encarts)
  Éléments internes : .icon-tile, .tag, .badge, .stat (voir _typography.css)
*/

.card {
  background-color: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: var(--c-ink);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
}

.card > * {
  margin: 0;
}

/* Pousse le lien fléché en bas de carte quand les cartes d'une grille ont des hauteurs différentes */
.card > .link-arrow:last-child {
  margin-top: auto;
  padding-top: var(--space-2);
}

@media (max-width: 767px) {
  .card {
    padding: var(--space-5);
  }
}

.card--link {
  text-decoration: none;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.card--link,
.card--link:hover {
  color: var(--c-ink);
}

.card--link:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card--link:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.card--flat {
  background-color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: var(--space-5) 0;
}

.card--surface {
  background-color: var(--c-surface);
  box-shadow: var(--shadow-md);
}

.section--surface .card--surface {
  background-color: var(--c-bg);
}

/* Pastille d'icône */

.icon-tile {
  align-items: center;
  background-color: var(--c-primary-50);
  border-radius: var(--radius-md);
  color: var(--c-primary);
  display: inline-flex;
  flex: none;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.icon-tile svg,
.icon-tile img {
  height: 24px;
  width: 24px;
}

.icon-tile svg {
  fill: currentColor;
}

/* Le wrapper HubSpot de la balise icon ne doit pas casser le centrage */
.icon-tile .hs_cos_wrapper {
  display: inline-flex;
}

/* Étiquette (secteur, catégorie) */

.tag {
  align-self: flex-start;
  background-color: var(--c-primary-50);
  border-radius: var(--radius-pill);
  color: var(--c-primary);
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  line-height: 1.5;
  padding: var(--space-1) var(--space-3);
}

/* Badge de statut : couleurs sémantiques, données uniquement */

.badge {
  align-items: center;
  border-radius: var(--radius-pill);
  display: inline-flex;
  font-family: var(--font-ui);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  gap: 6px;
  line-height: 1.5;
  padding: 2px 10px;
}

.badge::before {
  background-color: currentColor;
  border-radius: 50%;
  content: "";
  height: 6px;
  width: 6px;
}

.badge--success {
  background-color: rgba(var(--c-success-rgb), .12);
  color: var(--c-success);
}

.badge--warning {
  background-color: rgba(var(--c-warning-rgb), .12);
  color: var(--c-warning);
}

.badge--danger {
  background-color: rgba(var(--c-danger-rgb), .12);
  color: var(--c-danger);
}

/* Bandeau de chiffres (preuves) : séparateurs entre éléments */

.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.stat-band > .card--flat {
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

/* Le premier chiffre s'aligne sur le titre de la section */
.stat-band > .card--flat:first-child {
  padding-left: 0;
}

.stat-band > .card--flat + .card--flat {
  border-left: 1px solid var(--c-border);
}

.section--dark .stat-band > .card--flat + .card--flat {
  border-left-color: rgba(255, 255, 255, .15);
}

@media (max-width: 767px) {
  .stat-band {
    grid-template-columns: 1fr;
  }

  .stat-band > .card--flat {
    padding-left: 0;
    padding-right: 0;
  }

  .stat-band > .card--flat + .card--flat,
  .section--dark .stat-band > .card--flat + .card--flat {
    border-left: 0;
    border-top: 1px solid var(--c-border);
  }

  .section--dark .stat-band > .card--flat + .card--flat {
    border-top-color: rgba(255, 255, 255, .15);
  }
}
/* Menu and simple menu */

.hs-menu-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Horizontal menu */

.hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-children-wrapper {
  flex-direction: column;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-horizontal ul {
    flex-direction: column;
  }
}

/* Vertical menu */

.hs-menu-wrapper.hs-menu-flow-vertical ul {
  flex-direction: column;
}

/* Flyouts */

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts ul {
  display: inline-flex;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-vertical ul {
    display: flex;
  }
}

.hs-menu-wrapper.flyouts .hs-item-has-children {
  position: relative;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper a {
  display: block;
  white-space: nowrap;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 0;
  opacity: 1;
  top: 100%;
}

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 100%;
  opacity: 1;
  top: 0;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.flyouts .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
    left: 0;
    opacity: 1;
    position: relative;
    top: auto;
  }
}

/* CTA, logo, and rich text images */

.hs_cos_wrapper_type_cta img,
.hs_cos_wrapper_type_logo img,
.hs_cos_wrapper_type_rich_text img {
  height: auto;
  max-width: 100%;
}

/* Utilities
Helper classes with ability to override anything that comes before it
*/

/* For content that needs to be visually hidden but stay visible for screenreaders */

.show-for-sr {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

@media (max-width: 767px) {
  .show-for-sr--mobile {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}
/*
  Apparition douce au défilement.
  Le masquage initial ne s'applique que si le JS a ajouté .js-reveal sur l'élément racine
  (activé par le theme field « Animations »). Sans JS, tout reste visible.
*/

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--dur-reveal) var(--ease-out),
    transform var(--dur-reveal) var(--ease-out);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js-reveal .reveal {
    opacity: 1;
    transform: none;
  }
}