/*
Theme Name: Sophrolog'art
Theme URI: https://sophrologart.fr
Author: Themis Créa
Description: Thème sur mesure pour Ley Marrero, sophrologue et art-thérapeute à Nice. Charte construite à partir du logo : anthracite, rouge, olive, ambre et bleu. Sans page builder, sans dépendance externe.
Version: 1.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: sophrologart
*/

/* ==========================================================================
   1. Charte — couleurs relevées sur le logo
   ========================================================================== */
:root {
  --anthracite:      #131F26;
  --anthracite-doux: #30363B;
  --gris:            #5C666D;
  --gris-clair:      #98A0A6;

  --rouge:           #E03F4B;
  --rouge-fonce:     #C42D39;
  --olive:           #777B4C;
  --olive-clair:     #9AA06C;
  --ambre:           #FEC74C;
  --bleu:            #45A4D3;
  --rose:            #FCE5E6;

  --creme:           #FAF8F5;
  --creme-2:         #F3EFE9;
  --blanc:           #FFFFFF;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --page:    1180px;
  --etroit:  760px;
  --rayon:   4px;
  --rayon-l: 10px;

  --ombre:    0 1px 3px rgba(19,31,38,.05), 0 8px 24px rgba(19,31,38,.05);
  --ombre-xl: 0 2px 6px rgba(19,31,38,.06), 0 18px 50px rgba(19,31,38,.09);

  --t: .32s cubic-bezier(.22,.61,.36,1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--creme);
  color: var(--anthracite);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-color: rgba(224,63,75,.35); text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--rouge); }

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

::selection { background: var(--rose); color: var(--anthracite); }

/* ==========================================================================
   3. Typographie
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.012em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.16rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.surtitre {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.surtitre::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--olive);
  flex: none;
}
.surtitre--centre { justify-content: center; }

.chapo {
  font-size: clamp(1.1rem, 1.7vw, 1.28rem);
  line-height: 1.68;
  color: var(--anthracite-doux);
}

.lead-serif {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.7vw, 1.95rem);
  line-height: 1.42;
  font-weight: 400;
  color: var(--anthracite);
}

/* ==========================================================================
   4. Structure
   ========================================================================== */
.page-wrap { width: 100%; }

.contenu {
  width: min(100% - 2.5rem, var(--page));
  margin-inline: auto;
}
.contenu--etroit { width: min(100% - 2.5rem, var(--etroit)); }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--serre { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--creme { background: var(--creme-2); }
.section--rose  { background: var(--rose); }
.section--sombre { background: var(--anthracite); color: var(--creme); }
.section--sombre h2, .section--sombre h3 { color: var(--blanc); }
.section--sombre .surtitre { color: var(--ambre); }
.section--sombre .surtitre::before { background: var(--ambre); }

.entete-section { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.entete-section--centre { margin-inline: auto; text-align: center; }

/* ==========================================================================
   5. Boutons
   ========================================================================== */
.btn {
  --fond: var(--rouge);
  --texte: #fff;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.85rem;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid var(--fond);
  border-radius: var(--rayon);
  cursor: pointer;
  transition: background var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.btn:hover {
  background: var(--rouge-fonce);
  border-color: var(--rouge-fonce);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(224,63,75,.24);
}
.btn:active { transform: translateY(0); }

.btn--ligne {
  --fond: transparent;
  --texte: var(--anthracite);
  border-color: rgba(19,31,38,.22);
}
.btn--ligne:hover {
  background: var(--anthracite);
  border-color: var(--anthracite);
  color: #fff;
  box-shadow: 0 10px 24px rgba(19,31,38,.18);
}

.btn--clair {
  --fond: transparent;
  --texte: var(--creme);
  border-color: rgba(250,248,245,.35);
}
.btn--clair:hover { background: var(--creme); color: var(--anthracite); border-color: var(--creme); }

.btn svg { width: 16px; height: 16px; flex: none; }

.groupe-btn { display: flex; flex-wrap: wrap; gap: .9rem; }

/* lien fléché */
.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--rouge);
  text-decoration: none;
}
.lien-fleche span { transition: transform var(--t); }
.lien-fleche:hover span { transform: translateX(4px); }

/* ==========================================================================
   6. En-tête
   ========================================================================== */
.saut-contenu {
  position: absolute; left: -9999px;
  background: var(--anthracite); color: #fff;
  padding: .8rem 1.4rem; z-index: 200; border-radius: 0 0 var(--rayon) 0;
}
.saut-contenu:focus { left: 0; top: 0; }

.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,245,.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.entete.est-defile {
  border-bottom-color: rgba(19,31,38,.09);
  box-shadow: 0 4px 20px rgba(19,31,38,.05);
}

.entete__interieur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 86px;
}

