@charset "UTF-8";
/*
Theme Name: Salam Turquie
Theme URI: https://salamturquie.com
Description: Theme enfant de GeneratePress pour salamturquie.com, un guide d'Istanbul et de la Turquie pour les voyageurs musulmans francophones. Direction artistique inspiree de la ceramique d'Iznik. Polices auto-hebergees, aucune requete externe.
Author: Salam Turquie
Template: generatepress
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: salamturquie-child
*/

/* ==========================================================================
   SALAM TURQUIE : maquette de la page d'accueil
   Direction : céramique İznik ottomane (cobalt, turquoise, rouge terre,
   papier crème), arches de mihrab. Le logo est une arche portant un S.
   Mobile first. Classes préfixées « st- » pour ne pas entrer en conflit
   avec GeneratePress lors du passage en thème enfant (phase 2).
   ========================================================================== */

/* ============================ 1. POLICES =================================
   Auto-hébergées, woff2 variables, font-display:swap.
   Aucun appel à Google Fonts ni à un CDN → conforme RGPD.
   Deux sous-ensembles par famille : « latin » (français) et « latin-ext »
   (caractères turcs İ, ş, ğ…). Le navigateur ne télécharge « latin-ext »
   que si un de ces caractères est réellement affiché. Les plages se chevauchent
   sur quelques signes (dont ı) : « latin » est donc déclaré en dernier pour gagner.
   ========================================================================= */

@font-face {
  font-family: 'Literata';
  src: url('fonts/literata-latin-ext-standard-normal.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  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;
}
@font-face {
  font-family: 'Literata';
  src: url('fonts/literata-latin-standard-normal.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  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;
}
@font-face {
  font-family: 'Karla';
  src: url('fonts/karla-latin-ext-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  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;
}
@font-face {
  font-family: 'Karla';
  src: url('fonts/karla-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  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;
}

/* ============================ 2. JETONS ================================= */

:root {
  /* --- couleurs --- */
  --st-cream:        #FBF6EC;
  --st-cream-deep:   #F4EBD9;
  --st-cream-line:   #E4D7BE;
  --st-ink:          #1E2436;   /* 12,8:1 sur crème */
  --st-ink-soft:     #5A6070;   /*  5,8:1 sur crème */
  --st-cobalt:       #16327A;   /* 10,1:1 sur crème */
  --st-cobalt-mid:   #1E3F8F;
  --st-cobalt-deep:  #0C1326;
  --st-teal:         #1E8A8F;   /* filets, icônes, grands titres */
  --st-teal-ink:     #166B70;   /*  5,9:1 sur crème → texte autorisé */
  --st-teal-light:   #6FD4CE;   /*  6,8:1 sur cobalt */
  --st-terra:        #B8402C;   /*  5,1:1 sur crème */
  --st-terra-dark:   #9A3221;
  --st-gold:         #C98B2E;
  --st-gold-ink:     #8F6318;   /*  5,1:1 sur blanc cassé → texte autorisé */
  --st-gold-light:   #F0C878;

  /* --- rythme --- */
  --gutter: 1.25rem;
  --wrap: 1180px;
  --header-h: 62px;
  --arche-w: clamp(280px, 92vw, 620px);   /* arche du hero et largeur max du H1 */
  --section-pad: clamp(4.25rem, 11vw, 7.5rem);
  --radius-arch: 18px 18px 3px 3px;   /* écho de l'arche sur les boutons */

  /* --- texture : grain papier, en data-URI (zéro requête) --- */
  --st-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");

  /* --- mouvement --- */
  --ease: cubic-bezier(.22,.61,.36,1);

  /* --- couleurs locales, redéfinies par scène --- */
  --fg: var(--st-ink);
  --fg-soft: var(--st-ink-soft);
  --focus: var(--st-cobalt);
  --focus-halo: rgba(201,139,46,.5);
}

/* ============================ 3. BASE =================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--st-cream);
  color: var(--fg);
  font-family: 'Karla', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.68;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open { overflow: hidden; }

h1, h2, h3 {
  font-family: 'Literata', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.1;
  /* Literata est plus large et plus ouverte que Fraunces : on resserre moins */
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.5rem, 3.3vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.016em;
  margin: 0;
}

h2 { font-size: clamp(1.85rem, 5.2vw, 3rem); }
h3 { font-size: 1.1875rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; margin: 0; padding: 0; }

svg { display: block; }

/* Les SVG d'interface sont tracés, pas remplis */
.st-iconbtn svg, .st-arrowlink svg, .st-scrollcue svg,
.st-tool__icon svg, .st-footer__social svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Les marques prennent la couleur du texte. L arche est un contour :
   elle porte son propre fill="none", qui l emporte sur cette regle. */
/* La marque porte ses trois couleurs dans ses propres attributs : le
   corps en currentColor, le filet et le S en var(). Une regle fill ici
   les ecraserait toutes les trois, donc il n y en a pas.

   Regle a tenir partout : le corps de l arche doit contraster avec son
   fond. Encre sur creme, creme sur cobalt. Sans cela, la marque disparait,
   ce qui arrivait au pied de page. */
:root {
  --st-logo-filet: #B68235;
  --st-logo-s: var(--st-cream);
}

::selection { background: var(--st-gold-light); color: var(--st-cobalt-deep); }

/* --- focus visible --- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--focus-halo);
  border-radius: 2px;
}

/* --- lien d'évitement --- */
.st-skip {
  position: fixed;
  top: .5rem; left: .5rem;
  z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--st-cobalt);
  color: var(--st-cream);
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--radius-arch);
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.st-skip:focus-visible { transform: none; }

/* ============================ 4. UTILITAIRES ============================ */

.st-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.st-eyebrow {
  margin: 0 0 .85rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--st-teal-ink);
}
.st-eyebrow--light { color: var(--st-teal-light); }

.st-num {
  display: block;
  font-family: 'Literata', serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--st-terra);
  margin-bottom: .75rem;
  font-variant-numeric: lining-nums;
}

.st-chip {
  display: inline-block;
  width: fit-content;
  align-self: flex-start;   /* dans une carte en flex, sans cela l etiquette s etire */
  margin-bottom: .7rem;
  padding: .3rem .7rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--st-terra);
  background: rgba(184,64,44,.09);
  border: 1px solid rgba(184,64,44,.3);
  border-radius: 12px 12px 2px 2px;
}
.st-chip--alt {
  color: var(--st-teal-ink);
  background: rgba(30,138,143,.09);
  border-color: rgba(30,138,143,.32);
}

.st-meta {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--fg-soft);
}
.st-meta__sep { margin-inline: .5em; color: var(--st-gold-ink); }
.st-meta sup { font-size: .7em; }

/* --- boutons --- */
.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .85rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-arch);
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .005em;
  text-align: center;
  cursor: pointer;
  transition: background-color .28s var(--ease), color .28s var(--ease),
              border-color .28s var(--ease), transform .28s var(--ease),
              box-shadow .28s var(--ease);
}
.st-btn--primary {
  background: var(--st-terra);
  color: var(--st-cream);
  box-shadow: 0 6px 20px -8px rgba(184,64,44,.75);
}
.st-btn--primary:hover {
  background: var(--st-terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(184,64,44,.9);
}
.st-btn--ghost {
  background: transparent;
  color: var(--st-cream);
  border-color: rgba(251,246,236,.5);
}
.st-btn--ghost:hover {
  background: var(--st-cream);
  color: var(--st-cobalt-deep);
  border-color: var(--st-cream);
  transform: translateY(-2px);
}
.st-btn--small {
  min-height: 46px;
  padding: .6rem 1.15rem;
  font-size: .9375rem;
  background: transparent;
  color: var(--st-cobalt);
  border-color: var(--st-cream-line);
}
.st-btn--small:hover {
  background: var(--st-cobalt);
  color: var(--st-cream);
  border-color: var(--st-cobalt);
}

.st-cta-row {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  width: 100%;
  max-width: 340px;
}

/* --- lien fléché --- */
.st-arrowlink {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--st-cobalt);
}
.st-arrowlink svg { width: 1.15em; height: 1.15em; transition: transform .3s var(--ease); }
.st-arrowlink--light { color: var(--st-teal-light); }
.st-arrowlink--strong { white-space: nowrap; }
a:hover .st-arrowlink svg,
.st-arrowlink:hover svg { transform: translateX(5px); }

/* --- emplacements photo (dégradés, remplacés par tes photos) --- */
/* photo reelle : meme comportement que les blocs de couleur qu elle remplace */
.st-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

/* Bloc uni a icone, la ou aucune photo ne correspond encore au sujet.
   Pas de motif ici : la regle est un seul motif visible a la fois, et ces
   cartes voisinent deja des cartes a photo. */
