/* ==========================================================================
   SITE PUBLIC PROXYDOMI — FEUILLE « SENIORS » (refonte du 19/11/2026)

   Écrite à la main : le CSS Tailwind compilé est figé sur ce serveur (npm
   impossible), une classe Tailwind nouvelle n'existerait pas. Toutes les
   classes d'ici commencent par « ps- » pour ne jamais croiser Tailwind, qui
   reste chargé sur les pages légales.

   Règles suivies partout :
   - texte de base 20 px (1rem), interligne 1,6, jamais sous 18 px ;
   - contraste AAA (7:1) pour le texte : encre #1A1F27, gris #3A4250,
     framboise #9E0F57 (7,9:1 sur blanc, porte aussi le blanc) ;
   - cibles tactiles de 48 px au moins, liens soulignés, focus très visible ;
   - aucune animation si le système demande « réduire les animations ».
   Option « Taille du texte » : html[data-taille="2|3"] agrandit tout.
   ========================================================================== */

:root {
    --ps-encre: #1A1F27;
    --ps-gris: #3A4250;
    --ps-framboise: #9E0F57;
    --ps-framboise-fonce: #7A0B43;
    --ps-rose-vif: #E5197F;
    --ps-orange: #F39200;
    --ps-fond-chaud: #FBF6F1;
    --ps-fond-rose: #FFF1F7;
    --ps-filet: #D9CFC6;
    --ps-pied: #3D0B25;
    --ps-vert: #0B5D3B;
    --ps-rouge: #A31F1F;
    --ps-rayon: 14px;
}

