/* ==========================================================================
   Azur Investissements
   DA « blanc et azur clair » : fond blanc franc, panneaux en azur clair,
   accent #007FFF, un seul aplat plein (le pied de page) en azur profond.
   Aucun bleu marine, aucun beige. Le seul fond sombre autorise est le voile
   pose sur une photo, ou du texte blanc doit rester lisible.
   Titrage Prata, interface et corps Figtree. Boutons en pilule.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
figure { margin: 0; }

:root {
  --paper: #ffffff;        /* fond de page : blanc franc, aucun beige */
  --tint: #e8f3ff;         /* azur clair : panneaux, aplats, blocs */
  --tint-soft: #f4f9ff;    /* azur tres dilue : zebrures, survols */
  --azur-abysse: #002a55;  /* azur tres profond : UNIQUEMENT le voile sur photo, ou le texte blanc doit rester lisible */
  --ink: #1d2525;          /* texte */
  --ink-soft: #55606b;

  --azur: #007FFF;         /* LE bleu azur : accents, boutons, marques */
  --azur-deep: #0063cc;    /* azur profond : petits textes sur clair, aplats a texte blanc */
  --azur-bright: #007FFF;
  --ciel: #e8f3ff;         /* alias de --tint, conserve pour les regles existantes */

  --hair: #dbe7f3;         /* filet froid */

  --wrap: 1220px;
  --gut: clamp(18px, 3.4vw, 44px);
  --r: 22px;
  --r-lg: 34px;
  --pill: 999px;

  --disp: 'Prata', Georgia, 'Times New Roman', serif;
  --body: 'Figtree', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --t-mega: clamp(2.4rem, 4.8vw, 3.9rem);
  --t-xl:   clamp(1.9rem, 3.4vw, 2.9rem);
  --t-l:    clamp(1.45rem, 2.2vw, 1.95rem);
  --t-m:    clamp(1.02rem, 1.4vw, 1.18rem);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.68;
  font-synthesis-weight: none;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gut); top: 8px; z-index: 99; background: var(--azur-deep); color: #fff; padding: 10px 18px; border-radius: var(--pill); }

/* --- Briques communes ----------------------------------------------------- */

.kick { font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; color: var(--azur-deep); }
.disp { font-family: var(--disp); font-weight: 400; letter-spacing: -.012em; line-height: 1.1; text-wrap: balance; margin: 0; }
.lede { font-size: var(--t-m); line-height: 1.62; margin: 0; color: var(--ink-soft); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: .96rem; letter-spacing: -.005em;
  padding: 14px 26px; border-radius: var(--pill); text-decoration: none;
  border: 1.5px solid transparent; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn--full { background: var(--azur); color: #fff; }
.btn--full:hover { background: var(--azur-deep); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--azur-deep); border-color: #fff; }

.azi-sect { padding-block: clamp(50px, 6.4vw, 92px); }
.azi-sect__head { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; flex-wrap: wrap; margin-bottom: 34px; }
.azi-sect__head h2 { font-family: var(--disp); font-weight: 400; font-size: var(--t-l); line-height: 1.16; margin: 0; }
.azi-sect__more { font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--azur-deep); }
.azi-sect__more:hover { text-decoration: underline; text-underline-offset: 5px; }

/* --- En-tete -------------------------------------------------------------- */

.azi-head { background: var(--paper); position: relative; z-index: 30; }
.azi-head__in { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 88px; }

.azi-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.azi-brand__mark { width: 30px; height: 30px; flex: none; color: var(--azur); display: block; }
.azi-brand__lock { display: flex; flex-direction: column; gap: 3px; }
.azi-brand__wm { font-family: var(--disp); font-weight: 400; font-size: 1.6rem; letter-spacing: -.01em; line-height: .92; }
.azi-brand__sub { font-weight: 600; font-size: .56rem; letter-spacing: .3em; text-transform: uppercase; color: var(--azur-deep); line-height: 1; }

.azi-nav ul { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 26px); list-style: none; margin: 0; padding: 0; }
.azi-nav a { font-weight: 500; font-size: .93rem; text-decoration: none; padding: 8px 0; display: block; color: var(--ink); border-bottom: 2px solid transparent; }
.azi-nav a:hover, .azi-nav .current-menu-item > a { color: var(--azur-deep); border-bottom-color: var(--azur-bright); }