.st-bloc {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: #F1E6D8;
}
.st-bloc svg {
  width: 36%;
  max-width: 64px;
  height: auto;
  fill: none;
  stroke: var(--st-terra);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .55;
}
.st-bloc--turquoise { background: #E2EFEC; }
.st-bloc--turquoise svg { stroke: var(--st-teal-ink); }
.st-bloc--cobalt { background: #E5EAF5; }
.st-bloc--cobalt svg { stroke: var(--st-cobalt); }
.st-bloc--jade { background: #E7EFE6; }
.st-bloc--jade svg { stroke: #2F6B52; }

.st-ph {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.st-ph::after {
  content: '';
  position: absolute;
  inset: -20%;
  background-image: var(--st-grain);
  opacity: .2;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.st-ph--hero {
  background:
    linear-gradient(to bottom, transparent 54%, rgba(255,226,170,.28) 57%, transparent 61%),
    radial-gradient(118% 58% at 50% 14%, rgba(255,216,142,.62), transparent 62%),
    linear-gradient(176deg, #F4C66E 0%, #E2924A 20%, #C2552F 42%, #6E2340 66%, #231A42 86%, #101233 100%);
}
.st-ph--bosphore {
  background: linear-gradient(185deg, #D4EAE4, #8FC9C6 26%, #3A8F97 56%, #1B4C7E 84%, #16327A);
}
.st-ph--dusk {
  background:
    radial-gradient(92% 58% at 28% 22%, rgba(255,228,172,.52), transparent 64%),
    linear-gradient(170deg, #EBD2A6, #C99A62 28%, #8C5E49 54%, #3B3A63 80%, #1D2347);
}
.st-ph--ember {
  background:
    radial-gradient(82% 66% at 66% 28%, rgba(255,192,122,.48), transparent 60%),
    linear-gradient(160deg, #DCA64F, #C2562C 38%, #8E2B20 70%, #3F1518);
}
.st-ph--mint {
  background: linear-gradient(165deg, #E0EDD4, #9CC9A4 28%, #3F9790 60%, #1F6E78 84%, #17415F);
}
.st-ph--cobalt {
  background: linear-gradient(175deg, #93ACDC, #3E5BA6 34%, #1E357E 68%, #111B45);
}
.st-ph--jade {
  background:
    radial-gradient(74% 58% at 38% 18%, rgba(238,247,204,.46), transparent 62%),
    linear-gradient(170deg, #CBDCAB, #7FA675 32%, #3E7A6A 62%, #1F4A52);
}
.st-ph--sand {
  background: linear-gradient(175deg, #F8E2C6, #E3B892 28%, #C08A77 52%, #6E5A80 78%, #2B2A4E);
}
.st-ph--portrait {
  background:
    radial-gradient(62% 48% at 50% 26%, rgba(255,238,204,.52), transparent 62%),
    linear-gradient(170deg, #ECD6B2, #C79F76 30%, #7C6A6A 58%, #36405E 86%, #1B2444);
}

/* --- forme d'arche de mihrab (masque SVG) --- */
.st-archshape {
  -webkit-mask-image: url('arche-mihrab.svg');
          mask-image: url('arche-mihrab.svg');
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
}
/* repli si les masques CSS ne sont pas pris en charge */
@supports not ((mask-image: url('x.svg')) or (-webkit-mask-image: url('x.svg'))) {
  .st-archshape { border-radius: 48% 48% 4px 4px / 34% 34% 0 0; overflow: hidden; }
}

/* --- révélation au scroll --- */
.js .st-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.st-reveal.is-visible { opacity: 1; transform: none; }

/* ============================ 5. EN-TÊTE ================================ */

.st-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--st-cream);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease),
              color .4s var(--ease), backdrop-filter .4s var(--ease);
}
/* voile sombre derriere l en-tete tant que la page n est pas defilee :
   garantit le contraste des liens quoi qu il y ait derriere */
.st-header::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--header-h) + 18px);
  background: linear-gradient(to bottom, rgba(8,13,28,.72), rgba(8,13,28,0));
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
body.is-scrolled .st-header::before { opacity: 0; }

.st-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: var(--wrap);
  min-height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* état « page défilée » : passage sur fond crème */
body.is-scrolled .st-header {
  background: rgba(251,246,236,.94);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
          backdrop-filter: blur(10px) saturate(1.1);
  color: var(--st-ink);
  box-shadow: 0 1px 0 var(--st-cream-line), 0 10px 30px -22px rgba(30,36,54,.5);
}
/* en-tete creme : la marque telle qu elle est dessinee, corps en encre */
body.is-scrolled .st-header .st-logo__mark {
  color: var(--st-ink);
  --st-logo-s: var(--st-cream);
}
body.is-scrolled .st-header .st-logo__text-2 { color: var(--st-cobalt); }

/* --- logo --- */
.st-logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-right: auto;
  padding: .35rem 0;
}
.st-logo__mark {
  /* le dessin fait 4 pour 5 : a 18 px de large il en fait 22,5 de haut,
     ce qui le cale sur la hauteur du nom a cote. */
  width: 18px;
  height: auto;
  /* en-tete sur le bandeau cobalt : corps creme, S cobalt */
  color: var(--st-cream);
  --st-logo-s: var(--st-cobalt);
  transition: transform .45s var(--ease), color .4s var(--ease);
}
.st-logo:hover .st-logo__mark { transform: rotate(-8deg) scale(1.06); }

/* GeneratePress pose une regle a:hover, a:focus, a:active { color: var(--contrast) },
   soit un gris presque noir, qui s appliquait au lien du logo et noircissait
   « Salam » au survol. On fixe donc explicitement la couleur du logo dans ses
   deux etats, avec une specificite superieure a celle du parent : pas besoin
   de !important. */
.st-header .st-logo,
.st-header .st-logo:link,
.st-header .st-logo:visited { color: var(--st-cream); }
.st-header .st-logo:hover,
.st-header .st-logo:focus,
.st-header .st-logo:focus-visible,
.st-header .st-logo:active { color: var(--st-gold-light); }
.st-header .st-logo:hover .st-logo__text-2,
.st-header .st-logo:focus .st-logo__text-2,
.st-header .st-logo:active .st-logo__text-2 { color: var(--st-teal-light); }

/* Sur l en-tete creme, le logo reste cobalt, au repos comme au survol. */
body.is-scrolled .st-header .st-logo,
body.is-scrolled .st-header .st-logo:link,
body.is-scrolled .st-header .st-logo:visited,
body.is-scrolled .st-header .st-logo:hover,
body.is-scrolled .st-header .st-logo:focus,
body.is-scrolled .st-header .st-logo:focus-visible,
body.is-scrolled .st-header .st-logo:active { color: var(--st-cobalt); }
body.is-scrolled .st-header .st-logo:hover .st-logo__text-2,
body.is-scrolled .st-header .st-logo:focus .st-logo__text-2,
body.is-scrolled .st-header .st-logo:active .st-logo__text-2 { color: var(--st-cobalt); }
.st-logo__text {
  font-family: 'Literata', serif;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
  white-space: nowrap;
}
.st-logo__text-2 { color: var(--st-teal-light); transition: color .4s var(--ease); }

/* --- actions --- */
.st-header__actions {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.st-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color .25s var(--ease);
}
.st-iconbtn:hover { background: rgba(111,212,206,.16); }
.st-iconbtn svg { width: 21px; height: 21px; }

/* --- hamburger --- */
.st-burger__box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4.5px;
  width: 22px;
}
.st-burger__box span {
  display: block;
  height: 1.8px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.st-burger__box span:nth-child(2) { width: 70%; }
body.is-menu-open .st-burger__box span:nth-child(1) { transform: translateY(6.3px) rotate(45deg); }
body.is-menu-open .st-burger__box span:nth-child(2) { opacity: 0; }
body.is-menu-open .st-burger__box span:nth-child(3) { transform: translateY(-6.3px) rotate(-45deg); }

/* --- navigation : panneau plein écran sur mobile --- */
.st-nav {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  background: var(--st-cobalt);
  color: var(--st-cream);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-14px);
  /* visibility bascule d un coup a l ouverture, et seulement apres le fondu a la fermeture */
  transition: opacity .4s var(--ease), transform .45s var(--ease), visibility 0s .4s;
}
.st-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--st-teal-light);
  -webkit-mask-image: url('motifs/girih-etoile.svg');
          mask-image: url('motifs/girih-etoile.svg');
  -webkit-mask-size: 132px 132px;
          mask-size: 132px 132px;
  opacity: .12;
  pointer-events: none;
}
body.is-menu-open .st-nav {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .4s var(--ease), transform .45s var(--ease), visibility 0s 0s;
}
.st-nav__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.st-nav__list a {
  display: block;
  padding: .55rem 0;
  font-family: 'Literata', serif;
  font-size: clamp(1.6rem, 7vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--st-cream);
  transition: color .25s var(--ease), transform .3s var(--ease);
}
.st-nav__list a:hover { color: var(--st-teal-light); transform: translateX(6px); }
.st-nav__note {
  position: relative;
  margin: 2.25rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(111,212,206,.3);
  font-size: .875rem;
  color: rgba(251,246,236,.72);
}

/* ============================ 6. HERO ================================== */

.st-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 92svh;
  padding: calc(var(--header-h) + 1.25rem) 0 2.5rem;
  background: var(--st-cobalt-deep);
  color: var(--st-cream);
  /* scene sombre : l anneau de focus passe au dore, sinon il serait cobalt
     sur cobalt, c est-a-dire invisible. */
  --focus: var(--st-gold-light);
  --focus-halo: rgba(111,212,206,.4);
}
/* L en-tete est pose sur le hero tant que la page n a pas defile, et le
   panneau de menu est sombre lui aussi : meme traitement. */
body:not(.is-scrolled) .st-header,
body.is-menu-open .st-header {
  --focus: var(--st-gold-light);
  --focus-halo: rgba(111,212,206,.4);
}
/* Deux colonnes : le texte d un cote, la photo de l autre. Le texte n est
   jamais pose sur l image, donc plus besoin de voile d assombrissement. */
.st-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.6rem;
  align-items: center;
}
.st-hero__media { order: -1; }

/* motif qui dérive lentement */
.st-hero__motif {
  position: absolute;
  inset: -10% -10% auto;
  height: 120%;
  z-index: 0;
  background-color: var(--st-teal-light);
  -webkit-mask-image: url('motifs/sebeke.svg');
          mask-image: url('motifs/sebeke.svg');
  -webkit-mask-size: 150px 150px;
          mask-size: 150px 150px;
  opacity: .022;
  animation: st-drift 90s linear infinite;
}
@keyframes st-drift {
  from { -webkit-mask-position: 0 0; mask-position: 0 0; }
  to   { -webkit-mask-position: 252px 252px; mask-position: 252px 252px; }
}

/* halo turquoise derrière le dôme */
.st-hero__glow {
  position: absolute;
  top: -12%;
  left: 50%;
  translate: -50% 0;
  width: min(760px, 125vw);
  aspect-ratio: 1;
  z-index: 0;
  background: radial-gradient(circle, rgba(30,138,143,.26), rgba(22,50,122,.16) 45%, transparent 70%);
}

/* arche + photos, dans sa propre colonne. La largeur est calibree pour que
   les deux boutons restent au-dessus de la ligne de flottaison sur un ecran
   de 812 px de haut, points du diaporama compris. */
.st-hero__arch {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;   /* le rapport des photos : elles tiennent entieres */
}
/* liseré doré, légèrement plus grand, derrière la photo */
.st-hero__arch::before {
  content: '';
  position: absolute;
  inset: -7px;
  background: linear-gradient(170deg, var(--st-gold-light), rgba(240,200,120,.25) 55%, transparent 78%);
  -webkit-mask-image: url('arche-mihrab.svg');
          mask-image: url('arche-mihrab.svg');
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}
/* ---- diaporama du hero -------------------------------------------------
   Les photos sont empilees dans un cadre a rapport fixe : rien ne bouge
   pendant le chargement, et le texte du hero ne bouge jamais. Le masque de
   l arche est porte par le conteneur, pas par les images : sinon le leger
   zoom ferait grandir l arche elle-meme. */
.st-hero__media {
  order: -1;
  width: min(258px, 60%);
  margin-inline: auto;
}
/* Ecran court : on resserre, pour que les deux boutons restent visibles
   sans defiler. Mesure sur 360 x 740, le plus petit format courant. */
@media (max-width: 899px) and (max-height: 780px) {
  .st-hero__media { width: min(236px, 58%); }
}
.st-hero__slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: url('arche-mihrab.svg');
          mask-image: url('arche-mihrab.svg');
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}
.st-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--fondu, 900ms) var(--ease);
}
.st-hero__photo.est-active { opacity: 1; }

/* La photo qui part reste au-dessous de celle qui arrive et garde son zoom
   jusqu a la fin du fondu : c est ce qui evite le saut d echelle. */
.st-hero__photo.est-sortante { opacity: 0; z-index: 1; }
.st-hero__photo.est-active { z-index: 2; }

/* Le zoom lent ne s applique que s il y a vraiment un diaporama, et il
   porte sur la photo affichee comme sur la sortante, avec la meme
   animation : elle se poursuit au lieu de redemarrer. */
[data-diapo] .st-hero__photo.est-active,
[data-diapo] .st-hero__photo.est-sortante {
  animation: st-zoomlent var(--zoom, 4900ms) linear forwards;
}
[data-diapo].est-en-pause .st-hero__photo.est-active,
[data-diapo].est-en-pause .st-hero__photo.est-sortante { animation-play-state: paused; }
@keyframes st-zoomlent {
  from { transform: scale(1.004); }
  to   { transform: scale(1.03); }
}

/* Aucun assombrissement : le texte n est plus sur la photo, donc la photo
   se montre entiere, mosquee et ferry compris. */
@supports not ((mask-image: url('x.svg')) or (-webkit-mask-image: url('x.svg'))) {
  .st-hero__slides { border-radius: 48% 48% 4px 4px / 34% 34% 0 0; }
  .st-hero__arch::before { display: none; }
}

.st-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
}
.st-hero__content > * {
  animation: st-rise .62s var(--ease) both;
}
.st-hero__content > :nth-child(1) { animation-delay: .02s; }
.st-hero__content > :nth-child(2) { animation-delay: .07s; }
.st-hero__content > :nth-child(3) { animation-delay: .14s; }
.st-hero__content > :nth-child(4) { animation-delay: .19s; }
.st-hero__content > :nth-child(5) { animation-delay: .24s; }
@keyframes st-rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.st-hero h1 {
  margin: 0 0 1.1rem;
  text-wrap: nowrap;
}
/* le titre est d un seul ton : plus d accent dore */
.st-accent { color: inherit; font-style: normal; }
.st-hero__lede {
  max-width: 44ch;
  margin: 0 0 1.4rem;
  font-size: 1.0625rem;
  color: rgba(251,246,236,.84);
}

