/* Pages WordPress hors maquette : mentions légales, politique de confidentialité, erreurs. */
body { margin: 0; background: #FFFFFF; }
.wp-contenu { max-width: 820px; padding-block: 72px 96px; font: 400 17px/28px "Instrument Sans", system-ui, sans-serif; color: #101F2F; }
.wp-contenu h1 { margin: 0 0 32px; font: 900 clamp(34px, 4vw, 52px)/1.05 Archivo, sans-serif; font-stretch: 112%; letter-spacing: -.03em; }
.wp-contenu h2 { margin: 40px 0 12px; font: 800 26px/1.2 Archivo, sans-serif; font-stretch: 108%; }
.wp-contenu h3 { margin: 28px 0 8px; font: 800 20px/1.25 Archivo, sans-serif; }
.wp-contenu a { color: #2468A8; }
.wp-contenu img { max-width: 100%; height: auto; }
.wp-contenu table { border-collapse: collapse; width: 100%; }
.wp-contenu td, .wp-contenu th { border: 1px solid #D5DDE6; padding: 8px 12px; text-align: left; }
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
.wp-contenu ul { padding-left: 22px; }
.wp-contenu li { margin: 4px 0; }
.wp-contenu p { margin: 0 0 16px; }
.wp-contenu .maj { color: #4A5A6B; font-size: 15px; }

/* Titres de section en h2 (hiérarchie correcte), avec leur aspect d origine */
.exp-txt h2.as-h3 { margin: 0; font: 900 clamp(30px, 3vw, 42px)/1.04 Archivo, sans-serif; font-stretch: 112%; letter-spacing: -.03em; text-wrap: balance; }
.exp-txt h2.as-h3 span { color: var(--bleu); }

/* Simulation « tapez le nom de votre site » (haut de l'accueil) */
.sim { max-width: 520px; display: flex; flex-direction: column; gap: 8px; }
.sim label { font: 700 12px/1 Archivo, sans-serif; font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: #1D5FA8; }
.sim-champ { position: relative; }
.sim input { width: 100%; box-sizing: border-box; min-height: 58px; padding: 0 48px 0 18px; border: 2px solid #101F2F; border-radius: 0; background: #FFFFFF; color: #101F2F; font: 600 18px/1 "Instrument Sans", sans-serif; -webkit-appearance: none; appearance: none; box-shadow: 6px 6px 0 rgba(29,95,168,.16); }
.sim-champ::after { content: ""; position: absolute; right: 20px; top: 22px; width: 9px; height: 9px; border-right: 2px solid #101F2F; border-bottom: 2px solid #101F2F; transform: rotate(45deg); pointer-events: none; transition: transform .15s; }
.sim-champ.ouvert::after { transform: translateY(5px) rotate(225deg); }
.sim input::placeholder { color: #6B7A8C; font-weight: 400; }
.sim input:focus-visible { outline: 3px solid #5FA8EC; outline-offset: 2px; }
.sim-liste { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px 0; list-style: none; max-height: 264px; overflow-y: auto; overscroll-behavior: contain; background: #FFFFFF; border: 1px solid #D5DEE8; box-shadow: 0 18px 40px rgba(16,31,47,.22); }
.sim-liste li { padding: 11px 18px; font: 500 16px/20px "Instrument Sans", sans-serif; color: #101F2F; cursor: pointer; }
.sim-liste li b { font-weight: 700; color: #1D5FA8; }
.sim-liste li[aria-selected="true"], .sim-liste li:hover { background: #E8F1FB; }
.sim-liste li.vide { color: #5B6B7D; cursor: default; background: none; }
.sim-msg { margin: 4px 0 0; font-size: 15px; line-height: 22px; color: #3B4A5C; }
.sim-msg a { color: #1D5FA8; font-weight: 700; }
.hero-txt .sim { position: relative; z-index: 6; }
.hero-photo img { transition: filter .5s, transform .9s cubic-bezier(.2,.8,.2,1); }
.hero-art .pola, .hero-art .goutte { transition: opacity .4s; }
.hero-art.sim-on .pola, .hero-art.sim-on .goutte { animation: none; opacity: 0; visibility: hidden; pointer-events: none; }
.hero-art.sim-on .hero-photo img { object-position: 50% 50%; }
.hero-art.sim-charge .hero-photo img { filter: blur(14px) brightness(.4) saturate(.6); transform: scale(1.08); }
.hero-art.sim-revele .hero-photo img { animation: sim-revele 1.2s cubic-bezier(.2,.8,.2,1) both; }
.hero-photo .flash { z-index: 4; }
.sim-attente { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; align-content: center; gap: 20px; padding: 24px 24px 24px 15%; text-align: center; color: #FFFFFF; overflow: hidden; }
.sim-attente::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; background: linear-gradient(180deg, rgba(95,168,236,0), rgba(95,168,236,.35)); border-bottom: 2px solid #9FCBF2; animation: sim-balayage 1.4s linear infinite; }
.sim-attente strong { position: relative; font: 800 30px/1.15 Archivo, sans-serif; font-stretch: 110%; max-width: 90%; }
.sim-attente span { position: relative; font: 600 16px/1 "Instrument Sans", sans-serif; color: #C9DDF3; min-height: 18px; }
.sim-attente em { position: relative; display: block; width: min(280px, 70%); height: 4px; background: rgba(255,255,255,.22); }
.sim-attente em i { display: block; height: 100%; width: 0; background: #FFFFFF; animation: sim-barre var(--sim-duree, 2.6s) cubic-bezier(.3,.1,.3,1) forwards; }
.sim-legende { position: absolute; z-index: 5; left: 30px; right: 0; bottom: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; animation: v3-up .6s cubic-bezier(.2,.7,.2,1) .5s both; }
.sim-legende b { font: 700 30px/1 Caveat, cursive; color: #101F2F; }
.sim-legende small { font: 500 12px/16px "Instrument Sans", sans-serif; color: #5B6B7D; }
.sim-coulisses { position: absolute; z-index: 6; left: -40px; bottom: 34px; width: 210px; padding: 10px 10px 8px; border: 0; background: #FFFFFF; box-shadow: 0 14px 34px rgba(16,31,47,.28); rotate: -6deg; cursor: pointer; text-align: left; animation: v3-drop .8s cubic-bezier(.2,.8,.2,1) .7s both; transition: rotate .2s, translate .2s; }
.sim-coulisses:hover, .sim-coulisses:focus-visible { rotate: -2deg; translate: 0 -4px; }
.sim-coulisses img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sim-coulisses span { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; font: 700 22px/1 Caveat, cursive; color: #101F2F; }
.sim-coulisses span::after { content: "\21C4"; font: 700 15px/1 "Instrument Sans", sans-serif; color: #1D5FA8; }
.hero-art.sim-charge .sim-coulisses { display: none; }
.hero-art:has(.sim-coulisses) .sim-legende { left: 190px; }
@media (max-width: 900px) { .hero-art:has(.sim-coulisses) .sim-legende { left: 156px; } .sim-coulisses { width: 150px; left: -6px; bottom: 44px; } .sim-coulisses span { font-size: 18px; } }
@keyframes sim-balayage { from { transform: translateY(-120px); } to { transform: translateY(640px); } }
@keyframes sim-barre { to { width: 100%; } }
@keyframes sim-revele { from { filter: blur(12px) brightness(1.7); transform: scale(1.14); } to { filter: none; transform: none; } }
@media (max-width: 900px) { .sim-legende { left: 0; } .sim-legende b { font-size: 24px; } .sim-attente { padding-left: 24px; } .sim-attente strong { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .sim-attente::before, .hero-art.sim-revele .hero-photo img { animation: none !important; } }

/* Téléphones (v1.13) : rien ne dépasse de l'écran, même à 320 px de large */
@media (max-width: 640px) {
  /* les blocs en colonne peuvent rétrécir sous la largeur de leur contenu */
  .v3 * { min-width: 0; }
  .hero-grid, .souv-haut, .fond, .cta-in, .exp, .part-grid, .temoin, .faq-grid, .plq, .sol-grid, .etapes { grid-template-columns: minmax(0, 1fr); }
  .v3 h1, .v3 h2, .v3 h3, .v3 .t { overflow-wrap: break-word; }
  .h1 { font-size: clamp(33px, 10.6vw, 44px); }
  .rot { font-size: min(26px, 6.2vw); margin-top: -4px; }
  .sur { line-height: 1.35; align-items: flex-start; }
  .sur::before { margin-top: .2em; }
  /* boutons : pleine largeur, texte sur deux lignes si besoin */
  .btn { max-width: 100%; white-space: normal; line-height: 1.2; padding-block: 12px; }
  .ctas { flex-direction: column; align-items: stretch; }
  .ctas .btn { justify-content: center; text-align: center; }
  .lang a { padding: 13px 10px; }
  /* chiffres : jamais coupés en deux lignes */
  .souv-droite .second { flex-wrap: wrap; gap: 4px 12px; }
  .souv-droite .second b, .confiance .n, .big { white-space: nowrap; }
  /* repères sur la photo du boîtier */
  .sys-mat .rep.g, .sys-mat .rep.b { white-space: normal; max-width: 62%; }
  .sys-mat .rep span { font-size: 10px; }
}
/* Bandeau cookies : compact et à la police du site */
.cmplz-cookiebanner, .cmplz-cookiebanner * { font-family: "Instrument Sans", system-ui, sans-serif !important; }
@media (max-width: 640px) {
  #cmplz-cookiebanner-container .cmplz-cookiebanner { padding: 14px 16px 16px !important; max-height: 62vh; grid-row-gap: 8px !important; }
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message { font-size: 13px !important; line-height: 19px !important; max-height: 96px; overflow-y: auto; }
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons { flex-direction: row !important; flex-wrap: wrap; gap: 8px !important; }
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn { flex: 1 1 40%; height: 42px !important; min-width: 0 !important; font-size: 14px !important; }
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-view-preferences, #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-save-preferences { flex-basis: 100%; height: 36px !important; }
}
@media (max-width: 380px) { .livraison, .habillage { zoom: .86; } }
@media (max-width: 640px) {
  .sys-mat figcaption { flex-wrap: wrap; gap: 2px 12px; }
  .vous-c .lb { hyphens: auto; }
}
@media (max-width: 380px) { .vous-c .lb b, .vous-c .lb strong { font-size: 15px; } .vous-grille { gap: 10px; } }
@media (max-width: 640px) { .v3 h1 { font-size: clamp(30px, 10.4vw, 44px) !important; line-height: 1.04 !important; } }
@media (max-width: 340px) { .v3 h2, .v3 h3 { -webkit-hyphens: auto; hyphens: auto; } }

/* Téléphones (v1.14) : pages plus courtes — carrousels à faire glisser et blocs compacts */
@media (max-width: 640px) {
  .sec { padding-block: 56px; }
  .hero { padding-bottom: 48px; }
  .hero-art { height: 340px; }
  .tete .lead, .exp-txt p { font-size: 16px; line-height: 25px; }
  /* carrousels horizontaux : types de sites, étapes */
  .vous-grille, .saison { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: -20px; padding: 4px 20px 14px; scroll-padding-inline: 20px; }
  .vous-grille::-webkit-scrollbar, .saison::-webkit-scrollbar { display: none; }
  .vous-grille { gap: 12px; }
  .vous-grille > .vous-c { flex: 0 0 43%; scroll-snap-align: start; }
  .vous-c .im { aspect-ratio: 1; }
  .saison { gap: 16px; margin-top: 32px; }
  .saison > li:not(.arc) { flex: 0 0 82%; scroll-snap-align: start; }
  /* expériences */
  .exps { gap: 56px; margin-top: 40px; }
  .exp { gap: 24px; }
  .exp-art { height: 300px; }
  .exp-art .pola { width: 130px; }
  .exp-txt { gap: 16px; }
  .lieux { display: none; }
  /* système : une ligne par étape */
  .sys-flux { gap: 18px; margin-top: 32px; }
  .sys-flux li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; row-gap: 3px; padding-right: 0; align-items: start; }
  .sys-flux li > * { grid-column: 2; }
  .sys-flux .nd { grid-column: 1; grid-row: 1 / span 3; width: 48px; height: 48px; }
  .sys-flux .no { margin-top: 2px; }
  .sys-mat { min-height: 300px; }
  /* inclus : deux colonnes */
  .tuiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tuile { padding: 10px; gap: 10px; min-height: 0; }
  .tuile b { font-size: 14px; line-height: 1.2; }
  .tuile .ok0 { display: none; }
  .tuile .ic0 { flex: none; width: 34px; height: 34px; }
  /* secteurs : liste compacte */
  .sect-grid { gap: 22px; margin-top: 32px; }
  .sect { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; }
  .sect p { display: none; }
  .sect h3 { margin: 0 0 8px; font-size: 19px; }
  /* mur de photos : trois colonnes */
  .mur { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
  .mur .pola { padding: 5px 5px 0; }
  .mur .pola figcaption { height: 26px; font-size: 13px; }
  .mur .note { grid-column: 1 / -1; rotate: 0deg; padding: 16px; }
  /* à propos */
  .fond-art { height: 290px; }
  .fond-art .d { width: 250px; }
  .fond-art .pola { width: 190px; }
  .jalons { gap: 18px 28px; }
  /* actualités : vignette à gauche */
  .actu-grid { gap: 12px; margin-top: 28px; }
  .actu-c { flex-direction: row; }
  .actu-c .im { flex: 0 0 104px; aspect-ratio: auto; }
  .actu-c .tx { padding: 12px 14px; gap: 6px; }
  .actu-c b { font-size: 16px; }
  .actu-c .d { display: none; }
}

/* Témoignage (v1.17) : sur téléphone, la citation seule */
@media (max-width: 640px) { .temoin .pola { display: none; } .temoin { gap: 0; } }

/* Vignettes du menu en image de fond (v1.18) */
.site-c .vg[style] { background-size: cover; background-position: center; }

/* Mention des illustrations générées par IA (v1.19) */
.ia-tag { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 5px 9px; background: rgba(16,31,47,.72); color: #fff; font: 600 11px/1.2 "Instrument Sans", sans-serif; letter-spacing: .02em; pointer-events: none; }
