/* ============================================================
   Hirondelle — landing page « accès anticipé »
   Styles extraits des prototypes design/*.dc.html
   Polices auto-hébergées (aucune requête tierce)
   ============================================================ */

/* -------- @font-face (injectés) -------- */
/* IBM Plex Sans 400 — latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibmplexsans-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans 400 — latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/ibmplexsans-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Sans 500 — latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibmplexsans-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans 500 — latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/ibmplexsans-500-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Sans 600 — latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/ibmplexsans-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans 600 — latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/ibmplexsans-600-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Sans 700 — latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/ibmplexsans-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans 700 — latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/ibmplexsans-700-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Manrope 500 — latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/manrope-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Manrope 500 — latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/manrope-500-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Manrope 600 — latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/manrope-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Manrope 600 — latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/manrope-600-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Manrope 700 — latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/manrope-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Manrope 700 — latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/manrope-700-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Manrope 800 — latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/manrope-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Manrope 800 — latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/manrope-800-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* -------- Reset minimal -------- */
* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  /* Défilement animé vers les ancres (#demo, #fonctionnalites, #top) */
  scroll-behavior: smooth;
}

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

img { max-width: 100%; }

/* -------- Design tokens -------- */
:root {
  /* Familles */
  --font-title: 'Manrope', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;

  /* Couleurs */
  --bg: #FCFCFA;
  --text: #121212;
  --text-2: #4a4a4a;
  --text-3: #5b5b5b;
  --muted: #8a8a8a;
  --muted-2: #9a9a9a;
  --blue: #2349D8;
  --blue-hover: #1B3AAE;
  --blue-light: #EAF2FF;
  --blue-on-dark: #8FA8FF;
  --blue-text-dark: #dbe3ff;
  --green: #59B98E;
  --green-text: #3a8f63;
  --green-bg: #eef7f2;
  --dark: #121212;

  /* Bordures */
  --border-06: rgba(18, 18, 18, .06);
  --border-07: rgba(18, 18, 18, .07);
  --border-08: rgba(18, 18, 18, .08);
  --border-10: rgba(18, 18, 18, .1);
  --border-16: rgba(18, 18, 18, .16);

  /* Rayons */
  --r-btn: 12px;
  --r-btn-lg: 13px;
  --r-card: 16px;
  --r-form: 18px;
  --r-block: 24px;
  --r-block-lg: 26px;
  --r-pill: 30px;

  /* Gouttière latérale commune à toutes les sections (fluide) */
  --gutter: clamp(18px, 4.5vw, 24px);
}

/* -------- Styles globaux -------- */
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }

h1, h2, h3 {
  font-family: var(--font-title);
  margin: 0;
  letter-spacing: -.02em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

/* Focus visible homogène sur les éléments interactifs */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Ancres : ne pas masquer la cible sous le header sticky */
:target { scroll-margin-top: 80px; }

/* Texte réservé aux lecteurs d'écran (contexte d'ouverture des liens externes) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* -------- Animation d'entrée -------- */
@keyframes hbFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero,
  .hero__mockup {
    animation: none !important;
  }
}

/* ============================================================
   Conteneur global (masque les débordements du hero)
   ============================================================ */
/* overflow-x:clip clippe l'horizontal sans créer de conteneur de
   défilement, contrairement à overflow:hidden qui casserait le
   position:sticky du header. */
.page { min-height: 100vh; overflow-x: clip; }

/* ============================================================
   Header sticky
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 252, 250, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-07);
}

.header__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.brand__logo { width: 28px; height: 28px; object-fit: contain; }

.brand__name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(17px, 4.4vw, 19px);
  letter-spacing: .02em;
}

.header__cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: clamp(13.5px, 3.6vw, 14.5px);
  padding: 9px clamp(13px, 4vw, 18px);
  border-radius: var(--r-btn);
  border: 1px solid var(--border-16);
  transition: border-color .18s;
  white-space: nowrap;
}
.header__cta:hover {
  color: var(--text);
  border-color: rgba(18, 18, 18, .34);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(44px, 8vw, 88px) var(--gutter) 8px;
  text-align: center;
  animation: hbFade .5s ease both;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero__title {
  font-size: clamp(32px, 6.4vw, 56px);
  line-height: 1.06;
  font-weight: 800;
  margin: 18px 0 0;
}
.hero__title-accent { color: var(--blue); }

.hero__subtitle {
  font-size: clamp(15.5px, 2.4vw, 18.5px);
  line-height: 1.62;
  color: var(--text-2);
  margin: 24px auto 0;
  max-width: 600px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: center;
  margin-top: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 15.5px;
  padding: 15px 28px;
  border-radius: var(--r-btn-lg);
  transition: background .18s;
}
.btn-primary:hover { background: var(--blue-hover); color: #fff; }

.btn-text {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 15.5px;
  padding: 15px 6px;
  color: var(--blue);
}

.hero__proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(18px, 4vw, 34px);
  justify-content: center;
  margin-top: 30px;
  font-size: 13.5px;
  color: var(--text-3);
}
.hero__proofs span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__mockup {
  margin: clamp(32px, 5vw, 44px) auto 0;
  max-width: 880px;
  animation: hbFade .5s .12s ease both;
}

/* ============================================================
   Mockup produit
   ============================================================ */
