@import url("../fonts/fonts.css");

/* Polices de secours calibrées : le temps que Montserrat et Playfair Display arrivent, le texte
   s'affiche en Arial ou Georgia mis à la même largeur et à la même hauteur de ligne. Au changement
   de police, les mots restent à leur place (pas de retour à la ligne différent).
   Rapports de largeur mesurés dans Chrome sur le texte des pages du site ; hauteurs : Montserrat 968/251,
   Playfair Display 1082/251 (sur 1000), divisées par le rapport de largeur.
   Ici et non dans fonts.css : ce fichier-ci porte un numéro de version, fonts.css est gardé un an en cache. */
@font-face {
  font-family: 'Montserrat repli';
  font-weight: 400;
  src: local('Arial'), local('ArialMT'), local('Arimo'), local('Liberation Sans');
  size-adjust: 111.46%; ascent-override: 86.85%; descent-override: 22.52%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Montserrat repli';
  font-weight: 500;
  src: local('Arial'), local('ArialMT'), local('Arimo'), local('Liberation Sans');
  size-adjust: 113.14%; ascent-override: 85.56%; descent-override: 22.18%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Montserrat repli';
  font-weight: 600;
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Arimo Bold'), local('Liberation Sans Bold');
  size-adjust: 107.51%; ascent-override: 90.04%; descent-override: 23.35%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Montserrat repli';
  font-weight: 700;
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Arimo Bold'), local('Liberation Sans Bold');
  size-adjust: 109.46%; ascent-override: 88.43%; descent-override: 22.93%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Playfair repli';
  font-weight: 500;
  src: local('Georgia');
  size-adjust: 101.9%; ascent-override: 106.18%; descent-override: 24.63%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Playfair repli';
  font-weight: 600;
  src: local('Georgia Bold'), local('Georgia-Bold');
  size-adjust: 88.32%; ascent-override: 122.51%; descent-override: 28.42%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Playfair repli';
  font-weight: 700;
  src: local('Georgia Bold'), local('Georgia-Bold');
  size-adjust: 89.02%; ascent-override: 121.55%; descent-override: 28.20%; line-gap-override: 0%;
}

/* ==========================================================================
   Julie Rubio Studio
   Lecture confortable avant tout : texte large, contrastes élevés,
   cibles tactiles généreuses, aucune animation qui distrait.
   ========================================================================== */

/* --- Jetons --------------------------------------------------------------- */
:root {
  /* Charte */
  --olive:       #4C442D;
  --olive-fonce: #3A3421;
  --olive-nuit:  #2B2716;
  --creme:       #F8F0E5;
  --sauge:       #7A9870;
  --taupe:       #B7ADA0;

  /* Déclinaisons accessibles (le sauge et le taupe d'origine sont trop
     clairs pour du texte sur fond clair : on les réserve aux aplats,
     filets et icônes, et on utilise ces variantes pour le texte). */
  --sauge-texte: #4F6949;
  --taupe-texte: #6F6558;

  /* Surfaces */
  --papier: #FDFBF7;
  --sable:  #F4ECE0;
  --ligne:  #E4DACA;
  --encre:  #2E2A1C;

  --serif: "Playfair Display", "Playfair repli", "Iowan Old Style", Georgia, serif;
  --sans: "Montserrat", "Montserrat repli", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Largeur utile maximale (hors marges) et marges latérales proportionnelles à l'écran :
     24 px sur téléphone, environ 6 % de la largeur ensuite. Le contenu occupe ainsi
     88 % d'un écran d'ordinateur portable au lieu de 72 %. */
  --largeur: 1400px;
  --largeur-texte: 68ch;
  --gouttiere: clamp(1.25rem, 6vw, 7.5rem);
  --rayon: 3px;
  --ombre: 0 1px 2px rgba(46, 42, 28, .05), 0 14px 40px rgba(46, 42, 28, .07);
}

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

html {
  font-size: 19px;
  scrollbar-gutter: stable;   /* la place de la barre de défilement est toujours réservée :
                                 la page ne se décale pas d'une page courte à une page longue */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--encre);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--sauge-texte); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