.st-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  /* l ecart horizontal loge le separateur, l ecart vertical separe les lignes */
  gap: .4rem 1.2em;
  margin: .25rem 0 1.7rem;
  /* Cle du comportement demande : le separateur est pose A GAUCHE de chaque
     repere, hors de sa boite. Quand un repere passe a la ligne, il arrive
     contre le bord gauche de la liste et son separateur tombe dehors, ou
     overflow:hidden le masque. Resultat : une seule ligne si tout tient,
     sinon un retour a la ligne net, et jamais de « · » en bout de ligne. */
  overflow: hidden;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: rgba(251,246,236,.6);
}
.st-facts li { position: relative; }
.st-facts li + li::before {
  content: '·';
  position: absolute;
  left: -.62em;
  top: 50%;
  translate: 0 -50%;
  letter-spacing: 0;
  color: rgba(251,246,236,.38);
}

.st-scrollcue {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  margin-top: 2rem;
  padding: .4rem .9rem;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(251,246,236,.7);
  transition: color .25s var(--ease);
}
.st-scrollcue:hover { color: var(--st-cream); }
.st-scrollcue svg {
  width: 17px;
  height: 17px;
  animation: st-bob 2.4s ease-in-out infinite;
}
@keyframes st-bob {
  0%, 100% { transform: translateY(0); opacity: .75; }
  50%      { transform: translateY(5px); opacity: 1; }
}

/* ============================ 7. SCÈNES ================================ */

.st-scene {
  position: relative;
  isolation: isolate;
  padding-block: var(--section-pad);
  scroll-margin-top: var(--header-h);
}
.st-scene--cream { background: var(--st-cream); }

/* scene « carnet » : creme sourd, uni. Les cartes portent deja des images,
   un motif derriere elles chargeait la page pour rien. */
.st-scene--pattern { background: var(--st-cream-deep); }

/* scène sombre + arcade de petits dômes sur son bord haut */
.st-scene--cobalt {
  background: var(--st-cobalt);
  color: var(--st-cream);
  --fg: var(--st-cream);
  --fg-soft: rgba(251,246,236,.78);
  --focus: var(--st-gold-light);
  --focus-halo: rgba(111,212,206,.4);
}
/* Transition « Derniers articles » vers « Qui ecrit ce site » : pas d arche
   ici, une frise d arcade doree posee sur le bord haut de la section sombre,
   comme le portique d une cour. Le titre reste dans la colonne de texte.
   Carreau 60 x 46 a l origine : on garde le rapport pour ne rien deformer. */
.st-frise-haut {
  position: absolute;
  inset: 0 0 auto;
  height: 24px;
  background-color: var(--st-gold-light);
  -webkit-mask-image: url('motifs/frise-arcade.svg');
          mask-image: url('motifs/frise-arcade.svg');
  -webkit-mask-size: 31.3px 24px;
          mask-size: 31.3px 24px;
  -webkit-mask-repeat: repeat-x;
          mask-repeat: repeat-x;
  opacity: .72;
  pointer-events: none;
}

/* en-tête de section */
.st-sechead {
  position: relative;
  max-width: none;
  margin-bottom: clamp(2.25rem, 5vw, 3.25rem);
}
.st-sechead > :not(div) { max-width: 56ch; }
.st-sechead h2 { margin-bottom: .55em; }
.st-sechead__intro {
  font-size: 1.0625rem;
  color: var(--fg-soft);
  margin: 0;
}
.st-sechead--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: none;
}
.st-sechead--row h2 { margin-bottom: 0; }
.st-sechead--row .st-arrowlink { padding-block: .5rem .35rem; }

/* Fond de « Commencer ici » : une grande rosace en filigrane derriere le
   titre, posee une seule fois et debordant par le coin, jamais repetee. */
.st-start::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--st-cobalt);
  opacity: .07;
  -webkit-mask-image: url('motifs/rosace.svg');
          mask-image: url('motifs/rosace.svg');
  -webkit-mask-size: clamp(340px, 68vw, 620px);
          mask-size: clamp(340px, 68vw, 620px);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: right -24% top -16%;
          mask-position: right -24% top -16%;
}

/* ====================== 8. COMMENCER ICI ============================== */

/* grande carte 01 */
.st-bigcard {
  display: block;
  margin-bottom: 1rem;
  background: #FFFDF8;
  border: 1px solid var(--st-cream-line);
  border-radius: 20px 20px 4px 4px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.st-bigcard:hover {
  transform: translateY(-4px);
  border-color: var(--st-teal);
  box-shadow: 0 22px 44px -28px rgba(22,50,122,.5);
}
.st-bigcard__media {
  height: 190px;
  overflow: hidden;
}
.st-bigcard__media .st-ph { transition: transform .7s var(--ease); }
.st-bigcard:hover .st-bigcard__media .st-ph,
.st-bigcard:hover .st-photo { transform: scale(1.05); }
.st-bigcard__body { padding: 1.5rem 1.35rem 1.65rem; }
.st-bigcard__body h3 { font-size: 1.4375rem; margin-bottom: .5rem; }
.st-bigcard__body p { color: var(--fg-soft); font-size: .9688rem; margin-bottom: 1.1rem; }

/* cartes 02 → 05 */
.st-cards {
  display: grid;
  gap: 1rem;
}
.st-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #FFFDF8;
  border: 1px solid var(--st-cream-line);
  border-radius: 20px 20px 4px 4px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
/* filet doré sous le numéro, qui s’allonge au survol */
.st-card .st-num::after,
.st-bigcard .st-num::after {
  content: '';
  display: block;
  width: 52px;
  height: 2px;
  margin-top: .6rem;
  background: var(--st-gold);
  /* scaleX plutot que width : une transition sur width forcerait un recalcul
     de mise en page a chaque image, transform reste sur le compositeur */
  transform: scaleX(.5);
  transform-origin: left center;
  transition: transform .45s var(--ease);
}
.st-card:hover .st-num::after,
.st-bigcard:hover .st-num::after { transform: scaleX(1); }
.st-card:hover {
  transform: translateY(-4px);
  border-color: var(--st-teal);
  box-shadow: 0 18px 38px -26px rgba(22,50,122,.5);
}
.st-card__media { height: 126px; overflow: hidden; }
.st-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.4rem 1.5rem;
}
.st-card:hover .st-card__media .st-photo { transform: scale(1.05); }
.st-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.st-card p {
  flex: 1;
  margin-bottom: 1.15rem;
  font-size: .9375rem;
  color: var(--fg-soft);
}