.marque { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex: none; }
.marque img { width: auto; height: 54px; }
.marque__texte { display: none; }

/* Rappel du rendez-vous : réservé au menu déroulant du téléphone. */
.nav-rdv { display: none; }

.nav-principale ul {
  display: flex;
  align-items: center;
  gap: 2.15rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-principale a {
  position: relative;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  padding: .35rem 0;
  color: var(--anthracite);
  transition: color var(--t);
}
.nav-principale a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--rouge);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t);
}
.nav-principale a:hover::after,
.nav-principale .current-menu-item > a::after,
.nav-principale .current_page_item > a::after { transform: scaleX(1); transform-origin: left; }
.nav-principale .current-menu-item > a,
.nav-principale .current_page_item > a { color: var(--rouge); }

.entete__actions { display: flex; align-items: center; gap: 1.1rem; flex: none; }

.tel-entete {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.tel-entete svg { width: 15px; height: 15px; color: var(--olive); }

/* burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 11px; width: 22px; height: 1.5px;
  background: var(--anthracite);
  transition: transform var(--t), opacity var(--t);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   7. Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(1100px 620px at 78% -8%, var(--rose) 0%, transparent 62%),
    radial-gradient(760px 520px at 4% 105%, rgba(119,123,76,.13) 0%, transparent 60%),
    var(--creme);
  overflow: hidden;
}

.hero__grille {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 { margin-bottom: 1.1rem; }
.hero h1 em {
  font-style: italic;
  color: var(--rouge);
}
.hero .chapo { max-width: 34rem; margin-bottom: 2rem; }

.hero__reperes {
  display: flex;
  flex-wrap: wrap;
  gap: 1.9rem;
  margin-top: 2.75rem;
  padding-top: 1.9rem;
  border-top: 1px solid rgba(19,31,38,.1);
}
.hero__repere { display: flex; flex-direction: column; gap: .18rem; }
.hero__repere strong {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
}
.hero__repere span { font-size: .84rem; color: var(--gris); letter-spacing: .01em; }

/* visuel du hero : le logo mis en scène */
.hero__visuel { position: relative; display: grid; place-items: center; }
.hero__medaillon {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 44%, #fff 0%, var(--creme) 58%, transparent 74%);
}
.hero__medaillon::before,
.hero__medaillon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(119,123,76,.22);
}
.hero__medaillon::after {
  inset: -26px;
  border-color: rgba(224,63,75,.13);
  border-style: dashed;
  animation: tourne 64s linear infinite;
}
@keyframes tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero__medaillon::after { animation: none; } }

.hero__medaillon img {
  width: 82%;
  filter: drop-shadow(0 18px 38px rgba(19,31,38,.13));
}

/* ==========================================================================
   8. Cartes
   ========================================================================== */
.grille { display: grid; gap: clamp(1.4rem, 2.6vw, 2.1rem); }
.grille--2 { grid-template-columns: repeat(2, 1fr); }
.grille--3 { grid-template-columns: repeat(3, 1fr); }
.grille--4 { grid-template-columns: repeat(4, 1fr); }

.carte {
  position: relative;
  background: var(--blanc);
  border: 1px solid rgba(19,31,38,.07);
  border-radius: var(--rayon-l);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.carte:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-xl);
  border-color: rgba(19,31,38,.02);
}
.carte__image { aspect-ratio: 3/2; overflow: hidden; background: var(--creme-2); }
.carte__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.carte:hover .carte__image img { transform: scale(1.045); }
.carte__corps { padding: clamp(1.6rem, 2.6vw, 2.2rem); }
.carte__corps h3 { margin-bottom: .55rem; }
.carte__corps p { color: var(--gris); font-size: 1rem; }
.carte__pied { margin-top: 1.4rem; }

/* carte "approche" : mise en avant des deux disciplines */
.approche {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--blanc);
  border: 1px solid rgba(19,31,38,.07);
  border-radius: var(--rayon-l);
  overflow: hidden;
}
.approche + .approche { margin-top: clamp(1.4rem, 2.6vw, 2.1rem); }
.approche--inverse .approche__media { order: 2; }
.approche__media { min-height: 380px; background: var(--creme-2); }
.approche__media img { width: 100%; height: 100%; object-fit: cover; }
.approche__texte { padding: clamp(2rem, 4vw, 3.4rem); display: flex; flex-direction: column; justify-content: center; }
.approche__texte ul { margin: 1.2rem 0 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.approche__texte li { position: relative; padding-left: 1.6rem; font-size: 1rem; color: var(--gris); }
.approche__texte li::before {
  content: "";
  position: absolute;
  left: 0; top: .68em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ambre);
}