.azi-burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.azi-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.azi-burger span::before, .azi-burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); }
.azi-burger span::before { top: -7px; } .azi-burger span::after { top: 7px; }

@media (max-width: 940px) {
  .azi-burger { display: flex; }
  .azi-nav { position: absolute; inset: 100% var(--gut) auto; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r); display: none; padding: 10px 22px 18px; }
  .azi-nav.open { display: block; }
  .azi-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .azi-nav a { font-size: 1rem; padding: 14px 0; border-bottom: 1px solid var(--hair); }
}

/* --- Hero : baseline a gauche, simulateur a droite ------------------------ */

.azi-hero { padding-block: clamp(28px, 4vw, 62px) clamp(20px, 3vw, 44px); }
.azi-hero__grid { display: grid; grid-template-columns: 1fr; gap: clamp(30px, 3.6vw, 58px); align-items: center; }
@media (min-width: 980px) { .azi-hero__grid { grid-template-columns: 1.05fr .95fr; } }

.azi-hero h1 { font-size: var(--t-mega); margin-top: 16px; max-width: 15ch; }
.azi-hero__lede { margin-top: 22px; max-width: 46ch; }
.azi-hero__acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* --- Simulateur d'investissement ------------------------------------------ */

.azi-sim { background: var(--tint); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 38px); }
.azi-sim__t { font-family: var(--disp); font-weight: 400; font-size: 1.42rem; line-height: 1.18; margin: 10px 0 4px; }
.azi-sim__s { font-size: .88rem; color: var(--ink-soft); margin: 0 0 22px; }

.azi-sim__field { margin-bottom: 18px; }
.azi-sim__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.azi-sim__top label { font-weight: 600; font-size: .86rem; }

/* La valeur est saisissable : le curseur sert au reglage rapide, le champ
   permet d'aller au-dela de sa course. */
.azi-sim__num { display: inline-flex; align-items: baseline; gap: 4px; background: var(--paper); border-radius: var(--pill); padding: 5px 14px; flex: 0 0 auto; }
.azi-sim__num input {
  font-family: var(--disp); font-size: 1.16rem; line-height: 1.2; color: var(--azur-deep);
  border: 0; background: none; padding: 0; margin: 0; text-align: right;
  -moz-appearance: textfield; appearance: textfield;
  /* La largeur suit le contenu : a huit chiffres, une boite fixe coupait les
     chiffres de gauche (alignement a droite). JS ajuste, field-sizing prend le
     relais sur les navigateurs qui le supportent. */
  width: 5ch; min-width: 2.5ch; max-width: 12ch;
  field-sizing: content;
}
.azi-sim__num input::-webkit-outer-spin-button,
.azi-sim__num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.azi-sim__num input:focus { outline: none; }
.azi-sim__num:focus-within { box-shadow: 0 0 0 2px var(--azur); }
.azi-sim__num span { font-family: var(--disp); font-size: 1.16rem; color: var(--azur-deep); }

.azi-sim input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: var(--pill);
  background: rgba(0,99,204,.22); outline: none; margin: 0; display: block;
}
.azi-sim input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: var(--pill);
  background: var(--azur); border: 3px solid #fff; cursor: pointer;
}
.azi-sim input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: var(--pill); border: 3px solid #fff;
  background: var(--azur); cursor: pointer;
}

