/* Ophélie Réflexologie – feuille de style, mobile d'abord */

:root {
    --creme: #FBF5EF;
    --teinte: rgba(225, 147, 108, 0.15); /* #E1936C à 15 % */
    --peche: #ED9E73;                    /* décors uniquement, jamais en texte */
    --terracotta: #AA5737;               /* boutons, liens */
    --brun: #7E4A35;                     /* titres, survol */
    --texte: #74391E;
    --vert: #4E9556;
    --vert-texte: #468138;
    --blanc: #fff;

    /* Polices système en attendant les polices auto-hébergées */
    --police-titre: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --police-texte: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --rayon: 16px;
    --ombre: 0 6px 24px rgba(116, 57, 30, 0.08);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    margin: 0;
    background: var(--creme);
    color: var(--texte);
    font-family: var(--police-texte);
    font-size: 1.0625rem;
    line-height: 1.7;
    padding-bottom: 64px; /* place pour le bouton d'appel mobile */
}

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

a { color: var(--terracotta); }
a:hover { color: var(--brun); }

h1, h2, h3 {
    font-family: var(--police-titre);
    color: var(--brun);
    line-height: 1.2;
    font-weight: 600;
}
h1 { font-size: 2.2rem; margin: 0.5rem 0 1rem; }
h2 { font-size: 2rem; margin: 0 0 1rem; text-align: center; }
h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }

.conteneur { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.etroit { max-width: 760px; }
.centre { text-align: center; }
.intro { text-align: center; max-width: 640px; margin: 0 auto 1.5rem; }

/* --- Boutons --- */
.bouton {
    display: inline-block;
    background: var(--terracotta);
    color: var(--blanc);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 2px solid var(--terracotta);
    transition: background 0.2s, border-color 0.2s;
}
.bouton:hover { background: var(--brun); border-color: var(--brun); color: var(--blanc); }
.bouton-grand { font-size: 1.1rem; padding: 1rem 1.75rem; }
.bouton-contour { background: transparent; color: var(--terracotta); }

/* --- Bandeau d'annonce --- */
.annonce {
    background: var(--brun);
    color: var(--blanc);
    text-align: center;
    font-size: 0.95rem;
    padding: 0.6rem 20px;
}
.annonce p { margin: 0; }
.annonce a { color: var(--blanc); font-weight: 600; white-space: nowrap; }

/* --- En-tête --- */
.entete {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(251, 245, 239, 0.96);
    border-bottom: 1px solid rgba(170, 87, 55, 0.15);
}
.entete-interieur {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
}
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.marque img { width: 52px; height: auto; }
.marque-nom {
    font-family: var(--police-titre);
    font-size: 1.5rem;
    color: var(--terracotta);
    line-height: 1;
}
.marque-nom small {
    display: block;
    font-family: var(--police-texte);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brun);
    margin-top: 4px;
}

.menu-bouton {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid rgba(170, 87, 55, 0.4);
    border-radius: 999px;
    color: var(--brun);
    font: inherit;
    font-size: 0.95rem;
    padding: 0.4rem 0.9rem;
    cursor: pointer;
}
.menu-icone, .menu-icone::before, .menu-icone::after {
    display: block;
    width: 16px;
    height: 2px;
    background: currentColor;
    position: relative;
}
.menu-icone::before, .menu-icone::after { content: ""; position: absolute; }
.menu-icone::before { top: -5px; }
.menu-icone::after { top: 5px; }

.menu { display: none; width: 100%; flex-direction: column; padding: 8px 0; }
.menu.ouvert { display: flex; }
.menu a {
    text-decoration: none;
    color: var(--brun);
    padding: 0.7rem 0;
    border-top: 1px solid rgba(170, 87, 55, 0.12);
}
.menu a:hover { color: var(--terracotta); }

.bouton-appel-entete { display: none; }

/* --- Accueil --- */
.hero { padding: 1.5rem 0 2rem; }
.hero-grille { display: grid; gap: 1.5rem; align-items: center; }
.hero-texte { text-align: center; }
.hero-logo { width: 220px; margin: 0 auto; }
.hero-tel { font-size: 0.95rem; margin-top: 0.5rem; }
.hero-photo img {
    border-radius: 200px 200px var(--rayon) var(--rayon); /* forme d'arche */
    box-shadow: var(--ombre);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

/* --- Sections --- */
.section { padding: 2.5rem 0; }
.section-teintee { background: var(--teinte); }

.encadre-doux {
    background: var(--blanc);
    border-left: 4px solid var(--vert);
    border-radius: var(--rayon);
    padding: 1rem 1.25rem;
    box-shadow: var(--ombre);
}
.encadre-attention {
    border: 2px solid var(--peche);
    border-radius: var(--rayon);
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
}
.encadre-attention p { margin: 0; }
.encadre-titre { font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem !important; }

/* Cartes */
.grille-cartes { display: grid; gap: 1rem; }
.carte {
    background: var(--blanc);
    border-radius: var(--rayon);
    padding: 1.25rem;
    box-shadow: var(--ombre);
    margin: 0;
}
.carte p { margin: 0; }
.feuille {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--vert);
    stroke-width: 1.6;
    stroke-linecap: round;
    margin-bottom: 0.5rem;
}