/* bienfaits */
.bienfait {
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--blanc);
  border: 1px solid rgba(19,31,38,.07);
  border-radius: var(--rayon-l);
  transition: transform var(--t), box-shadow var(--t);
}
.bienfait:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.bienfait__num {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--rouge);
  opacity: .32;
  margin-bottom: .9rem;
}
.bienfait h4 { margin-bottom: .35rem; }
.bienfait p { font-size: .95rem; color: var(--gris); margin: 0; }

/* étapes */
.etapes { counter-reset: etape; display: grid; gap: 0; }
.etape {
  counter-increment: etape;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 1.6rem;
  padding: 1.9rem 0;
  border-top: 1px solid rgba(19,31,38,.1);
}
.etape:last-child { border-bottom: 1px solid rgba(19,31,38,.1); }
.etape::before {
  content: counter(etape, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--olive);
  line-height: 1.2;
}
.etape h4 { margin-bottom: .3rem; }
.etape p { color: var(--gris); margin: 0; font-size: 1rem; }

/* ==========================================================================
   9. Tarifs
   ========================================================================== */
.tarifs { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.4rem, 2.6vw, 2.1rem); }

.tarif {
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border: 1px solid rgba(19,31,38,.08);
  border-radius: var(--rayon-l);
  padding: clamp(1.9rem, 3vw, 2.6rem);
}
.tarif__titre {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin: 0 0 .25rem;
}
.tarif__sous { font-size: .92rem; color: var(--gris); margin: 0 0 1.6rem; }
.tarif__lignes { list-style: none; margin: 0; padding: 0; display: grid; }
.tarif__ligne {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-top: 1px solid rgba(19,31,38,.08);
}
.tarif__ligne:first-child { border-top: 0; }
.tarif__ligne dt { font-size: .97rem; }
.tarif__ligne dt small { display: block; color: var(--gris-clair); font-size: .82rem; }
.tarif__ligne dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  white-space: nowrap;
}
.tarif__note {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(19,31,38,.08);
  font-size: .9rem;
  color: var(--gris);
}

/* ==========================================================================
   10. Citation
   ========================================================================== */
.citation {
  text-align: center;
  max-width: 830px;
  margin-inline: auto;
}
.citation blockquote {
  margin: 0 0 1.4rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  line-height: 1.38;
  font-style: italic;
  font-weight: 400;
}
.citation figcaption {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--olive);
}
.section--sombre .citation figcaption { color: var(--ambre); }

/* Citation posée sur une photo : un voile sombre garantit le contraste du
   texte quelle que soit la zone de l'image qui se trouve derrière. */
