/* Page « Interface de gestion » : la démonstration grandeur nature (interface.js).
   L'interface reprend le mode sombre d'une vraie interface de gestion Cyzeo : neutre, compacte, accent bleu.
   Le site fictif à droite est dans le style de Cyzeo. Chargé seulement sur interface.html. */

.itf { margin-top: 1.6rem; }
.itf-sans-js { max-width: 40rem; margin: 0 auto; padding: 1rem 1.2rem; border: 1px dashed var(--border-strong); border-radius: var(--r); color: var(--text-soft); text-align: center; }
.itf-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Barre d'outils au-dessus de la démonstration : choix du métier, rejouer */
.itf-outils { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; margin-bottom: 1rem; }
.itf-metiers { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--text-soft); }
.itf-metier {
    padding: 0.42rem 0.9rem; border: 1px solid var(--border); border-radius: 100px; background: var(--surface);
    color: var(--text); font: 500 0.85rem var(--font-body); cursor: pointer;
    transition: border-color 0.25s, background 0.25s, transform 0.25s cubic-bezier(.2, .8, .2, 1);
}
@media (hover: hover) { .itf-metier:hover { border-color: var(--border-strong); transform: translateY(-2px); } }
.itf-metier[aria-pressed="true"] { border-color: transparent; background: linear-gradient(120deg, var(--violet), #5B8CFF); color: #fff; }
.itf-outils .itf-btn { background: var(--surface); border-color: var(--border); color: var(--text-soft); }

/* La scène : deux fenêtres l'une sous l'autre (téléphone, tablette), ou l'une derrière l'autre en 16:9 (ordinateur) */
.itf-scene { display: grid; gap: 1.2rem; }
.itf-fen { position: relative; overflow: hidden; border-radius: 14px; box-shadow: 0 0 0 1px var(--border-strong), 0 30px 60px -28px rgba(0, 0, 0, 0.9); }
.itf-toile { position: relative; }
.itf-retour-site { display: none; }
@media (min-width: 1100px) {
    .itf { --larg: max(960px, min(1320px, 100vw - 3rem, (100vh - 9rem) * 16 / 9)); }
    .itf-outils, .itf-legende { position: relative; left: 50%; translate: -50% 0; width: var(--larg); }
    .itf-outils { margin-bottom: 2.6rem; }
    .itf-scene {
        --pose: translate3d(0, -6.2%, -120px);
        display: block; position: relative; left: 50%; translate: -50% 0; width: var(--larg);
        aspect-ratio: 16 / 9; perspective: 2400px; perspective-origin: 50% 40%;
    }
    .itf-fen { position: absolute; inset: 0; }
    .itf-toile { display: flex; flex-direction: column; transform-origin: 0 0; }
    /* L'interface et le site gardent des textes de taille réelle (--kg et --ks : 1 = taille normale) */
    .itf-site .itf-toile { --ks: 1; width: calc(100% / var(--ks)); height: calc(100% / var(--ks)); transform: scale(var(--ks)); }
    .itf-gestion .itf-toile { --kg: 1; width: calc(100% / var(--kg)); height: calc(100% / var(--kg)); transform: scale(var(--kg)); }
    .itf-toile > .ecran-barre { flex: none; }
    /* Au repos, l'interface est devant et le site dépasse un peu derrière ; après un enregistrement, ils échangent leur place */
    .itf-gestion { z-index: 3; }
    .itf-site { z-index: 2; transform: var(--pose); filter: brightness(0.55); pointer-events: none; }
    .vue-site .itf-gestion { z-index: 2; transform: var(--pose); filter: brightness(0.55); pointer-events: none; }
    .vue-site .itf-site { z-index: 3; transform: none; filter: none; pointer-events: auto; }
    .va .itf-site, .vr .itf-gestion { animation: itfVersAvant 1s cubic-bezier(.5, .05, .2, 1) both; }
    .va .itf-gestion, .vr .itf-site { animation: itfVersArriere 1s cubic-bezier(.5, .05, .2, 1) both; }
    /* Barre « retour » : message, bouton et jauge du retour automatique (6 s après l'arrivée du site) */
    .itf-retour-site {
        position: absolute; left: 50%; bottom: 18px; z-index: 5; display: flex; align-items: center; gap: 0.8rem; width: max-content; max-width: calc(100% - 40px); padding: 0.5rem 0.5rem 0.5rem 0.9rem; overflow: hidden;
        border-radius: 100px; background: rgba(15, 20, 34, 0.95); color: #fff; font: 600 14px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
        box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.55); opacity: 0; visibility: hidden; transform: translate(-50%, 18px);
        transition: opacity 0.2s, transform 0.2s, visibility 0s linear 0.2s;
    }
    .itf-retour-site.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 0.4s ease 0.85s, transform 0.55s cubic-bezier(.16, 1, .3, 1) 0.85s, visibility 0s linear 0.85s; }
    .itf-retour-coche { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #34E5A0; color: #06281A; font-size: 13px; font-weight: 800; }
    .itf-retour-site button { flex: none; height: 34px; padding: 0 1rem; border: 0; border-radius: 100px; background: #fff; color: #111827; font: 700 13px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; cursor: pointer; transition: background 0.15s; }
    .itf-retour-site button:hover { background: #E5E7EB; }
    .itf-retour-site button:focus-visible { outline: 2px solid #34E5A0; outline-offset: 2px; }
    .itf-jauge { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.14); transition: opacity 0.3s; }
    .itf-jauge b { display: block; height: 100%; background: #34E5A0; transform-origin: 0 50%; }
    .itf-retour-site.visible .itf-jauge b { animation: itfJauge 6s linear 1.5s both; }
    .itf-retour-site.pause .itf-jauge { opacity: 0.35; }
    .itf-retour-site.pause .itf-jauge b, .itf-retour-site:hover .itf-jauge b { animation-play-state: paused; }
}
@keyframes itfVersAvant {
    0% { transform: var(--pose); z-index: 2; filter: brightness(0.55); }
    42% { transform: translate3d(13%, -3%, -60px) rotateY(-8deg); z-index: 2; filter: brightness(0.85); }
    43% { z-index: 4; }
    100% { transform: none; z-index: 4; filter: none; }
}
@keyframes itfVersArriere {
    0% { transform: none; z-index: 3; filter: none; }
    42% { transform: translate3d(-9%, -2%, -90px) rotateY(7deg); z-index: 3; filter: brightness(0.8); }
    43% { z-index: 1; }
    100% { transform: var(--pose); z-index: 1; filter: brightness(0.55); }
}
@keyframes itfJauge { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .va .itf-fen, .vr .itf-fen { animation: none; } }
.itf-gestion {
    --g-fond: #0F1115; --g-panneau: #171A1F; --g-panneau2: #1C2026; --g-bord: #2A2F37; --g-bord2: #3A414B;
    --g-texte: #E6E8EB; --g-texte2: #A4ACB6; --g-texte3: #8C95A1;
    --g-accent: #5B8DEF; --g-accent-pale: #1C2A45; --g-vert: #57C27A; --g-vert-pale: #16291D; --g-rouge: #F07171; --g-rouge-pale: #331B1B; --g-orange: #E5A04B;
    background: var(--g-fond); color: var(--g-texte); color-scheme: dark;
    font: 13px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.itf-gestion .ecran-barre { background: var(--g-panneau); border-bottom-color: var(--g-bord); }
.itf-corps { min-height: 560px; }
.itf-entre { animation: itfEntre 0.45s cubic-bezier(.16, 1, .3, 1); }
@keyframes itfEntre { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Boutons et pastilles */
.itf-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; height: 32px; padding: 0 0.9rem;
    border: 1px solid var(--g-bord2, var(--border)); border-radius: 6px; background: var(--g-panneau2, var(--surface)); color: var(--g-texte, var(--text));
    font: 600 0.8rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.15s, filter 0.15s;
}
@media (hover: hover) { .itf-btn:hover { border-color: var(--g-accent, var(--border-strong)); } }
.itf-btn--plein { background: var(--g-accent); border-color: var(--g-accent); color: #fff; }
.itf-btn--petit { height: 28px; padding: 0 0.65rem; font-size: 0.75rem; }
.itf-btn--large { width: 100%; height: 40px; font-size: 0.88rem; }
.itf-btn--danger { background: var(--g-rouge-pale); border-color: var(--g-rouge); color: var(--g-rouge); }
.itf-btn.appui { transform: scale(0.97); filter: brightness(1.2); }
.itf-gestion button:focus-visible, .itf-gestion a:focus-visible, .itf-gestion select:focus-visible, .itf-gestion input:focus-visible { outline: 2px solid var(--g-accent); outline-offset: 2px; }
.itf-lien-discret { align-self: center; border: 0; background: none; color: var(--g-texte3); font: 500 0.76rem system-ui, sans-serif; cursor: pointer; }
.itf-lien-bouton { border: 0; background: none; color: var(--g-accent); font: 600 0.76rem system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.itf-pastille { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 100px; font-size: 0.72rem; font-weight: 600; }
.itf-pastille.ouvert { background: var(--g-vert-pale); color: var(--g-vert); }
.itf-pastille.ferme { background: var(--g-rouge-pale); color: var(--g-rouge); }
strong.itf-pastille { font-size: 0.8rem; }

/* La connexion (animée) */
.itf-login { display: grid; place-items: center; min-height: 560px; padding: 1.5rem; }
.itf-carte-login { display: flex; flex-direction: column; gap: 0.8rem; width: min(360px, 100%); padding: 1.6rem; border: 1px solid var(--g-bord); border-radius: 12px; background: var(--g-panneau); }
.itf-carte-login h2 { font-size: 1.1rem; font-weight: 600; }
.itf-aide { font-size: 0.8rem; color: var(--g-texte2); text-wrap: pretty; }
.itf-logo { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 6px; background: var(--marque, #2F80ED); color: #fff; font-size: 0.78rem; font-weight: 700; }
.itf-logo--grand { width: 44px; height: 44px; border-radius: 10px; font-size: 1.2rem; }
.itf-logo--vert { background: var(--g-vert-pale); color: var(--g-vert); border: 1px solid rgba(87, 194, 122, 0.4); }
.itf-faux { display: flex; flex-direction: column; gap: 0.3rem; }
.itf-faux-label { font-size: 0.72rem; font-weight: 600; color: var(--g-texte2); }
.itf-input {
    display: flex; align-items: center; height: 38px; padding: 0 0.8rem; overflow: hidden; white-space: nowrap;
    border: 1px solid var(--g-bord2); border-radius: 8px; background: var(--g-panneau2); font-size: 0.88rem; letter-spacing: 0.01em;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.itf-input.actif { border-color: var(--g-accent); box-shadow: 0 0 0 3px rgba(91, 141, 239, 0.25); }
.itf-curseur { display: none; flex: none; width: 1.5px; height: 1.15em; margin-left: 2px; background: var(--g-texte); animation: itfClignote 1s steps(1) infinite; }
.itf-input.actif .itf-curseur { display: inline-block; }
@keyframes itfClignote { 50% { opacity: 0; } }
.itf-code { display: flex; justify-content: center; gap: 0.5rem; margin: 0.4rem 0; }
.itf-case-code { display: grid; place-items: center; width: 40px; height: 48px; border: 1px solid var(--g-bord2); border-radius: 8px; background: var(--g-panneau2); font: 700 1.3rem ui-monospace, SFMono-Regular, Menlo, monospace; transition: border-color 0.2s; }
.itf-case-code.plein { border-color: var(--g-accent); }

/* L'interface : menu à gauche, écran à droite */
.itf-app { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 560px; }
.itf-cote { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.8rem 0.6rem; border-right: 1px solid var(--g-bord); background: var(--g-panneau); }
.itf-marque { display: flex; align-items: center; gap: 0.5rem; padding: 0.2rem 0.4rem 0.8rem; font-size: 0.82rem; }
.itf-menu { display: flex; flex-direction: column; gap: 0.1rem; }
.itf-groupe { margin: 0.8rem 0.5rem 0.2rem; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--g-texte3); }
.itf-lien { height: 30px; padding: 0 0.6rem; border: 0; border-radius: 6px; background: none; color: var(--g-texte2); font: 500 0.82rem system-ui, -apple-system, "Segoe UI", sans-serif; text-align: left; cursor: pointer; transition: background 0.15s, color 0.15s; }
@media (hover: hover) { .itf-lien:hover { background: var(--g-panneau2); color: var(--g-texte); } }
.itf-lien[aria-current="page"] { background: var(--g-accent-pale); color: #9DBBF5; }
.itf-cyzeo { display: flex; flex-direction: column; gap: 0.1rem; margin-top: auto; padding: 0.7rem; border: 1px solid var(--g-bord); border-radius: 8px; background: var(--g-panneau2); color: var(--g-texte2); font-size: 0.72rem; text-decoration: none; }
.itf-cyzeo b { font-size: 0.8rem; color: var(--g-texte); }
.itf-principal { display: flex; flex-direction: column; min-width: 0; }
.itf-haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--g-bord); }
.itf-titre { font-size: 0.95rem; font-weight: 600; outline: none; }
.itf-haut-droite { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.itf-voir { display: flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; color: var(--g-texte2); }
.itf-ecran { display: flex; flex-direction: column; flex: 1; gap: 0.8rem; padding: 1rem; }
.itf-carte { padding: 0.85rem 0.95rem; border: 1px solid var(--g-bord); border-radius: 8px; background: var(--g-panneau); }
.itf-carte-titre { margin-bottom: 0.5rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--g-texte3); }
.itf-bandeau-role { padding: 0.55rem 0.8rem; border: 1px solid rgba(229, 160, 75, 0.45); border-radius: 8px; background: rgba(229, 160, 75, 0.1); color: var(--g-orange); font-size: 0.78rem; }
.itf-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0.6rem; }
.itf-chiffre { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.7rem 0.8rem; border: 1px solid var(--g-bord); border-radius: 8px; background: var(--g-panneau); }
.itf-chiffre span { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--g-texte3); }
.itf-chiffre strong { font-size: 1.1rem; font-weight: 600; }
.itf-chiffre small { font-size: 0.7rem; font-weight: 400; color: var(--g-texte3); }
.itf-deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.itf-afaire, .itf-simple, .itf-histo, .itf-regles { list-style: none; }
.itf-afaire li { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0; font-size: 0.8rem; }
.itf-afaire li span { flex: 1; min-width: 0; }
.itf-point { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--g-orange); }
.itf-point.rouge { background: var(--g-rouge); }
.itf-simple li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid var(--g-bord); font-size: 0.8rem; }
.itf-simple li:last-child { border-bottom: 0; }
.itf-simple li span { color: var(--g-texte3); text-align: right; }
.itf-vide { font-size: 0.8rem; color: var(--g-texte3); }
.itf-raccourcis, .itf-modeles, .itf-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.itf-actions { margin-top: 0.9rem; }

/* Formulaires */
.itf-champ { width: 100%; height: 32px; padding: 0 0.6rem; border: 1px solid var(--g-bord2); border-radius: 6px; background: var(--g-panneau2); color: var(--g-texte); font: 0.82rem system-ui, -apple-system, "Segoe UI", sans-serif; }
.itf-champ:disabled { opacity: 0.4; }
.itf-champ--large { height: 34px; }
.itf-etiquette { display: block; margin: 0.8rem 0 0.3rem; font-size: 0.72rem; font-weight: 600; color: var(--g-texte2); }
.itf-etiquette small { font-weight: 400; color: var(--g-texte3); }
.itf-etiquette span { float: right; font-weight: 400; color: var(--g-texte3); }
.itf-etiquette span.itf-etat { float: none; margin-left: 0.4rem; padding: 0.1rem 0.5rem; border-radius: 100px; background: var(--g-panneau2); font-size: 0.68rem; font-weight: 600; }
.itf-etat--encours { background: var(--g-vert-pale) !important; color: var(--g-vert) !important; }
.itf-etat--programme { background: var(--g-accent-pale) !important; color: #9DBBF5 !important; }
.itf-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
.itf-case-ligne { display: flex; align-items: center; gap: 0.5rem; margin: 0.9rem 0 0.2rem; font-size: 0.8rem; }
.itf-coche { appearance: none; -webkit-appearance: none; display: inline-grid; place-content: center; flex: none; width: 17px; height: 17px; margin: 0; border: 1px solid var(--g-bord2); border-radius: 4px; background: var(--g-panneau2); cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.itf-coche:checked { background: var(--g-accent); border-color: var(--g-accent); }
.itf-coche:checked::after { content: ''; width: 4px; height: 8px; margin-top: -1px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.itf-table { width: 100%; margin-top: 0.7rem; border-collapse: collapse; }
.itf-table th, .itf-table td { padding: 0.4rem 0.5rem; border-bottom: 1px solid var(--g-bord); font-size: 0.8rem; text-align: left; }
.itf-table thead th { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--g-texte3); }
.itf-table tbody th { font-weight: 500; }
.itf-table tr.ferme th { color: var(--g-texte3); }
.itf-table input[type="time"] { width: 110px; }
.itf-lignes { margin-top: 0.7rem; }
.itf-ligne { display: grid; grid-template-columns: minmax(0, 1fr) 110px 32px; align-items: center; gap: 0.5rem; margin-bottom: 0.45rem; }
.itf-prix-champ { position: relative; }
.itf-prix-champ .itf-champ { padding-right: 1.6rem; text-align: right; }
.itf-prix-champ i { position: absolute; top: 50%; right: 0.6rem; transform: translateY(-50%); color: var(--g-texte3); font-style: normal; font-size: 0.8rem; pointer-events: none; }
.itf-erreur { margin-top: 0.7rem; padding: 0.5rem 0.7rem; border: 1px solid rgba(240, 113, 113, 0.5); border-radius: 6px; background: var(--g-rouge-pale); color: var(--g-rouge); font-size: 0.78rem; }
.itf-erreur[hidden] { display: none; }

/* Le message en haut du site (aperçu, et site à droite) */
.itf-annonce { padding: 0.5rem 0.8rem; border-radius: 8px; font-size: 0.78rem; font-weight: 700; }
.itf-site .itf-annonce { animation: itfAnnonce 0.45s cubic-bezier(.16, 1, .3, 1); }
@keyframes itfAnnonce { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.itf-c-orange { background: #FFB020; color: #1A1200; }
.itf-c-bleu { background: #5B8DEF; color: #fff; }
.itf-c-vert { background: #34E5A0; color: #06281A; }
.itf-c-anthracite { background: #2E3131; color: #fff; border: 1px solid #4A4F4F; }

/* Historique, sécurité */
.itf-histo li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--g-bord); }
.itf-histo li:last-child { border-bottom: 0; }
.itf-histo li div { display: flex; flex-direction: column; min-width: 0; }
.itf-histo li div span { font-size: 0.72rem; color: var(--g-texte3); }
.itf-mfa { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: start; gap: 1rem; }
.itf-qr svg { width: 150px; height: 150px; border-radius: 6px; }
.itf-cle { margin: 0.5rem 0; font: 600 0.78rem ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--g-texte2); }
.itf-secours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.3rem; margin-top: 0.5rem; list-style: none; }
.itf-secours li { padding: 0.3rem 0.5rem; border-radius: 6px; background: var(--g-panneau2); font: 600 0.8rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.itf-regles { margin-top: 0.6rem; }
.itf-regles li { padding: 0.15rem 0; font-size: 0.78rem; color: var(--g-texte2); }
.itf-regles li::before { content: '✕'; display: inline-block; width: 1.3em; color: var(--g-rouge); }
.itf-regles li.oui::before { content: '✓'; color: var(--g-vert); }

/* Message de confirmation, en bas de l'interface */
.itf-toast {
    position: absolute; right: 1rem; bottom: 1rem; z-index: 3; max-width: min(320px, calc(100% - 2rem)); padding: 0.55rem 0.9rem;
    border: 1px solid rgba(87, 194, 122, 0.45); border-radius: 8px; background: #16291D; color: #57C27A;
    font: 600 0.78rem system-ui, sans-serif; text-align: left; opacity: 0; transform: translateY(12px); pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
}
.itf-toast.visible { opacity: 1; transform: none; }

/* Le site du client (fictif) : trois vrais sites, de trois styles, à taille réelle (photos : Unsplash, WebP, dans images/demo/).
   Artisan (.itf-t-artisan, préfixe ar-), salon élégant (.itf-t-salon, sa-) et restaurant (.itf-t-resto, re-). */
.itf-site {
    --site-marque: var(--marque, #2F80ED); --encre: #131A2B; --encre2: #4B5568; --encre3: #7A8498; --fond: #F4F6FA; --trait: #E4E8F0;
    --cote: max(2rem, calc((100% - 1120px) / 2));
    background: #fff; color: var(--encre); color-scheme: light; font-family: var(--font-body);
}
.itf-site .ecran-barre { background: #EEF1F6; border-bottom-color: #DCE1EA; }
.itf-site .ecran-url { background: #fff; color: #5A6478; }
.itf-site.maj { animation: itfMaj 1.3s ease-out; }
@keyframes itfMaj { 0% { box-shadow: 0 0 0 2px rgba(52, 229, 160, 0.8), 0 0 60px -6px rgba(52, 229, 160, 0.6); } 100% { box-shadow: 0 0 0 1px var(--border-strong), 0 30px 60px -28px rgba(0, 0, 0, 0.9); } }
.itf-site-corps { position: relative; max-height: 560px; overflow-y: auto; container-type: inline-size; }
@media (min-width: 1100px) { .itf-site-corps { flex: 1; min-height: 0; max-height: none; } }
.itf-s { display: flex; flex-direction: column; min-height: 100%; }
.itf-s img { display: block; max-width: 100%; }
.itf-s h3, .itf-s h4 { letter-spacing: normal; text-wrap: balance; }
.itf-ic { width: 1em; height: 1em; flex: none; }
.itf-site [data-zone] { position: relative; }
.itf-s-annonce { padding: 0.6rem 1rem; border-radius: 0; font-size: 13.5px; text-align: center; text-wrap: balance; }
/* Éléments communs aux trois sites */
.itf-s-nav { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.7rem var(--cote); background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--trait); }
.itf-s-marque { display: flex; align-items: center; gap: 0.55rem; font: 700 17px/1 var(--font-display); color: var(--encre); white-space: nowrap; }
.itf-s-logo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--site-marque); color: #fff; font-size: 14px; font-weight: 700; }
.itf-s-liens { display: flex; gap: 1.6rem; font-size: 13.5px; font-weight: 500; color: var(--encre2); }
.itf-statut { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.7rem; border-radius: 100px; font-size: 12px; font-weight: 600; }
.itf-statut i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.itf-statut.ouvert { background: #E3F8EE; color: #0E7A4B; }
.itf-statut.ferme { background: #FDE8EC; color: #B4233F; }
.itf-s-h1 { font: 700 44px/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--encre); text-wrap: balance; }
.itf-s-sous { max-width: 30em; font-size: 16px; line-height: 1.55; color: var(--encre2); text-wrap: pretty; }
.itf-s-boutons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.2rem; }
.itf-s-puces { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; margin-top: 0.3rem; font-size: 13px; color: var(--encre2); }
.itf-s-puces li::before { content: '✓'; margin-right: 0.35rem; color: var(--site-marque); font-weight: 800; }
.itf-s-note { position: absolute; top: 14px; right: 14px; z-index: 2; display: flex; align-items: center; gap: 0.35rem; padding: 0.4rem 0.7rem; border-radius: 10px; background: #fff; color: var(--encre2); font-size: 11.5px; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.4); }
.itf-s-note b { font-size: 13px; color: var(--encre); }
.itf-s-note span { color: #F5A524; letter-spacing: 0.04em; }
.itf-s-badge { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.8rem; border-radius: 100px; background: #fff; color: var(--encre); font-size: 12px; font-weight: 700; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.4); }
.itf-s-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.itf-s-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; padding: 2.2rem var(--cote) 0.8rem; background: var(--fond); }
.itf-s-bloc { padding: 1.2rem 1.4rem; border: 1px solid var(--trait); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px -20px rgba(19, 26, 43, 0.4); }
.itf-s-bloc h4 { margin-bottom: 0.5rem; font: 700 17px var(--font-display); color: var(--encre); }
.itf-s-titre-section { grid-column: 1 / -1; margin-bottom: 0.9rem; font: 700 19px var(--font-display); color: var(--encre); }
.itf-s-lignes { list-style: none; }
.itf-s-lignes li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--trait); font-size: 14px; }
.itf-s-lignes li:last-child { border-bottom: 0; }
.itf-s-lignes li span { color: var(--encre2); }
.itf-s-lignes li b { font-weight: 700; white-space: nowrap; color: var(--encre); }
.itf-s-bloc[data-zone="tarifs"] .itf-s-lignes b { color: var(--site-marque); }
/* Lignes « points de conduite » (carte de restaurant, tarifs de salon) */
.itf-s-lignes--points li { gap: 0.5rem; border-bottom: 0; padding: 0.5rem 0; }
.itf-s-lignes--points li span { display: flex; align-items: baseline; flex: 1; min-width: 0; }
.itf-s-lignes--points li span::after { content: ''; flex: 1; margin: 0 0.1rem 0 0.5rem; border-bottom: 2px dotted currentColor; opacity: 0.28; translate: 0 -3px; }
.itf-s-avis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 1.8rem var(--cote) 2.2rem; background: var(--fond); }
.itf-s-avis-carte { margin: 0; padding: 1rem 1.1rem; border: 1px solid var(--trait); border-radius: 12px; background: #fff; }
.itf-s-etoiles { color: #F5A524; font-size: 13px; letter-spacing: 0.12em; }
.itf-s-avis-carte blockquote { margin: 0.4rem 0 0.7rem; font-size: 13.5px; line-height: 1.55; color: var(--encre); text-wrap: pretty; }
.itf-s-avis-carte figcaption { font-size: 12px; font-weight: 600; color: var(--encre3); }
.itf-s-pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 1.5rem; margin-top: auto; padding: 1.3rem var(--cote); background: #131A2B; color: #B8C0D2; font-size: 12.5px; }
/* La zone qui vient d'être modifiée : un liseré et une pastille « Mis à jour » */
.itf-zone-maj:not(.itf-s-annonce) { animation: itfZone 2.4s ease-out both; box-shadow: 0 0 0 3px var(--site-marque), 0 0 0 10px color-mix(in srgb, var(--site-marque) 22%, transparent); }
.itf-zone-maj:not(.itf-s-annonce)::after { content: 'Mis à jour'; position: absolute; top: -12px; right: 16px; z-index: 2; padding: 0.2rem 0.6rem; border-radius: 100px; background: var(--site-marque); color: #fff; font: 700 11px system-ui, sans-serif; letter-spacing: 0.02em; animation: itfPastille 0.5s cubic-bezier(.16, 1, .3, 1) both; }
.itf-s-annonce.itf-zone-maj { animation: itfZoneBandeau 2.4s ease-out both; }
@keyframes itfZone { 0% { box-shadow: 0 0 0 3px var(--site-marque), 0 0 0 0 color-mix(in srgb, var(--site-marque) 45%, transparent); } 60% { box-shadow: 0 0 0 3px var(--site-marque), 0 0 0 20px color-mix(in srgb, var(--site-marque) 0%, transparent); } }
@keyframes itfZoneBandeau { 0% { filter: brightness(1.25); box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.8); } 100% { filter: none; box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0); } }
@keyframes itfPastille { from { opacity: 0; transform: translateY(6px) scale(0.85); } to { opacity: 1; transform: none; } }

/* ---- Dupont Plomberie : artisan, bandeau sombre, services et garanties ---- */
.itf-t-artisan { --nuit: color-mix(in srgb, var(--site-marque) 26%, #060d1c); }
.ar-barre { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.4rem var(--cote); background: var(--nuit); color: #C9D6F2; font-size: 12px; }
.ar-barre > span:first-child { display: inline-flex; align-items: center; gap: 0.45rem; }
.ar-barre .itf-ic { font-size: 13px; }
.ar-barre .itf-statut.ouvert, .re-hero .itf-statut.ouvert { background: rgba(52, 229, 160, 0.16); color: #7CE3A3; }
.ar-barre .itf-statut.ferme, .re-hero .itf-statut.ferme { background: rgba(255, 93, 125, 0.18); color: #FF9DB1; }
.ar-cta { padding: 0.5rem 1rem; border-radius: 8px; background: var(--site-marque); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ar-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 3rem; padding: 2.6rem var(--cote) 3rem; background: radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--site-marque) 38%, transparent), transparent 55%), var(--nuit); color: #fff; }
.ar-hero-texte { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.ar-etiquette { font: 600 11.5px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--site-marque) 55%, #fff); }
.ar-hero .itf-s-h1 { color: #fff; }
.ar-hero .itf-s-sous, .ar-hero .itf-s-puces { color: #B9C6E4; }
.ar-hero .itf-s-puces li::before { color: #7CE3A3; }
.ar-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.25rem; border-radius: 8px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.ar-btn--plein { background: var(--site-marque); color: #fff; box-shadow: 0 10px 24px -10px var(--site-marque); }
.ar-btn--contour { border: 1.5px solid rgba(255, 255, 255, 0.28); color: #fff; }
.ar-visuel { position: relative; }
.ar-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.ar-garanties { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding: 1.3rem var(--cote); background: #fff; border-bottom: 1px solid var(--trait); }
.ar-garantie { display: flex; align-items: flex-start; gap: 0.7rem; }
.ar-garantie .itf-ic { margin-top: 0.1rem; font-size: 26px; color: var(--site-marque); }
.ar-garantie b, .ar-service b { display: block; font-size: 14px; color: var(--encre); }
.ar-garantie small, .ar-service small { display: block; margin-top: 0.1rem; font-size: 12px; line-height: 1.4; color: var(--encre3); }
.ar-services { padding: 2.2rem var(--cote) 0.2rem; background: var(--fond); }
.ar-services-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.ar-service { padding: 1.1rem; border: 1px solid var(--trait); border-radius: 12px; background: #fff; }
.ar-pastille { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 0.7rem; border-radius: 10px; background: color-mix(in srgb, var(--site-marque) 11%, #fff); color: var(--site-marque); font-size: 20px; }
.ar-grille { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.ar-apropos { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 2.5rem; padding: 2.4rem var(--cote); background: #fff; }
.ar-photo2 { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.ar-apropos h4 { margin-bottom: 0.6rem; font: 700 24px/1.2 var(--font-display); color: var(--encre); }
.ar-apropos p { font-size: 15px; line-height: 1.6; color: var(--encre2); text-wrap: pretty; }
.ar-apropos ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.9rem; font-size: 14px; color: var(--encre); }
.ar-apropos li { display: flex; align-items: center; gap: 0.5rem; }
.ar-apropos li .itf-ic { padding: 3px; border-radius: 50%; background: color-mix(in srgb, var(--site-marque) 14%, #fff); color: var(--site-marque); font-size: 18px; }

/* ---- Salon Léa : élégant, serif, photo en arche, galerie ---- */
.itf-t-salon { --encre: #3A2A2F; --encre2: #6E5C62; --encre3: #9A8A8F; --fond: #FBF3EF; --trait: #F0DFD9; --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; background: var(--fond); }
.sa-nav { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 0.8rem var(--cote); background: rgba(251, 243, 239, 0.96); border-bottom: 1px solid var(--trait); }
.sa-liens { display: flex; gap: 1.6rem; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--encre2); }
.sa-liens--d { justify-content: flex-end; align-items: center; }
.sa-logo { font: 600 28px/1 var(--serif); color: var(--encre); white-space: nowrap; }
.sa-cta, .sa-btn--plein { padding: 0.55rem 1.2rem; border-radius: 100px; background: var(--site-marque); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.sa-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); align-items: center; gap: 3rem; padding: 2.4rem var(--cote) 2.4rem; }
.sa-hero-texte { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.sa-sur { font-size: 11.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--site-marque); }
.sa-hero .itf-s-h1 { font: 500 58px/1 var(--serif); letter-spacing: -0.01em; }
.sa-hero .itf-s-h1 em { font-style: italic; color: var(--site-marque); }
.sa-hero .itf-s-sous { font-size: 16px; }
.sa-btn { display: inline-flex; align-items: center; padding: 0.7rem 1.4rem; border-radius: 100px; white-space: nowrap; }
.sa-btn--contour { border: 1.5px solid var(--encre); color: var(--encre); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.sa-visuel { position: relative; }
.sa-arche { width: 100%; height: auto; aspect-ratio: 10 / 11; object-fit: cover; object-position: 70% 50%; border-radius: 999px 999px 18px 18px; box-shadow: 0 30px 60px -34px rgba(58, 42, 47, 0.6); }
.sa-sceau { position: absolute; left: -18px; bottom: 36px; display: grid; place-content: center; width: 92px; height: 92px; border-radius: 50%; background: #fff; text-align: center; box-shadow: 0 16px 34px -14px rgba(58, 42, 47, 0.5); }
.sa-sceau b { font: 600 30px/1 var(--serif); color: var(--site-marque); }
.sa-sceau small { margin-top: 0.15rem; font-size: 10.5px; color: var(--encre2); }
.sa-galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0.4rem var(--cote) 2.4rem; }
.sa-vignette { width: 100%; height: auto; aspect-ratio: 1.15; object-fit: cover; border-radius: 14px; }
.sa-tuile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; padding: 1.5rem; border-radius: 14px; background: color-mix(in srgb, var(--site-marque) 14%, #fff); color: var(--encre2); font-size: 14px; text-align: center; }
.sa-tuile b { font: 500 30px/1.1 var(--serif); color: var(--encre); }
.sa-tel { margin-top: 0.3rem; font-weight: 600; letter-spacing: 0.06em; color: var(--site-marque); }
.sa-prestations { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 1.4rem; padding: 0 var(--cote) 2.4rem; }
.sa-carte, .sa-horaires { padding: 1.7rem 2rem; border-radius: 18px; }
.sa-carte { border: 1px solid var(--trait); background: #fff; }
.sa-horaires { background: color-mix(in srgb, var(--site-marque) 10%, #fff); }
.sa-carte h4, .sa-horaires h4 { margin-bottom: 0.7rem; font: 500 30px/1.1 var(--serif); text-align: center; color: var(--encre); }
.sa-carte .itf-s-lignes li { font-size: 15px; }
.sa-horaires .itf-s-lignes li { border-bottom-color: color-mix(in srgb, var(--site-marque) 18%, #fff); }
.sa-adresse { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 0.9rem; font-size: 13px; color: var(--encre2); }
.sa-adresse .itf-ic { color: var(--site-marque); font-size: 15px; }
.itf-t-salon .itf-s-avis { background: #fff; }
.itf-t-salon .itf-s-titre-section { font: 500 30px/1.1 var(--serif); text-align: center; margin-bottom: 1.1rem; }
.itf-t-salon .itf-s-avis-carte { padding: 0.6rem 1rem; border: 0; background: none; text-align: center; }
.itf-t-salon .itf-s-avis-carte blockquote { font: italic 500 20px/1.35 var(--serif); }
.itf-t-salon .itf-s-pied { background: #3A2A2F; }

/* ---- Chez Marcel : bistro, photo plein cadre, ardoise et carte ---- */
.itf-t-resto { --encre: #2A1B10; --encre2: #6B5645; --encre3: #9B8670; --fond: #FBF5EA; --trait: #EADFC9; --nuit: #1E140C; --serif: 'Playfair Display', Georgia, 'Times New Roman', serif; background: var(--fond); }
.re-nav { background: rgba(30, 20, 12, 0.97); border-bottom-color: #3A2A1C; color: #F4E9D6; }
.re-marque { font: 700 21px/1 var(--serif); white-space: nowrap; }
.re-nav .itf-s-liens { color: #D7C7AD; }
.re-cta, .re-btn--plein { padding: 0.55rem 1.15rem; border-radius: 4px; background: var(--site-marque); color: #1E140C; font-size: 13px; font-weight: 700; white-space: nowrap; }
.re-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; min-height: 380px; padding: 2.6rem var(--cote); overflow: hidden; background: var(--nuit); color: #fff; }
.re-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.re-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20, 12, 6, 0.9), rgba(20, 12, 6, 0.55) 60%, rgba(20, 12, 6, 0.25)); }
.re-hero > :not(img) { position: relative; z-index: 2; }
.re-hero-texte { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.re-sur { font-size: 11.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--site-marque); }
.re-hero .itf-s-h1 { max-width: 14em; font: 700 48px/1.08 var(--serif); letter-spacing: -0.01em; color: #fff; }
.re-hero .itf-s-sous { color: #E6D9C2; }
.re-btn { display: inline-flex; align-items: center; padding: 0.7rem 1.3rem; border-radius: 4px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.re-btn--contour { border: 1.5px solid rgba(255, 255, 255, 0.45); color: #fff; }
.re-ardoise { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; width: 220px; padding: 1.3rem 1.2rem; border: 7px solid #6B4A2B; border-radius: 6px; background: #262B2D; color: #F3F1EA; text-align: center; box-shadow: 0 24px 44px -18px rgba(0, 0, 0, 0.8); transform: rotate(2deg); }
.re-ardoise small { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #C9C5B8; }
.re-ardoise b { font: italic 600 19px/1.25 var(--serif); text-wrap: balance; }
.re-ardoise span { margin-top: 0.2rem; font: 700 24px/1 var(--serif); color: var(--site-marque); }
.re-infos { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2.4rem; padding: 1rem var(--cote); background: #F2E7D2; color: var(--encre); font-size: 13.5px; font-weight: 600; }
.re-infos span { display: inline-flex; align-items: center; gap: 0.5rem; }
.re-infos .itf-ic { font-size: 18px; color: var(--site-marque); }
.re-corps { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.8rem; padding: 2.6rem var(--cote) 2.2rem; }
.re-carte { align-self: start; padding: 1.9rem 2.2rem; border-radius: 4px; background: #fff; box-shadow: 0 0 0 6px var(--fond), 0 0 0 7px var(--trait); }
.re-carte h4 { font: 700 30px/1.1 var(--serif); text-align: center; color: var(--encre); }
.re-ornement { margin: 0.2rem 0 0.7rem; text-align: center; color: var(--site-marque); font-size: 14px; }
.re-carte .itf-s-lignes li { font-size: 15.5px; }
.re-carte .itf-s-lignes b { font-family: var(--serif); font-size: 17px; color: var(--encre); }
.re-cote { display: flex; flex-direction: column; gap: 1.1rem; }
.re-horaires { padding: 1.4rem 1.7rem; border-radius: 4px; background: var(--nuit); color: #F4E9D6; }
.re-horaires h4 { margin-bottom: 0.4rem; font: 700 22px/1.1 var(--serif); }
.re-horaires .itf-s-lignes li { border-bottom-color: rgba(244, 233, 214, 0.14); }
.re-horaires .itf-s-lignes li span { color: #D7C7AD; }
.re-horaires .itf-s-lignes li b { color: #fff; }
.re-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.re-vignette { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.re-adresse { display: flex; align-items: center; justify-content: center; gap: 0.4rem; font-size: 13px; color: var(--encre2); }
.re-adresse .itf-ic { color: var(--site-marque); font-size: 15px; }
.itf-t-resto .itf-s-titre-section { font: 700 26px/1.1 var(--serif); }
.itf-t-resto .itf-s-avis { padding-top: 0.6rem; }
.itf-t-resto .itf-s-avis-carte { border-radius: 4px; border-color: var(--trait); background: #fff; }
.itf-t-resto .itf-s-avis-carte blockquote { font: italic 500 15px/1.5 var(--serif); }
.itf-t-resto .itf-s-pied { background: var(--nuit); color: #CDBFA6; }

/* Le site s'adapte à la largeur de sa fenêtre (téléphone, tablette) */
@container (max-width: 760px) {
    .itf-s-nav { gap: 0.8rem; padding: 0.7rem 1rem; }
    .itf-s-liens { display: none; }
    .itf-s-h1 { font-size: 30px; }
    .itf-s-sous { font-size: 15px; }
    .itf-s-puces { font-size: 14px; }
    .itf-s-grille { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.6rem 1rem 0.6rem; }
    .itf-s-bloc h4 { font-size: 19px; }
    .itf-s-lignes li { font-size: 15px; }
    .itf-s-avis { grid-template-columns: minmax(0, 1fr); padding: 1.2rem 1rem 1.6rem; }
    .itf-s-avis-carte blockquote { font-size: 14.5px; }
    .itf-s-pied { flex-direction: column; padding: 1.2rem 1rem; font-size: 13.5px; }
    .ar-barre { flex-wrap: wrap; gap: 0.3rem; padding: 0.45rem 1rem; }
    .ar-btn { font-size: 15px; padding: 0.8rem 1.3rem; }
    .ar-hero { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; padding: 1.6rem 1rem 1.8rem; }
    .ar-garanties { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1.2rem 1rem; }
    .ar-services { padding: 1.6rem 1rem 0.2rem; }
    .ar-services-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ar-apropos { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; padding: 1.6rem 1rem; }
    .sa-nav { display: flex; justify-content: space-between; padding: 0.7rem 1rem; }
    .sa-liens:not(.sa-liens--d) { display: none; }
    .sa-logo { font-size: 25px; }
    .sa-hero { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; padding: 1.6rem 1rem 1.6rem; }
    .sa-hero .itf-s-h1 { font-size: 42px; }
    .sa-btn { font-size: 12px; padding: 0.8rem 1.3rem; }
    .sa-arche { aspect-ratio: 4 / 3; border-radius: 999px 999px 14px 14px; }
    .sa-sceau { left: 10px; bottom: 10px; width: 76px; height: 76px; }
    .sa-sceau b { font-size: 24px; }
    .sa-galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0.2rem 1rem 1.6rem; }
    .sa-tuile { grid-column: 1 / -1; order: -1; }
    .sa-prestations { grid-template-columns: minmax(0, 1fr); padding: 0 1rem 1.6rem; }
    .sa-carte, .sa-horaires { padding: 1.4rem 1.3rem; }
    .re-nav { padding: 0.7rem 1rem; }
    .re-hero { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; min-height: 0; padding: 1.8rem 1rem; }
    .re-hero .itf-s-h1 { font-size: 34px; }
    .re-btn { font-size: 15px; padding: 0.8rem 1.3rem; }
    .re-ardoise { width: min(220px, 100%); }
    .re-infos { gap: 0.5rem 1.4rem; padding: 0.9rem 1rem; }
    .re-corps { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; padding: 1.8rem 1rem 1.4rem; }
    .re-carte { padding: 1.4rem 1.3rem; }
}
@container (max-width: 480px) {
    .itf-s-marque { font-size: 16px; }
    .itf-s-logo { width: 28px; height: 28px; font-size: 14px; }
    .ar-cta, .re-cta, .sa-cta { display: none; }
    .itf-s-h1 { font-size: 27px; }
    .sa-hero .itf-s-h1 { font-size: 38px; }
    .re-hero .itf-s-h1 { font-size: 30px; }
    .itf-s-bloc { padding: 1.2rem 1.1rem; }
    .itf-s-lignes li { font-size: 14.5px; }
    .itf-statut { gap: 0.4rem; padding: 0.25rem 0.6rem; font-size: 11.5px; white-space: nowrap; }
    .itf-s-note { top: 10px; right: 10px; padding: 0.3rem 0.5rem; font-size: 10.5px; white-space: nowrap; }
    .itf-s-badge { bottom: 10px; left: 10px; padding: 0.35rem 0.65rem; font-size: 11px; white-space: nowrap; }
    .ar-btn, .re-btn, .sa-btn { flex: 1 1 100%; justify-content: center; }
    .ar-services-grille { grid-template-columns: minmax(0, 1fr); }
    .ar-garanties { grid-template-columns: minmax(0, 1fr); }
}
.itf-legende { margin-top: 1rem; text-align: center; font-size: 0.78rem; color: var(--text-dim); }

/* Composants maison à la place des contrôles natifs du navigateur */
.itf-seg { display: inline-flex; padding: 2px; border: 1px solid var(--g-bord2); border-radius: 8px; background: var(--g-panneau2); }
.itf-seg-btn { height: 24px; padding: 0 0.65rem; border: 0; border-radius: 6px; background: none; color: var(--g-texte2); font: 600 0.74rem system-ui, -apple-system, "Segoe UI", sans-serif; cursor: pointer; transition: background 0.15s, color 0.15s; }
.itf-seg-btn[aria-pressed="true"] { background: var(--g-accent-pale); color: #9DBBF5; }
.itf-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.itf-chip, .itf-couleur {
    height: 30px; border: 1px solid var(--g-bord2); border-radius: 100px; background: var(--g-panneau2); color: var(--g-texte2);
    font: 500 0.76rem system-ui, -apple-system, "Segoe UI", sans-serif; cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.itf-chip { padding: 0 0.8rem; }
.itf-couleur { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0 0.8rem 0 0.55rem; color: var(--g-texte); }
.itf-couleur i { width: 13px; height: 13px; border-radius: 50%; }
.itf-couleur[data-cle="orange"] i { background: #FFB020; }
.itf-couleur[data-cle="bleu"] i { background: #5B8DEF; }
.itf-couleur[data-cle="vert"] i { background: #34E5A0; }
.itf-couleur[data-cle="anthracite"] i { background: #2E3131; border: 1px solid #6a7070; }
@media (hover: hover) { .itf-chip:hover, .itf-couleur:hover { border-color: var(--g-accent); } }
.itf-chip[aria-pressed="true"] { background: var(--g-accent-pale); border-color: var(--g-accent); color: #9DBBF5; }
.itf-couleur[aria-pressed="true"] { border-color: var(--g-accent); box-shadow: 0 0 0 2px rgba(91, 141, 239, 0.35); }
.itf-planning { margin-top: 0.7rem; font-size: 0.76rem; color: var(--g-texte2); text-wrap: pretty; }
.itf-heure { display: inline-flex; align-items: center; justify-content: space-between; gap: 0.4rem; width: 96px; text-align: left; cursor: pointer; font-variant-numeric: tabular-nums; }
.itf-heure svg { flex: none; color: var(--g-texte3); }
.itf-heure:disabled { opacity: 0.4; cursor: default; }
.itf-heure[aria-expanded="true"] { border-color: var(--g-accent); box-shadow: 0 0 0 3px rgba(91, 141, 239, 0.25); }
.itf-pop {
    position: absolute; z-index: 6; display: flex; gap: 0.4rem; padding: 0.4rem;
    border: 1px solid var(--g-bord2); border-radius: 10px; background: var(--g-panneau);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.9); animation: itfEntre 0.2s cubic-bezier(.16, 1, .3, 1);
}
.itf-pop-col { display: flex; flex-direction: column; gap: 2px; width: 56px; max-height: 208px; overflow-y: auto; }
.itf-pop-col button { flex: none; height: 30px; border: 0; border-radius: 6px; background: none; color: var(--g-texte2); font: 600 0.8rem ui-monospace, SFMono-Regular, Menlo, monospace; cursor: pointer; }
@media (hover: hover) { .itf-pop-col button:hover { background: var(--g-panneau2); color: var(--g-texte); } }
.itf-pop-col button[aria-pressed="true"] { background: var(--g-accent-pale); color: #9DBBF5; }
@supports not selector(::-webkit-scrollbar) { .itf-pop-col, .itf-cote, .itf-histo, .itf-ecran { scrollbar-width: thin; scrollbar-color: #3A414B transparent; } .itf-site-corps { scrollbar-width: thin; scrollbar-color: #C3CAD7 transparent; } }
.itf-site-corps::-webkit-scrollbar { width: 8px; }
.itf-site-corps::-webkit-scrollbar-thumb { border-radius: 4px; background: #C3CAD7; }
.itf-site-corps::-webkit-scrollbar-track, .itf-site-corps::-webkit-scrollbar-button { background: transparent; display: none; }
/* Barres de défilement fines et sombres, aussi pour les navigateurs qui ne connaissent pas scrollbar-width */
.itf-pop-col::-webkit-scrollbar, .itf-cote::-webkit-scrollbar, .itf-ecran::-webkit-scrollbar { width: 6px; height: 6px; }
.itf-pop-col::-webkit-scrollbar-thumb, .itf-cote::-webkit-scrollbar-thumb, .itf-ecran::-webkit-scrollbar-thumb { border-radius: 3px; background: #3A414B; }
.itf-pop-col::-webkit-scrollbar-track, .itf-cote::-webkit-scrollbar-track, .itf-ecran::-webkit-scrollbar-track { background: transparent; }
.itf-pop-col::-webkit-scrollbar-button, .itf-cote::-webkit-scrollbar-button, .itf-ecran::-webkit-scrollbar-button { display: none; }
/* Remplissage automatique du navigateur : on garde les couleurs de la démonstration */
.itf-gestion input:-webkit-autofill, .itf-gestion input:-webkit-autofill:focus { -webkit-text-fill-color: var(--g-texte); caret-color: var(--g-texte); box-shadow: 0 0 0 1000px #1C2026 inset; transition: background-color 9999s ease-out 0s; }
/* Téléphone et tablette */
@media (max-width: 760px) {
    .itf-gestion .ecran-barre .real-points, .itf-site .ecran-barre .real-points { display: none; }
    .itf-app { grid-template-columns: minmax(0, 1fr); }
    .itf-cote { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.4rem; padding: 0.5rem; border-right: 0; border-bottom: 1px solid var(--g-bord); }
    .itf-marque, .itf-groupe, .itf-cyzeo { display: none; }
    .itf-menu { flex-direction: row; flex-wrap: wrap; gap: 0.3rem; }
    .itf-metier { padding: 0.36rem 0.7rem; font-size: 0.78rem; }
    .itf-metiers > span { flex: 0 0 100%; }
    .itf-lien { flex: none; white-space: nowrap; }
    .itf-deux, .itf-grille, .itf-mfa { grid-template-columns: minmax(0, 1fr); }
    .itf-ligne { grid-template-columns: minmax(0, 1fr) 96px 32px; }
    .itf-corps, .itf-login, .itf-app { min-height: 0; }
    .itf-login { padding: 1.2rem 0.8rem; }
    .itf-ecran { padding: 0.8rem; }
}
/* Comparatif avec un WordPress classique et note finale (repris de l'ancienne section de l'accueil) */
.adm-vs { display: grid; gap: 1rem; margin-top: 2.2rem; max-width: 52rem; margin-inline: auto; }
@media (min-width: 760px) { .adm-vs { grid-template-columns: 1fr 1fr; } }
.adm-wp { opacity: 0.88; }
.adm-moi { border-color: rgba(52, 229, 160, 0.35); }
.adm-liste { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin-top: 1rem; }
.adm-liste li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.92rem; color: var(--text-soft); }
.adm-liste svg { flex: none; margin-top: 0.2rem; }
.adm-liste--non svg { color: var(--rose); }
.adm-liste--oui svg { color: var(--lime); }
.adm-note { max-width: 40rem; margin: 2rem auto 0; text-align: center; font-size: 0.9rem; color: var(--text-soft); text-wrap: pretty; }
/* Ordinateur : l'interface remplit sa fenêtre 16:9 ; ce qui dépasse défile à l'intérieur */
@media (min-width: 1100px) {
    .itf-corps { display: flex; flex-direction: column; flex: 1; min-height: 0; }
    .itf-app, .itf-login { flex: 1; min-height: 0; }
    .itf-app { grid-template-rows: minmax(0, 1fr); }
    .itf-principal, .itf-cote { min-height: 0; }
    .itf-ecran { min-height: 0; overflow-y: auto; }
    .itf-cote { overflow-y: auto; }
}
/* Petits téléphones : les horaires passent d'un tableau à une ligne par jour (case, jour, ouverture, fermeture) */
@media (max-width: 560px) {
    .itf-table, .itf-table tbody { display: block; }
    .itf-table thead { display: none; }
    .itf-table tr { display: grid; grid-template-columns: 17px minmax(0, 1fr) 62px 62px; align-items: center; column-gap: 0.4rem; padding: 0.35rem 0; border-bottom: 1px solid var(--g-bord); }
    .itf-table th, .itf-table td { padding: 0; border-bottom: 0; }
    .itf-table td:nth-of-type(1) { order: 1; }
    .itf-table tbody th { order: 2; }
    .itf-table td:nth-of-type(n+2) { order: 3; }
    .itf-heure { width: 62px; padding: 0 0.3rem; justify-content: center; }
    .itf-heure svg { display: none; }
}