.azi-sim__out { background: var(--paper); border-radius: var(--r); padding: 22px 24px; margin-top: 24px; }
.azi-sim__k { font-weight: 700; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--azur-deep); display: block; }
.azi-sim__big { font-family: var(--disp); font-weight: 400; font-size: clamp(2.1rem, 3.4vw, 2.8rem); line-height: 1.05; display: block; margin-top: 8px; }
.azi-sim__split { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hair); }
.azi-sim__split div { font-size: .88rem; color: var(--ink-soft); }
.azi-sim__split b { display: block; font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.azi-sim__note { margin: 16px 0 0; font-size: .76rem; line-height: 1.5; color: var(--ink-soft); }

/* --- Rubriques : cartes photo verticales, zoom au survol ------------------ */

.azi-rubs { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.4vw, 20px); }
@media (min-width: 700px) { .azi-rubs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .azi-rubs { grid-template-columns: repeat(6, 1fr); } }

.azi-rub {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r); aspect-ratio: 3 / 4; text-decoration: none; color: #fff;
  background: var(--azur-abysse); isolation: isolate;
}
.azi-rub img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1); transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.azi-rub::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,42,85,.86) 0%, rgba(0,42,85,.46) 42%, rgba(0,42,85,.10) 74%, rgba(0,42,85,.02) 100%);
  transition: opacity .3s ease;
}
.azi-rub:hover img, .azi-rub:focus-visible img { transform: scale(1.08); }

.azi-rub__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(16px, 1.6vw, 22px); }
.azi-rub__k { display: block; font-weight: 700; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--azur); margin-bottom: 7px; }
.azi-rub__n { display: block; font-family: var(--disp); font-weight: 400; font-size: clamp(1.15rem, 1.5vw, 1.38rem); line-height: 1.16; }
.azi-rub__c { display: block; font-size: .74rem; margin-top: 6px; color: rgba(255,255,255,.7); }

.azi-rub__go {
  position: absolute; z-index: 2; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: var(--pill);
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4);
  display: grid; place-items: center; color: #fff;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.azi-rub:hover .azi-rub__go { background: var(--azur); border-color: var(--azur); }
.azi-rub__go svg { width: 15px; height: 15px; }

/* --- Bandeau defilant : les dernieres analyses ---------------------------- */

.azi-marq { overflow: hidden; padding-block: clamp(8px, 1.4vw, 20px) clamp(44px, 5.4vw, 76px); }
.azi-marq__hd { margin-bottom: 26px; }
.azi-marq__hd h2 { font-family: var(--disp); font-weight: 400; font-size: var(--t-l); line-height: 1.16; margin: 0; }
.azi-marq__win { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.azi-marq__track { display: flex; gap: 18px; width: max-content; animation: azi-defile 52s linear infinite; }
.azi-marq__win:hover .azi-marq__track, .azi-marq__win:focus-within .azi-marq__track { animation-play-state: paused; }
@keyframes azi-defile { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }

.azi-mcard {
  flex: 0 0 auto; width: 268px; text-decoration: none; color: #fff;
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r); aspect-ratio: 3 / 4; background: var(--azur-abysse); isolation: isolate;
}
.azi-mcard img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1); transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.azi-mcard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,42,85,.94) 0%, rgba(0,42,85,.62) 40%, rgba(0,42,85,.15) 72%, rgba(0,42,85,.04) 100%);
}
.azi-mcard:hover img, .azi-mcard:focus-visible img { transform: scale(1.07); }