a:hover { color: var(--olive-nuit); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- Utilitaires ---------------------------------------------------------- */
.contenu {
  width: 100%;
  max-width: calc(var(--largeur) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.contenu--etroit { max-width: calc(800px + 2 * var(--gouttiere)); }

.invisible {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

.evitement {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--olive); color: var(--creme);
  padding: .9rem 1.4rem; border-radius: var(--rayon);
  font-weight: 600; text-decoration: none; transition: top .15s ease;
}
.evitement:focus { top: 1rem; color: var(--creme); }

/* --- Titres --------------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0 0 .55em; line-height: 1.2; color: var(--olive-nuit); text-wrap: balance; }
/* Mots composés (chez-vous, sur-mesure, Aix-en-Provence) : jamais coupés au trait d'union. */
.insecable { white-space: nowrap; }

h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.015em;
}

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  letter-spacing: -.01em;
}

h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.4;
  letter-spacing: -.005em;
}

h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--taupe-texte);
}

.surtitre {
  display: block;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sauge-texte);
  margin-bottom: 1.1rem;
}
.surtitre::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  background: var(--sauge);
  margin-top: .85rem;
}

/* Sur l'accueil, le sur-titre fait partie du titre principal (référencement) :
   il garde exactement l'apparence d'un sur-titre. */
h1 .surtitre { font-family: var(--sans); line-height: 1.7; letter-spacing: .2em; }
.surtitre__ligne { display: block; }
.titre__suite { display: block; }
.heros h1 { font-size: clamp(2.1rem, 3.8vw, 2.7rem); }

.chapeau {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--taupe-texte);
  max-width: var(--largeur-texte);
}

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

/* --- Boutons -------------------------------------------------------------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 58px;
  padding: .8rem 1.6rem;
  font-family: var(--sans);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--olive);
  border-radius: var(--rayon);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.bouton svg { flex: none; }

.bouton--plein { background: var(--olive); color: var(--creme); }
.bouton--plein:hover { background: var(--olive-nuit); border-color: var(--olive-nuit); color: var(--creme); }

.bouton--ligne { background: transparent; color: var(--olive); }
.bouton--ligne:hover { background: var(--olive); color: var(--creme); }

.bouton--clair { background: var(--creme); color: var(--olive-nuit); border-color: var(--creme); }
.bouton--clair:hover { background: #fff; border-color: #fff; color: var(--olive-nuit); }
/* Contour clair sur fond olive (bandeau « Un projet en tête ? ») */
.bouton--ligne-clair, .bouton--ligne-clair:hover { border-color: var(--creme); color: var(--creme); }

/* --- En-tête -------------------------------------------------------------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--papier);
  border-bottom: 1px solid var(--ligne);
}

.entete__haut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: .9rem;
}

.logo img { height: 46px; width: auto; }

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

.reseaux { display: flex; gap: .35rem; }
.reseaux a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--olive);
  border: 1px solid var(--ligne);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.reseaux a:hover { background: var(--olive); color: var(--creme); border-color: var(--olive); }
.reseaux svg { width: 22px; height: 22px; }

.entete__tel { min-height: 52px; padding: .55rem 1.2rem; font-size: 1rem; }

/* Navigation toujours dépliée : pas de menu caché à chercher */
.nav { border-top: 1px solid var(--ligne); }
.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: block;
  padding: .8rem 0;
  font-size: .98rem;
  font-weight: 500;
  color: var(--encre);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.nav a:hover { color: var(--olive); border-bottom-color: var(--taupe); }
/* Même graisse pour tous les liens : la rubrique en cours ne décale pas les autres d'une page à l'autre. */
.nav a[aria-current="page"] { color: var(--olive-nuit); border-bottom-color: var(--sauge); }