.mockup {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  border-radius: var(--r-card);
  border: 1px solid var(--border-07);
  box-shadow: 0 24px 60px -30px rgba(17, 25, 60, .45);
  overflow: hidden;
  text-align: left;
}

.mockup__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-06);
}
.mockup__dot { width: 10px; height: 10px; border-radius: 50%; background: #e4e4e0; }
.mockup__search {
  margin-left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f1ee;
  border-radius: 9px;
  padding: 6px 12px;
  flex: 1;
  color: var(--muted-2);
  font-size: 12px;
}

/* Capture de l'application, sous la barre de navigateur. Le ratio est figé
   par les attributs width/height de l'image : aucun saut de mise en page
   pendant le chargement. */
.mockup__shot {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   Section « Le vrai constat »
   ============================================================ */
.risk {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 44px) var(--gutter) 0;
}
/* Colonne unique par défaut ; deux colonnes au-delà de 860px (voir plus bas),
   pour que le bandeau sombre soit occupé sur toute sa largeur.
   `.risk__col--head` (surtitre + titre) et `.risk__col--body` (paragraphe +
   encart) n'ont volontairement aucune règle : ce sont les pistes de la grille,
   dont la mise en page est entièrement portée par `.risk__inner`. */
.risk__inner {
  background: var(--dark);
  border-radius: var(--r-block);
  padding: clamp(26px, 5vw, 56px);
  color: var(--bg);
  display: grid;
  gap: 20px;
}
.risk .eyebrow { color: var(--blue-on-dark); letter-spacing: .08em; }
.risk__title {
  font-family: var(--font-title);
  font-size: clamp(26px, 4.2vw, 34px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 14px 0 0;
  max-width: 760px;
}
/* L'écart avec le titre vient du gap de la grille, pas d'une marge. */
.risk__text {
  font-size: clamp(15.5px, 2.2vw, 16.5px);
  line-height: 1.65;
  color: #c4c6cc;
  margin: 0;
  max-width: 720px;
}
.risk__callout {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 14px clamp(15px, 3vw, 20px);
}
.risk__callout svg { flex: none; }
.risk__callout span { font-size: clamp(14px, 2.2vw, 15px); font-weight: 600; }

/* Deux colonnes : titre à gauche, texte et encart à droite. Les colonnes
   bornent déjà la mesure, les max-width de lecture ne servent plus. */
@media (min-width: 860px) {
  .risk__inner {
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 56px);
    align-items: start;
  }
  .risk__title,
  .risk__text { max-width: 100%; }
}

/* ============================================================
   Fonctionnalités
   ============================================================ */
.features {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 88px) var(--gutter) 20px;
  /* Le padding généreux de la section fait déjà l'espace sous le header
     sticky : une marge d'ancre plus fine évite d'arriver sur du vide. */
  scroll-margin-top: 16px;
}
.features__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(32px, 5vw, 48px);
}
.features__title {
  font-family: var(--font-title);
  font-size: clamp(26px, 4.6vw, 38px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 14px 0 0;
}
.features__subtitle {
  font-size: clamp(15px, 2.2vw, 16.5px);
  line-height: 1.6;
  color: var(--text-2);
  margin: 14px 0 0;
}
.features__grid {
  display: grid;
  /* min(250px, 100%) : évite qu'une piste plus large que l'écran
     ne déborde sur les très petits mobiles. */
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--border-08);
  border-radius: var(--r-card);
  padding: clamp(22px, 4vw, 28px);
}
.card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-btn);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.card__icon--green { background: var(--green-bg); color: var(--green-text); }
.card__title {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 20px 0 0;
}
.card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-3);
  margin: 10px 0 0;
}

/* ============================================================
   Souveraineté
   ============================================================ */
.sovereignty {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 64px) var(--gutter);
}
.sovereignty__inner {
  background: var(--blue-light);
  border-radius: var(--r-block);
  padding: clamp(30px, 5vw, 48px) clamp(24px, 4vw, 40px);
}
/* Colonne unique par défaut : les piliers sont séparés par un filet
   horizontal, qui devient vertical dès que les trois tiennent de front. */
.sovereignty__grid {
  display: grid;
  gap: 26px;
}
.pillar { text-align: center; padding: 0 8px; }
.pillar + .pillar {
  border-top: 1px solid rgba(35, 73, 216, .18);
  padding-top: 26px;
}
.pillar__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(17.5px, 2.6vw, 19px);
  letter-spacing: -.01em;
}
.pillar__text {
  font-size: 14.5px;
  color: var(--text-2);
  margin: 8px 0 0;
  line-height: 1.55;
}
@media (min-width: 820px) {
  .sovereignty__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }
  .pillar + .pillar { border-top: none; padding-top: 0; }
  .pillar--mid {
    border-left: 1px solid rgba(35, 73, 216, .18);
    border-right: 1px solid rgba(35, 73, 216, .18);
  }
}