/* Le sujet est lisible sans survol : il est incruste dans le bas de la carte. */
.azi-mcard__body { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 18px; display: block; }
.azi-mcard__k { display: block; font-weight: 700; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--azur); margin-bottom: 8px; }
.azi-mcard__t { display: block; font-family: var(--disp); font-weight: 400; font-size: 1.12rem; line-height: 1.2; }
.azi-mcard__m { display: block; margin-top: 9px; font-size: .74rem; color: rgba(255,255,255,.68); }
.azi-mcard:hover .azi-mcard__k { color: #fff; }

/* --- Capture d'e-mail : panneau blanc cercle d'azur ----------------------- */

.azi-nl { background: var(--paper); border: 2px solid var(--azur); border-radius: var(--r-lg); padding: clamp(32px, 4.4vw, 62px); }
.azi-nl__grid { display: grid; grid-template-columns: 1fr; gap: clamp(26px, 3vw, 48px); align-items: center; }
@media (min-width: 900px) { .azi-nl__grid { grid-template-columns: 1fr 1fr; } }
.azi-nl__t { font-family: var(--disp); font-weight: 400; font-size: var(--t-l); line-height: 1.16; margin: 12px 0 0; max-width: 18ch; }
.azi-nl__s { margin: 16px 0 0; color: var(--ink-soft); max-width: 44ch; }

.azi-nl__form { display: flex; gap: 10px; flex-wrap: wrap; }
.azi-nl__form input[type=email] {
  flex: 1 1 220px; min-width: 0; font: inherit; padding: 15px 22px;
  border: 1px solid var(--hair); border-radius: var(--pill); background: var(--paper); color: var(--ink);
}
.azi-nl__form input[type=email]::placeholder { color: var(--ink-soft); }
.azi-nl__form input[type=email]:focus { outline: none; border-color: var(--azur); box-shadow: 0 0 0 3px rgba(0,127,255,.16); }
.azi-nl__form button { flex: 0 0 auto; background: var(--azur); color: #fff; font-weight: 700; font-size: .95rem; padding: 15px 30px; border-radius: var(--pill); }
.azi-nl__form button:hover { background: var(--azur-deep); }
.azi-nl__pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.azi-nl__legal { margin: 14px 0 0; font-size: .78rem; line-height: 1.5; color: var(--ink-soft); }
.azi-nl__legal a { color: var(--azur-deep); }
.azi-nl__msg { margin: 14px 0 0; font-size: .9rem; font-weight: 600; }
.azi-nl__msg[data-etat="ok"] { color: var(--azur-deep); }
.azi-nl__msg[data-etat="ko"] { color: #b3261e; }

/* --- Archives -------------------------------------------------------------- */

.azi-arch__hero { padding-block: clamp(36px, 4.4vw, 62px) clamp(14px, 2vw, 26px); }
.azi-arch__hero h1 { font-size: var(--t-xl); margin-top: 14px; }
.azi-arch__hero .lede { margin-top: 18px; max-width: 60ch; }

.azi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(28px, 3vw, 44px); }
.azi-card { text-decoration: none; display: flex; flex-direction: column; }
.azi-card__media { background: var(--ciel); aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); }
.azi-card__media img { width: 100%; height: 100%; object-fit: cover; }
.azi-card__t { font-family: var(--disp); font-weight: 400; font-size: 1.34rem; line-height: 1.24; margin: 15px 0 0; }
.azi-card:hover .azi-card__t { color: var(--azur-deep); }
.azi-card__m { margin-top: 9px; font-size: .82rem; color: var(--ink-soft); }

.azi-pag { display: flex; gap: 9px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 68px); }
.azi-pag a, .azi-pag span { font-weight: 600; font-size: .88rem; padding: 11px 18px; text-decoration: none; border: 1px solid var(--hair); border-radius: var(--pill); background: var(--paper); }
.azi-pag .current { background: var(--azur); border-color: var(--azur); color: #fff; }
.azi-pag a:hover { border-color: var(--azur); color: var(--azur-deep); }

/* Pastille de rubrique en tete d'article. Elle vivait dans le bloc « A la une »
   de l'accueil ; en supprimant ce bloc j'ai emporte sa regle avec. */
.azi-tag {
  display: inline-block; background: var(--tint); color: var(--azur-deep);
  font-weight: 700; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 7px 15px; border-radius: var(--pill); text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
a.azi-tag:hover { background: var(--azur); color: #fff; }

/* --- Article --------------------------------------------------------------- */

.azi-single { padding-bottom: clamp(48px, 5.6vw, 84px); }
.azi-art__head { padding-block: clamp(30px, 3.6vw, 54px) clamp(20px, 2.4vw, 32px); }
.azi-art__head h1 { font-size: var(--t-xl); margin: 18px 0 0; max-width: 24ch; }
.azi-art__meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; font-size: .85rem; color: var(--ink-soft); }
.azi-art__cover { border-radius: var(--r-lg); overflow: hidden; }
.azi-art__cover img { width: 100%; aspect-ratio: 16 / 9; max-height: 540px; object-fit: cover; }

/* Deux colonnes : le texte a gauche, la capture d'e-mail collante a droite. */
.azi-single__grid { display: grid; grid-template-columns: 1fr; gap: clamp(34px, 4vw, 56px); align-items: stretch; }
@media (min-width: 1080px) { .azi-single__grid { grid-template-columns: minmax(0, 1fr) 316px; } }

/* Pour que le collant ait de la course, le conteneur doit occuper toute la
   hauteur de la rangee de grille : align-self:start l'en empecherait. */
.azi-aside { align-self: stretch; }
@media (min-width: 1080px) { .azi-aside__in { position: sticky; top: 28px; } }

/* Pied d'article : la carte du bandeau, en grille fixe, sans defilement. */
.azi-more { padding-block: clamp(44px, 5.4vw, 76px) 0; }
.azi-more__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.6vw, 22px); }
@media (min-width: 900px) { .azi-more__grid { grid-template-columns: repeat(4, 1fr); } }
.azi-more__grid .azi-mcard { width: auto; }