/* --- Sections ------------------------------------------------------------- */
.section { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.section--sable { background: var(--sable); }
.section--creme { background: var(--creme); }
.section--olive { background: var(--olive); color: var(--creme); }
.section--olive h2, .section--olive h3 { color: var(--creme); }
.section--olive .surtitre { color: #C4D3BE; }
.section--olive .surtitre::after { background: var(--sauge); }
.section--olive .chapeau { color: #E3D9C9; }

.section__tete { max-width: var(--largeur-texte); margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__suite { margin-top: 2.25rem; }

/* --- Bandeau de page ------------------------------------------------------ */
.bandeau {
  background: var(--sable);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  border-bottom: 1px solid var(--ligne);
}
.bandeau h1 { margin-bottom: .3em; }
.bandeau .chapeau { margin-top: 1rem; }

.fil { font-size: .88rem; color: var(--taupe-texte); margin-bottom: 1.25rem; }
.fil a { color: var(--taupe-texte); }
.fil span { padding-inline: .45rem; color: var(--taupe); }

/* --- Héros ---------------------------------------------------------------- */
.heros { background: var(--creme); padding-block: clamp(2rem, 5vw, 4.5rem); }
/* Trois rangs : le titre, la photo en grand sur toute la largeur du contenu, puis le texte
   (à gauche) et les boutons (à droite). La photo horizontale occupe le premier écran. */
.heros__grille { display: grid; row-gap: clamp(1.75rem, 3.5vw, 2.75rem); }
.heros h1 { margin: 0; }
.heros__image {
  position: relative;
  height: clamp(320px, 55vh, 620px);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre);
}
.heros__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.heros__texte {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 1.5rem clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.heros__texte .heros__actions { margin-top: .35rem; }

.heros__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.heros__note {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--sauge);
  font-size: .94rem;
  line-height: 1.65;
  color: var(--taupe-texte);
  max-width: 46ch;
}

/* --- Promesses ------------------------------------------------------------ */
.promesses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(255px, 100%), 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.promesse__num {
  display: block;
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
  color: var(--sauge);
  margin-bottom: .55rem;
}
.promesse p { color: var(--taupe-texte); }

/* --- Prestations ---------------------------------------------------------- */
/* 8 prestations sur 2 colonnes (1 sur téléphone) : cartes larges, faciles à lire, sans case vide. */
.prestations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.presta {
  position: relative;
  background: var(--papier);
  border: 1px solid var(--ligne);
  border-top: 3px solid var(--sauge);
  border-radius: var(--rayon);
  padding: clamp(1.5rem, 3vw, 1.9rem);
  /* Icône à gauche, titre et texte à droite */
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 1.25rem;
  align-content: start;
}
.presta__icone { width: 42px; height: 42px; color: var(--sauge-texte); grid-row: span 2; }
.presta h3 { margin-bottom: .5rem; }
.presta p { color: var(--taupe-texte); font-size: .95rem; margin: 0; }

/* --- Grille réalisations (esprit Instagram) ------------------------------- */
.grille {
  --ecart: clamp(1rem, 2vw, 1.5rem);
  display: grid;
  /* Trois colonnes au plus : sur grand écran les vignettes s'agrandissent au lieu d'ouvrir
     une quatrième colonne à moitié vide. */
  grid-template-columns: repeat(auto-fill, minmax(max(min(260px, 100%), (100% - 2 * var(--ecart)) / 3), 1fr));
  gap: var(--ecart);
  margin: 0;
  padding: 0;
  list-style: none;
}

.vignette { display: block; text-decoration: none; color: inherit; }
.vignette__cadre {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--rayon);
  background: var(--sable);
}
.vignette__cadre img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.vignette:hover .vignette__cadre img,
.vignette:focus-visible .vignette__cadre img { transform: scale(1.045); }

.vignette__cat {
  display: block;
  margin-top: .85rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sauge-texte);
}
.vignette__titre {
  display: block;
  margin-top: .2rem;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--olive-nuit);
}
.vignette__lieu { display: block; margin-top: .15rem; font-size: .9rem; color: var(--taupe-texte); }
.vignette:hover .vignette__titre { text-decoration: underline; text-underline-offset: 4px; }

/* --- Fiche projet --------------------------------------------------------- */
.projet-heros {
  position: relative;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--sable);
  box-shadow: var(--ombre);
}
.projet-heros img { width: 100%; height: clamp(300px, 58vh, 620px); object-fit: cover; }
.projet-heros--etroit { width: fit-content; max-width: 100%; margin-inline: auto; }
.projet-heros--etroit img { width: auto; max-width: 100%; height: auto; max-height: 620px; }