/* ====================== 9. DERNIERS ARTICLES ========================== */

/* article vedette */
.st-feat {
  margin-bottom: 1.25rem;
  background: #FFFDF8;
  border: 1px solid var(--st-cream-line);
  border-radius: 22px 22px 4px 4px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.st-feat:hover {
  transform: translateY(-4px);
  border-color: var(--st-terra);
  box-shadow: 0 24px 48px -30px rgba(22,50,122,.55);
}
.st-feat__media { height: 215px; overflow: hidden; }
.st-feat__media .st-ph { transition: transform .8s var(--ease); }
.st-feat:hover .st-feat__media .st-ph,
.st-feat:hover .st-photo { transform: scale(1.055); }
.st-feat__body { padding: 1.5rem 1.35rem 1.6rem; }
.st-feat__body h3 { font-size: clamp(1.375rem, 4.4vw, 1.875rem); margin-bottom: .5rem; }
.st-feat__body > p { font-size: .9688rem; color: var(--fg-soft); }
.st-feat__body .st-meta { margin-top: 1rem; }

/* grille des 5 autres billets */
.st-posts__grid {
  display: grid;
  gap: 1rem;
}
.st-post {
  height: 100%;
  background: #FFFDF8;
  border: 1px solid var(--st-cream-line);
  border-radius: 18px 18px 4px 4px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.st-post > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 1.25rem;
}
.st-post:hover {
  transform: translateY(-4px);
  border-color: var(--st-teal);
  box-shadow: 0 18px 38px -26px rgba(22,50,122,.5);
}
.st-post__media {
  height: 168px;
  margin-bottom: 1.15rem;
  overflow: hidden;
}
.st-post__media .st-ph { transition: transform .7s var(--ease); }
.st-post:hover .st-post__media .st-ph,
.st-post:hover .st-photo { transform: scale(1.05); }
.st-post .st-chip { margin-inline: 1.25rem; }
.st-post h3 {
  margin: 0 1.25rem .6rem;
  font-size: 1.125rem;
  line-height: 1.26;
}
.st-post .st-meta { margin: auto 1.25rem 0; }

/* ====================== 10. QUI SUIS-JE =============================== */

/* pas d overflow:hidden ici : il rognerait l arche de transition, qui monte
   au-dessus de la section. Fond cobalt uni, sans texture : les lignes d ebru
   faisaient carte topographique. */

.st-about__grid { display: grid; gap: 2.75rem; }

.st-about__portrait {
  position: relative;
  width: min(268px, 72%);
  margin-inline: auto;
  aspect-ratio: 3 / 4;
}
.st-about__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: url('arche-mihrab.svg');
          mask-image: url('arche-mihrab.svg');
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}
/* arche en retrait, décalée : écho du motif */
.st-about__rim {
  position: absolute;
  inset: -9px;
  background: linear-gradient(165deg, var(--st-teal-light), rgba(111,212,206,.28) 52%, rgba(111,212,206,.05) 80%);
  -webkit-mask-image: url('arche-mihrab.svg');
          mask-image: url('arche-mihrab.svg');
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  opacity: .85;
}
@supports not ((mask-image: url('x.svg')) or (-webkit-mask-image: url('x.svg'))) {
  .st-about__photo { border-radius: 48% 48% 4px 4px / 34% 34% 0 0; }
  .st-about__rim { display: none; }
}

.st-about__text h2 { margin-bottom: 1rem; }
.st-about__text p { max-width: 58ch; color: var(--fg-soft); }
.st-about__sign {
  margin: 1.5rem 0 1.6rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--st-gold);
  font-family: 'Literata', serif;
  font-size: 1.1875rem;
  line-height: 1.4;
  color: var(--st-cream) !important;
}

/* ====================== 11. MES OUTILS ================================ */

.st-tools { background: var(--st-cream); }
.st-tools::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(201,139,46,.09), rgba(201,139,46,0) 62%);
}
/* filet d ondes en haut de section. 80 x 30 a l origine : 58,7 x 22 px,
   donc le carreau tombe juste et n est pas coupe */
.st-tools::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 22px;
  background-color: var(--st-teal);
  -webkit-mask-image: url('motifs/frise-ondes.svg');
          mask-image: url('motifs/frise-ondes.svg');
  -webkit-mask-size: 58.7px 22px;
          mask-size: 58.7px 22px;
  -webkit-mask-repeat: repeat-x;
          mask-repeat: repeat-x;
  opacity: .3;
  pointer-events: none;
}
.st-tools__grid { display: grid; gap: 1rem; }
.st-tool {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 1.3rem 1.6rem;
  background: #FFFDF8;
  border: 1px solid var(--st-cream-line);
  border-radius: 18px 18px 4px 4px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.st-tool:hover {
  transform: translateY(-3px);
  border-color: var(--st-gold);
  box-shadow: 0 18px 38px -26px rgba(201,139,46,.6);
}
.st-tool__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  color: var(--st-cobalt);
  background: rgba(30,138,143,.1);
  border-radius: 25px 25px 4px 4px;
}
.st-tool__icon svg { width: 26px; height: 26px; }
.st-tool h3 { margin-bottom: .45rem; }
.st-tool p {
  flex: 1;
  margin-bottom: 1.2rem;
  font-size: .9375rem;
  color: var(--fg-soft);
}
.st-tool .st-btn { align-self: flex-start; }

.st-disclosure {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  max-width: 62ch;
  margin: 1.75rem 0 0;
  padding: 1rem 1.15rem;
  background: rgba(22,50,122,.045);
  border: 1px dashed rgba(22,50,122,.3);
  border-radius: 14px 14px 3px 3px;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--st-ink-soft);
}
.st-disclosure svg {
  flex: none;
  /* 15 px de large, donc 18,75 de haut : la marque reste discrete a cote
     de la seule ligne de texte qu elle accompagne. */
  width: 15px;
  height: auto;
  margin-top: .1rem;
  color: var(--st-ink);
  --st-logo-s: var(--st-cream);
}

/* ====================== 12. NEWSLETTER ================================ */

.st-news {
  overflow: hidden;
  background: linear-gradient(185deg, #163177 0%, #102153 100%) #163177;
}
/* Fond de la newsletter : la silhouette de la vieille ville le long du bord
   bas. Elle est posee UNE SEULE FOIS sur toute la largeur, donc il ne peut
   pas y avoir de raccord visible. Elle est plus foncee que le fond, ce qui
   augmente le contraste du texte au lieu de le reduire, et elle s arrete
   bien en dessous du formulaire. */
.st-news__motif {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #0A1634;
  -webkit-mask-image: url('motifs/silhouette-istanbul.svg');
          mask-image: url('motifs/silhouette-istanbul.svg');
  /* en petit format on garde une hauteur lisible et on recadre : a 100 % de
     la largeur, la ville ne ferait plus que 70 px de haut et les minarets
     tomberaient sous le pixel. */
  -webkit-mask-size: auto 112px;
          mask-size: auto 112px;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: bottom center;
          mask-position: bottom center;
  opacity: .62;
}
.st-news__grid { display: grid; gap: 2.5rem; }

/* fausse couverture du PDF, dans une arche */
.st-news__cover {
  display: flex;
  justify-content: center;
  /* C est le parent qui porte la largeur : le retrait haut de la
     couverture est en pourcentage, et un pourcentage de padding se calcule
     sur la largeur du parent. En les rendant egaux, le retrait vaut
     toujours la meme fraction de la hauteur, quelle que soit la colonne. */
  width: min(300px, 86%);
  margin-inline: auto;
  /* drop-shadow suit la forme de l arche ; un box-shadow serait rogne par le masque */
  filter: drop-shadow(0 26px 34px rgba(8,14,32,.55));
}
.st-news__book {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: .55rem;
  width: 100%;
  aspect-ratio: 3 / 4;
  /* retrait haut exprime en pourcentage de la largeur : il suit la coupole
     quelle que soit la taille de la couverture, donc le texte ne vient
     jamais buter sur le lisere. */
  /* Le retrait haut reserve la place de la photo. Il est exprime en
     pourcentage de la largeur, donc il suit la taille de la couverture.
     Sur petit ecran les textes font la meme taille dans une arche plus
     petite : il faut leur laisser plus de place, d ou une valeur plus
     basse ici, relevee a partir de 900 px. */
  padding: 63% 1.4rem 1.7rem;
  text-align: center;
  color: var(--st-cream);
  background:
    radial-gradient(118% 62% at 50% 6%, rgba(240,200,120,.26), transparent 58%),
    linear-gradient(168deg, #22479C 0%, #16327A 52%, #101F55 100%);
  -webkit-mask-image: url('arche-mihrab.svg');
          mask-image: url('arche-mihrab.svg');
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}

/* La photo de la couverture : un medaillon de calligraphie, deja recadre
   en 3/4 et centre. Elle remplit l arche et c est le voile ci-dessous qui
   la rend au texte. Le fond cobalt de .st-news__book reste dessous : si la
   photo ne se charge pas, la couverture garde son aspect. */
.st-news__book > .st-news__book-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* calee sur le haut : le medaillon occupe le tiers superieur de la
     photo, c est la partie qui doit rester hors du voile. */
  object-position: 50% 0;
}

/* Voile cobalt, transparent sous le medaillon puis opaque jusqu en bas.
   C est lui qui tient le contraste du texte : mesure au pixel, pas au juge. */
.st-news__book::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
    rgba(16,31,85,0) 38%,
    rgba(17,34,92,.62) 45%,
    rgba(18,38,100,.93) 51%,
    rgba(19,41,105,.98) 60%,
    #16327A 68%,
    #101F55 100%);
  pointer-events: none;
}