.azi-art__body { max-width: 72ch; padding-top: clamp(30px, 3.4vw, 46px); font-size: 1.115rem; line-height: 1.75; }
.azi-art__body > * + * { margin-top: 1.2em; }
.azi-art__body h2 { font-family: var(--disp); font-weight: 400; font-size: clamp(1.65rem, 2.7vw, 2.2rem); line-height: 1.2; margin-top: 2em; }
.azi-art__body h3 { font-family: var(--disp); font-weight: 400; font-size: clamp(1.3rem, 1.9vw, 1.55rem); line-height: 1.26; margin-top: 1.8em; }
.azi-art__body h4 { font-weight: 700; font-size: 1.05rem; margin-top: 1.6em; }
.azi-art__body a { color: var(--azur-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.azi-art__body ul, .azi-art__body ol { padding-left: 1.2em; }
.azi-art__body li + li { margin-top: .5em; }
.azi-art__body li::marker { color: var(--azur); }
.azi-art__body img { border-radius: var(--r); margin-block: 2em; }
.azi-art__body figcaption { font-size: .84rem; color: var(--ink-soft); margin-top: 10px; }
.azi-art__body blockquote { margin: 2em 0; padding: 22px 26px; background: var(--tint); border-radius: var(--r); font-family: var(--disp); font-size: 1.35rem; line-height: 1.35; }
.azi-art__body blockquote p { margin: 0; }
.azi-art__body strong { font-weight: 700; }
.azi-art__body hr { border: 0; border-top: 1px solid var(--hair); margin-block: 2.4em; }

.table-scroll { overflow-x: auto; margin-block: 2em; border-radius: var(--r); border: 1px solid var(--hair); }
/* Un tableau respire mal dans une colonne de 70 caracteres : on le laisse
   deborder symetriquement de la colonne de lecture sur grand ecran. */
.azi-art__body { --bleed: 0px; }
@media (min-width: 1040px) and (max-width: 1079px) { .azi-art__body { --bleed: 60px; } }
.azi-art__body .table-scroll,
.azi-art__body > .azi-callout {
  width: calc(100% + 2 * var(--bleed));
  margin-inline: calc(-1 * var(--bleed));
}
.azi-art__body table { border-collapse: collapse; width: 100%; font-size: .95rem; background: var(--paper); }
.azi-art__body th, .azi-art__body td { border-bottom: 1px solid var(--hair); padding: 13px 16px; text-align: left; vertical-align: top; }
.azi-art__body thead th { background: var(--tint); color: var(--azur-deep); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; border-bottom: 2px solid var(--azur); }
.azi-art__body tbody tr:nth-child(even) { background: var(--tint-soft); }

/* Outils interactifs DigiWrite.
   Ils arrivent avec leur propre `max-width` et un `margin: auto` dans un
   <style> inline : dans une colonne de lecture deja etroite, ils se retrouvent
   encore plus etroits ET centres, avec du vide des deux cotes. On leur rend
   toute la largeur de la colonne. Le !important est necessaire : la regle
   inline cible un #id, donc plus specifique que ce selecteur. */
.azi-art__body > div[id^="azi"] {
  max-width: none !important;
  width: 100% !important;
  margin-inline: 0 !important;
}

/* Callout maison : fond azur clair, filet azur a gauche. */
.azi-callout { background: var(--tint); border-left: 4px solid var(--azur); border-radius: 0 var(--r) var(--r) 0; padding: 22px 26px; margin-block: 2em; }
.azi-callout__label, .azi-callout strong:first-child { font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--azur-deep); display: block; margin-bottom: 11px; }
.azi-callout__body, .azi-callout p { margin: 0; }
.azi-callout p + p { margin-top: .8em; }

/* --- Page simple ----------------------------------------------------------- */

.azi-page__head { padding-block: clamp(34px, 4vw, 58px) clamp(6px, 1vw, 14px); }
.azi-page__head h1 { font-family: var(--disp); font-weight: 400; font-size: var(--t-xl); line-height: 1.16; margin: 0; }

/* --- Recherche et 404 ------------------------------------------------------ */

.azi-search { display: flex; gap: 10px; max-width: 560px; }
.azi-search input[type=search] { flex: 1; font: inherit; padding: 13px 20px; border: 1px solid var(--hair); border-radius: var(--pill); background: var(--paper); color: var(--ink); }
.azi-search input[type=search]:focus { outline: none; border-color: var(--azur); }
.azi-search button { background: var(--azur); color: #fff; font-weight: 600; font-size: .92rem; padding: 13px 26px; border-radius: var(--pill); }
.azi-search button:hover { background: var(--azur-deep); }
.azi-empty { padding-block: clamp(52px, 6.4vw, 96px); max-width: 62ch; }
.azi-empty h1 { font-family: var(--disp); font-weight: 400; font-size: var(--t-xl); line-height: 1.15; margin: 0 0 18px; }

/* --- Pied de page ---------------------------------------------------------- */

.azi-foot { background: var(--tint); color: var(--ink); border-radius: var(--r-lg) var(--r-lg) 0 0; padding-block: clamp(48px, 5.4vw, 78px) 0; margin-top: clamp(40px, 5vw, 70px); }
.azi-foot__grid { display: grid; grid-template-columns: 1fr; gap: 38px; }
@media (min-width: 800px) { .azi-foot__grid { grid-template-columns: 1.7fr 1fr 1fr; gap: 50px; } }
.azi-foot .azi-brand__wm { color: var(--ink); }
.azi-foot .azi-brand__sub { color: var(--azur-deep); }
.azi-foot__tag { margin: 18px 0 0; color: var(--ink-soft); max-width: 40ch; }
.azi-foot h2 { font-weight: 700; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 16px; color: var(--azur-deep); }
.azi-foot ul { list-style: none; margin: 0; padding: 0; }
.azi-foot li + li { margin-top: 10px; }
.azi-foot a { font-size: .95rem; text-decoration: none; color: var(--ink); }
.azi-foot a:hover { color: var(--azur-deep); text-decoration: underline; text-underline-offset: 4px; }
.azi-foot__bar { margin-top: clamp(40px, 5vw, 62px); border-top: 1px solid var(--hair); padding-block: 22px; display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; font-size: .8rem; color: var(--ink-soft); }

/* --- Fil d'Ariane ---------------------------------------------------------- */

.crumbs { font-size: .82rem; color: var(--ink-soft); padding-block: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--azur-deep); }
.crumbs span { margin-inline: 8px; color: var(--azur); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .azi-marq__track { animation: none; width: auto; }
  .azi-marq__win { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .azi-rub:hover img { transform: none; }
}

/* --- Les enveloppes : le seul bloc sombre de la page ----------------------- */

/* Pleine largeur pour casser le rythme des sections blanches. Le fond est un
   azur profond, jamais un marine gris : degrade + lueur + trame fine, le tout
   en CSS pur, zero image. */
.azi-envs {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(158deg, #00081c 0%, #001334 55%, #001f4f 100%);
  color: #fff;
  padding-block: clamp(56px, 7vw, 104px);
  margin-block: clamp(40px, 5vw, 76px);
}
/* Lueur d'azur en haut a droite : donne de la profondeur sans illustration. */
.azi-envs::before {
  content: ""; position: absolute; z-index: -2;
  top: -34%; right: -12%; width: 62%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0,127,255,.42) 0%, rgba(0,127,255,0) 68%);
  pointer-events: none;
}
/* Trame fine facon papier reglé, tres discrete. */
.azi-envs::after {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(255,255,255,.05) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.05) 0 1px, transparent 1px 88px);
  mask-image: radial-gradient(ellipse at 30% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 0%, #000 0%, transparent 78%);
}
.azi-envs .azi-sect__head h2 { color: #fff; }
.azi-envs .azi-sect__head { border-color: rgba(255,255,255,.16); }

.azi-env { display: grid; grid-template-columns: 1fr; gap: clamp(16px, 1.8vw, 24px); }
@media (min-width: 760px) { .azi-env { grid-template-columns: repeat(2, 1fr); } }

.azi-env__card {
  background: rgba(255,255,255,.062);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: var(--r-lg);
  padding: clamp(26px, 2.8vw, 38px); display: flex; flex-direction: column;
  backdrop-filter: blur(2px);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.azi-env__card:hover { border-color: rgba(102,184,255,.72); background: rgba(255,255,255,.09); transform: translateY(-2px); }

.azi-env__hd { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.azi-env__n { font-family: var(--disp); font-weight: 400; font-size: clamp(1.5rem, 2.1vw, 1.85rem); line-height: 1.1; margin: 0; color: #fff; }
.azi-env__key { font-family: var(--disp); font-weight: 400; font-size: clamp(1.5rem, 2.1vw, 1.85rem); line-height: 1.1; color: #66b8ff; white-space: nowrap; text-align: right; }
.azi-env__key small { display: block; font-family: var(--body); font-weight: 600; font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 5px; }

.azi-env__lede { margin: 14px 0 0; color: rgba(255,255,255,.72); font-size: .98rem; line-height: 1.55; }

.azi-env__dl { margin: 24px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.azi-env__dl > div { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.azi-env__dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.azi-env__dl dt { font-weight: 700; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: #66b8ff; margin: 0 0 6px; }
.azi-env__dl dd { margin: 0; font-size: .96rem; line-height: 1.55; color: rgba(255,255,255,.86); }

.azi-envs .azi-note { color: rgba(255,255,255,.5); }

/* --- Capture d'e-mail, variante de colonne laterale ----------------------- */

.azi-nl--aside { background: var(--tint); border: 0; border-radius: var(--r-lg); padding: clamp(24px, 2.4vw, 30px); }
.azi-nl--aside .azi-nl__t { font-size: 1.32rem; max-width: none; margin-top: 10px; }
.azi-nl--aside .azi-nl__s { font-size: .92rem; margin-top: 12px; max-width: none; }
.azi-nl--aside .azi-nl__form { flex-direction: column; gap: 10px; margin-top: 20px; }
.azi-nl--aside .azi-nl__form input[type=email] { flex: 1 1 auto; width: 100%; padding: 13px 20px; background: var(--paper); border-color: transparent; }
.azi-nl--aside .azi-nl__form button { width: 100%; padding: 13px 20px; }
.azi-nl--aside .azi-nl__legal { font-size: .74rem; margin-top: 12px; }

.azi-envs .azi-note--lien { color: rgba(255,255,255,.78); margin-top: .6em; }
.azi-envs .azi-note--lien a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--azur); text-underline-offset: 3px; }