.projet-intro { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }

.fiche { margin: 0; border-top: 1px solid var(--ligne); }
.fiche div { padding: .9rem 0; border-bottom: 1px solid var(--ligne); }
.fiche dt {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--taupe-texte);
}
.fiche dd { margin: .15rem 0 0; font-weight: 500; color: var(--olive-nuit); }
.fiche dd + dd { margin-top: .3rem; }

.etapes { margin: 0; padding: 0; list-style: none; }
.etapes li {
  position: relative;
  padding: .55rem 0 .55rem 2.1rem;
  color: var(--encre);
}
.etapes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 11px;
  height: 11px;
  border: 2px solid var(--sauge);
  border-radius: 50%;
}

.citation {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--creme);
  border-left: 4px solid var(--sauge);
  border-radius: 0 var(--rayon) var(--rayon) 0;
}
.citation p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--olive-nuit);
  margin: 0;
}

/* Avant / après */
.avant-apres { display: grid; gap: clamp(1.75rem, 4vw, 2.75rem); margin: 0; padding: 0; list-style: none; }
.paire { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.paire figure { margin: 0; }
.paire__etiquette {
  display: inline-block;
  margin-bottom: .55rem;
  padding: .2rem .7rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: 2px;
}
.paire__etiquette--avant { background: var(--taupe); color: var(--olive-nuit); }
.paire__etiquette--apres { background: var(--sauge); color: #fff; }
.paire img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); }
.paire__legende { margin-top: .6rem; font-size: .92rem; color: var(--taupe-texte); grid-column: 1 / -1; }

/* Galerie photo d'un projet */
.photos {
  --ecart: clamp(1rem, 2vw, 1.4rem);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(min(260px, 100%), (100% - 2 * var(--ecart)) / 3), 1fr));
  gap: var(--ecart);
  margin: 0;
  padding: 0;
  list-style: none;
}
.photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.photo__cadre {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--rayon);
  background: var(--sable);
}
.photo__cadre img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.photo:hover .photo__cadre img,
.photo:focus-visible .photo__cadre img { transform: scale(1.04); }

.photo__etiquette {
  display: block;
  margin-top: .6rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--taupe-texte);
}

/* Planches de présentation (plans, vues 3D) : affichées en entier, jamais recadrées */
.photos--planches .photo__cadre { aspect-ratio: 1.414 / 1; background: #F3EFE7; }
.photos--planches .photo__cadre img { object-fit: contain; }
.photos--planches .photo:hover .photo__cadre img,
.photos--planches .photo:focus-visible .photo__cadre img { transform: scale(1.02); }

/* Navigation entre projets */
.projet-intro--suite { margin-top: clamp(2.5rem, 5vw, 4rem); }

.projet-suite {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--ligne);
}

/* --- Visionneuse ---------------------------------------------------------- */
.visionneuse {
  border: 0;
  padding: 0;
  width: 100%;
  max-width: min(1150px, 94vw);
  max-height: 94vh;
  background: var(--papier);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  color: var(--encre);
}
.visionneuse::backdrop { background: rgba(43, 39, 22, .9); }
.visionneuse__image { width: 100%; max-height: 74vh; object-fit: contain; background: var(--olive-nuit); }
.visionneuse__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: .9rem 1.2rem;
}
.visionneuse__titre { font-size: .98rem; font-weight: 500; color: var(--taupe-texte); margin: 0; }
.visionneuse__nav { display: flex; gap: .55rem; }
.visionneuse__nav .bouton { min-height: 50px; padding: .5rem 1.05rem; font-size: .92rem; }

/* --- Portrait ------------------------------------------------------------- */
.portrait { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.portrait__cadre {
  aspect-ratio: 4 / 5;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--creme);
}
.portrait__cadre img { width: 100%; height: 100%; object-fit: cover; }
.portrait__vide {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .9rem;
  height: 100%;
  padding: 1.5rem;
  text-align: center;
  border: 2px dashed var(--taupe);
  border-radius: var(--rayon);
  color: var(--taupe-texte);
  font-size: .88rem;
}
.portrait__vide img { width: 74px; height: auto; opacity: .55; }

