/* =========================================================
   FILIGRANES — CHARTE PIERRE GOURMET
   Motifs au trait tirés du logo (verre de vin, assiette,
   cloche, étoile ✦ de la marque), très discrets, purement
   décoratifs : pseudo-éléments (ignorés des lecteurs d'écran),
   pointer-events: none, masqués à l'impression et en mode
   contraste élevé. Couleur pilotée par background-color à
   travers un mask-image (SVG en data URI, aucune requête).
   ========================================================= */

:root {
    --pg-wm-glass:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 220' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M34 14h64c5 44-6 84-32 90-26-6-37-46-32-90z'/%3E%3Cpath d='M37 56c19 7 39 7 58 0'/%3E%3Cpath d='M66 104v72'/%3E%3Cpath d='M38 182c10-7 46-7 56 0'/%3E%3Cpath d='M46 30c-1 12 0 22 3 30' opacity='.6'/%3E%3Cpath transform='translate%28104 6%29 scale%280.26%29' d='M50 0C53 35 65 47 100 50C65 53 53 65 50 100C47 65 35 53 0 50C35 47 47 35 50 0Z'/%3E%3Cpath transform='translate%28118 42%29 scale%280.13%29' d='M50 0C53 35 65 47 100 50C65 53 53 65 50 100C47 65 35 53 0 50C35 47 47 35 50 0Z'/%3E%3C/svg%3E");
    --pg-wm-plate:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 200' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='150' cy='100' r='74'/%3E%3Ccircle cx='150' cy='100' r='54'/%3E%3Cpath d='M28 26v44M38 26v44M48 26v44M28 70c0 12 20 12 20 0M38 80v96'/%3E%3Cpath d='M262 24c14 14 14 52 0 66v86'/%3E%3Cpath transform='translate%28140 90%29 scale%280.2%29' d='M50 0C53 35 65 47 100 50C65 53 53 65 50 100C47 65 35 53 0 50C35 47 47 35 50 0Z'/%3E%3C/svg%3E");
    --pg-wm-cloche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 160' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 124a86 86 0 0 1 172 0z'/%3E%3Cpath d='M10 134h200'/%3E%3Ccircle cx='110' cy='30' r='8'/%3E%3Cpath d='M110 38v0'/%3E%3Cpath d='M56 92c8-18 22-30 40-36' opacity='.6'/%3E%3Cpath transform='translate%28176 6%29 scale%280.2%29' d='M50 0C53 35 65 47 100 50C65 53 53 65 50 100C47 65 35 53 0 50C35 47 47 35 50 0Z'/%3E%3C/svg%3E");
    --pg-wm-star:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M50 0C53 35 65 47 100 50C65 53 53 65 50 100C47 65 35 53 0 50C35 47 47 35 50 0Z'/%3E%3C/svg%3E");
}

/* Socle commun */
.restaurants-section,
.page-hero,
.about-section,
#colophon {
    position: relative;
    isolation: isolate;
}
.restaurants-section { overflow: hidden; }
#colophon { overflow: hidden; }

.restaurants-section::before,
.restaurants-section::after,
.page-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: contain;
            mask-size: contain;
    -webkit-mask-position: center;
            mask-position: center;
}

/* ── 1. Sections « restaurants » (fond crème) ─────────────
   Verre de vin en bas à gauche, assiette en haut à droite */
.restaurants-section::before {
    width: clamp(180px, 22vw, 300px);
    aspect-ratio: 140 / 220;
    left: clamp(-60px, -3vw, -20px);
    bottom: clamp(-40px, -2vw, -10px);
    background-color: #ef7c22;
    opacity: .09;
    transform: rotate(-12deg);
    -webkit-mask-image: var(--pg-wm-glass);
            mask-image: var(--pg-wm-glass);
}
.restaurants-section::after {
    width: clamp(240px, 28vw, 400px);
    aspect-ratio: 300 / 200;
    right: clamp(-90px, -5vw, -30px);
    top: clamp(10px, 3vw, 40px);
    background-color: #c65d0e;
    opacity: .07;
    transform: rotate(8deg);
    -webkit-mask-image: var(--pg-wm-plate);
            mask-image: var(--pg-wm-plate);
}