/* fin filet dore, trace a l interieur de la couverture et suivant
   exactement la forme de l arche. Le rapport de la couverture (3/4) est
   celui du dessin, donc le trait garde une epaisseur constante. */
.st-news__book::before {
  content: '';
  position: absolute;
  inset: 14px;
  z-index: 3;  /* au-dessus du voile */
  background: var(--st-gold-light);
  opacity: .6;
  -webkit-mask-image: url('arche-filet.svg');
          mask-image: url('arche-filet.svg');
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  pointer-events: none;
}
.st-news__book > * { position: relative; z-index: 2; }

.st-news__book-eyebrow {
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--st-gold-light);
}
.st-news__book-title {
  font-family: 'Literata', serif;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.st-news__book-sub {
  max-width: 22ch;
  font-size: .8125rem;
  line-height: 1.45;
  letter-spacing: .01em;
  color: rgba(251,246,236,.74);
}
.st-news__book-title::after {
  content: '';
  display: block;
  width: 46px;
  height: 1.5px;
  margin: .8rem auto .1rem;
  background: var(--st-gold-light);
  opacity: .8;
}
/* Le logo signe la couverture, tout en bas : c est lui qui remplace le
   nom du site qui s y trouvait avant. */
.st-news__book-logo {
  width: 32px;
  height: auto;
  margin-top: auto;
  /* sur la couverture cobalt : corps or, S cobalt. L or reprend celui du
     sur-titre et du filet, et le corps se detache du fond. */
  color: var(--st-gold-light);
  --st-logo-filet: var(--st-cobalt);
  --st-logo-s: var(--st-cobalt);
}

.st-news__text h2 { margin-bottom: .7em; }
.st-news__text > p { color: var(--fg-soft); max-width: 52ch; }

/* --- formulaire --- */
.st-form {
  display: grid;
  gap: .9rem;
  max-width: 480px;
  margin-top: 1.75rem;
}
.st-field { display: grid; gap: .35rem; }
.st-field label {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--st-teal-light);
}
.st-field input {
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
  color: var(--st-ink);
  background: var(--st-cream);
  border: 1.5px solid transparent;
  border-radius: 12px 12px 3px 3px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.st-field input::placeholder { color: #8A8F9C; }
.st-field input:hover { border-color: var(--st-teal); }
.st-form__submit { margin-top: .35rem; }
/* Piege a robots : hors de l ecran plutot que display:none, pour qu un
   robot le remplisse quand meme. Hors du parcours clavier, et masque aux
   lecteurs d ecran par aria-hidden sur son conteneur. */
.st-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Reponse de l inscription, annoncee par aria-live. */
.st-form__etat:empty { display: none; }
.st-form__etat {
  margin: 1rem 0 0;
  padding: .7rem .95rem;
  border-radius: 12px 12px 3px 3px;
  background: rgba(240,200,120,.14);
  border: 1px solid rgba(240,200,120,.45);
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--st-cream);
}
/* Le meme encart, en vert d eau, quand l inscription a reussi sur place
   (c est a dire quand aucune page de remerciement n est reglee). */
.st-form__etat.est-reussi {
  background: rgba(111,212,206,.14);
  border-color: rgba(111,212,206,.45);
}
.st-form__etat:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.st-form__submit[disabled] { opacity: .65; cursor: progress; }
.st-form__note {
  margin-top: .9rem;
  font-size: .8125rem;
  color: rgba(251,246,236,.7);
}

/* ====================== 13. PIED DE PAGE ============================== */

.st-footer {
  position: relative;
  padding-top: clamp(2.75rem, 7vw, 4rem);
  background: var(--st-cobalt-deep);
  color: rgba(251,246,236,.82);
  font-size: .9375rem;
}
.st-footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  /* 120 x 44 a l origine : la bande fait exactement 34 px de haut et
     92,7 px de large, donc le carreau n est jamais tranche */
  height: 34px;
  background-color: var(--st-gold);
  -webkit-mask-image: url('motifs/frise-tulipes.svg');
          mask-image: url('motifs/frise-tulipes.svg');
  -webkit-mask-size: 92.7px 34px;
          mask-size: 92.7px 34px;
  -webkit-mask-repeat: repeat-x;
          mask-repeat: repeat-x;
  opacity: .34;
}
.st-footer a { transition: color .25s var(--ease); }
.st-footer a:hover { color: var(--st-teal-light); }
.st-footer :focus-visible { outline-color: var(--st-gold-light); }

.st-footer__grid {
  display: grid;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
}
.st-logo--footer { margin-right: 0; margin-bottom: .9rem; }
.st-logo--footer .st-logo__mark {
  color: var(--st-cream);
  --st-logo-s: var(--st-cobalt-deep);
}
.st-logo--footer .st-logo__text { color: var(--st-cream); font-size: 1.25rem; }
.st-footer__brand p { max-width: 42ch; font-size: .9063rem; color: rgba(251,246,236,.66); }

.st-footer__title {
  margin: 0 0 .9rem;
  font-family: 'Karla', sans-serif;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--st-teal-light);
}
.st-footer__links ul { display: grid; gap: .1rem; }
.st-footer__links a {
  display: inline-block;
  padding: .45rem 0;
}

.st-footer__social ul {
  display: flex;
  gap: .35rem;
  margin-bottom: .9rem;
}
.st-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--st-cream);
  border: 1px solid rgba(251,246,236,.22);
  border-radius: 22px 22px 4px 4px;
  transition: background-color .28s var(--ease), border-color .28s var(--ease),
              color .28s var(--ease), transform .28s var(--ease);
}
.st-footer__social a:hover {
  color: var(--st-cobalt-deep);
  background: var(--st-teal-light);
  border-color: var(--st-teal-light);
  transform: translateY(-2px);
}
.st-footer__social svg { width: 20px; height: 20px; }
.st-footer__socialnote { font-size: .8438rem; color: rgba(251,246,236,.6); }

.st-footer__bottom {
  padding-block: 1.1rem;
  border-top: 1px solid rgba(251,246,236,.12);
}
.st-footer__bottom p {
  margin: 0;
  font-size: .8125rem;
  color: rgba(251,246,236,.6);
}

/* ============================ 14. PALIERS ==============================
   640 px → deux colonnes ; 900 px → tablette large ; 1200 px → desktop
   ===================================================================== */

@media (min-width: 640px) {
  :root { --gutter: 1.75rem; }

  .st-cta-row {
    flex-direction: row;
    justify-content: flex-start;
    max-width: none;
  }
  .st-cards { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
  /* un nombre impair de guides laisserait une case vide : la derniere carte
     prend alors toute la largeur. */
  .st-cards:has(> :nth-child(3):last-child) > :last-child,
  .st-cards:has(> :nth-child(5):last-child) > :last-child { grid-column: span 2; }
  .st-tools__grid { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
  .st-posts__grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .st-bigcard__media { height: 240px; }
  .st-feat__media { height: 300px; }
  .st-about__portrait { width: min(330px, 60%); }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; --gutter: 2rem; }

  .st-nav {
    position: static;
    inset: auto;
    z-index: auto;
    color: inherit;
    flex-direction: row;
    align-items: center;
    padding: 0;
    margin-inline: auto;
    background: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .st-nav::before, .st-nav__note { display: none; }
  .st-nav__list { flex-direction: row; gap: 1.5rem; }
  .st-nav__list a {
    position: relative;
    padding: .3rem 0;
    font-family: 'Karla', sans-serif;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .005em;
    color: inherit;
  }
  .st-nav__list a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1.5px;
    background: var(--st-teal);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s var(--ease);
  }
  .st-nav__list a:hover { color: inherit; transform: none; }
  .st-nav__list a:hover::after { transform: scaleX(1); }
  .st-burger { display: none; }
  .st-logo__text { font-size: 1.3125rem; }
  .st-logo__mark { width: 21px; }

  /* hero : texte a gauche, photo a droite */
  .st-hero__grid {
    grid-template-columns: 1.08fr .92fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
  .st-hero__media { order: 0; width: 100%; max-width: 420px; }
  .st-hero__lede { font-size: 1.125rem; }

  /* commencer ici : carte 01 en bandeau horizontal */
  .st-bigcard {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
    margin-bottom: 1.25rem;
  }
  .st-bigcard__media { height: auto; min-height: 320px; }
  .st-bigcard__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.75rem 2.5rem;
  }
  .st-bigcard__body h3 { font-size: 1.75rem; }
  .st-bigcard__body p { font-size: 1rem; max-width: 36ch; }
  /* Six colonnes pour que la grille s adapte au nombre de guides sans
     jamais laisser de trou : trois cartes font 2 colonnes chacune, quatre
     en font 3, et ainsi de suite. */
  .st-cards { grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
  .st-cards > * { grid-column: span 2; }
  .st-cards > :first-child:last-child { grid-column: span 6; }
  .st-cards:has(> :nth-child(2):last-child) > *,
  .st-cards:has(> :nth-child(4):last-child) > * { grid-column: span 3; }
  .st-cards:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; }
  /* l image occupe toute la largeur de la carte : le retrait vient du
     corps de texte, plus de la carte elle-meme. */
  .st-card__media { height: 148px; }
  .st-card__body { padding: 1.5rem 1.4rem 1.7rem; }

  /* article vedette en deux colonnes */
  .st-feat__link {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
  }
  .st-feat__media { height: auto; min-height: 360px; }
  .st-feat__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.75rem 2.5rem;
  }
  .st-feat__body > p { max-width: 42ch; }

  /* 5 billets : 3 + 2, sans case vide.
     Le découpage en 6 colonnes permet d'adapter la dernière ligne au
     nombre réel d'articles : utile en phase 2 avec 1 à 5 articles. */
  .st-posts__grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem 1.25rem;
  }
  .st-posts__grid > * { grid-column: span 2; }
  /* exactement 1 article → pleine largeur */
  .st-posts__grid > :first-child:last-child { grid-column: span 6; }
  /* exactement 2 ou 4 articles → deux par ligne */
  .st-posts__grid:has(> :nth-child(2)):not(:has(> :nth-child(3))) > *,
  .st-posts__grid:has(> :nth-child(4)):not(:has(> :nth-child(5))) > * { grid-column: span 3; }
  /* 5 articles → les deux derniers prennent toute la 2ᵉ ligne */
  .st-posts__grid:has(> :nth-child(5)):not(:has(> :nth-child(6))) > :nth-child(n+4) { grid-column: span 3; }

  /* qui suis-je : portrait et texte côte à côte */
  .st-about__grid {
    grid-template-columns: minmax(210px, 300px) 1fr;
    align-items: center;
    gap: clamp(2.5rem, 6vw, 4.5rem);
  }
  .st-about__portrait { width: 100%; margin: 0; }
  .st-about__text h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); }

  /* outils : quatre de front */
  .st-tools__grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }


  /* newsletter : couverture + formulaire */
  .st-news__grid {
    grid-template-columns: minmax(200px, .72fr) 1.28fr;
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5rem);
  }

  /* bornee : au-dela, le texte de la couverture se detache trop du titre */
  .st-news__cover { width: 100%; max-width: 330px; }
  .st-news__book { padding: 63% 1.5rem 1.6rem; }
  /* la ville tient entiere : sa hauteur suit la largeur de l ecran */
  .st-news__motif {
    -webkit-mask-size: 100% auto;
            mask-size: 100% auto;
  }
  .st-news__book-title { font-size: 1.55rem; }
  .st-form { grid-template-columns: 1fr 1fr; align-items: end; }
  .st-form__submit { grid-column: 1 / -1; justify-self: start; }

  /* pied de page */
  .st-footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
  }
}