/* Étapes de la séance */
.etapes { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: etape; }
.etapes li { counter-increment: etape; position: relative; padding-left: 64px; }
.etapes li::before {
    content: counter(etape);
    position: absolute;
    left: 0;
    top: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--peche);
    color: var(--blanc);
    font-family: var(--police-titre);
    font-size: 1.5rem;
    display: grid;
    place-items: center;
}
.etapes p { margin: 0; }

/* À propos / cabinet */
.deux-colonnes { display: grid; gap: 1.5rem; align-items: center; }
.deux-colonnes h2 { text-align: left; }
.photo-ronde {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: var(--ombre);
}
.photo-arrondie { border-radius: var(--rayon); box-shadow: var(--ombre); width: 100%; }
blockquote { margin: 1.5rem 0 0; font-family: var(--police-titre); font-size: 1.35rem; font-style: italic; color: var(--terracotta); }

/* Tarifs */
.grille-tarifs { display: grid; gap: 1rem; }
.tarif {
    background: var(--blanc);
    border-radius: var(--rayon);
    padding: 1.25rem;
    box-shadow: var(--ombre);
    border-top: 4px solid var(--peche);
}
.tarif-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 0.75rem; }
.tarif-duree { font-size: 0.95rem; }
.tarif-prix { font-family: var(--police-titre); font-size: 1.6rem; font-weight: 700; color: var(--terracotta); white-space: nowrap; }
details summary { cursor: pointer; color: var(--terracotta); font-weight: 600; }
details p { font-size: 0.97rem; }

.offres {
    margin-top: 1.75rem;
    background: var(--teinte);
    border-radius: var(--rayon);
    padding: 1.25rem;
}
.offres h3 { text-align: center; font-size: 1.6rem; }
.offres ul { list-style: none; margin: 0; padding: 0; }
.offres li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px dashed rgba(170, 87, 55, 0.3);
}
.offres li:last-child { border-bottom: 0; }
.offres strong { color: var(--terracotta); }