html { font-size: 125%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* L attribut hidden gagne toujours (sinon display:grid/flex le surcharge). */
.ps-corps [hidden] { display: none !important; }
html[data-taille="2"] { font-size: 143.75%; }
html[data-taille="3"] { font-size: 162.5%; }

body.ps-corps {
    margin: 0;
    background: #fff;
    color: var(--ps-encre);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.ps-corps *, .ps-corps *::before, .ps-corps *::after { box-sizing: border-box; }
.ps-corps img, .ps-corps video, .ps-corps svg { max-width: 100%; }
.ps-corps img { height: auto; }

/* Liens toujours soulignés : la couleur seule ne suffit pas. */
.ps-corps a { color: var(--ps-framboise); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ps-corps a:hover { color: var(--ps-framboise-fonce); text-decoration-thickness: 3px; }

/* Focus clavier très visible, sur fond clair comme sur fond sombre. */
.ps-corps :focus-visible {
    outline: 4px solid var(--ps-encre);
    outline-offset: 3px;
    box-shadow: 0 0 0 7px #fff;
    border-radius: 6px;
}
.ps-pied :focus-visible { outline-color: #fff; box-shadow: 0 0 0 7px var(--ps-pied); }

.ps-masque {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.ps-evitement {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--ps-encre); color: #fff !important; padding: 14px 20px; font-weight: 700;
}
.ps-evitement:focus { left: 8px; top: 8px; }

/* -------------------------------------------------------------- Mise en page */
.ps-conteneur { width: 100%; max-width: 74rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .ps-conteneur { padding: 0 32px; } }
.ps-lecture { max-width: 40rem; }
.ps-centre { text-align: center; margin-left: auto; margin-right: auto; }

.ps-section { padding: 48px 0; }
@media (min-width: 1024px) { .ps-section { padding: 72px 0; } }
.ps-section--chaud { background: var(--ps-fond-chaud); }
.ps-section--rose { background: var(--ps-fond-rose); }
.ps-section--serre { padding-top: 24px; }

/* ------------------------------------------------------------- Typographie */
.ps-page h1, .ps-page h2, .ps-page h3 { color: var(--ps-encre); font-weight: 800; letter-spacing: -.01em; margin: 0; }
.ps-page h1 { font-size: 1.6rem; line-height: 1.2; }
.ps-page h2 { font-size: 1.4rem; line-height: 1.25; margin-bottom: 18px; }
.ps-page h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: 8px; }
@media (min-width: 768px) {
    .ps-page h1 { font-size: 2.3rem; }
    .ps-page h2 { font-size: 1.75rem; }
    .ps-page h3 { font-size: 1.25rem; }
}
.ps-page p { margin: 0 0 16px; }
.ps-page p:last-child { margin-bottom: 0; }
.ps-page ul, .ps-page ol { margin: 0 0 16px; }
.ps-page strong { font-weight: 800; color: var(--ps-encre); }
.ps-surtitre { display: block; font-size: .9rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ps-framboise); margin-bottom: 8px; }
.ps-chapo { font-size: 1.1rem; color: var(--ps-gris); margin-top: 14px !important; }
.ps-note { font-size: .9rem; color: var(--ps-gris); }
.ps-entete-page { padding: 36px 0 8px; }
@media (min-width: 1024px) { .ps-entete-page { padding: 56px 0 8px; } }

/* ----------------------------------------------------------------- Boutons */
.ps-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 60px; padding: 12px 24px;
    border-radius: var(--ps-rayon); border: 3px solid transparent;
    font: inherit; font-size: 1.05rem; font-weight: 800; line-height: 1.2;
    text-align: center; text-decoration: none !important; cursor: pointer;
}
.ps-btn svg { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
.ps-btn--appel { background: var(--ps-framboise); color: #fff !important; }
.ps-btn--appel:hover { background: var(--ps-framboise-fonce); color: #fff !important; }
.ps-btn--rappel { background: #fff; color: var(--ps-encre) !important; border-color: var(--ps-framboise); }
.ps-btn--rappel:hover { background: var(--ps-fond-rose); }
.ps-btn--sombre { background: var(--ps-encre); color: #fff !important; }
.ps-btn--sombre:hover { background: #000; }
.ps-btn--bloc { display: flex; width: 100%; }
.ps-btn small { display: block; font-size: .9rem; font-weight: 700; }
.ps-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
@media (min-width: 640px) { .ps-actions { flex-direction: row; flex-wrap: wrap; } }
.ps-actions--centre { justify-content: center; }
.ps-lien-fort { font-weight: 800; }
.ps-lien-suite { display: inline-flex; align-items: center; min-height: 48px; font-weight: 800; }

/* ------------------------------------------------------------------ En-tête */
.ps-entete { background: #fff; border-bottom: 4px solid var(--ps-rose-vif); position: relative; z-index: 50; }
@media (min-width: 1280px) { .ps-entete { position: sticky; top: 0; } }
/* Ancres (#rappel, #comment…) : le titre ne passe pas sous l en-tête collant. */
@media (min-width: 1024px) { html { scroll-padding-top: 140px; } }
.ps-entete-outils { display: none; background: var(--ps-fond-chaud); font-size: .9rem; }
.ps-entete-outils .ps-conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.ps-entete-outils a { color: var(--ps-encre); font-weight: 700; display: inline-flex; align-items: center; min-height: 48px; padding: 0 6px; }
.ps-entete-outils-liens { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.ps-entete-outils .ps-outil-rappel { border: 2px solid var(--ps-framboise); border-radius: 10px; padding: 0 14px; color: var(--ps-framboise); font-weight: 800; text-decoration: none; background: #fff; }
.ps-entete-outils .ps-outil-rappel:hover { background: var(--ps-fond-rose); text-decoration: underline; }
@media (min-width: 1024px) { .ps-entete-outils { display: block; } }
.ps-entete-barre { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.ps-logo { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none !important; min-height: 48px; justify-content: center; }
.ps-logo img { width: 150px; height: auto; display: block; }
@media (min-width: 768px) { .ps-logo img { width: 190px; } }
.ps-slogan { display: none; font-size: .9rem; font-style: italic; color: var(--ps-framboise); margin-top: 2px; }
@media (min-width: 1560px) { .ps-slogan { display: block; } }

.ps-bouton-menu {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 52px; min-width: 52px; padding: 0 16px;
    border: 3px solid var(--ps-encre); border-radius: 12px; background: #fff; color: var(--ps-encre);
    font: inherit; font-size: 1rem; font-weight: 800; cursor: pointer;
}
.ps-bouton-menu svg { width: 24px; height: 24px; }
.ps-bouton-menu[aria-expanded="true"] { background: var(--ps-encre); color: #fff; }
@media (min-width: 1280px) { .ps-bouton-menu { display: none; } }

.ps-nav { display: none; }
@media (min-width: 1280px) {
    .ps-nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
    .ps-nav a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 10px; white-space: nowrap; color: var(--ps-encre); font-weight: 700; font-size: .95rem; border-radius: 10px; text-decoration: none; }
    .ps-nav a:hover { background: var(--ps-fond-rose); text-decoration: underline; }
    .ps-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; color: var(--ps-framboise); }
    .ps-nav .ps-btn { min-height: 56px; margin-left: 10px; font-size: 1rem; padding: 10px 18px; white-space: nowrap; }
}

/* Panneau du menu sur téléphone : simple, sans animation. */
.ps-panneau { display: none; border-top: 2px solid var(--ps-filet); background: #fff; padding: 8px 0 20px; }
.ps-panneau.est-ouvert { display: block; }
@media (min-width: 1280px) { .ps-panneau, .ps-panneau.est-ouvert { display: none; } }
.ps-panneau ul { list-style: none; margin: 0; padding: 0; }
.ps-panneau li a { display: flex; align-items: center; min-height: 58px; padding: 0 4px; font-size: 1.1rem; font-weight: 800; color: var(--ps-encre); border-bottom: 1px solid #ECE4DC; }
.ps-panneau li a[aria-current="page"] { color: var(--ps-framboise); }
.ps-panneau .ps-btn { margin-top: 16px; }
.ps-panneau-autres { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ps-panneau-autres a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; color: var(--ps-encre); }

/* Taille du texte */
.ps-taille { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ps-taille-libelle { font-weight: 700; }
.ps-taille button {
    min-width: 52px; min-height: 48px; padding: 0 10px;
    border: 2px solid var(--ps-encre); border-radius: 10px; background: #fff; color: var(--ps-encre);
    font-family: inherit; font-weight: 800; cursor: pointer; line-height: 1;
}
.ps-taille button[data-taille="1"] { font-size: 18px; }
.ps-taille button[data-taille="2"] { font-size: 22px; }
.ps-taille button[data-taille="3"] { font-size: 26px; }
.ps-taille button[aria-pressed="true"] { background: var(--ps-encre); color: #fff; }
.ps-panneau .ps-taille { margin-top: 20px; }

/* Messages d'information sous l'en-tête */
.ps-alerte { padding: 16px 0; font-weight: 700; }
.ps-alerte--ok { background: #E3F2EA; color: #0E4A2F; border-bottom: 2px solid #9CCBB1; }
.ps-alerte--attention { background: #FFF4DC; color: #5A3A00; border-bottom: 2px solid #E7C27A; }

/* ------------------------------------------------- Barre d'appel du téléphone */
.ps-barre-appel {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: #fff; box-shadow: 0 -4px 18px rgba(26,31,39,.18); border-top: 1px solid var(--ps-filet);
}
.ps-barre-appel .ps-btn { min-height: 62px; padding: 6px 10px; font-size: 1rem; border-radius: 12px; }
.ps-barre-appel .ps-btn small { font-size: .9rem; }
.ps-corps { padding-bottom: 96px; }
@media (min-width: 1280px) {
    .ps-barre-appel { display: none; }
    .ps-corps { padding-bottom: 0; }
}

/* ------------------------------------------------------------------- Cartes */
.ps-cartes { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .ps-cartes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ps-cartes--4 { grid-template-columns: repeat(4, 1fr); } .ps-cartes--3 { grid-template-columns: repeat(3, 1fr); } }
.ps-carte { background: #fff; border: 2px solid var(--ps-filet); border-radius: 18px; padding: 22px 20px; }
.ps-carte h3 { display: flex; align-items: center; gap: 12px; }
.ps-carte-icone { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ps-fond-rose); color: var(--ps-framboise); }
.ps-carte-icone svg { width: 28px; height: 28px; }
.ps-carte p { color: var(--ps-gris); }
.ps-carte .ps-lien-suite { margin-top: 6px; }

/* Deux chemins de l'accueil : « C'est pour moi » / « C'est pour un parent ». */
.ps-chemins { margin-top: 8px; }
.ps-chemin { border: 3px solid var(--ps-framboise); display: flex; flex-direction: column; }
.ps-chemin h3 { font-size: 1.3rem; }
.ps-chemin .ps-coches { margin-top: 10px; }
.ps-chemin .ps-actions { margin-top: auto; padding-top: 6px; }
.ps-chemin .ps-coches li { color: var(--ps-encre); }

/* ----------------------------------------------------------------- Listes */
.ps-coches { list-style: none; padding: 0; }
.ps-coches li { position: relative; padding-left: 40px; margin-bottom: 14px; }
.ps-coches li::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 28px; height: 28px; border-radius: 50%;
    background: var(--ps-framboise) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/18px no-repeat;
}
.ps-coches--attention li::before { background: var(--ps-encre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 6v8M12 18.5v.5'/%3E%3C/svg%3E") center/18px no-repeat; }

.ps-etapes { list-style: none; padding: 0; counter-reset: etape; display: grid; gap: 16px; }
@media (min-width: 900px) { .ps-etapes--ligne { grid-template-columns: repeat(3, 1fr); } }
.ps-etapes li { counter-increment: etape; position: relative; padding: 20px 20px 20px 84px; background: #fff; border: 2px solid var(--ps-filet); border-radius: 18px; min-height: 84px; }
.ps-etapes li::before {
    content: counter(etape); position: absolute; left: 18px; top: 18px;
    width: 48px; height: 48px; border-radius: 50%; background: var(--ps-framboise); color: #fff;
    font-size: 1.3rem; font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.ps-etapes strong { display: block; font-size: 1.1rem; margin-bottom: 2px; }

/* --------------------------------------------------------------- Encadrés */
.ps-encadre { background: var(--ps-fond-rose); border: 2px solid #EDB9D1; border-radius: 18px; padding: 22px 20px; }
.ps-encadre--chaud { background: var(--ps-fond-chaud); border-color: var(--ps-filet); }
.ps-citation { border-left: 6px solid var(--ps-framboise); padding: 4px 0 4px 18px; font-size: 1.15rem; font-weight: 800; margin: 0 0 12px; }

/* ------------------------------------------------------------------- Prix */
.ps-prix { display: block; font-size: 2.2rem; font-weight: 900; line-height: 1.05; color: var(--ps-encre); }
.ps-prix small { font-size: 1.05rem; font-weight: 800; }
.ps-prix-sous { font-size: 1.05rem; font-weight: 800; color: var(--ps-framboise); margin: 6px 0 0 !important; }
.ps-boite-prix { background: var(--ps-fond-rose); border: 2px solid #EDB9D1; border-radius: 18px; padding: 16px 18px; margin-top: 18px; }
.ps-boite-prix p { margin: 8px 0 0; }

/* ----------------------------------------------- Premier écran de l'accueil */
.ps-heros-video { position: relative; background: #2B2F36; overflow: hidden; aspect-ratio: 16 / 10; max-height: 50vh; }
@media (min-width: 700px) { .ps-heros-video { aspect-ratio: 16 / 9; } }
.ps-heros-video img, .ps-heros-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.ps-heros-video video { opacity: 0; }
.ps-heros-video video.est-prete { opacity: 1; }
.ps-heros-voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.38) 100%); pointer-events: none; }
.ps-video-pause {
    position: absolute; right: 12px; bottom: 12px; z-index: 2;
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 50px; padding: 0 16px; border-radius: 26px; border: 2px solid #fff;
    background: rgba(17,20,26,.82); color: #fff; font: inherit; font-size: .9rem; font-weight: 800; cursor: pointer;
}
.ps-video-pause svg { width: 20px; height: 20px; }
.ps-video-pause[hidden] { display: none; }
.ps-heros-texte { padding: 22px 0 8px; }
@media (min-width: 1024px) {
    .ps-heros { display: grid; grid-template-columns: 1fr 1.05fr; align-items: stretch; background: #fff; }
    .ps-heros-video { aspect-ratio: auto; max-height: none; min-height: 600px; order: 2; }
    .ps-video-pause { top: 16px; bottom: auto; right: 16px; }
    .ps-heros-texte { order: 1; padding: 56px 40px 48px max(32px, calc((100vw - 74rem) / 2 + 32px)); }
}
.ps-confiance { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: .95rem; color: var(--ps-gris); }
.ps-confiance li { display: flex; gap: 10px; align-items: flex-start; }
.ps-confiance svg { flex: 0 0 auto; width: 24px; height: 24px; color: var(--ps-vert); margin-top: 2px; }

/* ----------------------------------------------------------- Médias simples */
.ps-deux-colonnes { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .ps-deux-colonnes { grid-template-columns: 1fr 1fr; gap: 48px; } }
.ps-photo { border-radius: 20px; overflow: hidden; }
.ps-photo img { display: block; width: 100%; }
.ps-coloris { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .ps-coloris { grid-template-columns: repeat(4, 1fr); } }
.ps-coloris li { text-align: center; font-weight: 800; background: #fff; border: 2px solid var(--ps-filet); border-radius: 18px; padding: 12px; }
.ps-coloris img { display: block; width: 100%; max-width: 180px; margin: 0 auto 6px; }
.ps-sap { display: flex; align-items: center; gap: 16px; }
.ps-sap img { width: 96px; flex: 0 0 auto; }

/* ------------------------------------------------------------------- Avis */
.ps-avis-liste { display: grid; gap: 16px; }
@media (min-width: 800px) { .ps-avis-liste { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .ps-avis-liste { grid-template-columns: repeat(3, 1fr); } }
.ps-avis { background: #fff; border: 2px solid var(--ps-filet); border-radius: 18px; padding: 22px 20px; margin: 0; display: flex; flex-direction: column; }
.ps-avis blockquote { margin: 12px 0 14px; font-size: 1rem; }
.ps-avis figcaption { margin-top: auto; font-size: .9rem; color: var(--ps-gris); }
.ps-avis figcaption strong { display: block; font-size: 1rem; }
.ps-etoiles { display: flex; gap: 2px; color: #B45309; }
.ps-etoiles svg { width: 24px; height: 24px; }

/* ------------------------------------------------------------- Questions */
.ps-faq details { background: #fff; border: 2px solid var(--ps-filet); border-radius: 16px; margin-bottom: 12px; }
.ps-faq summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    min-height: 64px; padding: 14px 18px; font-size: 1.05rem; font-weight: 800; color: var(--ps-encre);
}
.ps-faq summary::-webkit-details-marker { display: none; }
.ps-faq summary::after {
    content: "+"; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
    border: 2px solid var(--ps-framboise); color: var(--ps-framboise);
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; line-height: 1;
}
.ps-faq details[open] summary::after { content: "−"; background: var(--ps-framboise); color: #fff; }
.ps-faq details[open] summary { border-bottom: 2px solid #ECE4DC; }
.ps-faq .ps-faq-reponse { padding: 16px 18px 18px; }

/* --------------------------------------------------------------- Tableaux */
.ps-tableau { width: 100%; border-collapse: collapse; font-size: 1rem; background: #fff; }
.ps-tableau th, .ps-tableau td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 2px solid #ECE4DC; }
.ps-tableau thead th { background: var(--ps-fond-rose); font-weight: 800; }
@media (max-width: 699px) {
    .ps-tableau thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .ps-tableau tr { display: block; border: 2px solid var(--ps-filet); border-radius: 16px; margin-bottom: 12px; padding: 6px 0; }
    .ps-tableau td { display: block; border: 0; padding: 6px 16px; }
    .ps-tableau td[data-libelle]::before { content: attr(data-libelle) " : "; font-weight: 800; display: block; color: var(--ps-gris); font-size: .9rem; }
}

/* ------------------------------------------------------------ Formulaires */
.ps-formulaire { display: grid; gap: 18px; }
.ps-champ label, .ps-legende { display: block; font-weight: 800; margin-bottom: 6px; }
.ps-champ .ps-facultatif { font-weight: 600; color: var(--ps-gris); }
.ps-champ input, .ps-champ select, .ps-champ textarea {
    display: block; width: 100%; min-height: 58px; padding: 12px 14px;
    border: 2px solid #6B6F76; border-radius: 12px; background: #fff; color: var(--ps-encre);
    font: inherit; font-size: 1rem;
}
.ps-champ textarea { min-height: 120px; resize: vertical; }
.ps-champ input::placeholder, .ps-champ textarea::placeholder { color: #5F646B; }
.ps-champ input:focus, .ps-champ select:focus, .ps-champ textarea:focus { border-color: var(--ps-framboise); outline: 3px solid var(--ps-framboise); outline-offset: 1px; box-shadow: none; }
.ps-champ.est-en-erreur input, .ps-champ.est-en-erreur select, .ps-champ.est-en-erreur textarea { border-color: var(--ps-rouge); background: #FFF5F5; }
.ps-aide { display: block; font-size: .9rem; color: var(--ps-gris); margin-top: 6px; }
.ps-erreur { display: block; margin-top: 6px; font-size: .95rem; font-weight: 800; color: var(--ps-rouge); }
.ps-erreur:empty { display: none; }
.ps-deux-champs { display: grid; gap: 18px; }
@media (min-width: 640px) { .ps-deux-champs { grid-template-columns: 1fr 1fr; } }
.ps-case { display: flex; align-items: flex-start; gap: 14px; }
.ps-case input { flex: 0 0 auto; width: 36px; height: 36px; margin: 2px 0 0; accent-color: var(--ps-framboise); cursor: pointer; }
.ps-case label, .ps-case span { font-size: .9rem; line-height: 1.5; color: var(--ps-encre); font-weight: 500; }
.ps-formulaire [data-envoi-erreur] { font-size: 1rem !important; }
.ps-piege { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.ps-bloc-formulaire { background: #fff; border: 2px solid var(--ps-filet); border-radius: 20px; padding: 22px 18px; }
@media (min-width: 768px) { .ps-bloc-formulaire { padding: 32px; } }

/* Tuiles de choix (devis, documentation) */
.ps-tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ps-tuile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 120px; padding: 14px 10px; border: 3px solid #7A736C; border-radius: 16px; background: #fff; text-align: center; cursor: pointer; font-weight: 800; }
.ps-tuile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ps-tuile svg { width: 44px; height: 44px; color: var(--ps-encre); }
.ps-tuile.est-choisi { border-color: var(--ps-framboise); background: var(--ps-fond-rose); box-shadow: 0 0 0 3px rgba(158,15,87,.25); }
.ps-tuile:has(input:focus-visible) { outline: 4px solid var(--ps-encre); outline-offset: 3px; }
.ps-tuile small { font-weight: 600; color: var(--ps-gris); font-size: .9rem; }
.ps-etape-devis { display: none; }
.ps-etape-devis.est-active { display: block; }
.ps-question { font-size: 1.15rem; font-weight: 800; margin: 0 0 16px; }
.ps-progression { font-weight: 800; color: var(--ps-gris); font-size: .9rem; margin: 0 0 8px; }
.ps-boutons-devis { display: flex; gap: 12px; margin-top: 20px; }
.ps-boutons-devis .ps-btn { flex: 1 1 0; padding: 10px 12px; }
.ps-boutons-devis [hidden] { display: none; }

/* -------------------------------------------------------------- Fenêtres */
dialog.ps-dialogue {
    width: min(640px, calc(100vw - 16px)); max-height: calc(100dvh - 16px);
    margin: auto; padding: 0; border: 0; border-radius: 20px; color: var(--ps-encre); background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
dialog.ps-dialogue::backdrop { background: rgba(17,20,26,.72); }
.ps-dialogue-tete { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; background: var(--ps-encre); color: #fff; }
.ps-dialogue-tete h2 { color: #fff !important; font-size: 1.15rem !important; margin: 0 !important; }
.ps-fermer { display: inline-flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 14px; border: 2px solid #fff; border-radius: 12px; background: transparent; color: #fff; font: inherit; font-size: .95rem; font-weight: 800; cursor: pointer; }
.ps-fermer svg { width: 22px; height: 22px; }
.ps-dialogue-corps { padding: 20px; }
.ps-dialogue-corps > p:first-child { color: var(--ps-gris); }

/* ---------------------------------------------------------- Pied de page */
.ps-pied { background: var(--ps-pied); color: #fff; padding: 48px 0 32px; font-size: .95rem; }
.ps-pied a { color: #fff; }
.ps-pied a:hover { color: #FFD6EA; }
.ps-pied-grille { display: grid; gap: 32px; }
@media (min-width: 768px) { .ps-pied-grille { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.ps-pied h2 { font-size: 1rem; font-weight: 800; margin: 0 0 10px; color: #fff; }
.ps-pied ul { list-style: none; margin: 0; padding: 0; }
.ps-pied li a { display: inline-flex; align-items: center; min-height: 48px; }
.ps-pied p { margin: 0 0 10px; }
.ps-pied-logo { width: 170px; height: auto; display: block; margin-bottom: 14px; }
.ps-pied-tel { font-size: 1.3rem; font-weight: 900; }
.ps-pied-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.35); font-size: .9rem; line-height: 1.7; }
.ps-pied .ps-taille button { border-color: #fff; background: transparent; color: #fff; }
.ps-pied .ps-taille button[aria-pressed="true"] { background: #fff; color: var(--ps-pied); }

.ps-pied p > a { display: inline-flex; align-items: center; min-height: 48px; }
.ps-pied li a { min-width: 48px; }

/* -------------------------------------------- Pages légales (Tailwind gardé) */
.ps-ancien main { font-size: 1rem; }
.ps-ancien main .text-xs { font-size: .9rem !important; line-height: 1.5; }
.ps-ancien main .text-sm { font-size: .95rem !important; line-height: 1.6; }
/* Titre en dégradé transparent : illisible pour un œil fatigué. */
.ps-ancien main .text-gradient-pink { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--ps-framboise) !important; }
.ps-ancien main a { color: var(--ps-framboise); text-decoration: underline; }
.ps-ancien main .text-gray-400, .ps-ancien main .text-gray-500, .ps-ancien main .text-gray-600 { color: var(--ps-gris) !important; }
.ps-ancien main .text-gray-700, .ps-ancien main .text-gray-800 { color: var(--ps-encre) !important; }
/* Liens-boutons des pages légales (« Retour à l'accueil ») : cible de 48 px. */
.ps-ancien main a.inline-flex, .ps-ancien main a.flex { min-height: 48px; }
/* Déconnexion (visiteur connecté) : même allure qu'un lien. */
.ps-deconnexion { display: inline; margin: 0; }
.ps-deconnexion button { background: none; border: 0; padding: 0 6px; min-height: 48px; font: inherit; font-weight: 700; color: var(--ps-encre); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ps-pied .ps-deconnexion button { color: #fff; }

/* ------------------------------------------------------ Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
    .ps-corps *, .ps-corps *::before, .ps-corps *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
    .ps-barre-appel, .ps-bouton-menu, .ps-video-pause, .ps-entete-outils { display: none !important; }
}

/* ------------------------------------------- Zoom fort / écrans étroits (reflow WCAG 1.4.10)
   Passe du 19/11/2026 : aucune barre de défilement horizontale à 320 px de
   large (zoom 400 % d'un écran de 1280), ni à 206 px (zoom 200 % d'un téléphone). */
body.ps-corps { overflow-wrap: anywhere; }
.ps-cartes > *, .ps-deux-colonnes > *, .ps-avis-liste > *, .ps-pied-grille > *, .ps-tuiles > *,
.ps-etapes > *, .ps-actions > *, .ps-heros > *, .ps-chemins > * { min-width: 0; }
.ps-btn { max-width: 100%; }
.ps-entete-barre { flex-wrap: wrap; }
.ps-tableau { table-layout: fixed; }
.ps-pied a.ps-pied-tel { display: inline-flex; align-items: center; min-height: 48px; }
@media (max-width: 359px) {
    .ps-conteneur { padding: 0 12px; }
    .ps-logo img { width: 128px; }
    .ps-bouton-menu { padding: 0 10px; }
    .ps-etapes li { padding: 74px 14px 16px; }
    .ps-carte, .ps-encadre, .ps-avis, .ps-bloc-formulaire { padding-left: 14px; padding-right: 14px; }
    .ps-tuiles { grid-template-columns: 1fr; }
    .ps-coches li { padding-left: 36px; }
    .ps-taille-libelle { flex-basis: 100%; }
}
@media (max-width: 299px) {
    .ps-barre-appel { grid-template-columns: 1fr; gap: 6px; }
    .ps-barre-appel .ps-btn { min-height: 52px; }
    .ps-corps { padding-bottom: 140px; }
    .ps-dialogue-tete { flex-wrap: wrap; }
}

/* Passe du 19/11/2026 (suite) : 19,90 € reste le seul prix mis en avant ; le
   tarif avant crédit d'impôt passe en petit texte lisible (18 px). Exposants
   (« 1er ») lisibles. Numéro des mentions du pied : zone tactile de 48 px. */
.ps-page .ps-note.ps-note-tarif { font-size: .9rem; }
.ps-page sup { font-size: .9rem; line-height: 0; }
.ps-pied-legal a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 48px; }