@media (min-width: 1200px) {
  :root { --section-pad: 8rem; }

  .st-hero__lede { font-size: 1.1875rem; }
  .st-facts { font-size: .75rem; }
  .st-bigcard__body { padding: 3.25rem 3rem; }
  .st-feat__body { padding: 3.25rem 3rem; }
  .st-news__book-title { font-size: 1.7rem; }
  .st-form { max-width: 520px; }
}


/* Les trois lignes du H1 sont voulues a toutes les tailles : le titre est
   compose pour tenir dans l arche, mobile compris. */

/* ============================ 15. MOUVEMENT RÉDUIT ====================
   Respecte le réglage système « réduire les animations ».
   ===================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .st-reveal { opacity: 1 !important; transform: none !important; }
  .st-hero__motif { animation: none; }
  .st-scrollcue svg { animation: none; }
  /* La regle generale ci-dessus raccourcit les animations au lieu de les
     annuler : la photo du bandeau sautait donc d emblee a son echelle de
     fin, agrandie de 3 %. Ici on l annule vraiment, et on remet le
     transform a zero : la photo s affiche a sa taille, immobile. */
  [data-diapo] .st-hero__photo.est-active,
  [data-diapo] .st-hero__photo.est-sortante {
    animation: none !important;
    transform: none !important;
  }
}


/* ==========================================================================
   16. PARTICULARITES WORDPRESS
   Tout ce qui precede vient de la maquette, sans retouche. Ce qui suit
   n existe que parce que la page est desormais produite par WordPress.
   ========================================================================== */

/* La barre d administration est fixe elle aussi : on descend l en-tete
   d autant, sinon elle lui passe dessus. */
.admin-bar .st-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .st-header { top: 46px; }
}

/* Le titre du bandeau est desormais saisi dans le personnalisateur. On
   laisse donc les lignes revenir si elles deviennent trop longues, plutot
   que de les laisser deborder hors de l ecran. */
.st-hero h1 { text-wrap: pretty; }

/* Teinte supplementaire pour la categorie « ou dormir ». */
.st-bloc--sable { background: #F3EBD9; }
.st-bloc--sable svg { stroke: var(--st-gold-ink); }

/* Images servies par WordPress : elles arrivent avec leurs propres classes
   et un srcset. Le cadrage reste celui de la maquette. */
.st-photo,
.st-card__media img,
.st-post__media img,
.st-feat__media img,
.st-bigcard__media img,
.st-about__photo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* Le menu de WordPress ajoute ses propres classes aux <li>. La mise en
   forme s appuie sur les liens, donc rien a reprendre, sauf la puce. */
.st-nav__list,
.st-footer__links ul { list-style: none; margin: 0; padding: 0; }

/* Nombre d articles : la grille est annoncee par une classe posee par PHP,
   ce qui evite de dependre de :has(). Les regles :has() de la maquette
   restent en place, les deux disent la meme chose. */
@media (min-width: 640px) {
  .st-posts__grid--k1 > *,
  .st-posts__grid--k3 > :last-child,
  .st-posts__grid--k5 > :last-child { grid-column: span 2; }
}
@media (min-width: 900px) {
  .st-posts__grid--k1 > * { grid-column: span 6; }
  .st-posts__grid--k2 > *,
  .st-posts__grid--k4 > * { grid-column: span 3; }
  .st-posts__grid--k3 > * { grid-column: span 2; }
  .st-posts__grid--k5 > * { grid-column: span 2; }
  .st-posts__grid--k5 > :nth-child(n+4) { grid-column: span 3; }
}

/* Un seul article en tout : la carte vedette occupe toute la largeur et il
   n y a pas de grille en dessous. Rien a faire, mais on garde la regle
   pour memoire si la section venait a etre reprise. */
.st-posts__grid:empty { display: none; }

/* Le bloc newsletter pose dans un article avec [salam_newsletter] : il
   reste dans la colonne de texte, avec moins de respiration verticale
   qu en pleine page, et des angles repris de l arche. */
.entry-content .st-news {
  margin-top: 2.75rem;
  padding-block: clamp(2.25rem, 6vw, 3.5rem);
  border-radius: 20px 20px 4px 4px;
}
.entry-content .st-news .st-wrap { padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
/* dans une colonne d article, les deux colonnes du bloc seraient a
   l etroit : on empile la couverture et le texte quelle que soit la
   largeur de l ecran. */
.entry-content .st-news__grid { grid-template-columns: 1fr; gap: 2rem; }
/* La largeur vit sur .st-news__cover : c est elle qui sert de reference au
   retrait haut de la couverture, exprime en pourcentage. A 220 px, la
   couverture etait trop etroite pour son texte : la boite s allongeait et
   le masque etirait l arche de 78 px. */
.entry-content .st-news__cover { width: min(330px, 100%); max-width: none; }
.entry-content .st-form { grid-template-columns: 1fr; }
.entry-content .st-news h2,
.entry-content .st-news h3 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); }

/* Le contenu des articles garde ses listes et ses liens soulignes : la
   remise a zero du haut de cette feuille vise la page d accueil, pas le
   texte que WordPress publie. */
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.5em;
  padding-left: 1.4em;
  list-style: revert;
}
.entry-content li { margin-bottom: .4em; }
.entry-content a { text-decoration: underline; text-underline-offset: .18em; }
.entry-content .st-news a,
.entry-content .st-btn { text-decoration: none; }

/* Le logo pose en fin d article : un tampon, pas un titre. Il ne doit pas
   peser plus que la derniere phrase. */
.st-tampon {
  display: flex;
  justify-content: center;
  margin: 3rem 0 .5rem;
}
.st-tampon__marque {
  /* 34 px de large, donc 42,5 de haut : un tampon, pas un titre. */
  width: 34px;
  height: auto;
  color: var(--st-cobalt);
  --st-logo-filet: var(--st-gold);
  --st-logo-s: var(--st-cream);
  opacity: .34;
}


/* ==========================================================================
   17. PAGE DE REMERCIEMENT
   Elle reprend les briques de l accueil : la scene cobalt, la couverture
   du guide dans son arche, les cartes d articles. Ce qui suit ne sert
   qu a elle.
   ========================================================================== */

/* L en-tete est fixe et translucide en haut de page : on laisse la place
   dessous, comme le bandeau de l accueil le fait. */
.st-merci { padding-top: clamp(6.5rem, 14vw, 9rem); }

.st-merci__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .st-merci__grid { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
}

.st-merci__text h1 {
  font-size: clamp(2rem, 5.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: .55em;
  /* un prenom long ne doit pas casser la ligne n importe ou */
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
.st-merci__lede {
  max-width: 54ch;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: rgba(251,246,236,.84);
}

/* --- l encadre des deux conseils --- */
.st-tips {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding: clamp(1.1rem, 3vw, 1.5rem) clamp(1.1rem, 3vw, 1.6rem);
  border-radius: 18px 18px 4px 4px;
  background: var(--st-cream);
  color: var(--st-ink);
  box-shadow: 0 18px 30px rgba(8,14,32,.3);
}
.st-tips__title {
  margin: 0 0 .75rem;
  font-family: 'Literata', serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--st-cobalt);
}
.st-tips__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.st-tips__list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: .7rem;
  align-items: start;
  font-size: .9375rem;
  line-height: 1.55;
}
.st-tips__icon svg {
  width: 22px;
  height: 22px;
  margin-top: .1rem;
  fill: none;
  stroke: var(--st-teal);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- les trois articles --- */
.st-merci__suite { padding-block: clamp(3rem, 7vw, 5rem); }
.st-merci__suite .st-sechead { margin-bottom: clamp(1.5rem, 4vw, 2.25rem); }

/* --- le partage --- */
.st-share { padding-block: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--st-cream-deep); }
.st-share__inner { text-align: center; }
.st-share__inner h2 {
  font-size: clamp(1.4rem, 3.6vw, 2rem);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.st-share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}