.signature { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--ligne); }
.signature img { height: 44px; width: auto; }
.credit { margin-top: 2.5rem; font-size: .8rem; color: var(--taupe-texte); }

/* --- Contact -------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.coordonnees { margin: 0; padding: 0; list-style: none; }
.coordonnee {
  display: flex;
  gap: 1.1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(248, 240, 229, .22);
}
.coordonnee:first-child { padding-top: 0; }
.coordonnee:last-child { border-bottom: 0; }
.coordonnee > svg { flex: none; width: 28px; height: 28px; color: var(--sauge); margin-top: .3rem; }
.coordonnee__label {
  display: block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #C4D3BE;
  margin-bottom: .2rem;
}
.coordonnee__valeur {
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--creme);
  text-decoration: none;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
a.coordonnee__valeur { text-decoration: underline; text-underline-offset: 5px; }
a.coordonnee__valeur:hover { color: #fff; }
.coordonnee__valeur--tel { font-size: 1.62rem; letter-spacing: .01em; }

/* L'adresse e-mail est longue : elle tient sur une seule ligne et se réduit
   juste ce qu'il faut sur les petits écrans, plutôt que d'être coupée. */
.coordonnee__valeur--mail {
  white-space: nowrap;
  overflow-wrap: normal;
  font-size: clamp(.72rem, 4.1vw, 1.22rem);
}
.coordonnee small { display: block; margin-top: .2rem; color: #D6CBB8; font-size: .9rem; font-weight: 400; }

.contact__boutons { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.formulaire { background: var(--papier); border-radius: var(--rayon); padding: clamp(1.75rem, 4vw, 2.4rem); color: var(--encre); }
.formulaire h2 { font-size: 1.5rem; margin-bottom: .3rem; color: var(--olive-nuit); }
.formulaire__intro { margin: 0 0 1.6rem; color: var(--taupe-texte); font-size: .95rem; }

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

.champ { margin-bottom: 1.25rem; }
.champ label { display: block; font-weight: 600; font-size: .98rem; margin-bottom: .4rem; color: var(--olive-nuit); }
.champ label .facultatif { font-weight: 400; color: var(--taupe-texte); }
.champ input, .champ textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1.02rem;
  color: var(--encre);
  background: #fff;
  border: 2px solid var(--ligne);
  border-radius: var(--rayon);
  padding: .8rem 1rem;
  min-height: 58px;
}
.champ textarea { min-height: 148px; resize: vertical; line-height: 1.6; }
.champ input:focus, .champ textarea:focus { border-color: var(--sauge); outline: 3px solid rgba(122, 152, 112, .3); outline-offset: 0; }
.formulaire .bouton { width: 100%; }

/* Bouton d'envoi : « Envoyer » -> « Envoi en cours » -> « Merci, c'est envoyé ! », sans quitter la page. */
.envoi { position: relative; overflow: hidden; transition: background-color .35s ease, border-color .35s ease; }
.envoi__texte, .envoi__merci { display: inline-flex; align-items: center; gap: .55rem; transition: opacity .3s ease, transform .35s ease; }
.envoi__merci { position: absolute; inset: 0; justify-content: center; opacity: 0; transform: translateY(110%); }
.envoi__coche { stroke-dasharray: 24; stroke-dashoffset: 24; }
.envoi.est-en-cours { cursor: progress; }
.envoi.est-en-cours .envoi__texte { animation: envoi-pulse 1s ease-in-out infinite; }
.envoi.est-envoye, .envoi.est-envoye:hover { background: var(--sauge-texte); border-color: var(--sauge-texte); cursor: default; }
.envoi.est-envoye .envoi__texte { opacity: 0; transform: translateY(-110%); }
.envoi.est-envoye .envoi__merci { opacity: 1; transform: none; }
.envoi.est-envoye .envoi__coche { animation: envoi-coche .5s ease-out .25s forwards; }
@keyframes envoi-pulse { 50% { opacity: .55; } }
@keyframes envoi-coche { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .envoi, .envoi__texte, .envoi__merci { transition: none; }
  .envoi.est-en-cours .envoi__texte { animation: none; }
  .envoi__coche, .envoi.est-envoye .envoi__coche { animation: none; stroke-dashoffset: 0; }
}
.formulaire__statut { margin: .8rem 0 0; font-weight: 500; color: var(--sauge-texte); }
.formulaire__statut:empty { display: none; }
.formulaire__statut.est-erreur { color: #8A2E1F; }
.formulaire__mention { margin: .95rem 0 0; font-size: .86rem; color: var(--taupe-texte); }

.merci { text-align: left; padding-block: clamp(1rem, 4vw, 3rem); }
.merci .heros__actions { margin-top: 2.25rem; }

/* --- Appel à l'action ----------------------------------------------------- */
.rappel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
.rappel__texte { flex: 1 1 22rem; max-width: 46ch; }
.rappel h2 { margin: 0; }
.rappel p { margin: .5rem 0 0; color: #E3D9C9; }
.rappel__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* --- Pied de page --------------------------------------------------------- */
.pied { background: var(--olive-nuit); color: #D7CDB8; padding-block: clamp(2.5rem, 5vw, 3.5rem); font-size: .95rem; }
.pied a { color: var(--creme); }
/* La colonne des coordonnées est plus large que les autres : l'adresse e-mail
   doit y tenir en entier, sans césure. */
.pied__grille { display: grid; grid-template-columns: 1.1fr 1.5fr 1fr 1fr; gap: 2rem; align-items: start; }
.pied__logo { height: 50px; width: auto; margin-bottom: 1rem; }
.pied h2 { font-family: var(--sans); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); margin-bottom: .9rem; }
.pied ul { margin: 0; padding: 0; list-style: none; }
.pied li { margin-bottom: .5rem; }
.pied__mail {
  display: inline-block;
  white-space: nowrap;
  font-weight: 600;
  font-size: clamp(.8rem, 1.45vw, .95rem);
}
.pied .reseaux { margin-top: .4rem; }
.pied .reseaux a { color: var(--creme); border-color: rgba(248, 240, 229, .3); }
.pied .reseaux a:hover { background: var(--creme); color: var(--olive-nuit); border-color: var(--creme); }
.pied__bas {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(248, 240, 229, .16);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  justify-content: space-between;
  font-size: .87rem;
}

/* Barre d'appel permanente sur mobile */
.barre-appel {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  background: var(--olive);
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 22px rgba(43, 39, 22, .28);
}
.barre-appel .bouton { width: 100%; min-height: 60px; font-size: 1rem; padding-inline: .9rem; gap: .5rem; }

/* --- Textes légaux -------------------------------------------------------- */
.texte-legal { max-width: 70ch; }
.texte-legal h3 { margin-top: 1.6rem; }
/* Lien discret de retour, sous le contenu d'une page */
.lien-retour { margin-top: 3rem; }
.heros__actions + .lien-retour { margin-top: 1.6rem; }
.texte-legal h2 { font-size: 1.45rem; margin-top: 2.5rem; }
.texte-legal li { margin-bottom: .45rem; }
.texte-legal ul { padding-left: 1.3rem; }
.texte-legal a[href^="mailto"] {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(.72rem, 4vw, 1rem);
}
.a-completer {
  background: #FBF3DC;
  border-left: 4px solid #C9A227;
  padding: 1rem 1.25rem;
  border-radius: 0 var(--rayon) var(--rayon) 0;
}

/* --- Zone d'intervention (accueil) -------------------------------------- */
.villes__titre {
  font-size: .82rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--taupe-texte); margin-bottom: .9rem;
}
.villes { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.villes a {
  display: inline-block; padding: .7rem 1.15rem; min-height: 48px;
  border: 1px solid var(--ligne); border-left: 3px solid var(--sauge); border-radius: var(--rayon);
  background: var(--papier); color: var(--olive-nuit); font-weight: 500; text-decoration: none;
}
.villes a:hover { border-color: var(--sauge); color: var(--olive); }

/* --- Questions fréquentes (prestations) ---------------------------------- */
.faq {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 1.35rem; margin: 0; padding: 0; list-style: none;
}
.faq__item {
  background: var(--papier); border: 1px solid var(--ligne); border-left: 3px solid var(--sauge);
  border-radius: var(--rayon); padding: clamp(1.4rem, 3vw, 1.8rem);
}
.faq__item h3 { margin-bottom: .55rem; }
.faq__item p { color: var(--taupe-texte); }

/* --- Boutique ------------------------------------------------------------ */
.vignette__lieu s, .produit__avant { color: var(--taupe-texte); font-weight: 400; margin-left: .35rem; }
.produit__prix {
  font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.3rem); font-weight: 600;
  color: var(--olive-nuit); margin-bottom: 1.1rem;
}
.produit__prix .produit__avant { font-family: var(--sans); font-size: 1.1rem; }
.produit__epuise { font-weight: 600; color: var(--taupe-texte); margin-bottom: .8rem; }
.produit__texte { margin-block: 1.8rem; }
.produit__texte p { color: var(--encre); }
.produit {
  display: grid; gap: clamp(1rem, 2vw, 1.4rem) clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: "photo infos" "galerie infos"; align-items: start;
}
.produit__photo { grid-area: photo; }
.produit__galerie { grid-area: galerie; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.produit__infos { grid-area: infos; }
.boutique-note {
  margin-top: clamp(2rem, 4vw, 3rem); padding: 1.2rem 1.4rem; max-width: var(--largeur-texte);
  background: var(--sable); border-left: 3px solid var(--sauge); border-radius: var(--rayon);
  color: var(--taupe-texte); font-size: .95rem;
}

/* --- Adaptations écran ---------------------------------------------------- */
@media (max-width: 980px) {
  .heros__texte { grid-template-columns: 1fr; }
  .heros__texte .heros__actions { margin-top: 0; }
  .heros__image { height: auto; aspect-ratio: 3 / 2; }
  .projet-intro, .contact, .portrait { grid-template-columns: 1fr; }
  .portrait__cadre { max-width: 320px; }
  /* Sur écran étroit : grande photo, puis prix et bouton « Acheter », puis les autres photos. */
  .produit { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "infos" "galerie"; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .prestations { grid-template-columns: 1fr; }
  /* Icône au-dessus du titre : le texte garde toute la largeur de la carte. */
  .presta { grid-template-columns: 1fr; }
  .presta__icone { grid-row: auto; width: 36px; height: 36px; margin-bottom: .4rem; }
  html { font-size: 18px; }

  /* En-tête non collant : déplié sur trois lignes il masquerait la page.
     L'appel reste accessible via la barre fixe du bas. */
  .entete { position: static; }
  .entete__haut { padding-block: .7rem; gap: .8rem; }
  .logo img { height: 36px; }
  .entete__tel { display: none; }
  .reseaux a { width: 46px; height: 46px; }

  .nav ul { gap: 0 1.4rem; }
  .nav a { padding: .65rem 0; }

  .barre-appel { display: block; }
  /* Place réservée sous le pied de page pour la barre d'appel, dans la couleur du pied. */
  .pied { padding-bottom: calc(2.5rem + 88px); }

  /* Le titre de l'accueil tient en deux lignes, coupées entre ses deux phrases. */
  .heros h1 { font-size: clamp(1.75rem, 8.6vw, 2.1rem); }

  .paire { grid-template-columns: 1fr; }
  .pied__grille { grid-template-columns: 1fr; }
  .champs-2 { grid-template-columns: 1fr; gap: 0; }

  /* Sur téléphone, l'adresse e-mail prend toute la largeur disponible :
     son icône est retirée pour qu'elle reste lisible sans être coupée. */
  .coordonnee--mail > svg { display: none; }
  .coordonnee__valeur { font-size: 1.1rem; }
  .coordonnee__valeur--mail { font-size: clamp(.72rem, 4.1vw, 1.1rem); }
  .coordonnee__valeur--tel { font-size: 1.4rem; }
  .visionneuse__nav { width: 100%; }
  .visionneuse__nav .bouton { flex: 1; }
  .projet-heros img { height: 260px; }

  /* Projet précédent, toutes les réalisations, projet suivant : empilés, pleine largeur. */
  .projet-suite { flex-direction: column; align-items: stretch; }
  .projet-suite > span:empty { display: none; }
  .projet-suite .bouton { justify-content: center; text-align: center; }
}