/* ── 1-bis. Bannière d'accueil (fond orange) ───────────────
   Assiette et couverts en bas à gauche, verre de vin étoilé
   entre le texte et le portrait — blanc très léger */
.hero-section { isolation: isolate; }
.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    background-color: #fff;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: contain;
            mask-size: contain;
    -webkit-mask-position: center;
            mask-position: center;
}
.hero-section::before {
    width: clamp(280px, 32vw, 470px);
    aspect-ratio: 300 / 200;
    left: clamp(-120px, -6vw, -50px);
    bottom: clamp(-90px, -5vw, -40px);
    opacity: .10;
    transform: rotate(-9deg);
    -webkit-mask-image: var(--pg-wm-plate);
            mask-image: var(--pg-wm-plate);
}
.hero-section::after {
    width: clamp(90px, 9vw, 140px);
    aspect-ratio: 140 / 220;
    left: 47%;
    top: clamp(24px, 6vw, 70px);
    opacity: .13;
    transform: rotate(14deg);
    -webkit-mask-image: var(--pg-wm-glass);
            mask-image: var(--pg-wm-glass);
}
@media (prefers-reduced-motion: no-preference) {
    .hero-section::after { animation: pg-wm-float 9s ease-in-out infinite; }
}
@keyframes pg-wm-float {
    0%, 100% { transform: rotate(14deg) translateY(0); }
    50%      { transform: rotate(10deg) translateY(-10px); }
}

/* ── 2. En-têtes des pages intérieures (fond orange) ───────
   Cloche de service à droite, blanc très léger */
.page-hero::after {
    width: clamp(160px, 20vw, 280px);
    aspect-ratio: 220 / 160;
    right: clamp(-30px, 4vw, 8%);
    bottom: -14px;
    background-color: #fff;
    opacity: .12;
    transform: rotate(-6deg);
    -webkit-mask-image: var(--pg-wm-cloche);
            mask-image: var(--pg-wm-cloche);
}

/* ── 3. « Qui est Pierre Gourmet ? » (fond orange) ─────────
   Signature en Playfair italique, au trait seulement */
.about-section::after {
    content: "Pierre Gourmet";
    position: absolute;
    z-index: 0;
    right: -0.04em;
    bottom: -0.2em;
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(5rem, 14vw, 13rem);
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .2);
    pointer-events: none;
    user-select: none;
}
@supports not (-webkit-text-stroke: 1px #fff) {
    .about-section::after { color: rgba(255,255,255,.07); }
}

/* ── 4. Pied de page (fond nuit) : sceau circulaire ────────── */
.pg-footer-seal {
    position: absolute;
    z-index: -1;
    right: clamp(-90px, -4vw, -40px);
    bottom: clamp(-90px, -4vw, -40px);
    width: clamp(220px, 24vw, 320px);
    height: auto;
    color: #ef7c22;
    opacity: .14;
    pointer-events: none;
}
.pg-footer-seal text {
    font-family: var(--font-main, 'Montserrat', sans-serif);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .32em;
    fill: currentColor;
}
@media (prefers-reduced-motion: no-preference) {
    .pg-footer-seal .pg-seal-ring {
        transform-origin: 100px 100px;
        animation: pg-seal-turn 90s linear infinite;
    }
}
@keyframes pg-seal-turn { to { transform: rotate(360deg); } }

/* Petits écrans : on allège */
@media (max-width: 640px) {
    .restaurants-section::after { display: none; }
    .hero-section::after { display: none; }
    .hero-section::before { opacity: .08; }
    .restaurants-section::before { opacity: .07; }
    .page-hero::after { opacity: .1; right: -40px; }
}

/* Contraste élevé (Windows / préférences) et impression : aucun filigrane */
@media (forced-colors: active), (prefers-contrast: more), print {
    .restaurants-section::before,
    .restaurants-section::after,
    .page-hero::after,
    .about-section::after,
    .carnet-hero::after,
    .hero-section::before,
    .hero-section::after,
    .pg-footer-seal { display: none !important; }
}
