/* Site en tuiles, sans défilement : chaque écran tient dans la hauteur de la fenêtre.
   La grille .bento remplit l'espace entre l'en-tête et le pied de page ;
   son nombre de rangées est fixé par écran (--rows, --rows-m sur mobile). */
:root {
  /* « Service du soir » : fond presque noir, orange du logo en signal */
  --bg: #0e0e0d;
  --tile: #1a1a18;
  --tile-hover: #232320;
  --bg-dark: #1a1a18;
  --text: #f3f1ec;
  --text-soft: #a8a49b;
  --border: #2e2e2a;
  --brand: #e2531f;        /* orange du logo (icônes, contours) */
  --brand-strong: #c4401a; /* fonds orange avec texte blanc lisible */
  --brand-dark: #a83614;
  --brand-text: #ff9a6b;   /* petits textes orange sur fond sombre */
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --radius: 18px;
  --gap: clamp(10px, 1.6vh, 16px);
  --pad: clamp(14px, 2.4vh, 24px);
  --side: max(24px, calc((100vw - 1240px) / 2));
  --header-h: clamp(68px, 12vh, 112px);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-stretch: 112%; line-height: 1.05; margin: 0; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
p { margin: 0; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.5em; border-radius: 10px; border: 0;
  background: var(--brand-strong); color: #fff; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: background .2s;
}
.btn:hover { background: var(--brand-dark); }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.btn-block { width: 100%; }

/* En-tête : retour, logo, téléphone */
.site-header { flex: none; padding: 0 var(--side); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.back {
  display: inline-flex; align-items: center; gap: 4px; padding: .5em 1em .5em .7em;
  border-radius: 10px; background: var(--tile); font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: background .2s, color .2s;
}
.back:hover { background: var(--tile-hover); color: var(--brand-text); }
.back svg { width: 18px; height: 18px; }
.logo img { height: calc(var(--header-h) * .82); width: auto; }
.header-chr {
  display: inline-flex; align-items: baseline; gap: 0; padding: .5em 1em; border-radius: 999px;
  background: transparent; border: 1.5px solid var(--brand); color: var(--text); text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap;
}
.header-chr strong { font-weight: 700; letter-spacing: .02em; }
.header-chr span { opacity: .9; }
.header-chr:hover { background: var(--tile); }
.header-chr:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.tile-hero h1.hero-chr { font-size: clamp(1.8rem, min(6vh, 5vw), 3.6rem); letter-spacing: -.03em; }
.tile-hero .hero-chr-sub { font-size: clamp(.95rem, 2.3vh, 1.25rem); color: #fff; }
.header-inner > * { flex: none; }
.header-inner svg { flex: none; }
.header-nav { margin-left: auto; display: flex; gap: 1.6rem; font-size: .95rem; font-weight: 500; }
.header-nav a { text-decoration: none; color: var(--text); white-space: nowrap; }
.header-nav a:hover { color: var(--brand-text); }
.header-phone {
  display: inline-flex; align-items: center; gap: .5em; padding: .7em 1.2em; border-radius: 12px;
  background: var(--brand-strong); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.header-phone:hover { background: var(--brand-dark); }
.header-chr ~ .header-phone, .logo ~ .header-phone { margin-left: 0; }
.header-nav ~ .header-phone { margin-left: 0; }
.d-hide { display: none; }
.header-phone svg { width: 18px; height: 18px; }
.back:focus-visible, .logo:focus-visible, .header-phone:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

/* Grille de tuiles */
main { flex: 1; min-height: 0; padding: 0 var(--side); }
.bento {
  height: 100%;
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(var(--rows), minmax(0, 1fr));
}
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-2x2 { grid-column: span 2; grid-row: span 2; }
.span-2x3 { grid-column: span 2; grid-row: span 3; }

.tile {
  position: relative; overflow: hidden; min-width: 0; min-height: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: var(--pad); border-radius: var(--radius); background: var(--tile);
  text-decoration: none; color: var(--text);
}
a.tile { transition: background .2s, transform .2s, box-shadow .2s; }
a.tile:hover { background: var(--tile-hover); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.08); }
a.tile:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.tile-icon { width: clamp(24px, 3.6vh, 32px); height: clamp(24px, 3.6vh, 32px); color: var(--brand); margin-bottom: auto; flex: none; }
.tile-icon-lg { width: clamp(36px, 6vh, 52px); height: clamp(36px, 6vh, 52px); margin-bottom: 0; }
.tile-label { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-text); margin-bottom: auto; padding-right: 28px; }
.tile-icon + .tile-label { margin-bottom: 0; }
.tile-title { font-family: var(--display); font-stretch: 112%; font-size: clamp(1rem, 2.4vh, 1.4rem); font-weight: 750; line-height: 1.2; padding-right: 24px; }
.tile-text { color: var(--text-soft); font-size: clamp(.8rem, 1.7vh, .92rem); line-height: 1.4; }
.tile-meta { font-size: .78rem; font-weight: 600; color: var(--brand-text); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tile-email { font-family: inherit; font-stretch: 100%; font-size: clamp(.82rem, 1.7vh, .95rem); overflow-wrap: anywhere; }
.tile-arrow { position: absolute; top: var(--pad); right: var(--pad); width: 20px; height: 20px; color: var(--text-soft); transition: transform .2s, color .2s; }
a.tile:hover .tile-arrow { transform: translateX(3px); color: var(--brand); }

/* Tuile sombre (bannière d'écran) */
.tile-dark { background: var(--bg-dark); color: #fff; }
.tile-dark .tile-label { color: var(--brand); }
a.tile-dark:hover { background: #222; }
.tile-hero { gap: clamp(8px, 1.8vh, 16px); padding: clamp(18px, 3.6vh, 36px); }
.tile-hero h1 { font-size: clamp(1.25rem, 3.8vh, 2.3rem); position: relative; }
.tile-hero p { color: rgba(255,255,255,.78); font-size: clamp(.85rem, 1.9vh, 1.02rem); max-width: 36em; position: relative; }
.tile-hero .btn { align-self: flex-start; }
.tile-hero .tile-label { margin-bottom: 0; position: relative; }
.tile-hero .tile-icon { position: relative; }
.tile-logo { position: relative; width: min(64%, 360px); margin-bottom: auto; }
.tile-hero { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23dc491f' stroke-width='1.2' opacity='.5'%3E%3Ccircle cx='400' cy='0' r='110'/%3E%3Ccircle cx='400' cy='0' r='170'/%3E%3Ccircle cx='400' cy='0' r='230'/%3E%3Ccircle cx='400' cy='0' r='290'/%3E%3Ccircle cx='400' cy='0' r='350'/%3E%3C/g%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: top right; background-size: auto min(100%, 420px); }
.tile-phone { position: relative; display: inline-flex; align-items: center; gap: .5em; font-size: clamp(1.1rem, 3vh, 1.5rem); font-weight: 700; color: #fff; text-decoration: none; }
.tile-phone svg { width: 1em; height: 1em; color: var(--brand); }

/* Tuile orange */
.tile-brand { background: var(--brand-strong); color: #fff; }
.tile-brand .tile-label, .tile-brand .tile-text, .tile-brand .tile-arrow { color: rgba(255,255,255,.88); }
a.tile-brand:hover { background: var(--brand-dark); }
a.tile-brand:hover .tile-arrow { color: #fff; }
.tile-brand .tile-title { font-size: clamp(1.1rem, 2.8vh, 1.5rem); }

/* Partenaires */
.tile-partner .tile-title { font-size: clamp(1.3rem, 3.4vh, 1.9rem); }

/* Tuiles photo (réalisations) */
.tile-photo { background-color: var(--bg-dark); background-size: cover; background-position: center; color: #fff; margin: 0; }
.tile-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.05) 60%); }
.tile-photo > :not(.tile-arrow) { position: relative; }
.tile-photo .tile-text { color: rgba(255,255,255,.82); }
.tile-photo .tile-label { color: #fff; background: var(--brand-strong); align-self: flex-start; padding: 3px 8px; border-radius: 6px; }
.tile-photo .tile-arrow { color: #fff; }
.tile-photo .tile-meta { color: rgba(255,255,255,.6); font-size: .7rem; font-weight: 500; }
.tile-photo figcaption { display: flex; flex-direction: column; gap: 2px; }
a.tile-photo:hover { background-color: var(--bg-dark); }
.tile-refs { justify-content: space-between; }
.tile-refs .tile-label { margin-bottom: 0; }
.tile-refs p { font-size: clamp(.82rem, 1.8vh, .98rem); line-height: 1.55; color: var(--text); font-weight: 500; }

/* Écran clients : mur de noms qui défile tout seul (pas de défilement de page) */
.tile-refs p { margin-bottom: auto; }
.bento-clients { grid-template-rows: 1fr; }
.hero-clients { justify-content: flex-end; }
.tile-wall { padding: 0; justify-content: flex-start; background: var(--tile); }
.tile-wall::before, .tile-wall::after { content: ""; position: absolute; left: 0; right: 0; height: 48px; z-index: 1; pointer-events: none; }
.tile-wall::before { top: 0; background: linear-gradient(var(--tile), transparent); }
.tile-wall::after { bottom: 0; background: linear-gradient(transparent, var(--tile)); }
.wall-track { animation: defile 140s linear infinite; }
.tile-wall:hover .wall-track { animation-play-state: paused; }
.wall-track ul {
  list-style: none; margin: 0; padding: 12px var(--pad);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 20px;
}
.wall-track li { font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 1px solid var(--border); }
@keyframes defile { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .wall-track { animation: none; }
  .tile-wall { overflow-y: auto; }
  .wall-track ul[aria-hidden] { display: none; }
}

/* Accueil : bannière photo, statistiques, tuile Vigie */
.hero-home { background-color: var(--tile); }
.hero-home::before { background: rgba(10,10,9,.62); }
.hero-home .tile-label { background: none; padding: 0; color: var(--brand-text); }
.hero-home h1 { font-size: clamp(1.35rem, min(5.4vh, 3.8vw), 3.6rem); line-height: 1.02; max-width: 15em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.hero-stats { list-style: none; margin: 0; padding: clamp(10px, 1.8vh, 18px) 0 0; border-top: 1px solid rgba(255,255,255,.2); display: flex; flex-wrap: wrap; gap: 8px clamp(18px, 3vw, 40px); }
.hero-stats strong { display: block; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.15rem, 3.4vh, 1.9rem); line-height: 1.1; }
.hero-stats li > span { font-size: .85rem; color: #d6d2ca; }

/* Chiffres */
.tile-figures { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 12px; }
.tile-figures div, .tile-figure { display: flex; flex-direction: column; }
.tile-figures strong, .tile-figure strong { font-size: clamp(1.5rem, 4vh, 2.4rem); font-weight: 700; color: var(--brand); line-height: 1.05; letter-spacing: -.02em; }
.tile-figures span { color: rgba(255,255,255,.72); font-size: .85rem; }
.tile-figure span { color: var(--text-soft); font-size: .85rem; }
.tile-figures strong, .tile-figure strong, .tile-brand .tile-title, .tile-partner .tile-title { font-family: var(--display); font-stretch: 112%; }

/* Autres métiers */
.tile-others { justify-content: space-between; }
.tile-others .tile-label { margin-bottom: 0; }
.tile-others ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile-others a {
  display: flex; align-items: center; gap: 10px; height: 100%; padding: .7em .9em; border-radius: 12px;
  background: var(--bg); font-weight: 600; font-size: .92rem; text-decoration: none; transition: color .2s, box-shadow .2s;
}
.tile-others a:hover { color: var(--brand-text); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.tile-others a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.tile-others svg { width: 22px; height: 22px; flex: none; color: var(--brand); }

/* Formulaire */
.tile-form { justify-content: center; }
.callback-form { display: grid; gap: clamp(8px, 1.4vh, 14px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.callback-form label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; }
.callback-form .optional { font-weight: 400; color: var(--text-soft); }
.callback-form input, .callback-form select, .callback-form textarea {
  width: 100%; padding: clamp(.45em, 1vh, .7em) .9em; border: 1px solid var(--border); border-radius: 10px;
  font: inherit; font-weight: 400; color: #141414; background: #f3f1ec;
}
.callback-form textarea { resize: none; }
.callback-form input:focus, .callback-form select:focus, .callback-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.callback-form select:invalid { color: var(--text-soft); }
.callback-form .invalid { border-color: #d32f2f; }
.callback-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.callback-form button:disabled { opacity: .6; cursor: wait; }
.form-note { font-size: .85rem; color: var(--text-soft); min-height: 1.2em; }

/* Mentions légales */
.tile-legal { justify-content: flex-start; gap: 6px; }
.tile-legal h2 { font-size: clamp(.95rem, 2vh, 1.1rem); }
.tile-legal p { color: var(--text-soft); font-size: clamp(.78rem, 1.6vh, .9rem); }

/* Éléments à compléter */
.todo-tag {
  font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  padding: .15em .6em; border-radius: 4px; background: #fff1e3; color: var(--brand-text);
}

/* Pied de page */
.site-footer {
  flex: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px;
  padding: clamp(8px, 1.4vh, 14px) var(--side); font-size: .8rem; color: var(--text-soft);
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--brand-text); }

@media (max-width: 1300px) {
  .header-chr span { display: none; }
}
@media (max-width: 1640px) {
  .back ~ .header-chr span { display: none; }
}
@media (max-width: 900px) {
  .header-phone span { display: none; }
  .header-phone { padding: .7em; }
  .logo img { max-height: 70px; }
}
@media (max-width: 1360px) {
  .back ~ .header-nav a[href$="contact.html"], .back ~ .header-nav a[href$="realisations.html"] { display: none; }
}
@media (max-width: 1180px) {
  .header-nav { display: none; }
  .header-chr ~ .header-phone, .logo ~ .header-phone { margin-left: auto; }
  .d-hide { display: inline; }
}
/* Téléphone : 2 colonnes */
@media (max-width: 700px) {
  :root { --side: 16px; --radius: 14px; }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* Sur mobile, chaque rangée prend la hauteur de son contenu, l'espace restant est réparti */
    grid-template-rows: none; grid-auto-rows: auto; align-content: stretch;
    grid-auto-flow: dense;
  }
  .tile { min-height: auto; overflow: clip; }
  .span-2x2, .span-2x3, .span-2, .span-3 { grid-column: auto; grid-row: auto; }
  .m-last { order: 99; }
  .m-span-1 { grid-column: span 1; }
  .bento-clients { grid-template-rows: auto minmax(0, 1fr); }
  .bento-clients .tile-wall { min-height: 0; overflow: hidden; }
  .wall-track li { font-size: .85rem; }
  .wall-track ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; }
  .m-span-2 { grid-column: span 2; }
  .m-hide { display: none !important; }
  .tile-others ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .tile-others a { padding: .4em .7em; font-size: .85rem; }
  /* Mentions légales : seul écran autorisé à défiler sur petit téléphone si le texte ne tient pas */
  body:has(.bento-legal) { height: auto; min-height: 100dvh; overflow: auto; }
  .bento-legal { height: auto; grid-template-rows: none; grid-auto-rows: auto; }
  .bento-legal .tile { min-height: auto; overflow: visible; }
  .bento-legal .tile-hero { padding: 16px 18px; }
}
@media (max-width: 560px) {
  :root { --pad: 12px; --gap: 8px; --header-h: clamp(60px, 9vh, 80px); }
  .header-chr span { display: none; }
  .header-chr { padding: .4em .8em; font-size: .78rem; }
  .back ~ .header-chr { display: none; }
  .logo img { height: 44px; }
  .tile-hero h1.hero-chr { font-size: 1.75rem; }
  .tile-hero .hero-chr-sub { font-size: .88rem; }
  .p-hide { display: none !important; }
  .p-span-2 { grid-column: span 2; }
  .tile-title { font-size: .9rem; }
  .tile-text { font-size: .76rem; line-height: 1.35; }
  .tile-label { font-size: .62rem; }
  .tile-hero { padding: 16px; gap: 8px; }
  .tile-hero h1 { font-size: 1.2rem; }
  .tile-hero p { font-size: .82rem; }
  .tile-hero .tile-icon-lg { display: none; }
  .tile-brand .tile-title { font-size: 1.05rem; }
  .tile-partner .tile-title { font-size: 1.15rem; }
  .tile-figure strong { font-size: 1.4rem; }
  .callback-form { gap: 8px; }
  .callback-form label { font-size: .78rem; }
  .callback-form input, .callback-form select, .callback-form textarea { padding: .45em .7em; }
  .header-inner { gap: 12px; }
  .back { padding: .45em .8em .45em .5em; font-size: .88rem; }
  .header-phone span { display: none; }
  .header-phone { padding: 8px; border-radius: 10px; background: var(--tile); }
  .header-phone svg { width: 20px; height: 20px; }
  .tile-arrow { width: 16px; height: 16px; }
  /* Tuiles compactes : on garde l'essentiel */
  .bento-home .tile-text, .bento-home .tile-meta { display: none; }
  .tile-figures { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 4px; }
  .tile-figures div { flex-direction: row; align-items: baseline; gap: 6px; }
  .tile-others .tile-label { display: none; }
  .hero-stats { gap: 2px 14px; padding-top: 8px; }
  .hero-stats strong { font-size: 1.05rem; }
  .hero-stats li > span { font-size: .7rem; }
  .bento-home .tile-title { font-size: .88rem; padding-right: 0; }
  .tile-figures strong { font-size: 1.35rem; }
  .tile-figures span { font-size: .72rem; }
  .tile-others a { padding: .3em .6em; font-size: .8rem; gap: 6px; }
  .tile-others svg { width: 18px; height: 18px; }
  .bento-legal .tile-legal p { font-size: .76rem; }
  .bento-legal .tile-legal h2 { font-size: .9rem; }
  .bento-legal { gap: 8px; }
  .bento-legal .tile { padding: 12px 14px; gap: 2px; }
  .bento-legal .tile-hero { padding: 12px 14px; }
  .bento-legal .tile-hero h1 { font-size: 1.1rem; }
  .tile-others { justify-content: center; }
  .callback-form .optional { display: none; }
}

/* Petits téléphones (iPhone SE…) : encore plus compact */
@media (max-width: 560px) and (max-height: 760px) {
  :root { --pad: 10px; --gap: 6px; }
  .tile-text { font-size: .72rem; line-height: 1.3; }
  .tile-title { font-size: .85rem; }
  .tile-hero { padding: 12px 14px; gap: 6px; }
  .tile-hero h1 { font-size: 1.05rem; }
  .tile-hero p { font-size: .76rem; line-height: 1.35; }
  .tile-icon { width: 22px; height: 22px; }
  .site-footer { padding-block: 6px; }
  .sp-hide { display: none; }
}
/* Écrans bas (1280×720…) : tuile Vigie et statistiques plus compactes */
@media (min-width: 701px) and (max-height: 780px) {
  .hero-stats li > span { font-size: .78rem; }
}
/* Tablettes : statistiques plus petites */
@media (min-width: 701px) and (max-width: 1100px) {
  .hero-stats strong { font-size: 1.2rem; }
  .hero-stats li > span { font-size: .75rem; }
  .hero-stats { gap: 6px 18px; }
}

/* Petits écrans d'ordinateur (1280×720…) : logo de la bannière plus petit */
@media (min-width: 701px) and (max-height: 760px) {
  .tile-logo { width: min(52%, 290px); }
}

/* Tablette : chiffres l'un sous l'autre */
@media (min-width: 701px) and (max-width: 1100px) {
  .tile-figures { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .tile-meta { overflow-wrap: anywhere; }
  .tile-text { font-size: .8rem; }
}

/* Fenêtre très basse (téléphone à l'horizontale…) : on autorise le défilement plutôt que de couper le contenu */
@media (max-height: 520px) {
  body { height: auto; overflow: auto; }
  .bento { height: auto; grid-template-rows: none; grid-auto-rows: minmax(140px, auto); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Vigie ---------- */
/* Tuile d'accueil : halo orange qui pulse, flèche « Découvrir » qui invite au clic */
.tile-vigie {
  justify-content: space-between; gap: clamp(6px, 1.4vh, 12px);
  padding: clamp(14px, 2.6vh, 26px) clamp(16px, 2.2vw, 28px);
  background: radial-gradient(120% 140% at 100% 0%, rgba(226,83,31,.22), transparent 55%), var(--tile);
  border: 1px solid rgba(226,83,31,.55);
  animation: vigie-halo 2.2s ease-out infinite;
}
@keyframes vigie-halo { 0% { box-shadow: 0 0 0 0 rgba(226,83,31,.5); } 70%, 100% { box-shadow: 0 0 0 12px rgba(226,83,31,0); } }
a.tile-vigie:hover { background: radial-gradient(120% 140% at 100% 0%, rgba(226,83,31,.3), transparent 55%), var(--tile-hover); }
.vigie-badge { position: absolute; top: clamp(10px, 1.8vh, 16px); right: clamp(12px, 1.6vw, 18px); background: var(--brand-strong); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.vigie-top { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); padding-right: 80px; }
.vigie-pitch { margin: 0; flex: 1 1 0; min-width: 0; font-size: clamp(.78rem, 1.75vh, .95rem); line-height: 1.4; color: var(--text-soft); }
.vigie-flow { flex: none; display: flex; align-items: center; gap: 6px; }
.flow-step { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.flow-step svg { width: clamp(30px, 5vh, 42px); height: clamp(30px, 5vh, 42px); }
.flow-step small { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); }
.flow-vigie { display: grid; place-items: center; height: clamp(30px, 5vh, 42px); padding: 0 10px; border-radius: 10px; background: var(--brand-strong); color: #fff; font-family: var(--display); font-stretch: 112%; font-size: .85rem; }
.flow-dash { width: clamp(14px, 1.6vw, 26px); border-top: 2px dashed var(--brand); margin-bottom: 16px; position: relative; }
.flow-dash::after { content: ""; position: absolute; right: -2px; top: -6px; border: 5px solid transparent; border-left: 6px solid var(--brand); }
.vigie-row { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 18px); }
.vigie-dome { width: clamp(40px, 7vh, 56px); height: clamp(40px, 7vh, 56px); flex: none; }
.vigie-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; margin-right: auto; }
.vigie-name { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(1.8rem, min(6vh, 4.4vw), 3.4rem); line-height: .95; letter-spacing: -.02em; }
.vigie-sub { font-size: clamp(.82rem, 1.8vh, 1rem); color: var(--brand-text); font-weight: 600; }
.vigie-sub2 { font-size: clamp(.78rem, 1.6vh, .92rem); color: var(--text-soft); line-height: 1.3; }
.vigie-sub3 { font-size: clamp(.74rem, 1.5vh, .88rem); color: var(--text); font-weight: 600; line-height: 1.3; margin-top: 2px; }
@media (max-width: 700px) { .vigie-sub, .vigie-sub2, .vigie-sub3 { font-size: .76rem; line-height: 1.25; } .vigie-text { gap: 1px; } }
.vigie-cta { padding: .7em 1.05em; border-radius: 12px; background: var(--brand-strong); color: #fff; font-weight: 700; font-size: .95rem; white-space: nowrap; }
a.tile-vigie:hover .vigie-cta { background: var(--brand-dark); }
.nudge { display: inline-block; animation: vigie-nudge 1.3s ease-in-out infinite; }
@keyframes vigie-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* Écrans Vigie */
.vigie-dome-lg { width: clamp(44px, 7vh, 56px); height: clamp(44px, 7vh, 56px); margin-bottom: auto; }
.tile-hero h1.vigie-h1 { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(2rem, 7vh, 3.8rem); line-height: .95; }
.vigie-fr { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: .74rem; color: var(--text-soft); }
.flag { width: 12px; height: 9px; flex: none; }
.vigie-hero p strong { color: #fff; }
.vigie-hero p { max-width: 40em; }
.vigie-link .tile-icon { width: clamp(30px, 5vh, 44px); height: clamp(30px, 5vh, 44px); }
.vigie-link .tile-title { font-size: clamp(1.05rem, 2.6vh, 1.5rem); }
.vigie-offer { justify-content: space-between; align-items: flex-start; gap: 6px; }
.vigie-offer .tile-text { color: rgba(255,255,255,.88); }
.vigie-offer .vigie-cta { background: var(--bg); margin-top: auto; }
a.vigie-offer:hover .vigie-cta { background: #000; }
.vigie-brique .tile-label { margin-bottom: auto; }
.etat { display: inline-block; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-soft); letter-spacing: .06em; }
.etat-on { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.vigie-brique.a-venir .tile-title { color: var(--text-soft); }
.vigie-brique .tile-text { font-style: italic; }
.vigie-note { justify-content: center; align-items: flex-start; gap: 10px; background: transparent; border: 1px dashed var(--border); }
.vigie-etape { flex-direction: row; flex-wrap: wrap; align-items: center; align-content: center; column-gap: clamp(12px, 1.6vw, 20px); }
.etape-num { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(1.6rem, 5vh, 2.6rem); color: var(--brand); line-height: 1; }
.etape-icon { width: clamp(36px, 6vh, 48px); height: clamp(36px, 6vh, 48px); flex: none; }
.vigie-etape .tile-title { flex: 1 1 12em; padding-right: 0; }
.vigie-etape .tile-text { flex: 1 1 100%; }
.vigie-hero .btn, .vigie-note .btn { align-self: flex-start; }
.btn[data-demo-start]:disabled { opacity: .7; cursor: progress; }

/* Démo : journal qui se remplit ligne à ligne */
.vigie-journal { justify-content: flex-start; gap: clamp(8px, 1.6vh, 14px); font-size: clamp(.8rem, 1.8vh, .95rem); }
.vigie-journal .tile-label { margin-bottom: 0; }
.vigie-journal ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(6px, 1.3vh, 12px); }
.vigie-journal li { display: flex; gap: 12px; align-items: baseline; }
.vigie-journal time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--brand-text); flex: none; }
.vigie-journal li.alerte span { color: #fff; font-weight: 600; }
.vigie-journal li.alerte b { color: var(--brand-text); }
[data-step] { opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
[data-step].is-on { opacity: 1; transform: none; }
.journal-vide { margin: 0; color: var(--text-soft); }
.vigie-journal.is-started .journal-vide { display: none; }
.journal-rapport { margin-top: auto; display: flex; flex-direction: column; gap: 4px; padding: clamp(10px, 2vh, 16px); border-radius: 12px; background: rgba(226,83,31,.12); border: 1px solid rgba(226,83,31,.45); }
.journal-rapport strong { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-stretch: 112%; }
.journal-rapport svg { width: 18px; height: 18px; color: var(--brand); }

@media (max-width: 1100px) {
  .vigie-flow { display: none; }
  .vigie-dome { display: none; }
  .vigie-top { padding-right: 70px; }
}
@media (min-width: 701px) and (max-height: 820px) {
  .vigie-pitch { display: none; }
  .vigie-top { min-height: 18px; }
}
@media (max-width: 700px) {
  .vigie-top { padding-right: 60px; }
  .vigie-pitch { font-size: .76rem; }
  .vigie-cta { padding: .5em .8em; font-size: .85rem; }
  .vigie-dome { width: 40px; height: 40px; }
  .vigie-name { font-size: 1.9rem; }
  .vigie-hero p { font-size: .8rem; line-height: 1.4; }
  .vigie-dome-lg { display: none; }
  .tile-hero h1.vigie-h1 { font-size: 2rem; }
  .vigie-etape { padding: 12px 14px; row-gap: 2px; }
  .vigie-link .tile-icon { display: none; }
  .vigie-journal { font-size: .82rem; gap: 8px; }
  .vigie-journal ol { gap: 6px; }
  .journal-rapport { padding: 10px 12px; }
  .vigie-note { padding: 12px 14px; gap: 8px; }
  .vigie-note .btn, .vigie-hero .btn { padding: .55em 1em; font-size: .88rem; }
  .vigie-brique { padding: 10px 14px; gap: 2px; }
}
@media (max-width: 700px) and (max-height: 760px) {
  .vigie-pitch { display: none; }
  .vigie-hero p { font-size: .74rem; line-height: 1.35; }
  .vigie-fr { font-size: .68rem; }
  .vigie-journal { font-size: .76rem; }
  .vigie-brique .tile-text { font-size: .74rem; }
  .vigie-note .tile-text { font-size: .74rem; }
}

/* Écran Vigie : identité, menu compact, offre */
.vigie-ident { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 18px); margin-bottom: auto; position: relative; }
.vigie-ident svg { width: clamp(48px, 8vh, 64px); height: clamp(48px, 8vh, 64px); flex: none; }
.vigie-ident .vigie-h1 { margin: 0; }
.vigie-slogan { display: block; margin-top: 4px; color: var(--brand-text); font-weight: 600; font-size: clamp(.9rem, 2vh, 1.05rem); }
.vigie-hero p { color: var(--text-soft); }
.vigie-menu { padding: 6px; gap: 0; justify-content: stretch; }
.vigie-item { flex: 1; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 12px; text-decoration: none; color: var(--text); transition: background .2s; }
.vigie-item + .vigie-item { border-top: 1px solid var(--border); border-radius: 0 0 12px 12px; }
.vigie-item:hover { background: var(--tile-hover); }
.vigie-item:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.vigie-item svg { width: clamp(32px, 5.5vh, 46px); height: clamp(32px, 5.5vh, 46px); flex: none; }
.vigie-item span { display: flex; flex-direction: column; gap: 2px; min-width: 0; margin-right: auto; }
.vigie-item strong { font-family: var(--display); font-stretch: 112%; font-size: clamp(1rem, 2.5vh, 1.3rem); line-height: 1.2; }
.vigie-item small { color: var(--text-soft); font-size: clamp(.78rem, 1.7vh, .9rem); }
.vigie-item b { color: var(--brand); font-size: 1.8rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.vigie-item:hover b { transform: translateX(3px); }
.vigie-offre { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid rgba(226,83,31,.5); background: radial-gradient(120% 160% at 100% 100%, rgba(226,83,31,.2), transparent 60%), var(--tile); }
.vigie-offre > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vigie-offre strong { font-family: var(--display); font-stretch: 112%; font-size: clamp(.98rem, 2.3vh, 1.2rem); line-height: 1.25; }
.vigie-offre span { color: var(--text-soft); font-size: clamp(.8rem, 1.7vh, .9rem); }
.vigie-offre .btn { flex: none; white-space: nowrap; }
@media (min-width: 701px) and (max-width: 1100px) {
  .vigie-offre { flex-direction: column; align-items: stretch; justify-content: center; }
}
@media (max-width: 700px) {
  .vigie-ident svg { width: 46px; height: 46px; }
  .vigie-slogan { font-size: .88rem; margin-top: 2px; }
  .vigie-menu { padding: 4px; }
  .vigie-item { padding: 10px 10px; gap: 12px; }
  .vigie-item svg { width: 34px; height: 34px; }
  .vigie-item strong { font-size: 1rem; }
  .vigie-item small { font-size: .76rem; }
  .vigie-offre { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; }
  .vigie-offre .btn { width: 100%; }
}
@media (max-width: 700px) and (max-height: 760px) {
  .vigie-ident svg { width: 34px; height: 34px; }
  .vigie-slogan { font-size: .8rem; }
  .tile-hero h1.vigie-h1 { font-size: 1.7rem; }
  .vigie-item { padding: 7px 8px; }
  .vigie-offre { padding: 12px; gap: 8px; }
  .vigie-offre .btn { padding: .6em 1em; }
}

/* Écran Vigie : 4 points en tuiles, menu à droite */
.vigie-top-hero { justify-content: center; }
.vigie-top-hero .vigie-ident { margin-bottom: 0; }
.vigie-point { justify-content: flex-start; gap: 6px; }
.vigie-point svg { width: clamp(20px, 3.2vh, 26px); height: clamp(20px, 3.2vh, 26px); color: var(--brand); flex: none; margin-bottom: auto; }
.vigie-point strong { font-family: var(--display); font-stretch: 112%; font-size: clamp(.92rem, 2.1vh, 1.12rem); line-height: 1.2; }
.vigie-point span { color: var(--text-soft); font-size: clamp(.78rem, 1.7vh, .9rem); line-height: 1.35; }
@media (min-width: 701px) {
  .vigie-menu { grid-column: 3 / span 2; grid-row: 1 / span 2; }
}
@media (max-width: 700px) {
  .vigie-top-hero { padding: 14px 16px; }
  .vigie-point { padding: 12px 14px; gap: 4px; }
  .vigie-point svg { margin-bottom: 4px; }
  .vigie-point strong { font-size: .88rem; }
  .vigie-point span { font-size: .75rem; }
}
@media (max-width: 700px) and (max-height: 760px) {
  .vigie-point { padding: 9px 11px; }
  .vigie-point svg { display: none; }
  .vigie-point span { font-size: .7rem; }
}
@media (max-width: 700px) {
  .vigie-slogan { font-size: .8rem; }
  .vigie-point { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 8px; row-gap: 3px; align-content: center; }
  .vigie-point svg { margin: 0; width: 18px; height: 18px; display: block; }
  .vigie-point span { grid-column: 1 / -1; }
  .vigie-point strong { font-size: .84rem; }
  .vigie-item small { display: none; }
  .vigie-item { padding: 9px 10px; }
  .vigie-item svg { width: 30px; height: 30px; }
  .vigie-offre strong { font-size: .95rem; }
}
@media (max-width: 700px) and (max-height: 760px) {
  .vigie-point span { display: none; }
  .vigie-point svg { display: block; }
  .vigie-item { padding: 6px 8px; }
  .vigie-offre span { font-size: .74rem; }
}

/* Tuiles points Vigie cliquables */
a.vigie-point { text-decoration: none; color: var(--text); padding-right: 34px; }
a.vigie-point:hover { background: var(--tile-hover); }
.point-chevron { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--brand); font-size: 1.6rem; font-weight: 400; line-height: 1; }

/* Établissements CHR, règles RGPD */
.vigie-type, .vigie-regle { justify-content: flex-start; gap: 6px; }
.vigie-type strong, .vigie-regle strong { font-family: var(--display); font-stretch: 112%; font-size: clamp(.92rem, 2.1vh, 1.1rem); line-height: 1.2; }
.vigie-type span, .vigie-regle > span:last-child { color: var(--text-soft); font-size: clamp(.76rem, 1.65vh, .88rem); line-height: 1.35; }
.vigie-type strong { margin-top: auto; }
.vigie-type::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--brand); margin-bottom: auto; }
.vigie-type-cta { justify-content: center; }
.vigie-regle .tile-label { margin-bottom: auto; color: var(--text-soft); }
.vigie-regle-vigie { border: 1px solid rgba(226,83,31,.45); }
.vigie-regle-vigie .tile-label { color: var(--brand-text); }

/* Exemple de rapport quotidien */
.vigie-rapport { justify-content: space-between; gap: clamp(10px, 2vh, 18px); background: radial-gradient(120% 80% at 100% 0%, rgba(226,83,31,.14), transparent 60%), var(--tile); border: 1px solid rgba(226,83,31,.4); }
.rapport-tete { display: flex; flex-direction: column; gap: 4px; }
.rapport-tete .tile-label { margin-bottom: 0; }
.rapport-tete strong { font-family: var(--display); font-stretch: 112%; font-size: clamp(1rem, 2.5vh, 1.35rem); line-height: 1.2; }
.rapport-graphe { flex: 1; min-height: 110px; display: flex; flex-direction: column; gap: 8px; }
.rapport-titre-graphe { font-size: .78rem; color: var(--text-soft); }
.barres { flex: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; align-items: end; border-bottom: 1px solid var(--border); }
.barres li { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; outline: none; }
.barres .barre { width: min(70%, 28px); height: var(--v); background: rgba(226,83,31,.55); border-radius: 4px 4px 0 0; position: relative; transition: background .15s; }
.barres li.pic .barre { background: var(--brand); }
.barres li:hover .barre, .barres li:focus-visible .barre { background: var(--brand-text); }
.barres .barre b { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-size: .78rem; color: var(--text); white-space: nowrap; }
.barres small { position: absolute; top: calc(100% + 4px); font-size: .7rem; color: var(--text-soft); }
.barres li::after { content: attr(data-tip); position: absolute; bottom: calc(var(--v) + 26px); left: 50%; transform: translateX(-50%); background: #000; color: #fff; font-size: .72rem; padding: 3px 7px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 2; }
.barres li:hover::after, .barres li:focus-visible::after { opacity: 1; }
.barres li.pic:hover .barre b, .barres li.pic:focus-visible .barre b { opacity: 0; }
.rapport-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rapport-points li { display: flex; flex-direction: column; gap: 2px; font-size: clamp(.78rem, 1.7vh, .9rem); color: var(--text); background: rgba(255,255,255,.04); border-radius: 10px; padding: 8px 10px; }
.rapport-points b { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); }
.rapport-avenir { margin: 0; font-size: .76rem; color: var(--text-soft); }

@media (max-width: 700px) {
  .vigie-type, .vigie-regle { padding: 10px 12px; gap: 3px; }
  .vigie-type strong, .vigie-regle strong { font-size: .84rem; }
  .vigie-type span, .vigie-regle > span:last-child { font-size: .72rem; }
  .vigie-type::before { display: none; }
  .vigie-regle .tile-label { font-size: .6rem; margin-bottom: 2px; }
  .vigie-rapport { padding: 14px; gap: 10px; }
  .rapport-graphe { min-height: 150px; }
  .rapport-points { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .rapport-points li { padding: 6px 8px; font-size: .74rem; }
  .point-chevron { right: 10px; font-size: 1.3rem; }
  a.vigie-point { padding-right: 26px; }
}
@media (max-width: 700px) and (max-height: 760px) {
  .vigie-type span, .vigie-regle > span:last-child { font-size: .68rem; line-height: 1.3; }
  .rapport-graphe { min-height: 120px; }
}
@media (min-width: 701px) and (max-width: 1100px) { .t-hide { display: none; } }
@media (max-width: 700px) and (max-height: 760px) {
  .vigie-regle .tile-label { display: none; }
  .vigie-regle, .vigie-type { padding: 8px 10px; }
}
.rapport-points li.alerte { background: rgba(226,83,31,.14); }
@media (max-width: 700px) and (max-height: 760px) {
  .rapport-points li { padding: 5px 7px; font-size: .7rem; }
}
.tile-photo .tile-title, .tile-photo .tile-text { text-shadow: 0 1px 10px rgba(0,0,0,.75); }
.tile-hero h1 .h1-sub { display: block; font-size: max(.5em, .8rem); font-weight: 600; color: var(--brand-text); letter-spacing: 0; margin-top: .25em; }

/* Questions fréquentes */
.faq-lien, .faq-retour { align-self: flex-start; position: relative; color: var(--brand-text); font-weight: 600; font-size: .9rem; text-decoration: none; }
.faq-lien:hover, .faq-retour:hover { text-decoration: underline; }
.faq-item { justify-content: flex-start; gap: 8px; }
.faq-item h2 { margin: 0; font-size: inherit; }
.faq-q { all: unset; display: block; font-family: var(--display); font-stretch: 112%; font-weight: 750; font-size: clamp(.92rem, 2vh, 1.08rem); line-height: 1.25; color: var(--text); cursor: default; }
.faq-a { margin: 0; color: var(--text-soft); font-size: clamp(.78rem, 1.65vh, .9rem); line-height: 1.45; }
@media (max-width: 700px) {
  .bento-faq .tile-hero { padding: 14px 16px; }
  .faq-item { padding: 10px 14px; gap: 6px; }
  .faq-q { cursor: pointer; position: relative; padding-right: 22px; font-size: .86rem; }
  .faq-q::after { content: "+"; position: absolute; right: 0; top: -2px; color: var(--brand); font-size: 1.2rem; font-weight: 400; }
  .faq-item.is-open .faq-q::after { content: "–"; }
  .faq-q:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
  .faq-item:not(.is-open) .faq-a { display: none; }
  .faq-a { font-size: .8rem; }
}
@media (max-width: 700px) {
  .bento-faq .faq-item { grid-column: span 2; padding: 9px 12px; gap: 5px; }
  .bento-faq .tile-brand { display: none; }
  .bento-faq .tile-hero p { display: none; }
  .bento-faq .tile-hero h1 { font-size: 1.15rem; }
  .faq-q { font-size: .82rem; }
  .faq-a { font-size: .78rem; line-height: 1.4; }
}
@media (max-width: 700px) and (max-height: 760px) {
  .bento-faq .tile-hero { padding: 10px 14px; gap: 4px; }
  .bento-faq .faq-item { padding: 7px 12px; }
  .faq-q { font-size: .78rem; }
  .faq-a { font-size: .74rem; }
}
@media (min-width: 701px) {
  .faq-hero { grid-row: span 2; }
  .bento-faq .faq-item { justify-content: center; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .bento-faq { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; align-content: stretch; }
  .faq-hero { grid-row: auto; }
  .bento-faq .faq-item { padding: 12px 18px; justify-content: center; }
  .faq-q { cursor: pointer; position: relative; padding-right: 26px; }
  .faq-q::after { content: "+"; position: absolute; right: 0; top: -2px; color: var(--brand); font-size: 1.3rem; font-weight: 400; }
  .faq-item.is-open .faq-q::after { content: "–"; }
  .faq-item:not(.is-open) .faq-a { display: none; }
}
h2.tile-title { margin: 0; }
.faq-hero h1 { font-size: clamp(1.1rem, 3.2vh, 1.7rem); overflow-wrap: anywhere; }
/* Tuile Vigie de l'accueil : place pour les deux lignes d'explication */
.tile-vigie .vigie-name { font-size: clamp(1.6rem, min(5vh, 3.6vw), 3rem); }
.tile-vigie .vigie-sub { font-size: clamp(.8rem, 1.7vh, .95rem); line-height: 1.25; }
.tile-vigie .vigie-text { gap: 3px; }
.tile-vigie .vigie-top { min-height: 0; }
@media (max-width: 700px) {
  .tile-vigie .vigie-name { font-size: 1.7rem; }
  .tile-vigie { gap: 6px; }
}
@media (max-width: 1100px) { .tile-vigie .vigie-top { display: none; } .tile-vigie .vigie-text { padding-right: 70px; } }
@media (max-width: 700px) { .tile-vigie .vigie-text { padding-right: 0; } .tile-vigie .vigie-name { padding-right: 90px; } }
@media (max-width: 700px) and (max-height: 760px) { .tile-vigie .vigie-sub2 { font-size: .74rem; } }
@media (min-width: 701px) and (max-width: 1100px) {
  .tile-vigie .vigie-row { flex-wrap: wrap; gap: 8px; }
  .tile-vigie .vigie-text { padding-right: 0; flex: 1 1 100%; }
  .tile-vigie .vigie-name { padding-right: 90px; }
  .tile-vigie .vigie-cta { padding: .5em .9em; font-size: .85rem; }
}
/* Petits téléphones : toute la tuile est cliquable, le bouton « Découvrir » laisse la place au texte */
@media (max-width: 700px) and (max-height: 760px) {
  .tile-vigie .vigie-cta { display: none; }
  .tile-vigie .vigie-sub2, .tile-vigie .vigie-sub3 { font-size: .74rem; }
  .tile-vigie { padding: 10px 14px; gap: 4px; }
  .tile-vigie .vigie-name { font-size: 1.5rem; }
}
.tile-vigie .vigie-top { display: none; }  /* tuile épurée : Vigie + 3 lignes (demande d Aurèle) */
.tile-vigie { justify-content: center; }
@media (min-width: 1101px) {
  .tile-vigie .vigie-sub { font-size: clamp(.95rem, 2.1vh, 1.15rem); }
  .tile-vigie .vigie-sub2, .tile-vigie .vigie-sub3 { font-size: clamp(.85rem, 1.8vh, 1rem); }
}