/* Avis */
.avis-note { text-align: center; margin-bottom: 1.5rem; }
.etoiles { color: #E0A33A; letter-spacing: 2px; }
.avis blockquote { font-size: 1.15rem; margin: 0.5rem 0 1rem; }
.avis figcaption { font-weight: 600; }

/* Cabinet */
.adresse { font-weight: 600; }
.horaires { border-collapse: collapse; margin: 1rem 0 1.5rem; width: 100%; max-width: 320px; }
.horaires caption { text-align: left; font-weight: 700; color: var(--brun); margin-bottom: 0.25rem; }
.horaires th, .horaires td { text-align: left; padding: 0.25rem 0; font-weight: normal; }
.horaires td { text-align: right; }

/* Contact */
.contact { background: var(--peche); color: var(--texte); }
.contact h2 { color: var(--texte); }
.contact .bouton { background: var(--texte); border-color: var(--texte); }
.contact .bouton:hover { background: var(--brun); border-color: var(--brun); }
.lien-mail { color: var(--texte); font-weight: 600; font-size: 1.1rem; }
.reseaux { display: flex; justify-content: center; gap: 1.5rem; }
.reseaux { flex-wrap: wrap; }
.reseaux a { display: inline-flex; align-items: center; gap: .4rem; color: var(--texte); font-weight: 600; }
.reseaux svg { width: 1.4em; height: 1.4em; flex-shrink: 0; }

/* Formulaires */
.contact { padding: 2.25rem 0; }
.contact-grille { display: grid; gap: 1.75rem; }
.contact-coordonnees { text-align: center; }
.contact-coordonnees h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.contact-coordonnees p { margin: 0.5rem 0; }
.contact h3 { color: var(--texte); font-size: 1.25rem; margin: 0 0 0.25rem; text-align: center; }
.formulaire-contact { grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.75rem; max-width: none; }
.formulaire-contact .pleine-largeur { grid-column: 1 / -1; }
.formulaire.formulaire-contact input, .formulaire.formulaire-contact textarea { padding: 0.6rem 0.9rem; }
.formulaire-contact button { padding: 0.65rem 1.5rem; }
.formulaire { text-align: left; display: grid; gap: 1rem; max-width: 560px; margin: 1.5rem auto 0; }
.formulaire label { display: grid; gap: 0.3rem; font-weight: 600; }
.formulaire input[type="text"], .formulaire input[type="email"], .formulaire input[type="tel"], .formulaire textarea {
    font: inherit;
    font-weight: normal;
    color: var(--texte);
    background: var(--blanc);
    border: 1px solid rgba(116, 57, 30, 0.35);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    width: 100%;
}
.formulaire input:focus, .formulaire textarea:focus { outline: 2px solid var(--terracotta); outline-offset: 1px; }
.formulaire button { justify-self: center; cursor: pointer; font: inherit; font-weight: 600; }
.formulaire .case { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: normal; font-size: 0.95rem; }
.formulaire .case input { width: 20px; height: 20px; margin-top: 4px; flex-shrink: 0; accent-color: var(--terracotta); }
.facultatif { font-weight: normal; font-size: 0.9rem; }
.petit { font-size: 0.88rem; margin: 0; }
.piege { position: absolute; left: -9999px; }
.message { border-radius: 10px; padding: 0.8rem 1rem; font-weight: 600; background: var(--blanc); }
.message-ok { color: var(--vert-texte); border: 2px solid var(--vert); }
.message-erreur { color: #A12B12; border: 2px solid #A12B12; }

/* Newsletter : encart fin */
.newsletter { padding: 1.75rem 0; }
.newsletter h2 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.newsletter-texte { margin: 0; font-size: 0.95rem; }
.formulaire-newsletter {
    grid-template-columns: 1fr auto;
    grid-template-areas: "email bouton" "case case";
    gap: 0.6rem;
    margin-top: 1rem;
}
.formulaire-newsletter .champ-email { grid-area: email; }
.formulaire-newsletter button { grid-area: bouton; padding: 0.6rem 1.1rem; }
.formulaire-newsletter .case { grid-area: case; font-size: 0.8rem; line-height: 1.45; }
.formulaire-newsletter .case input { width: 16px; height: 16px; margin-top: 2px; }
.formulaire-newsletter input[type="email"] { padding: 0.6rem 0.9rem; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Pied de page */
.pied { background: var(--texte); color: var(--creme); text-align: center; padding: 2rem 0; font-size: 0.95rem; }
.pied a { color: var(--creme); }
.pied p { margin: 0.4rem 0; }
.pied-nom { font-family: var(--police-titre); font-size: 1.3rem; }

/* Bouton d'appel fixe (téléphone) */
.appel-mobile {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 20;
    background: var(--terracotta);
    color: var(--blanc);
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    padding: 0.85rem;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(116, 57, 30, 0.3);
}
.appel-mobile:hover { color: var(--blanc); background: var(--brun); }

/* Pages simples (annonce, mentions légales) */
.page-simple { padding: 3rem 0; }
.page-simple h1 { text-align: center; }
.page-simple h2 { text-align: left; font-size: 1.5rem; margin-top: 2rem; }
.page-simple img { border-radius: var(--rayon); margin: 0 auto 1.5rem; box-shadow: var(--ombre); }

/* --- Tablette --- */
@media (min-width: 700px) {
    .grille-cartes, .grille-tarifs { grid-template-columns: repeat(2, 1fr); }
    .etapes { grid-template-columns: repeat(2, 1fr); }
    .deux-colonnes { grid-template-columns: 1fr 1.3fr; }
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.4rem; }
}

/* --- Ordinateur --- */
@media (min-width: 1000px) {
    body { padding-bottom: 0; }
    .appel-mobile { display: none; }

    .menu-bouton { display: none; }
    .menu { display: flex; flex-direction: row; width: auto; gap: 1.25rem; padding: 0; }
    .menu a { border: 0; padding: 0; font-size: 0.95rem; }
    .bouton-appel-entete { display: inline-block; padding: 0.5rem 1.25rem; }

    .hero { padding: 2rem 0 2.5rem; }
    .hero-grille { grid-template-columns: 1.1fr 1fr; }
    .hero-logo { width: 260px; }
    .grille-cartes { grid-template-columns: repeat(3, 1fr); }
    .etapes { grid-template-columns: repeat(4, 1fr); }
    .etapes li { padding: 64px 0 0; }
    .grille-tarifs { grid-template-columns: repeat(2, 1fr); }
    .offres { max-width: 760px; margin-left: auto; margin-right: auto; }
    .contact-grille { grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: center; max-width: 1000px; }
    .contact-coordonnees, .contact h3 { text-align: left; }
    .contact-coordonnees h2 { text-align: left; }
    .reseaux { justify-content: flex-start; }
}