.section--photo {
  position: relative;
  background: var(--anthracite);
  color: var(--creme);
  overflow: hidden;
}
.section--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: image-set(
    url(assets/img/cheminement-bandeau.webp) type("image/webp"),
    url(assets/img/cheminement-bandeau.jpg)  type("image/jpeg")
  );
  background-size: cover;
  background-position: center 62%;
}
.section--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19,31,38,.82) 0%, rgba(19,31,38,.66) 50%, rgba(19,31,38,.84) 100%);
}
.section--photo > * { position: relative; z-index: 1; }
.section--photo .citation blockquote { color: #fff; text-shadow: 0 1px 24px rgba(0,0,0,.35); }
.section--photo .citation figcaption { color: var(--ambre); }

/* Présentation sans portrait : texte centré et aéré plutôt qu'une image
   de remplissage qui sonnerait faux. */
.presentation-seule {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.presentation-seule .surtitre { justify-content: center; }
.presentation-seule .lead-serif { margin-bottom: 1.6rem; }

/* ==========================================================================
   11. FAQ — details/summary natif (accessible, lisible par les moteurs)
   ========================================================================== */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: var(--blanc);
  border: 1px solid rgba(19,31,38,.08);
  border-radius: var(--rayon-l);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq details[open] { border-color: rgba(224,63,75,.28); box-shadow: var(--ombre); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem clamp(1.3rem, 2.4vw, 1.9rem);
  padding-right: 3.4rem;
  position: relative;
  font-weight: 600;
  font-size: 1.04rem;
  transition: color var(--t);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--rouge); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.6rem; top: 50%;
  width: 11px; height: 11px;
  border-right: 1.6px solid var(--rouge);
  border-bottom: 1.6px solid var(--rouge);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--t);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__reponse { padding: 0 clamp(1.3rem, 2.4vw, 1.9rem) 1.5rem; color: var(--gris); }
.faq__reponse p:last-child { margin-bottom: 0; }

/* ==========================================================================
   12. Bandeau de rappel
   ========================================================================== */
.bandeau-cta {
  position: relative;
  border-radius: var(--rayon-l);
  overflow: hidden;
  background: var(--anthracite);
  color: var(--creme);
  padding: clamp(2.6rem, 5vw, 4.2rem);
  text-align: center;
}
.bandeau-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(assets/img/texture-graminees.jpg) center/cover;
  opacity: .14;
  mix-blend-mode: luminosity;
}
.bandeau-cta > * { position: relative; }
.bandeau-cta h2 { color: #fff; margin-bottom: .7rem; }
.bandeau-cta p { color: rgba(250,248,245,.78); max-width: 46ch; margin-inline: auto; }
.bandeau-cta .groupe-btn { justify-content: center; margin-top: 2rem; }

/* ==========================================================================
   13. Avertissement
   ========================================================================== */
.avertissement {
  display: flex;
  gap: 1.1rem;
  padding: 1.5rem 1.7rem;
  background: rgba(254,199,76,.13);
  border-left: 3px solid var(--ambre);
  border-radius: 0 var(--rayon) var(--rayon) 0;
  font-size: .96rem;
  color: var(--anthracite-doux);
}
.avertissement svg { width: 20px; height: 20px; flex: none; color: #B98A15; margin-top: .22rem; }
.avertissement p { margin: 0; }
.avertissement p + p { margin-top: .5rem; }

/* ==========================================================================
   14. Contact
   ========================================================================== */
.contact-grille {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.coordonnees { list-style: none; margin: 0 0 2.2rem; padding: 0; display: grid; gap: 1.5rem; }
.coordonnees li { display: flex; gap: 1rem; }
.coordonnees svg { width: 19px; height: 19px; flex: none; color: var(--rouge); margin-top: .28rem; }
.coordonnees strong { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-clair); font-weight: 600; margin-bottom: .18rem; }
.coordonnees a { text-decoration: none; font-weight: 500; }
.coordonnees a:hover { color: var(--rouge); }

.carte-acces {
  border-radius: var(--rayon-l);
  overflow: hidden;
  border: 1px solid rgba(19,31,38,.08);
  filter: grayscale(.32) contrast(1.02);
  transition: filter var(--t);
}
.carte-acces:hover { filter: grayscale(0); }
.carte-acces iframe { display: block; width: 100%; height: 320px; border: 0; }

/* formulaire */
.bloc-formulaire {
  background: var(--blanc);
  border: 1px solid rgba(19,31,38,.08);
  border-radius: var(--rayon-l);
  padding: clamp(1.8rem, 3.4vw, 2.8rem);
  box-shadow: var(--ombre);
}

.champs { display: grid; gap: 1.15rem; }
.champs--2 { grid-template-columns: 1fr 1fr; }

.champ { display: flex; flex-direction: column; gap: .45rem; }
.champ label { font-size: .88rem; font-weight: 600; }
.champ label .requis { color: var(--rouge); }

.champ input,
.champ select,
.champ textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--anthracite);
  padding: .85rem 1rem;
  background: var(--creme);
  border: 1px solid rgba(19,31,38,.14);
  border-radius: var(--rayon);
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
  width: 100%;
}
.champ textarea { min-height: 148px; resize: vertical; line-height: 1.65; }
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  background: var(--blanc);
  border-color: var(--rouge);
  box-shadow: 0 0 0 3px rgba(224,63,75,.11);
}
.champ input::placeholder, .champ textarea::placeholder { color: var(--gris-clair); }

.champ--case { flex-direction: row; align-items: flex-start; gap: .7rem; }
.champ--case input { width: auto; margin-top: .3rem; accent-color: var(--rouge); }
.champ--case label { font-weight: 400; font-size: .88rem; color: var(--gris); line-height: 1.6; }