.st-share__actions .st-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.st-share__actions .st-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* .st-btn--ghost est dessine pour les fonds sombres : creme sur cobalt.
   Ici le fond est creme, donc on inverse, et seulement dans cette
   section, pour ne pas toucher au bouton du bandeau d accueil. */
.st-share .st-btn--ghost {
  background: transparent;
  color: var(--st-cobalt);
  border-color: var(--st-cobalt);
}
.st-share .st-btn--ghost:hover,
.st-share .st-btn--ghost:focus-visible {
  background: var(--st-cobalt);
  color: var(--st-cream);
  border-color: var(--st-cobalt);
}
.st-share .st-btn--ghost.est-copie { border-color: var(--st-teal); color: var(--st-teal-ink); }

.st-share__etat:empty { display: none; }
.st-share__etat {
  margin: .9rem auto 0;
  max-width: 44ch;
  font-size: .9375rem;
  color: var(--st-teal-ink);
}

.st-share__social { margin-top: clamp(1.75rem, 4vw, 2.5rem); }
.st-share__socialtitle {
  margin: 0 0 .7rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.st-share__social ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .5rem;
  justify-content: center;
}
.st-share__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px 14px 4px 4px;
  border: 1px solid var(--st-cream-deep);
  color: var(--st-cobalt);
}
.st-share__social a:hover,
.st-share__social a:focus-visible { background: var(--st-cobalt); color: var(--st-cream); border-color: var(--st-cobalt); }
.st-share__social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- la formule de fin --- */
.st-baraka { padding-block: clamp(2.75rem, 7vw, 4.5rem); }
.st-baraka__inner { text-align: center; }
.st-baraka__ar {
  margin: 0 0 .35rem;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.6;
  color: var(--st-gold-light);
  opacity: .72;
}
.st-baraka__fr {
  margin: 0;
  font-family: 'Literata', serif;
  font-size: clamp(1.125rem, 2.6vw, 1.4rem);
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--st-cream);
}
.st-baraka__retour {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.6rem;
  font-weight: 600;
  color: var(--st-teal-light);
}
.st-baraka__retour svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.st-baraka__retour:hover svg,
.st-baraka__retour:focus-visible svg { transform: translateX(4px); }
.st-baraka__retour:hover,
.st-baraka__retour:focus-visible { color: var(--st-cream); }


/* ============================ LOT 3 (29/11/2026) : ARTICLES, RUBRIQUES, PAGES ============================ */

/* bandeau bleu nuit en haut des pages interieures */
.st-arthead{position:relative;isolation:isolate;overflow:hidden;background:var(--st-cobalt-deep);color:var(--st-cream);padding:calc(var(--header-h) + clamp(2.5rem,6vw,4.5rem)) 0 clamp(2.75rem,6vw,4.75rem)}
.st-arthead::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(60% 80% at 85% 15%,rgba(30,63,143,.6),transparent 70%),radial-gradient(45% 60% at 5% 100%,rgba(30,138,143,.2),transparent 70%)}
.st-arthead__grid{display:grid;gap:2.5rem;align-items:center}
@media (min-width:900px){.st-arthead--media .st-arthead__grid{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:4rem}}
.st-arthead__text{max-width:46rem}
.st-arthead__title{margin:.7rem 0 1rem;font-family:'Literata',Georgia,serif;font-weight:500;font-size:clamp(2rem,4.6vw,3.25rem);line-height:1.12;letter-spacing:-.01em;color:#fff;text-wrap:balance}
.st-arthead__lede{margin:0 0 1.25rem;max-width:38em;font-size:1.125rem;line-height:1.6;color:rgba(251,246,236,.82)}
.st-arthead .st-meta{color:rgba(251,246,236,.7)}
.st-arthead .st-meta a{color:var(--st-gold-light);text-decoration:none}
.st-arthead .st-meta a:hover{text-decoration:underline}
.st-arthead .st-meta__sep{margin-inline:.5em}
.st-arthead a.st-chip{text-decoration:none}
.st-arthead__media{justify-self:center;width:min(100%,360px)}
.st-arthead__media img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:50% 50% 6px 6px / 32% 32% 6px 6px;box-shadow:0 0 0 3px var(--st-gold),0 30px 60px -20px rgba(0,0,0,.65)}

