/* lapagepro.fr : style commun des pages (copié dans /assets/page.css par includes/page-pro.php).
   La couleur de chaque page (--accent) est dans son fichier theme.css. */
:root {
    --accent: #0f63e3;
    --text: #1c2433;
    --muted: #5f6b7d;
    --line: #e4e8ef;
    --bg: #f5f7fa;
    --card: #ffffff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

a { color: var(--accent); }

img { max-width: 100%; display: block; }

/* En-tête */
.pp-hero {
    position: relative;
    background: var(--accent);
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.pp-cover {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.pp-hero.has-cover::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .55) 100%);
}
.pp-hero-inner {
    position: relative; z-index: 1;
    max-width: 760px; margin: 0 auto;
    padding: 44px 20px 40px;
}
.pp-hero.has-cover .pp-hero-inner { padding-top: 120px; }
.pp-logo {
    width: 84px; height: 84px; margin: 0 auto 14px;
    border-radius: 22px; background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.pp-hero h1 { margin: 0; font-size: 30px; line-height: 1.2; }
.pp-tagline { margin: 8px 0 0; font-size: 17px; opacity: .95; }

main { max-width: 760px; margin: 0 auto; padding: 0 16px 24px; }

/* Boutons d'action */
.pp-actions {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
    margin: -22px 0 8px; position: relative; z-index: 2;
}
.pp-action {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 10px 18px;
    border-radius: 999px; background: var(--card); color: var(--text);
    font-weight: 600; text-decoration: none;
    box-shadow: 0 4px 14px rgba(20, 30, 50, .14);
}
.pp-action span { color: var(--accent); font-size: 18px; line-height: 1; }
.pp-action.pp-primary { background: var(--accent); color: #fff; }
.pp-action.pp-primary span { color: #fff; }

/* Menu du site (s'il y a d'autres pages que l'accueil) : collé en haut, liens défilants sur téléphone */
/* Fond toujours opaque (couleur de fond de la page) : certains modèles ont des cartes transparentes,
   le contenu ne doit pas apparaître derrière le menu pendant le défilement. */
.pp-nav { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0, 0, 0, .02); }
.pp-nav-inner { max-width: 760px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 18px; min-height: 52px; }
.pp-nav-brand { flex: none; font-weight: 700; color: var(--text); text-decoration: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-nav-links { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-left: auto; }
.pp-nav-links::-webkit-scrollbar { display: none; }
.pp-nav-links a { flex: none; padding: 15px 0 13px; color: var(--muted); text-decoration: none; font-size: 15px; border-bottom: 2px solid transparent; }
.pp-nav-links a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }

/* En-tête des autres pages : plus compact que l'accueil */
.pp-hero-sub .pp-hero-inner, .pp-hero.pp-hero-sub .pp-hero-inner { padding: 30px 20px 30px; }
.pp-hero-sub h1 { font-size: 26px; }
.pp-kicker { margin: 0 0 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.pp-hero-sub + main .pp-actions { margin-top: 18px; }
.pp-figure { margin: 18px 0 0; }
.pp-figure img { width: 100%; border-radius: 16px; }

/* Services sur leur propre page : cartes */
.pp-services-page li { padding: 14px 0; }

.tpl-elegance .pp-nav-brand, .tpl-prestige .pp-nav-brand { font-family: var(--serif); font-weight: 400; font-size: 18px; }
.tpl-elegance .pp-nav-links a, .tpl-prestige .pp-nav-links a, .tpl-editorial .pp-nav-links a { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.tpl-prestige .pp-nav { background: #0f0f10; }
.tpl-editorial .pp-nav { background: var(--bg); border-bottom-color: var(--text); }
.tpl-editorial .pp-nav-brand { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.tpl-epure .pp-nav { background: #fff; border-bottom-color: #ececec; }
.tpl-epure .pp-nav-brand { font-weight: 500; }
.tpl-cabinet .pp-nav { background: var(--navy); border-bottom: 0; }
.tpl-cabinet .pp-nav-brand { color: #fff; font-family: var(--serif); font-weight: 600; }
.tpl-cabinet .pp-nav-links a { color: #cfd6e4; }
.tpl-cabinet .pp-nav-links a[aria-current="page"] { color: #fff; }
.tpl-elegance .pp-figure img, .tpl-prestige .pp-figure img, .tpl-editorial .pp-figure img, .tpl-epure .pp-figure img { border-radius: 0; }
.tpl-cabinet .pp-figure img { border-radius: 8px; }
.tpl-cabinet .pp-hero-sub .pp-hero-inner { padding-bottom: 46px; }
.tpl-elegance .pp-hero-sub h1, .tpl-prestige .pp-hero-sub h1 { font-size: 30px; }
.tpl-editorial .pp-hero-sub h1 { font-size: 36px; }
.tpl-epure .pp-hero-sub h1 { font-size: 34px; }
.tpl-cabinet .pp-services-page { grid-template-columns: minmax(0, 1fr); }

/* « Tirer pour rafraîchir » de la page installée sur l'écran d'accueil (créé par page.js) */
.pp-ptr {
    position: fixed; top: 0; left: 50%; z-index: 50;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #fff; color: #333; font-size: 22px; line-height: 1;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .2);
    transform: translate(-50%, -56px); opacity: 0; pointer-events: none;
    transition: opacity .15s ease;
}
.pp-ptr.is-ready, .pp-ptr.is-loading { color: var(--accent); }
.pp-ptr.is-loading { animation: pp-ptr-spin .8s linear infinite; }
@keyframes pp-ptr-spin { to { transform: translate(-50%, 14px) rotate(360deg); } }

/* Bouton « Installer l'application » (affiché par page.js si possible) */
.pp-install { text-align: center; margin: 14px 0 4px; }
.pp-install[hidden], .pp-install-ios[hidden] { display: none; }
/* Couleur du texte de la page (et non la couleur principale) : toujours lisible, même avec une
   couleur principale claire (jaune, beige…). */
.pp-install-btn {
    font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
    padding: 9px 18px; border-radius: 999px;
    background: transparent; color: var(--text); border: 1px solid var(--text);
}
.pp-install-ios { margin: 10px auto 0; max-width: 420px; font-size: 14px; color: var(--muted); }
.pp-install-done[hidden], .pp-install-btn[hidden] { display: none; }
.pp-install-done {
    margin: 10px auto 0; max-width: 460px; padding: 12px 16px;
    font-size: 14px; line-height: 1.5; color: var(--text);
    border: 1px solid var(--line); background: var(--card);
}
.tpl-classique .pp-install-done, .pp-install-done { border-radius: 14px; }
.tpl-elegance .pp-install-done, .tpl-prestige .pp-install-done, .tpl-epure .pp-install-done { border-radius: 0; }
.tpl-elegance .pp-install-done, .tpl-epure .pp-install-done { background: transparent; }
.tpl-elegance .pp-install-btn, .tpl-prestige .pp-install-btn {
    border-radius: 0; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; padding: 10px 20px;
}
.tpl-prestige .pp-install-btn { border-color: var(--accent); }
.tpl-epure .pp-install { text-align: left; }
.tpl-epure .pp-install-btn { border: 0; border-bottom: 1px solid var(--text); border-radius: 0; padding: 4px 0; }

/* Application du client : boutons Google Play / App Store (noirs, comme les badges officiels,
   quel que soit le modèle). page.js n'affiche que le magasin de l'appareil, rien dans une application. */
.pp-stores { text-align: center; margin: 40px 0 8px; padding-top: 28px; border-top: 1px solid var(--line); }
.pp-store b { font-weight: inherit; }
.pp-stores[hidden], .pp-store[hidden] { display: none; }
.pp-stores-title { margin: 0 0 10px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.pp-stores-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pp-store {
    display: inline-flex; align-items: center; gap: 10px; min-width: 168px; height: 52px; padding: 0 16px;
    background: #000; color: #fff; border: 1px solid #a6a6a6; border-radius: 9px;
    text-decoration: none; text-align: left; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.pp-store:hover, .pp-store:focus-visible { background: #1d1d1f; color: #fff; }
.pp-store svg { width: 26px; height: 26px; flex: 0 0 auto; }
.pp-store span { display: flex; flex-direction: column; font-size: 19px; font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
.pp-store small { font-size: 10px; font-weight: 500; letter-spacing: .02em; text-transform: none; margin-bottom: 2px; }
.tpl-epure .pp-stores, .tpl-epure .pp-stores-list, .tpl-editorial .pp-stores, .tpl-editorial .pp-stores-list { text-align: left; justify-content: flex-start; }

/* Sections */
.pp-section {
    background: var(--card);
    border-radius: 18px;
    padding: 20px 20px 18px;
    margin: 16px 0;
    box-shadow: 0 1px 3px rgba(20, 30, 50, .08);
}
.pp-section h2 { margin: 0 0 12px; font-size: 20px; }
.pp-text h3 { margin: 18px 0 6px; font-size: 17px; }
.pp-text p { margin: 0 0 12px; }
.pp-text ul { margin: 0 0 12px; padding-left: 22px; }
.pp-note { color: var(--muted); font-size: 14px; margin: 10px 0 0; }

.pp-closure {
    background: #fff4e5; color: #7a4a00;
    border-radius: 14px; padding: 12px 16px; margin: 16px 0;
    font-weight: 600;
}

/* Horaires */
.pp-now { margin: 0 0 10px; font-weight: 700; }
.pp-now.is-open { color: #0a7a3d; }
.pp-now.is-closed { color: #b42318; }
.pp-hours { width: 100%; border-collapse: collapse; }
.pp-hours th, .pp-hours td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pp-hours th { font-weight: 500; width: 40%; }
.pp-hours tr:last-child th, .pp-hours tr:last-child td { border-bottom: 0; }
.pp-hours tr.is-today th, .pp-hours tr.is-today td { font-weight: 700; color: var(--accent); }

/* Services */
.pp-services { list-style: none; margin: 0; padding: 0; }
.pp-services li {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 10px 0; border-bottom: 1px solid var(--line);
}
.pp-services li:last-child { border-bottom: 0; }
.pp-services span { display: block; color: var(--muted); font-size: 14px; }
.pp-services em { font-style: normal; font-weight: 700; white-space: nowrap; }

/* Galerie */
.pp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pp-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }

.pp-social a {
    display: inline-block; margin: 4px 6px 0 0; padding: 6px 14px;
    border: 1px solid var(--line); border-radius: 999px;
    text-decoration: none; font-weight: 600;
}

/* Pied de page */
.lpp-pied-x9q4 {
    text-align: center; color: var(--muted); font-size: 13px;
    padding: 18px 16px 30px;
}
.lpp-pied-x9q4 a { color: var(--muted); }

/* Mentions légales, page d'attente */
.pp-legal { padding-top: 24px; }
.pp-legal h1 { font-size: 26px; }
.pp-legal h2 { font-size: 18px; margin: 24px 0 6px; }
.pp-placeholder { text-align: center; padding: 90px 20px; }
.pp-placeholder h1 { font-size: 26px; }

@media (max-width: 520px) {
    .pp-hero h1 { font-size: 25px; }
    .pp-gallery { grid-template-columns: repeat(2, 1fr); }
    .pp-action { padding: 10px 14px; }
}

/* ============================================================
   POLICES HEBERGEES SUR lapagepro.fr (/assets/fonts/, licence SIL Open Font License)
   Aucun appel à un service extérieur. Noms « LPP … » : jamais confondus avec une police installée.
   Si un fichier manque, le navigateur prend la police de secours de chaque pile (--serif, --sans).
   ============================================================ */
@font-face { font-family: "LPP Cormorant"; src: url("/assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "LPP Cormorant"; src: url("/assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "LPP Cormorant"; src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "LPP Jost"; src: url("/assets/fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "LPP Jost"; src: url("/assets/fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "LPP Jost"; src: url("/assets/fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "LPP Playfair"; src: url("/assets/fonts/playfair-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "LPP Playfair"; src: url("/assets/fonts/playfair-display-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "LPP Playfair"; src: url("/assets/fonts/playfair-display-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "LPP Inter"; src: url("/assets/fonts/inter-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "LPP Inter"; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "LPP Inter"; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "LPP DM Serif"; src: url("/assets/fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "LPP Fraunces"; src: url("/assets/fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ============================================================
   MODELES HAUT DE GAMME (classe tpl-… sur <body>)
   « classique » = styles ci-dessus, sans changement.
   ============================================================ */
.tpl-elegance, .tpl-prestige, .tpl-epure, .tpl-editorial, .tpl-cabinet {
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --sans: "Helvetica Neue", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
.tpl-elegance { --serif: "LPP Cormorant", "Iowan Old Style", Palatino, Georgia, serif; --sans: "LPP Jost", "Helvetica Neue", system-ui, sans-serif; }
.tpl-prestige { --serif: "LPP Playfair", "Iowan Old Style", Palatino, Georgia, serif; --sans: "LPP Inter", "Helvetica Neue", system-ui, sans-serif; }
.tpl-epure { --sans: "LPP Inter", "Helvetica Neue", system-ui, sans-serif; }
.tpl-editorial { --serif: "LPP DM Serif", "Iowan Old Style", Georgia, serif; --italic: "LPP Playfair", Georgia, serif; --sans: "LPP Inter", "Helvetica Neue", system-ui, sans-serif; }
.tpl-cabinet { --serif: "LPP Fraunces", "Iowan Old Style", Georgia, serif; --sans: "LPP Inter", "Helvetica Neue", system-ui, sans-serif; }

/* Boutons sobres : pas de pictogrammes, pas d'ombres */
.tpl-elegance .pp-action span, .tpl-prestige .pp-action span, .tpl-epure .pp-action span,
.tpl-editorial .pp-action span, .tpl-cabinet .pp-action span { display: none; }

/* ---------- Elégance : ivoire, titres à empattements, filets fins ---------- */
.tpl-elegance {
    --bg: #faf8f4; --card: transparent; --text: #23201c; --muted: #6f675d; --line: #e3ddd3;
    font-family: var(--sans);
    letter-spacing: .01em;
}
.tpl-elegance .pp-hero { background: #f1ece3; color: var(--text); }
.tpl-elegance .pp-hero.has-cover { color: #fff; }
.tpl-elegance .pp-hero.has-cover::after { background: linear-gradient(180deg, rgba(20, 16, 12, .25) 0%, rgba(20, 16, 12, .62) 100%); }
.tpl-elegance .pp-hero-inner { padding: 64px 24px 72px; }
.tpl-elegance .pp-hero.has-cover .pp-hero-inner { padding-top: 160px; }
.tpl-elegance .pp-hero h1 { font-family: var(--serif); font-weight: 400; font-size: 38px; letter-spacing: .02em; }
.tpl-elegance .pp-hero h1::after { content: ""; display: block; width: 48px; height: 1px; margin: 18px auto 0; background: var(--accent); }
.tpl-elegance .pp-hero.has-cover h1::after { background: #fff; }
.tpl-elegance .pp-tagline { font-family: var(--serif); font-style: italic; font-size: 18px; margin-top: 14px; }
.tpl-elegance .pp-logo { border-radius: 50%; box-shadow: none; border: 1px solid var(--line); }
.tpl-elegance .pp-actions { margin: 28px 0 8px; gap: 12px; }
.tpl-elegance .pp-action {
    border-radius: 0; background: transparent; box-shadow: none;
    border: 1px solid var(--text); color: var(--text);
    text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600;
    padding: 12px 22px;
}
.tpl-elegance .pp-action.pp-primary { background: var(--text); color: #fff; }
.tpl-elegance .pp-section { box-shadow: none; border-radius: 0; padding: 34px 4px 8px; margin: 0; border-top: 1px solid var(--line); }
.tpl-elegance main > .pp-section:first-of-type { border-top: 0; }
.tpl-elegance .pp-section h2 {
    font-family: var(--sans); font-weight: 600; font-size: 12px;
    text-transform: uppercase; letter-spacing: .22em; color: var(--accent); margin-bottom: 18px;
}
.tpl-elegance .pp-text { font-family: var(--serif); font-size: 18px; line-height: 1.75; }
.tpl-elegance .pp-text h3 { font-weight: 400; font-size: 21px; }
.tpl-elegance .pp-services li { border-bottom: 1px dotted var(--line); }
.tpl-elegance .pp-services strong { font-family: var(--serif); font-weight: 400; font-size: 18px; }
.tpl-elegance .pp-services em { font-family: var(--serif); font-weight: 400; font-size: 18px; }
.tpl-elegance .pp-gallery { gap: 4px; }
.tpl-elegance .pp-gallery img { border-radius: 0; }
.tpl-elegance .pp-social a { border-radius: 0; border-color: var(--text); color: var(--text); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.tpl-elegance .pp-closure { border-radius: 0; background: #f1ece3; color: var(--text); font-weight: 500; }
.tpl-elegance .pp-hours tr.is-today th, .tpl-elegance .pp-hours tr.is-today td { color: var(--text); }
.tpl-elegance .pp-legal h1 { font-family: var(--serif); font-weight: 400; }

/* ---------- Prestige : fond sombre, couleur principale en filets et boutons ---------- */
.tpl-prestige {
    --bg: #0f0f10; --card: #17171a; --text: #ecebe8; --muted: #a29f98; --line: #2b2a2e;
    font-family: var(--sans);
    letter-spacing: .01em;
}
.tpl-prestige a { color: var(--text); }
.tpl-prestige .pp-hero { background: #000; color: #fff; }
.tpl-prestige .pp-hero.has-cover::after { background: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, rgba(15, 15, 16, .95) 100%); }
.tpl-prestige .pp-hero-inner { padding: 72px 24px 76px; }
.tpl-prestige .pp-hero.has-cover .pp-hero-inner { padding-top: 200px; }
.tpl-prestige .pp-hero h1 { font-family: var(--serif); font-weight: 400; font-size: 40px; letter-spacing: .06em; text-transform: uppercase; }
.tpl-prestige .pp-tagline { color: var(--accent); text-transform: uppercase; letter-spacing: .25em; font-size: 12px; margin-top: 16px; }
.tpl-prestige .pp-logo { border-radius: 50%; background: transparent; box-shadow: 0 0 0 1px var(--accent); }
.tpl-prestige .pp-actions { margin: 30px 0 10px; gap: 12px; }
.tpl-prestige .pp-action {
    border-radius: 0; background: transparent; box-shadow: none; color: var(--text);
    border: 1px solid var(--accent);
    text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 600; padding: 12px 22px;
}
.tpl-prestige .pp-action.pp-primary { background: var(--accent); border-color: var(--accent); color: #0f0f10; }
.tpl-prestige .pp-section { background: var(--card); box-shadow: none; border-radius: 0; border: 1px solid var(--line); padding: 30px 26px 22px; }
.tpl-prestige .pp-section h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: .03em; }
.tpl-prestige .pp-section h2::after { content: ""; display: block; width: 36px; height: 1px; margin-top: 12px; background: var(--accent); }
.tpl-prestige .pp-text h3 { font-family: var(--serif); font-weight: 400; color: var(--accent); }
.tpl-prestige .pp-services em { color: var(--accent); font-weight: 500; }
.tpl-prestige .pp-gallery { gap: 3px; }
.tpl-prestige .pp-gallery img { border-radius: 0; }
.tpl-prestige .pp-social a { border-radius: 0; border-color: var(--accent); }
.tpl-prestige .pp-closure { border-radius: 0; background: transparent; border: 1px solid var(--accent); color: var(--text); font-weight: 500; }
.tpl-prestige .pp-now.is-open { color: #7fd1a0; }
.tpl-prestige .pp-now.is-closed { color: #f09a8f; }
.tpl-prestige .pp-hours tr.is-today th, .tpl-prestige .pp-hours tr.is-today td { color: var(--accent); }
.tpl-prestige .lpp-pied-x9q4 a { color: var(--muted); }
.tpl-prestige .pp-legal h1 { font-family: var(--serif); font-weight: 400; }

/* ---------- Epuré : blanc, aligné à gauche, beaucoup d'espace ---------- */
.tpl-epure {
    --bg: #ffffff; --card: transparent; --text: #111111; --muted: #6b6b6b; --line: #ececec;
    font-family: var(--sans);
}
.tpl-epure .pp-hero { background: #fff; color: var(--text); text-align: left; }
.tpl-epure .pp-hero.has-cover { color: #fff; }
.tpl-epure .pp-hero.has-cover::after { background: linear-gradient(90deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .1) 100%); }
.tpl-epure .pp-hero-inner { padding: 72px 24px 40px; }
.tpl-epure .pp-hero.has-cover .pp-hero-inner { padding: 180px 24px 56px; }
.tpl-epure .pp-logo { margin: 0 0 22px; width: 56px; height: 56px; border-radius: 14px; box-shadow: none; }
.tpl-epure .pp-hero h1 { font-weight: 300; font-size: 44px; letter-spacing: -.02em; line-height: 1.1; }
.tpl-epure .pp-tagline { font-weight: 300; font-size: 19px; color: inherit; opacity: .75; }
.tpl-epure main { padding: 0 24px 24px; }
.tpl-epure .pp-actions { justify-content: flex-start; margin: 8px 0 24px; gap: 26px; }
.tpl-epure .pp-action {
    background: none; box-shadow: none; border-radius: 0; padding: 6px 0; min-height: 0;
    color: var(--text); font-weight: 500; border-bottom: 1px solid var(--text);
}
.tpl-epure .pp-action::after { content: " →"; }
.tpl-epure .pp-action.pp-primary { background: none; color: var(--accent); border-bottom-color: var(--accent); }
.tpl-epure .pp-section { box-shadow: none; border-radius: 0; padding: 44px 0 4px; margin: 0; }
.tpl-epure .pp-section h2 { font-weight: 300; font-size: 28px; letter-spacing: -.01em; margin-bottom: 20px; }
.tpl-epure .pp-text { font-size: 17px; line-height: 1.8; color: #333; }
.tpl-epure .pp-text h3 { font-weight: 500; }
.tpl-epure .pp-services em { font-weight: 400; }
.tpl-epure .pp-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tpl-epure .pp-gallery img { border-radius: 0; aspect-ratio: 4 / 3; }
.tpl-epure .pp-social a { border: 0; padding: 0; margin-right: 18px; border-bottom: 1px solid var(--text); border-radius: 0; color: var(--text); font-weight: 500; }
.tpl-epure .pp-closure { border-radius: 0; background: #f6f6f6; color: var(--text); font-weight: 500; border-left: 3px solid var(--accent); }
.tpl-epure .pp-hours th { font-weight: 400; }
.tpl-epure .pp-hours tr.is-today th, .tpl-epure .pp-hours tr.is-today td { color: var(--text); }
.tpl-epure .lpp-pied-x9q4 { text-align: left; padding-left: 24px; max-width: 760px; margin: 0 auto; }
.tpl-epure .pp-legal h1 { font-weight: 300; }

/* ---------- Editorial : mise en page de magazine ---------- */
.tpl-editorial {
    --bg: #f4f1ea; --card: transparent; --text: #141414; --muted: #5c5a55; --line: #141414;
    font-family: var(--sans);
}
.tpl-editorial a { color: var(--text); }
/* Titre au-dessus de la photo (la photo n'est plus un fond) */
.tpl-editorial .pp-hero { background: var(--bg); color: var(--text); text-align: left; display: flex; flex-direction: column-reverse; }
.tpl-editorial .pp-hero.has-cover::after { display: none; }
.tpl-editorial .pp-cover { position: static; width: auto; height: auto; aspect-ratio: 4 / 3; margin: 0 18px; }
.tpl-editorial .pp-hero-inner, .tpl-editorial .pp-hero.has-cover .pp-hero-inner { padding: 22px 18px 18px; max-width: 760px; width: 100%; }
.tpl-editorial .pp-hero-inner::before {
    content: ""; display: block; border-top: 1px solid var(--text); margin-bottom: 18px;
}
.tpl-editorial .pp-logo { width: 46px; height: 46px; margin: 0 0 16px; border-radius: 0; box-shadow: none; }
.tpl-editorial .pp-hero h1 { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: .98; letter-spacing: -.01em; }
.tpl-editorial .pp-tagline { font-family: var(--italic); font-style: italic; font-size: 19px; line-height: 1.35; margin-top: 12px; opacity: 1; }
.tpl-editorial main { counter-reset: lpp-section; }
.tpl-editorial .pp-actions { justify-content: flex-start; margin: 18px 0 6px; gap: 18px; }
.tpl-editorial .pp-action {
    background: none; box-shadow: none; border-radius: 0; padding: 4px 0; min-height: 0;
    color: var(--text); border-bottom: 1px solid var(--text);
    text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600;
}
.tpl-editorial .pp-action.pp-primary { background: none; color: var(--accent); border-bottom-color: var(--accent); }
.tpl-editorial .pp-section { background: none; box-shadow: none; border-radius: 0; margin: 0; padding: 26px 0 10px; border-top: 1px solid var(--text); }
.tpl-editorial .pp-section h2 {
    display: flex; align-items: baseline; gap: 12px;
    font-family: var(--sans); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .16em;
    margin-bottom: 16px;
}
.tpl-editorial .pp-section h2::before {
    counter-increment: lpp-section; content: counter(lpp-section, decimal-leading-zero);
    font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: 0; text-transform: none; color: var(--accent);
}
.tpl-editorial .pp-text p:first-child { font-family: var(--italic); font-style: italic; font-size: 20px; line-height: 1.45; }
.tpl-editorial .pp-text h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.tpl-editorial .pp-services li { border-bottom: 1px solid #d8d3c8; }
.tpl-editorial .pp-services strong { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.tpl-editorial .pp-services em { font-family: var(--italic); font-style: italic; font-weight: 400; }
/* Galerie asymétrique : la première photo en grand */
.tpl-editorial .pp-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.tpl-editorial .pp-gallery a:first-child { grid-column: span 2; }
.tpl-editorial .pp-gallery a:first-child img { aspect-ratio: 4 / 3; }
.tpl-editorial .pp-gallery img { border-radius: 0; }
.tpl-editorial .pp-hours th, .tpl-editorial .pp-hours td { border-bottom-color: #d8d3c8; }
.tpl-editorial .pp-hours tr.is-today th, .tpl-editorial .pp-hours tr.is-today td { color: var(--text); }
.tpl-editorial .pp-social a { border-radius: 0; border-color: var(--text); color: var(--text); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.tpl-editorial .pp-closure { border-radius: 0; background: transparent; border: 1px solid var(--text); color: var(--text); font-weight: 500; }
.tpl-editorial .lpp-pied-x9q4 { border-top: 1px solid var(--text); max-width: 760px; margin: 18px auto 0; text-align: left; padding: 14px 16px 30px; }
.tpl-editorial .pp-legal h1 { font-family: var(--serif); font-weight: 400; font-size: 34px; }

/* ---------- Cabinet : bleu marine, cartes, couleur principale en accents (laiton conseillé) ---------- */
.tpl-cabinet {
    --navy: #14213d;
    --bg: #f6f7f9; --card: #ffffff; --text: #14213d; --muted: #5c6780; --line: #e3e7ee;
    font-family: var(--sans);
}
.tpl-cabinet a { color: var(--navy); }
.tpl-cabinet .pp-hero { background: var(--navy); color: #fff; text-align: left; }
.tpl-cabinet .pp-hero.has-cover::after { background: linear-gradient(180deg, rgba(20, 33, 61, .55) 0%, rgba(20, 33, 61, .92) 100%); }
.tpl-cabinet .pp-hero-inner { padding: 40px 20px 56px; }
.tpl-cabinet .pp-hero.has-cover .pp-hero-inner { padding-top: 120px; }
.tpl-cabinet .pp-logo { width: 52px; height: 52px; margin: 0 0 18px; border-radius: 10px; box-shadow: none; }
.tpl-cabinet .pp-hero h1 { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.15; }
.tpl-cabinet .pp-tagline { font-size: 15px; color: #cfd6e4; opacity: 1; margin-top: 10px; }
.tpl-cabinet .pp-hero-inner::after {
    content: ""; display: block; width: 40px; height: 3px; margin-top: 18px; background: var(--accent);
}
/* Boutons : barre blanche posée sur le bord de l'en-tête */
.tpl-cabinet .pp-actions {
    justify-content: stretch; gap: 0; margin: -30px 0 10px;
    background: var(--card); border-radius: 8px; box-shadow: 0 6px 20px rgba(20, 33, 61, .10); overflow: hidden;
}
.tpl-cabinet .pp-action {
    flex: 1 1 0; justify-content: center; border-radius: 0; box-shadow: none; background: transparent;
    color: var(--navy); font-size: 13px; padding: 14px 8px; border-right: 1px solid var(--line);
}
.tpl-cabinet .pp-action:last-child { border-right: 0; }
.tpl-cabinet .pp-action.pp-primary { background: var(--accent); color: #fff; }
.tpl-cabinet .pp-section { border-radius: 8px; box-shadow: 0 2px 10px rgba(20, 33, 61, .06); padding: 22px 20px 16px; }
.tpl-cabinet .pp-section h2 { font-family: var(--serif); font-weight: 600; font-size: 19px; padding-left: 12px; border-left: 3px solid var(--accent); }
.tpl-cabinet .pp-text h3 { font-family: var(--serif); font-weight: 600; }
/* Services en cartes */
.tpl-cabinet .pp-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tpl-cabinet .pp-services li { flex-direction: column; justify-content: flex-start; gap: 6px; border: 0; padding: 14px; background: var(--bg); border-radius: 6px; }
.tpl-cabinet .pp-services strong { font-family: var(--serif); font-weight: 600; }
.tpl-cabinet .pp-services em { color: var(--accent); font-weight: 600; }
.tpl-cabinet .pp-gallery img { border-radius: 6px; }
.tpl-cabinet .pp-hours tr.is-today th, .tpl-cabinet .pp-hours tr.is-today td { color: var(--navy); }
.tpl-cabinet .pp-now.is-open { color: #0a7a3d; }
.tpl-cabinet .pp-social a { border-radius: 4px; color: var(--navy); }
.tpl-cabinet .pp-closure { border-radius: 8px; background: #fff; border-left: 4px solid var(--accent); color: var(--navy); font-weight: 500; }
.tpl-cabinet .pp-install-btn { border-radius: 4px; }
.tpl-cabinet .pp-legal h1 { font-family: var(--serif); font-weight: 600; }

@media (max-width: 520px) {
    .tpl-editorial .pp-hero h1 { font-size: 38px; }
    .tpl-cabinet .pp-hero h1 { font-size: 26px; }
    .tpl-cabinet .pp-services { grid-template-columns: minmax(0, 1fr); }
    .tpl-cabinet .pp-action { font-size: 12px; padding: 13px 4px; }
}

@media (max-width: 520px) {
    .tpl-elegance .pp-hero h1 { font-size: 30px; }
    .tpl-prestige .pp-hero h1 { font-size: 30px; }
    .tpl-epure .pp-hero h1 { font-size: 34px; }
    .tpl-epure .pp-actions { gap: 18px; }
}