/* pot de miel : invisible pour l'humain, appât pour les robots */
.pot-de-miel {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.message-formulaire {
  padding: 1.1rem 1.35rem;
  border-radius: var(--rayon);
  font-size: .96rem;
  margin-bottom: 1.5rem;
}
.message-formulaire--ok { background: rgba(119,123,76,.14); border-left: 3px solid var(--olive); }
.message-formulaire--erreur { background: rgba(224,63,75,.1); border-left: 3px solid var(--rouge); }

/* ==========================================================================
   15. Pied de page
   ========================================================================== */
.pied {
  background: var(--anthracite);
  color: rgba(250,248,245,.72);
  padding: clamp(3.5rem, 6vw, 5rem) 0 0;
  font-size: .95rem;
}
.pied__grille {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
}
.pied__marque { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.2rem; }
.pied__marque img { height: 52px; width: auto; }
.pied__nom {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: #fff;
  line-height: 1;
}
.pied__nom i { font-style: italic; color: var(--rouge); }
.pied h4 { color: #fff; margin-bottom: 1rem; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.pied a { text-decoration: none; transition: color var(--t); }
.pied a:hover { color: #fff; }
.pied__bas {
  border-top: 1px solid rgba(250,248,245,.13);
  padding: 1.6rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  font-size: .86rem;
  color: rgba(250,248,245,.5);
}
.pied__bas a { color: inherit; }

/* ==========================================================================
   16. Apparitions au défilement
   ========================================================================== */
.apparait {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s cubic-bezier(.22,.61,.36,1), transform .75s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.apparait.est-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .apparait { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   17. Adaptatif
   ========================================================================== */
@media (max-width: 1040px) {
  .hero__grille { grid-template-columns: 1fr; text-align: center; }
  .hero .chapo { margin-inline: auto; }
  .hero .surtitre { justify-content: center; }
  .hero__reperes { justify-content: center; }
  .hero__visuel { order: -1; }
  .hero__medaillon { width: min(100%, 330px); }
  .grille--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grille { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .entete__interieur { min-height: 72px; gap: .75rem; }
  .marque img { height: 44px; }
  .burger { display: block; }
  .tel-entete span { display: none; }

  /* Le bouton d'appel se compacte pour laisser la place au burger. */
  .entete__actions { gap: .5rem; }
  .entete__actions .btn { padding: .68rem 1rem; font-size: .85rem; }

  /* Rappel du rendez-vous en tête du menu déroulant. */
  .nav-rdv { display: block; margin-bottom: 1rem; }
  .nav-rdv .btn { width: 100%; justify-content: center; }

  .nav-principale {
    position: fixed;
    inset: 72px 0 auto;
    background: var(--creme);
    border-bottom: 1px solid rgba(19,31,38,.1);
    box-shadow: 0 18px 40px rgba(19,31,38,.1);
    padding: 1.2rem 1.25rem 1.8rem;
    display: none;
  }
  .nav-principale.est-ouverte { display: block; }
  .nav-principale ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-principale li { border-bottom: 1px solid rgba(19,31,38,.08); }
  .nav-principale li:last-child { border-bottom: 0; }
  /* Cible les liens de la liste seulement : le bouton de rendez-vous placé
     au-dessus doit garder sa mise en forme de bouton. */
  .nav-principale ul a { display: block; padding: .95rem .25rem; font-size: 1.05rem; }
  .nav-principale ul a::after { display: none; }

  .approche, .approche--inverse { grid-template-columns: 1fr; }
  .approche--inverse .approche__media { order: 0; }
  .approche__media { min-height: 240px; aspect-ratio: 16/10; }

  .grille--2, .grille--3, .tarifs { grid-template-columns: 1fr; }
  .pied__grille { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .contenu { width: calc(100% - 2rem); }
  .champs--2 { grid-template-columns: 1fr; }
  .grille--4 { grid-template-columns: 1fr; }
  .etape { grid-template-columns: 52px 1fr; gap: 1rem; }
  .groupe-btn .btn { width: 100%; justify-content: center; }
  .hero__reperes { gap: 1.4rem 2rem; }

  /* Sur un téléphone, l'en-tête garde l'essentiel : marque, appel, menu.
     Le rendez-vous reste accessible en tête du menu et dans la page. */
  .entete__actions .btn { display: none; }
  h1 { font-size: clamp(2.05rem, 8.6vw, 2.6rem); }
  .hero { padding-top: 2rem; }
  .hero__medaillon { width: min(72%, 240px); }
  .hero__medaillon::after { inset: -14px; }
}

/* ==========================================================================
   18. Impression
   ========================================================================== */
@media print {
  .entete, .pied, .bandeau-cta, .burger, .carte-acces { display: none; }
  body { background: #fff; font-size: 11pt; }
  .section { padding: 1.2rem 0; }
}

/* ==========================================================================
   19. Contenu libre (pages éditées dans WordPress)
   ========================================================================== */
.contenu-page h2 { margin-top: 2.4rem; }
.contenu-page h3 { margin-top: 1.8rem; }
.contenu-page ul, .contenu-page ol { padding-left: 1.3rem; }
.contenu-page li { margin-bottom: .45rem; }
.contenu-page table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.contenu-page th, .contenu-page td { padding: .8rem 1rem; border-bottom: 1px solid rgba(19,31,38,.1); text-align: left; }
.contenu-page th { font-weight: 600; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; color: var(--gris); }