/* fil d'Ariane */
.st-fil{margin-bottom:1.1rem;font-size:.8125rem;color:rgba(251,246,236,.6)}
.st-fil p{margin:0}
.st-fil a{color:rgba(251,246,236,.85);text-decoration:none}
.st-fil a:hover{color:#fff;text-decoration:underline}
.st-fil .separator,.st-fil__sep{margin-inline:.45em;opacity:.6}

/* corps de l'article */
.st-article__corps{background:var(--st-cream);padding-block:clamp(2.5rem,6vw,4.5rem)}
.st-article__grid{display:grid;gap:2rem;justify-content:center;grid-template-columns:minmax(0,720px)}
@media (min-width:1024px){.st-article__grid--toc{grid-template-columns:240px minmax(0,720px);gap:3.5rem;align-items:start}}
.st-article__col{min-width:0}

/* sommaire */
.st-sommaire{font-size:.9rem}
@media (min-width:1024px){.st-sommaire{position:sticky;top:calc(var(--header-h) + 1.5rem)}}
.st-sommaire details{padding:1rem 1.15rem;background:#FFFDF8;border:1px solid var(--st-cream-line);border-radius:12px}
.st-sommaire summary{cursor:pointer;list-style:none;font-size:.72rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--st-teal-ink)}
.st-sommaire summary::-webkit-details-marker{display:none}
.st-sommaire ol{margin:.75rem 0 0;padding:0;list-style:none}
.st-sommaire li{margin:0;padding:.4rem 0;border-top:1px solid var(--st-cream-line);line-height:1.35}
.st-sommaire li:first-child{border-top:0}
.st-sommaire .st-sommaire__n3{padding-left:.9rem;font-size:.85rem}
.st-sommaire a{color:var(--st-ink-soft);text-decoration:none}
.st-sommaire a:hover{color:var(--st-cobalt)}

/* texte */
.st-prose{font-size:1.125rem;line-height:1.75;color:var(--st-ink)}
.st-prose>*{margin-top:0;margin-bottom:1.25em}
.st-prose h2,.st-prose h3,.st-prose h4{font-family:'Literata',Georgia,serif;font-weight:500;line-height:1.25;color:var(--st-ink);scroll-margin-top:calc(var(--header-h) + 1.5rem)}
.st-prose h2{margin:2.2em 0 .7em;font-size:clamp(1.6rem,3vw,2rem)}
.st-prose h2::before{content:"";display:block;width:2.5rem;height:2px;margin-bottom:.8rem;background:var(--st-gold)}
.st-prose h3{margin:1.8em 0 .5em;font-size:1.35rem}
.st-prose>h2:first-child{margin-top:0}
.st-prose a{color:var(--st-cobalt);text-decoration:underline;text-decoration-color:rgba(22,50,122,.35);text-underline-offset:.2em}
.st-prose a:hover{text-decoration-color:currentColor}
.st-prose ul,.st-prose ol{padding-left:1.3em}
.st-prose li{margin-bottom:.4em}
.st-prose li::marker{color:var(--st-gold-ink)}
.st-prose img{max-width:100%;height:auto;border-radius:12px}
.st-prose figure{margin:2em 0}
.st-prose figcaption{margin-top:.6em;font-size:.85rem;text-align:center;color:var(--st-ink-soft)}
.st-prose blockquote{margin:2em 0;padding:.2em 0 .2em 1.25em;border-left:3px solid var(--st-gold);font-family:'Literata',Georgia,serif;font-size:1.25rem;font-style:italic}
.st-prose hr{height:1px;margin:2.5em 0;border:0;background:var(--st-cream-line)}
.st-prose .wp-block-table{overflow-x:auto}
.st-prose table{width:100%;border-collapse:collapse;font-size:1rem;background:#FFFDF8}
.st-prose th,.st-prose td{padding:.7em .9em;border-bottom:1px solid var(--st-cream-line);text-align:left}
.st-prose thead th{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--st-ink-soft)}
.st-prose .is-style-prix table{border:1px solid var(--st-cream-line)}
.st-prose .is-style-prix thead{background:var(--st-cobalt)}
.st-prose .is-style-prix thead th{color:var(--st-cream)}
.st-prose .is-style-prix td:last-child{font-weight:700;white-space:nowrap;color:var(--st-terra-dark)}

/* encadres (styles de blocs « Groupe » dans l'editeur) */
.st-prose .is-style-bon-a-savoir,.st-prose .is-style-mon-avis,.st-prose .is-style-attention{margin:2em 0;padding:1.25em 1.4em;border:1px solid;border-radius:12px;font-size:1.0625rem}
.st-prose .is-style-bon-a-savoir>:last-child,.st-prose .is-style-mon-avis>:last-child,.st-prose .is-style-attention>:last-child{margin-bottom:0}
.st-prose .is-style-bon-a-savoir::before,.st-prose .is-style-mon-avis::before,.st-prose .is-style-attention::before{display:block;margin-bottom:.5em;font-size:.72rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase}
.st-prose .is-style-bon-a-savoir{background:rgba(30,138,143,.07);border-color:rgba(30,138,143,.3)}
.st-prose .is-style-bon-a-savoir::before{content:"Bon à savoir";color:var(--st-teal-ink)}
.st-prose .is-style-mon-avis{background:rgba(201,139,46,.08);border-color:rgba(201,139,46,.35)}
.st-prose .is-style-mon-avis::before{content:"Mon avis";color:var(--st-gold-ink)}
.st-prose .is-style-attention{background:rgba(184,64,44,.06);border-color:rgba(184,64,44,.3)}
.st-prose .is-style-attention::before{content:"Attention";color:var(--st-terra-dark)}
.st-bientot{padding:1.25em 1.4em;border:1px dashed var(--st-cream-line);border-radius:12px;font-style:italic;color:var(--st-ink-soft)}

/* encadre auteur */
.st-auteur{display:flex;gap:1.25rem;align-items:flex-start;margin-top:3rem;padding:1.5rem;background:#FFFDF8;border:1px solid var(--st-cream-line);border-radius:14px}
.st-auteur__photo{flex:0 0 84px}
.st-auteur__photo img{display:block;width:84px;height:84px;object-fit:cover;border-radius:50%;box-shadow:0 0 0 2px var(--st-gold)}
.st-auteur .st-eyebrow{margin-bottom:.3rem;color:var(--st-teal-ink)}
.st-auteur__nom{margin:0 0 .35rem;font-family:'Literata',Georgia,serif;font-size:1.25rem}
.st-auteur__nom a{color:var(--st-ink);text-decoration:none}
.st-auteur__nom a:hover{color:var(--st-cobalt)}
.st-auteur__bio{margin:0;font-size:.98rem;line-height:1.6;color:var(--st-ink-soft)}

/* listes d'articles, a lire ensuite, rubriques */
.st-suite__titre{margin:0 0 1.75rem;font-family:'Literata',Georgia,serif;font-weight:500;font-size:clamp(1.6rem,3vw,2.1rem);color:var(--st-ink)}
.st-grille{display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));margin:0;padding:0;list-style:none}
.st-grille>li{margin:0}
.st-liste__vide{max-width:40em;padding:1.75rem 2rem;background:#FFFDF8;border:1px dashed var(--st-cream-line);border-radius:14px}
.st-liste__vide p{margin:0 0 .5em}
.st-liste__vide p:last-child{margin:0}
.st-liste__vide a{color:var(--st-cobalt)}
.st-rubriques{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-top:3rem}
.st-rubriques .st-eyebrow{flex-basis:100%;margin-bottom:.25rem}
.st-rubriques a{display:inline-block;padding:.45rem .95rem;background:#FFFDF8;border:1px solid var(--st-cream-line);border-radius:999px;font-size:.9rem;color:var(--st-ink);text-decoration:none}
.st-rubriques a:hover,.st-rubriques a[aria-current]{border-color:var(--st-cobalt);color:var(--st-cobalt)}
.st-liste .nav-links{display:flex;gap:.5rem;justify-content:center;margin-top:2.5rem}
.st-liste .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:2.4rem;height:2.4rem;background:#FFFDF8;border:1px solid var(--st-cream-line);border-radius:8px;color:var(--st-ink);text-decoration:none}
.st-liste .page-numbers.current{background:var(--st-cobalt);border-color:var(--st-cobalt);color:var(--st-cream)}

/* formulaire de contact (Contact Form 7) */
.st-prose .wpcf7{margin:1.5em 0 2em}
.st-cf p{margin:0 0 1.1em}
.st-cf label{display:block;font-size:.9rem;font-weight:700;color:var(--st-ink)}
.st-cf input[type="text"],.st-cf input[type="email"],.st-cf select,.st-cf textarea{width:100%;margin-top:.4rem;padding:.75rem .9rem;font:inherit;font-size:1rem;font-weight:400;color:var(--st-ink);background:#FFFDF8;border:1px solid var(--st-cream-line);border-radius:10px;box-sizing:border-box}
.st-cf input:focus,.st-cf select:focus,.st-cf textarea:focus{outline:2px solid var(--focus-halo);border-color:var(--st-gold)}
.st-cf textarea{min-height:9rem;resize:vertical}
.st-cf__rgpd{font-size:.9rem;line-height:1.5;color:var(--st-ink-soft)}
.st-cf__rgpd .wpcf7-list-item{margin:0 .4rem 0 0}
.st-cf input[type="submit"]{cursor:pointer;padding:.85rem 1.6rem;font:inherit;font-weight:700;color:#fff;background:var(--st-terra);border:0;border-radius:999px}
.st-cf input[type="submit"]:hover{background:var(--st-terra-dark)}
.st-prose .wpcf7-response-output{margin:1em 0 0!important;padding:.8em 1em!important;border-radius:10px;font-size:.95rem}
.st-prose .wpcf7-not-valid-tip{font-size:.85rem;color:var(--st-terra-dark)}
.st-cf__rgpd label,.st-cf__rgpd .wpcf7-list-item-label{font-weight:400;color:var(--st-ink-soft)}

/* ============ LOGO « CROISSANT ET MINARET » (30/11/2026) ============ */
.st-logo__mark{width:30px;--st-logo-croissant:var(--st-gold-light)}
body.is-scrolled .st-header .st-logo__mark{color:var(--st-cobalt);--st-logo-croissant:var(--st-gold)}
.st-logo__text-2,.st-logo--footer .st-logo__text-2{color:var(--st-gold-light)}
.st-header .st-logo:hover .st-logo__text-2,.st-header .st-logo:focus .st-logo__text-2,.st-header .st-logo:active .st-logo__text-2{color:var(--st-cream)}
body.is-scrolled .st-header .st-logo__text-2{color:var(--st-gold-ink)}
body.is-scrolled .st-header .st-logo:hover .st-logo__text-2,body.is-scrolled .st-header .st-logo:focus .st-logo__text-2,body.is-scrolled .st-header .st-logo:active .st-logo__text-2{color:var(--st-cobalt)}

/* ============ HEROS SIMPLIFIES (30/11/2026) ============ */
.st-arthead{padding:calc(var(--header-h) + clamp(1.75rem,5vw,3.5rem)) 0 clamp(2rem,5vw,3.5rem)}
.st-arthead__title{margin:.85rem 0 .75rem;font-size:clamp(1.8rem,4.2vw,3rem);line-height:1.15}
.st-arthead__text>.st-arthead__title:first-child{margin-top:0}
.st-arthead__lede{margin:0;font-size:1.05rem;line-height:1.55;max-width:34em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.st-arthead .st-meta{margin:0;font-size:.85rem}
@media (max-width:899px){
 .st-arthead__grid{gap:1.5rem}
 .st-arthead__media{width:100%;justify-self:stretch}
 .st-arthead__media img{aspect-ratio:3/2;border-radius:16px;box-shadow:0 0 0 2px var(--st-gold)}
 .st-arthead__lede{font-size:1rem;-webkit-line-clamp:2}
}
/* accueil : le hero garde l'essentiel */
.st-hero .st-facts{display:none}
@media (max-width:899px){ .st-hero__media{width:min(200px,52%)} }
.st-arthead__lede,.st-arthead__lede{display:block;-webkit-line-clamp:unset;overflow:visible}


/* ____ MENU MOBILE (01/12/2026) : le panneau couvre tout l'ecran meme quand la page est defilee.
   Le flou (backdrop-filter) de l'en-tete defile enfermait le menu fixe dans la hauteur de l'en-tete. ____ */
body.is-scrolled.is-menu-open .st-header{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;color:var(--st-cream)}
body.is-menu-open .st-header::before{opacity:0}
body.is-menu-open .st-header .st-logo__mark{color:var(--st-cream);--st-logo-s:var(--st-cobalt)}
body.is-menu-open .st-header .st-logo,body.is-scrolled.is-menu-open .st-header .st-logo{color:var(--st-cream)}
body.is-menu-open .st-header .st-logo__text-2{color:var(--st-gold-light)}
@media (max-width:899px){body.is-menu-open .st-nav{height:100vh;height:100dvh;overflow-y:auto}}
.st-merci__pdf{margin:1.25rem 0 0}


/* ____ SANS PETITS TRAITS DORES (01/12/2026) : on retire les filets decoratifs au-dessus des titres et sous les numeros ____ */
.st-prose h2::before,
.st-card .st-num::after,
.st-bigcard .st-num::after,
.st-news__book-title::after{display:none!important;content:none!important}
.st-prose h2{margin-top:2.6rem}


/* ____ DIAPORAMA DES EN-TETES (01/12/2026) ____ */
.st-diapo{position:relative;width:100%;height:100%}
.st-diapo .st-diapo__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.5s ease}
.st-diapo .st-diapo__img:first-child{position:relative}
.st-diapo .st-diapo__img.est-active{opacity:1}
@media (prefers-reduced-motion:reduce){.st-diapo .st-diapo__img{transition:none}}

/* Effet Ken Burns sur chaque photo du diaporama des en-tetes */
.st-diapo{overflow:hidden}
.st-diapo .st-diapo__img{transform:scale(1);transform-origin:50% 40%}
.st-diapo .st-diapo__img.est-active{animation:salam-kenburns 8.5s linear forwards}
.st-diapo .st-diapo__img:nth-child(even).est-active{transform-origin:60% 60%}
@keyframes salam-kenburns{from{transform:scale(1)}to{transform:scale(1.08)}}
@media (prefers-reduced-motion:reduce){.st-diapo .st-diapo__img.est-active{animation:none}}

/* Arche fixe : la forme et le cadre dore sont portes par le conteneur, seules les photos zooment a l'interieur */
.st-arthead__media .st-diapo{height:auto;aspect-ratio:4/5;border-radius:50% 50% 6px 6px/32% 32% 6px 6px;overflow:hidden;box-shadow:0 0 0 3px var(--st-gold),0 30px 60px -20px rgba(0,0,0,.65);isolation:isolate}
.st-arthead__media .st-diapo .st-diapo__img,.st-arthead__media .st-diapo .st-diapo__img:first-child{position:absolute;inset:0;width:100%;height:100%;max-width:none;aspect-ratio:auto;border-radius:0;box-shadow:none;object-fit:cover}

/* Transition fluide : la photo qui sort garde son zoom et continue doucement pendant le fondu */
.st-diapo .st-diapo__img.est-sortie{animation:salam-kenburns-sortie 1.6s linear forwards}
@keyframes salam-kenburns-sortie{from{transform:scale(1.066)}to{transform:scale(1.081)}}
@media (prefers-reduced-motion:reduce){.st-diapo .st-diapo__img.est-sortie{animation:none}}
