/* ==========================================================
   L’Effleure de Peau – feuille de style commune aux 5 pages
   Titres : Allura 28 pt  ·  Textes : Raleway Light 12 pt
   Polices hébergées sur le site (aucun appel à Google Fonts).
   ========================================================== */

@font-face {
    font-family: 'Allura';
    src: url('fonts/Allura-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Raleway';
    src: url('fonts/Raleway-Light.woff2') format('woff2');
    font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Raleway';
    src: url('fonts/Raleway-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Raleway';
    src: url('fonts/Raleway-Medium.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}

:root {
    --creme: #fbf5e9;
    --creme-panneau: rgba(255, 252, 244, 0.88);
    --rose: #ad7d86;
    --rose-vif: #c99ba4;
    --rose-pale: #f7e6e8;
    --brun: #7a4b4f;
    --olive: #9c9269;
    --texte: #5b514e;
    --blanc: #ffffff;
    --rayon: 18px;
    --ombre: 0 5px 22px rgba(100, 70, 70, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Raleway', 'Segoe UI', Arial, sans-serif;
    font-weight: 300;
    font-size: 12pt;
    line-height: 1.7;
    color: var(--texte);
    background-color: var(--creme);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Fond ornemental fixe (portrait = mobile, paysage = ordinateur) */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--creme) url('images/fond-site.jpg') center top / 100% 100% no-repeat;
}
@media (orientation: landscape) and (min-width: 900px) {
    body::before { background-image: url('images/fond-large.jpg'); background-size: cover; background-position: center; }
}

/* ---------- Titres : Allura 28 pt ---------- */
h1, h2, h3 {
    font-family: 'Allura', cursive;
    font-weight: 400;
    font-size: 28pt;
    line-height: 1.25;
    color: var(--rose);
    margin: 0 0 14px;
}

p { margin: 0 0 16px; }
strong, b { font-weight: 500; }
a { color: inherit; text-decoration: none; }
p a, li a { text-decoration: underline; text-decoration-color: var(--rose-vif); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
ul { padding-left: 1.2em; margin: 0 0 16px; }
li { margin-bottom: 6px; }

:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

.skip-link {
    position: absolute; left: -999px; top: 8px;
    background: var(--brun); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- En-tête ---------- */
.site-header {
    background: var(--creme-panneau);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    padding: 14px 5% 12px;
    text-align: center;
    position: relative;
    z-index: 5;
}
.logo {
    display: inline-block;
    font-family: 'Allura', cursive;
    font-size: 40pt;
    line-height: 1.1;
    color: var(--brun);
}
.logo-sub {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 8pt;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--rose);
    font-weight: 500;
    margin-top: -4px;
}
.navigation {
    display: flex; justify-content: center; flex-wrap: wrap;
    gap: 8px 26px; margin-top: 12px;
}
.navigation a {
    font-size: 10pt; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .3s, border-color .3s;
}
.navigation a:hover,
.navigation a[aria-current="page"] { color: var(--rose); border-bottom-color: var(--rose-vif); }

/* ---------- Structure ---------- */
main { flex: 1; width: 100%; max-width: 1060px; margin: 0 auto; padding: 24px 16px 40px; }

.bloc {
    background: var(--creme-panneau);
    border-radius: var(--rayon);
    padding: 44px 40px;
    margin-bottom: 28px;
    box-shadow: var(--ombre);
}
.bloc > h2 { text-align: center; }
.bloc-intro { text-align: center; max-width: 760px; margin: 0 auto 28px; }

.hero {
    text-align: center;
    padding: 64px 32px;
    background: linear-gradient(rgba(255, 252, 244, 0.85), rgba(247, 230, 232, 0.88));
    border-radius: var(--rayon);
    margin-bottom: 28px;
    box-shadow: var(--ombre);
}
.hero p { max-width: 720px; margin: 8px auto 12px; }
.hero .surtitre {
    font-family: 'Allura', cursive; font-size: 28pt; color: var(--brun); margin: 0 0 4px; line-height: 1.2;
}

.card {
    background: var(--blanc);
    border-radius: var(--rayon);
    padding: 28px;
    box-shadow: var(--ombre);
    margin-bottom: 22px;
    display: flex; flex-direction: column;
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: 8px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; align-items: stretch; }
.grid .card { margin-bottom: 0; }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }

.btn {
    display: inline-block; align-self: flex-start;
    background: var(--rose); color: #fff !important;
    font-family: 'Raleway', sans-serif; font-weight: 500; font-size: 11pt;
    padding: 12px 30px; border-radius: 30px; border: 0; cursor: pointer;
    margin-top: 14px; transition: background .3s, transform .3s; text-decoration: none !important;
}
.btn:hover { background: var(--brun); transform: translateY(-2px); }
.btn.btn-clair { background: transparent; color: var(--brun) !important; border: 1.5px solid var(--rose-vif); }
.btn.btn-clair:hover { background: var(--rose-pale); }
.centre { text-align: center; }
.centre .btn { align-self: center; }

/* ---------- Accueil ---------- */
.presentation { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: center; }
.portrait {
    width: 260px; height: 260px; border-radius: 50%; object-fit: cover;
    border: 6px solid #fff; box-shadow: var(--ombre);
}
.carte-zone { border-radius: var(--rayon); box-shadow: var(--ombre); width: 100%; display: block; }
.legende { font-size: 10pt; text-align: center; margin: 10px 0 0; color: #7d716d; }
.produit-img { display: block; margin: 18px auto 0; border-radius: 14px; max-height: 360px; width: auto; }
.liste-produits { list-style: none; padding: 0; }
.liste-produits li { padding-left: 24px; position: relative; margin-bottom: 12px; }
.liste-produits li::before { content: "❀"; position: absolute; left: 0; color: var(--rose); }

/* ---------- Tarifs ---------- */
.tarif-card { text-align: center; align-items: center; }
.tarif-card .duree { font-size: 10.5pt; letter-spacing: 1px; color: #7d716d; margin-bottom: 6px; }
.prix {
    display: inline-block; background: var(--olive); color: #fff; font-weight: 500;
    font-size: 14pt; padding: 4px 22px; border-radius: 30px; margin: 4px 0 14px;
}
.tarif-card .zone { font-size: 11pt; }
.tarif-card .accroche { font-style: italic; margin-top: 8px; }
.pastille-age { display: inline-block; background: var(--rose-pale); color: var(--brun); font-size: 10pt; font-weight: 500; padding: 2px 12px; border-radius: 20px; margin-bottom: 6px; }
.bandeau-carte { background: var(--rose-pale); border-radius: 14px; padding: 16px 24px; text-align: center; margin: 4px 0 24px; }
.bandeau-carte p { margin: 0; }
.mini { font-size: 10.5pt; color: #7d716d; }
.visuels { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; align-items: start; }
.visuels a { display: block; }
.visuels img { border-radius: 14px; box-shadow: var(--ombre); width: 100%; display: block; background: #fff; }
.visuels figure { margin: 0; }
.visuels figcaption { font-size: 10pt; text-align: center; margin-top: 8px; color: #7d716d; }
.paiements { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 12px 0 8px; }
.paiements span { background: #fff; border-radius: 30px; padding: 8px 24px; box-shadow: var(--ombre); font-weight: 500; color: var(--brun); }
.pastilles-apero { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 14px 0; }
.pastilles-apero div { background: var(--rose-pale); border-radius: 14px; padding: 14px 16px; text-align: center; font-size: 11pt; }
.formule-apero { text-align: center; }

/* ---------- Déroulement ---------- */
.etapes { counter-reset: etape; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px 22px; padding-top: 14px; }
.etapes .card { counter-increment: etape; position: relative; padding-top: 40px; margin-bottom: 0; }
.etapes .card::before {
    content: counter(etape);
    position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 50%;
    background: var(--rose); color: #fff; font-family: 'Allura', cursive; font-size: 24pt; line-height: 40px; text-align: center;
}
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.doc { background: #fff; border-radius: 14px; padding: 20px 22px; box-shadow: var(--ombre); display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.doc h3 { margin: 0; }
.doc p { margin: 0; font-size: 11pt; }
.doc .btn { margin-top: 6px; padding: 9px 22px; font-size: 10.5pt; }

details.pliant, details.faq-item { background: #fff; border-radius: 14px; box-shadow: var(--ombre); margin-bottom: 14px; overflow: hidden; }
details.pliant > summary, details.faq-item > summary {
    list-style: none; cursor: pointer; padding: 18px 56px 18px 24px; position: relative;
    font-weight: 500; color: var(--brun); font-size: 12pt;
}
details > summary::-webkit-details-marker { display: none; }
details > summary::after {
    content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
    font-size: 22pt; color: var(--rose); font-weight: 300; line-height: 1;
}
details[open] > summary::after { content: "–"; }
details[open] > summary { border-bottom: 1px solid var(--rose-pale); }
.contenu-pliant, .faq-answer { padding: 18px 24px 8px; }
.contenu-pliant h4 { font-weight: 500; color: var(--brun); margin: 18px 0 6px; font-size: 12pt; }
.contenu-pliant .maj { font-size: 10.5pt; color: #7d716d; }
.formulaire-papier { border: 1.5px dashed var(--rose-vif); border-radius: 12px; padding: 18px 22px; margin-bottom: 16px; background: #fffdfa; }
.formulaire-papier p { margin-bottom: 8px; }

/* ---------- Contact ---------- */
.coordonnees { list-style: none; padding: 0; margin: 0; }
.coordonnees li { margin-bottom: 8px; }
.coordonnees strong { color: var(--brun); }
form.contact-form { display: grid; gap: 18px; margin-top: 8px; }
.contact-form .rangee { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; font-weight: 500; font-size: 11pt; color: var(--brun); margin-bottom: 5px; }
.contact-form input[type="text"], .contact-form input[type="tel"], .contact-form input[type="email"],
.contact-form select, .contact-form textarea {
    width: 100%; font: inherit; font-weight: 400; font-size: 12pt; color: var(--texte);
    padding: 12px 14px; border: 1.5px solid #e3d3d2; border-radius: 12px; background: #fffdfa;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-pale); }
.contact-form .case { display: flex; gap: 10px; align-items: flex-start; font-weight: 300; font-size: 12pt; color: var(--texte); }
.contact-form .case input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--rose); flex: none; }
.petit { font-size: 10pt; color: #7d716d; }
.message-form { margin: 10px 0 0; font-weight: 500; color: var(--brun); }
.message-form:empty { display: none; }

.avis-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin: 24px 0 8px; }
.avis { background: #fff; border-radius: var(--rayon); padding: 24px; box-shadow: var(--ombre); margin: 0; display: flex; flex-direction: column; gap: 10px; }
.avis .etoiles { color: #d9a441; letter-spacing: 3px; font-size: 14pt; line-height: 1; }
.avis blockquote { margin: 0; font-style: italic; }
.avis figcaption { margin-top: auto; font-size: 10.5pt; color: #7d716d; }
.avis figcaption strong { color: var(--brun); }
.source { display: inline-block; font-size: 9pt; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; background: var(--rose-pale); color: var(--brun); border-radius: 20px; padding: 1px 10px; margin-left: 6px; }
.avis-vide { text-align: center; background: #fff; border-radius: var(--rayon); padding: 28px; box-shadow: var(--ombre); }
.boutons-avis { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }

/* ---------- Bandeau fixe (page d'accueil) ---------- */
:root { --h-barre: 66px; }
html { scroll-padding-top: calc(var(--h-barre) + 10px); }
body.avec-barre { padding-top: var(--h-barre); }
.barre-fixe {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--h-barre);
    background: rgba(255, 252, 244, 0.96); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    box-shadow: 0 2px 14px rgba(100, 70, 70, 0.12); border-bottom: 1px solid var(--rose-pale);
}
.barre-interne {
    max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.barre-logo { display: flex; align-items: center; gap: 10px; color: var(--brun); min-width: 0; }
.barre-logo img { height: 44px; width: auto; flex: none; }
.barre-logo span { font-family: 'Allura', cursive; font-size: 24pt; line-height: 1; white-space: nowrap; padding-top: 4px; }
.barre-boutons { display: flex; align-items: center; gap: 8px; flex: none; }
.pastille {
    width: 40px; height: 40px; border-radius: 50%; background: var(--rose); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .25s, transform .25s; text-decoration: none;
}
.pastille:hover { background: var(--brun); transform: translateY(-2px); }
.pastille[aria-disabled="true"] { opacity: .4; cursor: default; }
.pastille[aria-disabled="true"]:hover { background: var(--rose); transform: none; }
.separateur { width: 1px; height: 24px; background: var(--rose-vif); opacity: .6; margin: 0 4px; }
.site-header--nav { padding: 8px 5% 6px; box-shadow: none; background: var(--creme-panneau); }
.site-header--nav .navigation { margin-top: 0; }

@media (max-width: 560px) {
    :root { --h-barre: 56px; }
    .barre-interne { padding: 0 10px; gap: 8px; }
    .barre-logo span { display: none; }
    .barre-logo img { height: 38px; }
    .barre-boutons { gap: 6px; }
    .pastille { width: 35px; height: 35px; }
    .pastille svg { width: 17px; height: 17px; }
    .separateur { margin: 0 1px; height: 20px; }
}
@media (max-width: 360px) { .barre-boutons { gap: 4px; } .pastille { width: 32px; height: 32px; } }

/* ---------- Pied de page ---------- */
.site-footer { background: rgba(238, 228, 225, 0.94); padding: 34px 20px 28px; text-align: center; font-size: 11pt; }
.site-footer .phrase { font-family: 'Allura', cursive; font-size: 28pt; line-height: 1.3; color: var(--rose); margin: 0 0 2px; }
.site-footer .phrase-sub { font-size: 10pt; letter-spacing: 1px; color: #7d716d; margin-bottom: 22px; }
.site-footer address { font-style: normal; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; }
.site-footer .legal { margin: 18px 0 0; font-size: 9.5pt; color: #7d716d; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
    body { line-height: 1.65; }
    .bloc { padding: 28px 18px; }
    .hero { padding: 44px 18px; }
    .presentation, .deux-colonnes { grid-template-columns: 1fr; }
    .presentation { justify-items: center; text-align: center; }
    .portrait { width: 200px; height: 200px; }
    .contact-form .rangee { grid-template-columns: 1fr; }
    .logo { font-size: 32pt; }
    .navigation { gap: 4px 16px; }
    .navigation a { font-size: 9pt; letter-spacing: 1px; }
    main { padding: 14px 10px 30px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

@media print {
    body::before { display: none; }
    .navigation, .btn { display: none; }
}

/* ---------- Bouton retour en haut ---------- */
.retour-haut {
    position: fixed; right: 18px; bottom: 18px; z-index: 60;
    width: 46px; height: 46px; border: 0; border-radius: 50%;
    background: var(--rose); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    box-shadow: 0 4px 16px rgba(100, 70, 70, 0.28);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .3s, transform .3s, visibility .3s, background .25s;
}
.retour-haut.visible { opacity: 1; visibility: visible; transform: none; }
.retour-haut:hover { background: var(--brun); transform: translateY(-3px); }
.retour-haut svg { width: 22px; height: 22px; }
@media (max-width: 560px) { .retour-haut { right: 12px; bottom: 12px; width: 42px; height: 42px; } }
@media print { .retour-haut { display: none; } }

/* ---------- Mentions légales ---------- */
.texte-legal { max-width: 860px; margin-left: auto; margin-right: auto; margin-bottom: 22px; }
.texte-legal > h2 { text-align: left; }
.texte-legal h3 { color: var(--brun); margin-top: 18px; margin-bottom: 6px; }
.a-completer { background: #fff3b0; color: #6b5200; padding: 0 6px; border-radius: 4px; font-weight: 500; }

/* ---------- Ajustements (centrages, photos) ---------- */
.hero .surtitre { margin: 0 auto 4px; }
.trio-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 760px; margin: 28px auto 0; }
.trio-photos img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; box-shadow: var(--ombre); display: block; background: #f3e4e4; }
@media (max-width: 760px) { .trio-photos { gap: 8px; } .trio-photos img { aspect-ratio: 1 / 1; border-radius: 10px; } }

.card-centre { text-align: center; align-items: center; }
.tarif-card .btn { align-self: center; }

.etapes { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 22px; }
.etapes .card { flex: 1 1 215px; max-width: 300px; text-align: center; align-items: center; }
.etapes .card::before { left: 50%; margin-left: -20px; }

.doc { text-align: center; align-items: center; }
.doc .btn { align-self: center; }
.doc .btn::before { content: "⬇  "; }

.texte-legal h4 { font-weight: 500; color: var(--brun); margin: 20px 0 6px; font-size: 12pt; }
.texte-legal .formulaire-papier { margin-top: 10px; }
.hero .btn { margin-top: 10px; }

.carte-unique { margin: 0 auto; max-width: 760px; }
.carte-unique img { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: var(--ombre); background: #fff; }

/* Fiches techniques : même comportement que « Comment se déroule une séance ? » */
.docs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 22px;
}
.docs .doc {
    flex: 1 1 215px;
    max-width: 300px;
    text-align: center;
    align-items: center;
}
.docs .doc .btn {
    align-self: center;
}

/* Pied de page : e-mail et téléphone en boutons */
.site-footer address {
    align-items: center;
    gap: 10px 20px;
}
.site-footer address .btn {
    margin-top: 0;
}

/* Prestations : boutons « Réserver » alignés en bas et centrés */
.tarif-card .btn {
    margin-top: auto;      /* pousse le bouton tout en bas de la carte */
    align-self: center;    /* centre le bouton */
}
.tarif-card .accroche {
    margin-bottom: 20px;   /* garde un espace entre le texte et le bouton */
}

/* Produits bio : photos centrées et alignées en bas des cartes */
.produit-img {
    margin-top: auto;      /* pousse la photo tout en bas de la carte */
    margin-bottom: 0;
    margin-left: auto;     /* centre horizontalement */
    margin-right: auto;
    align-self: center;
}
/* Titres d'articles (CGV, déontologie) : niveau h3 avec l'apparence discrète d'avant */
.texte-legal h3.article { font-family: 'Raleway', 'Segoe UI', Arial, sans-serif; font-size: 12pt; font-weight: 500; line-height: 1.5; color: var(--brun); margin: 20px 0 6px; }

/* ---------- Pages villes : communes desservies + lien zones du pied de page ---------- */
.communes { list-style: none; padding: 0; margin: 0 auto 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; }
.communes li { background: #fff; border-radius: 30px; padding: 5px 18px; box-shadow: var(--ombre); margin: 0; color: var(--brun); font-weight: 500; font-size: 11pt; }
.site-footer .zones { margin: 18px 0 0; font-size: 10.5pt; color: #7d716d; }
.site-footer .zones a { text-decoration: underline; text-decoration-color: var(--rose-vif); text-underline-offset: 3px; }

/* Cartes centrées (la dernière rangée reste au milieu) */
.grid-centre { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.grid-centre .card { flex: 1 1 230px; max-width: 320px; margin-bottom: 0; }
.card-centre .btn { align-self: center; }