/* ============================================================
   Conçu pour
   ============================================================ */
.audience {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--gutter) 24px;
  text-align: center;
}
.audience__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
  margin-top: 20px;
}
.pill {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(14.5px, 3.4vw, 16px);
  background: #fff;
  border: 1px solid var(--border-10);
  border-radius: var(--r-pill);
  padding: 10px clamp(16px, 4vw, 24px);
}

/* ============================================================
   Qui sommes-nous (éditeur)
   ============================================================ */
/* Carte de réassurance volontairement plus étroite que les blocs voisins :
   elle précède le bloc démo sans lui faire concurrence. */
.publisher {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 40px) var(--gutter) 0;
}
.publisher__card {
  background: #fff;
  border: 1px solid var(--border-08);
  border-radius: var(--r-card);
  padding: clamp(20px, 4vw, 26px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 3vw, 22px);
}
/* Le logo desinvolt porte son propre fond arrondi : la pastille se contente
   de réserver sa place. */
.publisher__icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: flex;
}
/* min-width:0 : le texte peut se réduire au lieu de pousser le lien hors carte */
.publisher__body { flex: 1 1 260px; min-width: 0; }
.publisher__title {
  font-family: var(--font-title);
  font-size: clamp(17px, 3.4vw, 19px);
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 8px 0 0;
}
.publisher__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-3);
  margin: 8px 0 0;
}
.publisher__link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
}
.publisher__link svg { flex: none; }

/* ============================================================
   Démo + formulaire
   ============================================================ */
.demo {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(52px, 8vw, 72px) var(--gutter) clamp(64px, 9vw, 88px);
  scroll-margin-top: 16px;
}
.demo__inner {
  background: var(--blue);
  border-radius: var(--r-block-lg);
  padding: clamp(30px, 5vw, 60px) clamp(22px, 4vw, 40px);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(30px, 5vw, 48px);
  align-items: center;
}
.demo__title {
  font-family: var(--font-title);
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.02em;
}
.demo__text {
  font-size: clamp(15.5px, 2.4vw, 17px);
  line-height: 1.6;
  color: var(--blue-text-dark);
  margin: 18px 0 0;
  max-width: 420px;
}
.demo__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--blue-text-dark);
  font-size: 14px;
}
.demo__meta img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.demo__card {
  background: #fff;
  border-radius: var(--r-form);
  padding: clamp(18px, 4vw, 28px);
  text-align: center;
}
.demo__card-label {
  display: block;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* CTA principal : ouvre le client mail du visiteur */
.mail-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding: 16px clamp(12px, 3vw, 20px);
  background: var(--blue);
  color: #fff;
  border-radius: var(--r-btn);
  font-weight: 600;
  font-size: clamp(14px, 3.4vw, 17px);
  transition: background .18s;
}
.mail-cta:hover { background: var(--blue-hover); color: #fff; }
.mail-cta svg { flex: none; }
/* L'adresse tient sur une seule ligne jusqu'à 320px : jamais de césure
   au milieu du contact. */
.mail-cta__address { white-space: nowrap; }

.privacy {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 14px 0 0;
  text-align: center;
}

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--border-08); }
.footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 36px) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__logo { width: 26px; height: 26px; object-fit: contain; }
.footer__name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .02em;
}
.footer__baseline { font-size: 13.5px; color: var(--muted); }
.footer__publisher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
}
.footer__copyright {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted-2);
}

/* ============================================================
   Ajustements petits écrans
   ============================================================ */

/* Le pied de page s'empile plutôt que de s'aligner par la droite */
@media (max-width: 780px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer__copyright { margin-left: 0; }
}

/* La carte éditeur s'empile : icône, texte, puis lien, tous alignés à gauche */
@media (max-width: 640px) {
  .publisher__card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  /* En colonne, le flex-basis de 260px s'appliquerait à la hauteur du bloc
     texte et creuserait un vide avant le lien. */
  .publisher__body { flex: 0 1 auto; }
  .publisher__link { white-space: normal; }
}

/* Les deux CTA du hero occupent toute la largeur : cibles tactiles pleines */
@media (max-width: 520px) {
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-text { justify-content: center; padding: 12px 6px; }
}

/* iPhone SE et assimilés : logo, nom et CTA tiennent sur une seule ligne */
@media (max-width: 400px) {
  .header__inner { gap: 8px; padding: 12px 16px; }
  .brand { gap: 8px; }
  .brand__logo { width: 24px; height: 24px; }
  .brand__name { font-size: 15px; }
  .header__cta { font-size: 12.5px; padding: 8px 10px; }
}
