/* samuelnagau.com — mise en page et charte du site d'origine (relevées le 30/10/2026),
   modernisées : responsive, netteté, accessibilité. */

[hidden] { display: none !important; }
:root {
  --fond: #FAF8F5;
  --beige: #EFE7DB;
  --or: #D19E3A;
  --or-fonce: #B98A2E;
  --bordeaux: #792017;
  --texte: #282828;
  --texte-2: #2B261E;
  --gris: #5F5B54;
  --gris-clair: #938F8A;
  --brun: #583700;
  --ambre: 219, 148, 33;      /* #DB9421, utilisé en transparence */
  --erreur: #FF4040;

  --titres: "Poppins", "Segoe UI", system-ui, sans-serif;
  --texte-police: "Police Texte", "Poppins", "Segoe UI", system-ui, sans-serif;
  --gloock: "Gloock", Georgia, serif;
  --futura: "Jost", "Futura", "Century Gothic", sans-serif;

  --largeur: 1440px;
  --marge: clamp(20px, 5.5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0; background: var(--fond); color: var(--texte);
  font: 400 16px/1.85 var(--texte-police);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--titres); font-weight: 600; color: var(--texte); margin: 0 0 0.4em; line-height: 1.2; }
h1 { font-size: clamp(32px, 3.4vw, 45px); }
h2 { font-size: clamp(26px, 2.6vw, 34px); }
h3 { font-size: clamp(20px, 1.7vw, 23px); }
p { margin: 0 0 1em; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--or); }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.centre { text-align: center; }
.or { color: var(--or); }

.evitement { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--or); color: #fff; padding: 10px 14px; }
.evitement:focus { top: 12px; }
.bandeau-apercu { background: var(--texte-2); color: var(--fond); font-size: 13px; text-align: center; padding: 6px 12px; }

/* ---------- Boutons ---------- */
.bouton-carre {
  display: inline-block; background: var(--or); color: var(--fond); border: 1px solid var(--or);
  font-weight: 700; font-size: 16px; line-height: 1.2; padding: 11px 34px; transition: background-color .2s;
}
.bouton-carre:hover { background: var(--or-fonce); border-color: var(--or-fonce); color: var(--fond); }
.bouton-large { width: 100%; max-width: 452px; }
.bouton-pilule {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--or); color: #fff; border-radius: 33px; min-width: 262px; min-height: 56px;
  padding: 10px 28px; font-size: 16px; transition: background-color .2s;
}
.bouton-pilule:hover { background: var(--or-fonce); color: #fff; }
.bouton-pilule-grand { font-size: 20px; }
.bouton-pilule-moyen { font-size: 18px; }
.bouton-sombre {
  background: var(--texte-2); color: var(--fond); border: 1px solid var(--texte-2);
  font: 400 16px var(--texte-police); padding: 11px 52px; cursor: pointer;
}
.bouton-sombre:hover { background: #000; }
.bouton-envoyer {
  display: block; margin: 8px auto 0; background: var(--brun); color: #fff; border: 0; border-radius: 33px;
  font: 400 15px var(--futura); padding: 13px 48px; cursor: pointer;
}
.bouton-envoyer:hover { background: #3f2700; }
.bouton-plein { display: inline-block; background: var(--or); color: #fff; padding: 10px 22px; font-weight: 700; }
.bouton-plein:hover { background: var(--or-fonce); color: #fff; }
.bouton-contour { display: inline-block; border: 1px solid var(--texte-2); padding: 9px 22px; }
.bouton-texte { background: none; border: 0; padding: 10px 6px; font: inherit; text-decoration: underline; cursor: pointer; color: var(--gris); }
.boutons { display: flex; flex-wrap: wrap; gap: 16px 46px; margin-top: 36px; }
.lien-souligne { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- En-tête ---------- */
.entete { position: relative; z-index: 10; }
.entete-logo { background: var(--fond); display: flex; justify-content: center; padding: 14px 0 16px; }
.logo img { height: 86px; width: auto; }
.logo-texte { font-family: var(--gloock); font-size: 34px; letter-spacing: .04em; }
.menu { background: var(--beige); border-bottom: 3px solid var(--or); }
.menu-liste { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 0 34px; }
.menu-liste > li { position: relative; }
.menu-lien {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 2px; min-height: 52px;
  font: 400 18px var(--texte-police); color: var(--texte); background: none; border: 0; cursor: pointer;
}
.menu-lien:hover { color: var(--or); }
.menu-lien[aria-current="page"] { color: var(--or); }
.fleche { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.sous-menu {
  list-style: none; margin: 0; padding: 6px 0; position: absolute; left: 50%; top: 100%;
  transform: translateX(-50%); min-width: 190px; background: var(--fond);
  box-shadow: 0 8px 24px rgba(0,0,0,.12); display: none;
}
.sous-menu .menu-lien { display: block; padding: 8px 20px; min-height: 0; font-size: 17px; white-space: nowrap; }
.menu-deroulant:hover .sous-menu, .menu-deroulant:focus-within .sous-menu, .menu-deroulant.ouvert .sous-menu { display: block; }

@media (max-width: 760px) {
  .logo img { height: 64px; }
  .menu-liste { gap: 0 14px; flex-wrap: wrap; }
  .menu-lien { font-size: 15px; min-height: 46px; }
  .sous-menu .menu-lien { font-size: 15px; padding: 10px 18px; }
}

/* ---------- Pied de page ---------- */
.pied { background: var(--beige); color: var(--texte-2); }
.pied-interieur {
  max-width: var(--largeur); margin: 0 auto; padding: 34px var(--marge) 40px;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.6fr); gap: 16px 40px; align-items: start;
}
.pied p { margin: 0; }
.pied-liens a { text-decoration: underline; text-underline-offset: 3px; }
.pied-droits, .pied-legal { font-size: 14px; line-height: 1.55; letter-spacing: .02em; }
.pied-legal { padding-top: 14px; }
@media (max-width: 760px) { .pied-interieur { grid-template-columns: minmax(0, 1fr); text-align: center; } .pied-legal { padding-top: 0; } }

/* ---------- Cadres de remplacement (aperçu) ---------- */
.apercu {
  display: grid; place-items: center; min-height: 220px; width: 100%;
  background: linear-gradient(135deg, #e9dfcf, #d9cbb4); color: var(--gris); font-size: 13px; text-align: center; padding: 12px;
}

/* ---------- Accueil ---------- */
.diaporama .diaporama-image { width: 100%; height: clamp(260px, 43vw, 620px); object-fit: cover; }
.accueil-oeuvres { background: var(--beige); padding: 96px var(--marge) 90px; }
.titre-gloock { font-family: var(--gloock); font-weight: 400; font-size: 45px; text-align: center; margin-bottom: 64px; color: var(--texte); }
.grille-oeuvres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; max-width: 942px; margin: 0 auto 50px; }
.grille-oeuvres img, .grille-oeuvres .apercu { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: auto; transition: opacity .25s; }
.grille-oeuvres a:hover img { opacity: .88; }
.accueil-apropos {
  max-width: var(--largeur); margin: 0 auto; padding: 80px var(--marge) 52px;
  display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr); gap: 60px; align-items: center;
}
.sous-titre-27 { font-family: var(--titres); font-weight: 600; font-size: clamp(21px, 2vw, 27px); margin: 18px 0 40px; }
.apropos-texte p:not(.sous-titre-27) { color: #3b3a38; font-size: 15px; }
.apropos-texte .bouton-carre { margin-top: 18px; }
.apropos-photo { background: var(--beige); display: grid; place-items: center; padding: 92px 40px; }
.apropos-photo img, .apropos-photo .apercu { width: min(306px, 100%); aspect-ratio: 1; object-fit: cover; }
@media (max-width: 760px) {
  .grille-oeuvres { gap: 8px; margin-bottom: 36px; }
  .accueil-oeuvres { padding: 56px 16px 56px; }
  .accueil-apropos { grid-template-columns: minmax(0, 1fr); }
  .apropos-photo { padding: 40px 20px; }
  .titre-gloock { font-size: 36px; margin-bottom: 36px; }
}

/* ---------- L'artiste / Portraitiste ---------- */
.bio { max-width: calc(960px + 2 * var(--marge)); margin: 0 auto; padding: 88px var(--marge) 60px; }
.bio-tete { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 0 0 50px 34px; }
.bio-tete h1 { margin-bottom: 4px; }
.sous-titre-24 { font-family: var(--titres); font-weight: 600; font-size: clamp(19px, 1.8vw, 24px); margin: 0; }
.sous-titre-gris { font-size: clamp(19px, 1.8vw, 24px); color: var(--gris-clair); margin: 4px 0 0; }
.bio-photo { width: 199px; aspect-ratio: 1; object-fit: cover; box-shadow: 0 10px 18px -6px rgba(0,0,0,.5); border: 1px solid var(--texte); }
.p-portraitiste .bio { padding-top: 22px; }
.p-portraitiste .bio-tete { padding-bottom: 20px; }
.bio-texte p { color: #3b3a38; font-size: 16px; }
.bio-texte p + p { margin-top: 1.6em; }
.bio-texte .bouton-carre { margin-top: 20px; }
.contact {
  max-width: var(--largeur); margin: 0 auto; padding: 40px var(--marge) 68px;
  display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 80px; align-items: start;
}
.contact-formulaire { background: var(--beige); padding: 34px 32px 20px; }
.contact-appel { font-size: 22px; line-height: 1.5; margin-bottom: 36px; max-width: 26em; }
.contact-formulaire label { display: grid; gap: 4px; font-size: 15px; color: var(--texte-2); margin-bottom: 16px; max-width: 420px; }
.contact-formulaire .grille-2 { max-width: 420px; }
.contact-formulaire input, .contact-formulaire textarea, .devis-formulaire input:not([type="radio"]):not([type="file"]), .devis-formulaire select {
  width: 100%; background: var(--fond); color: var(--texte-2); border: 1px solid var(--texte-2); border-radius: 0;
  font: 400 16px var(--texte-police); padding: 8px 10px; min-height: 41px;
}
.contact-formulaire ::placeholder, .devis-formulaire ::placeholder { color: var(--texte-2); opacity: .7; }
.contact-formulaire .bouton-sombre { margin-top: 6px; }
.contact-coordonnees { padding-top: 22px; }
.contact-coordonnees h2 { font-size: 45px; margin-bottom: 44px; }
.contact-coordonnees p { font-size: 16px; margin-bottom: 1.4em; }
@media (max-width: 860px) {
  .bio-tete { flex-direction: column-reverse; align-items: flex-start; padding: 0 0 36px; }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* ---------- Grilles de formulaire ---------- */
.grille-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; }
@media (max-width: 520px) { .grille-2 { grid-template-columns: minmax(0, 1fr); } }
[aria-invalid="true"] { outline: 2px solid var(--erreur); outline-offset: 0; }
.erreur-formulaire { color: var(--erreur); font-size: 14px; margin: 8px 0 0; }

/* ---------- Pages Cours ---------- */
.cours-tete {
  max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 499px; gap: 72px;
  padding-left: var(--marge); padding-right: var(--marge); align-items: stretch;
}
.cours-tete-texte { padding: 82px 0 40px; }
.p-enfants .cours-tete h1, .p-enfants .sous-titre-22, .p-enfants .sujets h2, .p-enfants .sujets-grille li > span,
.p-enfants .moitie h2, .p-enfants .lieu h2, .p-enfants .tarifs > h2:not(.titre-fonce) { color: var(--gris); }
.sous-titre-22 { font-family: var(--titres); font-weight: 600; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.6; margin: 26px 0 40px; }
.cours-tete-texte p:not(.sous-titre-22):not(.boutons) { font-size: 15px; color: #3b3a38; }
.justifie { text-align: justify; hyphens: auto; }
.cours-tete-image { width: 100%; height: 100%; min-height: 720px; max-height: 820px; object-fit: cover; }
@media (max-width: 960px) {
  .cours-tete { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cours-tete-image { min-height: 0; max-height: 520px; }
}

.bande-pictos { color: #fff; padding: 46px var(--marge) 54px; }
.bande-or { background: var(--or); }
.bande-bordeaux { background: var(--bordeaux); }
.bande-pictos ul {
  list-style: none; margin: 0 auto; padding: 0; max-width: var(--largeur);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.bande-pictos li { display: grid; justify-items: center; gap: 22px; text-align: center; }
.bande-pictos .picto { width: 58px; height: 58px; }
.bande-pictos li > span { font: 600 16px/1.35 var(--titres); }
@media (max-width: 760px) { .bande-pictos ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.sujets { max-width: var(--largeur); margin: 0 auto; padding: 84px var(--marge) 80px; }
.sujets h2 { margin-bottom: 56px; }
.sujets-grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 320px); justify-content: space-between; gap: 70px 0; }
.sujets-grille img, .sujets-grille .apercu { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sujets-grille li > span { display: block; text-align: center; margin-top: 22px; font: 600 clamp(19px, 1.6vw, 22px)/1.35 var(--titres); padding: 0 14px; }
@media (max-width: 1080px) { .sujets-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px 24px; } }
@media (max-width: 640px) { .sujets-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.moitie { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.fond-beige { background: var(--beige); }
.moitie-texte { padding: 70px clamp(24px, 8.5vw, 124px) 60px; }
.moitie-texte h2 { margin-bottom: 52px; }
.moitie-texte p { font-size: 15px; color: #3b3a38; max-width: 32em; }
.moitie-image { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }

.lieu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--beige); }
.lieu-photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lieu-photos figure { margin: 0; position: relative; }
.lieu-photos img, .lieu-photos .apercu { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.lieu-photos figcaption {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 600 clamp(20px, 1.8vw, 26px) var(--titres); color: var(--fond); text-shadow: 0 1px 10px rgba(0,0,0,.45); pointer-events: none;
}
.lieu-texte { padding: 60px clamp(24px, 8.5vw, 126px) 70px; font-size: 15px; color: #3b3a38; }
.lieu-texte p { margin-bottom: .2em; max-width: 31em; }
.lieu-texte ul { margin: 0 0 .2em; padding-left: 1.6em; }
.lieu-texte h2 { margin-bottom: 18px; }
.horaires-titre { margin-top: 70px !important; }
.horaires-sous-titre { font-size: 20px; margin-bottom: 8px !important; color: var(--texte); }
.horaires-groupe { font-weight: 700; color: var(--texte); font-family: var(--titres); font-size: 14.5px; margin-top: .6em !important; }
@media (max-width: 860px) {
  .moitie, .lieu { grid-template-columns: minmax(0, 1fr); }
  .lieu-photos img, .lieu-photos .apercu { min-height: 300px; }
  .moitie-image { min-height: 300px; }
}

/* ---------- Tarifs et cartes ---------- */
.tarifs { padding: 76px var(--marge) 100px; text-align: center; }
.tarifs > h2 { margin-bottom: 14px; }
.titre-fonce { color: var(--texte) !important; }
.tarif-annuel { margin: 8px 0 8px; color: var(--or); font-family: var(--titres); }
.tarif-annuel-prix { font-weight: 600; font-size: 36px; }
.tarif-annuel-detail { font-weight: 600; font-size: 17px; margin-left: 10px; }
.tarif-or { color: var(--or); font: 600 clamp(17px, 1.5vw, 20px) var(--titres); margin-bottom: 22px; }
.tarif-note { font-family: var(--futura); font-weight: 300; font-size: 17px; color: var(--gris); margin-bottom: .6em; }
.tarif-note-fonce { font-weight: 400; color: #4a4741; }
.tarif-groupe { color: var(--gris-clair); font: 600 clamp(17px, 1.5vw, 20px)/1.5 var(--titres); margin-bottom: 0; }
.cartes { display: flex; justify-content: center; align-items: flex-start; flex-wrap: wrap; gap: 26px; margin-top: 52px; }
.carte {
  width: 310px; background: linear-gradient(to bottom, #e6e5e3 0, var(--fond) 92px);
  border-radius: 20px; box-shadow: 0 1px 6px rgba(0,0,0,.37); padding: 22px 22px 30px; text-align: center;
}
.carte hr { border: 0; border-top: 1px solid var(--bordeaux); width: 240px; max-width: 100%; margin: 20px auto; }
.carte-titre { font: 600 clamp(21px, 1.8vw, 25px)/1.3 var(--titres); margin: 6px 0 14px; }
.carte-prix { font: 400 25px var(--titres); color: var(--or); margin: 0; }
.carte-unite { font-size: 17px; margin: 0; color: var(--texte); }
.carte-prix-grand { font: 400 46px/1.1 var(--titres); color: var(--or); margin: 0; }
.carte-prix-grand small { font-size: 22px; }
.carte-unite-grand { font-weight: 300; font-size: 20px; color: var(--gris); margin: 0; }
.carte ul { text-align: left; font-size: 16px; line-height: 1.5; margin: 0 0 0 4px; padding-left: 20px; color: #3b3a38; }
.carte-frais { font-size: 16px; line-height: 1.3; margin-bottom: 8px; }
.carte-frais strong { font-family: var(--titres); font-weight: 400; color: var(--texte); }
.carte-prix-petit { font: 400 23px var(--titres); color: var(--or); margin-bottom: 18px; }
.carte .bouton-pilule { min-width: 0; width: 100%; }

.bande-materiel { background: var(--bordeaux); color: var(--fond); text-align: center; padding: 22px var(--marge) 26px; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.45; }
.bande-materiel p { margin: 0; }

/* ---------- Pré-inscription ---------- */
.preinscription {
  max-width: var(--largeur); margin: 0 auto; padding: 60px var(--marge) 80px;
  display: grid; grid-template-columns: minmax(0, 552px) 509px; gap: 60px 120px; align-items: start;
}
.preinscription-intro { padding-top: 26px; max-width: 420px; }
.preinscription-intro h2 { margin-bottom: 42px; line-height: 1.35; }
.preinscription-intro p { font-size: 15px; color: #3b3a38; max-width: 22em; }
.formulaire-or-titre { font: 400 clamp(21px, 1.8vw, 25px) var(--titres); color: var(--brun); margin: 0; }
.formulaire-or-sous-titre { font: 400 clamp(16px, 1.4vw, 19px) var(--titres); color: var(--brun); margin: 0 0 22px; letter-spacing: .02em; }
.formulaire-or label { display: grid; gap: 4px; font: 400 13px var(--futura); color: var(--brun); margin-bottom: 14px; }
.formulaire-or .grille-2 { gap: 0 18px; }
.formulaire-or input, .formulaire-or select, .formulaire-or textarea {
  width: 100%; border: 0; border-radius: 9px; color: var(--brun); font: 400 14px var(--futura);
  padding: 12px 20px; min-height: 52px;
}
.formulaire-or .n1 input { background: rgba(var(--ambre), .25); }
.formulaire-or .n2 input { background: rgba(var(--ambre), .4); }
.formulaire-or .n3 input, .formulaire-or .n3 select { background: rgba(var(--ambre), .55); }
.formulaire-or .n4 textarea { background: rgba(var(--ambre), .7); min-height: 124px; }
.formulaire-or ::placeholder { color: var(--brun); opacity: .85; }
@media (max-width: 960px) { .preinscription { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ---------- Galerie ---------- */
.galerie-tete { text-align: center; padding: 62px var(--marge) 24px; }
.galerie-tete .titre-gloock { margin-bottom: 16px; }
.galerie-annees { font: 400 29px var(--gloock); color: var(--gris-clair); margin-bottom: 18px; }
.galerie-sous-titre { font-size: 15px; color: #3b3a38; }
.galerie {
  max-width: var(--largeur); margin: 0 auto; padding: 20px var(--marge) 90px;
  display: grid; grid-template-columns: repeat(3, 320px); justify-content: space-between; gap: 90px 0;
}
.oeuvre { margin: 0; }
.oeuvre img, .oeuvre .apercu { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .25s; }
.oeuvre a:hover img { opacity: .9; }
.oeuvre figcaption { display: grid; margin-top: 8px; line-height: 1.75; }
.oeuvre-titre { font-weight: 700; font-size: 16px; }
.oeuvre-technique { font-size: 13px; color: var(--gris); }
.oeuvre-prix, .oeuvre-annee { font-size: 16px; color: #3b3a38; }
@media (max-width: 1080px) { .galerie { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 28px; } }
@media (max-width: 680px) { .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 18px; } }

/* ---------- Commande / SEPA ---------- */
.commande-tete {
  max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge) 50px;
  display: grid; grid-template-columns: 499px minmax(0, 1fr); gap: 92px; align-items: center;
}
.commande-image { width: 100%; height: 100%; min-height: 850px; object-fit: cover; }
.commande-texte { padding: 60px 40px 30px 0; }
.commande-texte .sous-titre-22 { margin: 22px 0 34px; }
.commande-texte p:not(.sous-titre-22):not(.centre) { font-size: 15px; color: #3b3a38; }
.commande-texte .centre { margin-top: 30px; }
.p-sepa .commande-tete { padding-bottom: 0; }
.p-sepa .commande-image { min-height: 595px; max-height: 595px; }
.regard {
  max-width: var(--largeur); margin: 0 auto; padding: 40px var(--marge) 56px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start;
}
.regard h2 { margin-bottom: 30px; }
.regard p { font-size: 15px; color: #3b3a38; max-width: 31em; }
.regard .mots { display: grid; gap: 28px; font: 400 30px/1 var(--titres); color: var(--beige); margin: 30px 0 0; max-width: none; }
.mots span:nth-child(1) { padding-left: 96px; }
.mots span:nth-child(2) { padding-left: 188px; }
.mots span:nth-child(3) { padding-left: 130px; }
.mots span:nth-child(4) { padding-left: 238px; }
.mots span:nth-child(5) { padding-left: 152px; }
.souvenir {
  max-width: var(--largeur); margin: 0 auto; padding: 56px var(--marge) 70px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px 140px; align-items: start;
}
.souvenir h2 { margin-bottom: 56px; }
.souvenir h3 { margin-top: 56px; }
.souvenir p, .souvenir li { font-size: 15px; color: #3b3a38; }
.souvenir ul { padding-left: 1.6em; margin: 0 0 .3em; }
.souvenir .bouton-carre { margin-top: 26px; vertical-align: middle; }
.a-partir { display: inline-block; margin-left: 16px; font-size: 15px; color: var(--texte); vertical-align: middle; margin-top: 26px; }
@media (max-width: 960px) {
  .commande-tete, .regard, .souvenir { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .commande-image { min-height: 0; max-height: 560px; }
  .commande-texte { padding: 10px 0; }
  .mots span { padding-left: 0 !important; }
  .souvenir h3 { margin-top: 0; }
}

/* ---------- Devis ---------- */
.devis-tete { max-width: var(--largeur); margin: 0 auto; padding: 86px var(--marge) 44px; }
.devis-tete h1 { margin-bottom: 0; }
.devis-tete-ligne { display: grid; grid-template-columns: 460px minmax(0, 1fr); align-items: end; margin-top: 30px; }
.devis-tete-ligne .bouton-carre { justify-self: start; padding: 10px 46px; font-weight: 400; }
.devis-tete-ligne p { font-size: 15px; color: #3b3a38; margin: 0; max-width: 34em; }
.devis-formulaire { background: var(--beige); padding: 56px var(--marge) 64px; }
#calculateur { max-width: 1185px; margin: 0 auto; }
.devis-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 230px; }
.devis-bloc-titre { font: 600 16px var(--titres); margin: 0 0 8px; }
.devis-colonnes > div > .devis-bloc-titre:not(:first-child) { margin-top: 32px; }
.devis-formulaire label { display: grid; gap: 2px; font-size: 15px; color: #4a4741; margin-bottom: 10px; }
.devis-formulaire .demi { max-width: 303px; }
.devis-formulaire .quart { max-width: 160px; }
.choix { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.choix legend { font: 600 15px var(--titres); color: #4a4741; padding: 0; margin-bottom: 6px; width: 100%; }
.choix label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; margin: 0; }
.choix input { accent-color: var(--gris); width: 16px; height: 16px; margin: 0; }
.modele-photo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 14px; }
.modele-photo > p { font-size: 15px; color: #4a4741; margin: 18px 0 0; overflow-wrap: anywhere; }
.modele-photo a { text-decoration: underline; }
.champ-titre { font: 600 15px var(--titres); color: #4a4741; margin: 0 0 6px; text-align: center; }
.bouton-fichier {
  display: inline-flex !important; align-items: center; gap: 10px; border: 1px solid var(--texte-2); background: var(--fond);
  padding: 7px 16px; cursor: pointer; font-size: 15px; color: var(--gris-clair) !important;
}
.bouton-fichier span { font-size: 22px; line-height: 1; color: var(--gris); }
.bouton-fichier input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bouton-fichier:focus-within { outline: 2px solid var(--or); outline-offset: 2px; }
.fichiers-choisis { font-size: 13px; color: var(--gris); margin: 6px 0 0; }
.devis-total { display: grid; grid-template-columns: minmax(0, 484px) minmax(0, 452px); gap: 34px; align-items: center; margin-top: 46px; }
.devis-montant { text-align: center; }
.devis-montant p { margin: 0; font-size: 14px; color: #4a4741; }
.devis-prix { font: 600 32px/1.5 var(--titres) !important; color: var(--texte) !important; }
.devis-acompte { font-size: 14px !important; color: var(--texte) !important; margin: 2px 0 6px !important; }
.devis-delai { font-size: 13px !important; margin-top: 6px !important; }
.devis-action .bouton-carre { font-weight: 400; cursor: pointer; font-family: var(--texte-police); }
.explications { max-width: calc(1205px + 2 * var(--marge)); margin: 0 auto; padding: 64px var(--marge) 50px; }
.explications h3, .discuter h3 { font-size: clamp(21px, 1.9vw, 27px); }
.explications > h2 { text-align: center; margin-bottom: 80px; }
.explications-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px 230px; }
.explications h3 { margin-bottom: 18px; }
.explications p { font-size: 15px; color: #3b3a38; }
.explications-grille > div > h3:not(:first-child) { margin-top: 56px; }
.explications-image { width: 336px; margin-top: 8px; }
.explications-or { display: grid; grid-template-columns: minmax(0, 1fr) 196px; gap: 20px; align-items: start; }
.explications-or-image { width: 196px; margin-top: 44px; }
.discuter { text-align: center; margin-top: 70px; }
.discuter h3 { margin-bottom: 30px; }
@media (max-width: 960px) {
  .devis-tete-ligne, .devis-colonnes, .devis-total, .explications-grille { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .modele-photo { grid-template-columns: minmax(0, 1fr); }
  .champ-titre { text-align: left; }
  .explications-or { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Paiement par carte ---------- */
.paiement {
  max-width: var(--largeur); margin: 0 auto; padding: 50px var(--marge) 70px;
  display: grid; grid-template-columns: minmax(0, 564px) 400px; gap: 60px 140px; align-items: center;
}
.paiement-texte h1 { margin-bottom: 20px; line-height: 1.25; }
.paiement-texte .sous-titre-22 { margin: 0 0 40px; max-width: 20em; }
.paiement-ligne { display: flex; align-items: center; gap: 14px; font: 600 16px var(--titres); margin: 0 0 10px; }
.paiement-ligne .picto { width: 52px; height: 52px; color: var(--or); }
.paiement-cartes { width: 270px; margin: 0 0 54px 66px; }
.paiement-formulaire { background: var(--beige); padding: 40px 62px 40px; display: grid; gap: 18px; }
.paiement-formulaire-titre { font: 600 28px/1.35 var(--titres); margin: 0 0 6px; max-width: 8em; }
.paiement-formulaire label { display: grid; gap: 4px; font: 600 13px var(--titres); }
.paiement-formulaire input, .paiement-formulaire textarea {
  width: 100%; border: 0; border-radius: 4px; font: 400 14px var(--texte-police); color: var(--texte-2);
  padding: 10px 16px; min-height: 50px; background: #E8CF9F;
}
.paiement-formulaire .montant input { background: #D9AE5C; padding-left: 50px; }
.paiement-formulaire label:nth-of-type(2) input { background: #DDB86E; }
.champ-euro { position: relative; display: block; }
.champ-euro > span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 400; }
.paiement-formulaire ::placeholder { color: #5b4a2c; opacity: .9; }
.paiement-champs { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 18px; }
.paiement-formulaire input[readonly] { cursor: default; }
.paiement-etat { background: var(--fond); border: 1px solid var(--or); padding: 26px 24px 24px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.paiement-etat p { margin: 0; font-size: 15px; line-height: 1.55; }
.paiement-illu { width: 112px; height: 112px; color: var(--or); margin-bottom: 4px; }
.paiement-etat-titre { font: 600 19px/1.35 var(--titres); color: var(--texte); }
.paiement-etat-texte { color: #4a4741; }
.paiement-etat-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.paiement-etat-actions .bouton-contour { background: transparent; font: inherit; cursor: pointer; color: var(--texte); }
.paiement-etat-attente { background: transparent; border-color: transparent; padding: 0; justify-items: start; text-align: left; }
.paiement-etat-regle { border-color: #6a8f4e; }
.paiement-etat-regle .paiement-illu { color: #6a8f4e; }
.paiement-erreur { margin: 0; color: var(--bordeaux); font-size: 14px; font-weight: 600; }
.paiement-note { margin: 0; font-size: 12.5px; color: #5b4a2c; }
.bouton-envoyer:disabled { opacity: .7; cursor: progress; }
@media (max-width: 960px) { .paiement { grid-template-columns: minmax(0, 1fr); } .paiement-cartes { margin-left: 0; } }

/* ---------- Pages de texte (mentions, confidentialité, 404) ---------- */
.page-texte { max-width: 900px; margin: 0 auto; padding: 80px var(--marge) 80px; }
.page-texte p, .page-texte li { font-size: 15px; color: #3b3a38; }
.page-texte h2 { font-size: 24px; margin-top: 1.6em; }
.page-texte .chapeau { font-size: 18px; }
.a-completer { border-left: 3px solid var(--or); padding-left: 12px; }

/* ---------- Envoi d'un formulaire ---------- */
.envoi { margin-top: 20px; padding: 20px; background: var(--fond); border: 1px solid var(--or); text-align: left; }
.envoi:focus { outline: none; }
.champ-piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.envoi-merci { margin: 0; padding: 22px 24px; background: var(--fond); border: 1px solid var(--or); font: 600 17px/1.5 var(--titres); color: var(--texte); }
.envoi-merci:focus { outline: none; }
form.envoye > :not(.envoi-merci) { display: none !important; }
.envoi-titre { font: 600 17px var(--titres); color: var(--texte); }
.envoi p { font-size: 14px; color: #4a4741; }
.envoi-texte { white-space: pre-wrap; font: 13px/1.5 var(--texte-police); background: #fff; border: 1px solid #ddd; padding: 12px; max-height: 220px; overflow: auto; }
.envoi-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- Téléphone : images à proportions fixes ---------- */
@media (max-width: 960px) {
  .cours-tete-image, .commande-image, .p-sepa .commande-image { height: auto; min-height: 0; max-height: 560px; aspect-ratio: 4 / 5; }
}
@media (max-width: 860px) {
  .moitie-image { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .lieu-photos img, .lieu-photos .apercu { height: auto; min-height: 0; aspect-ratio: 3 / 4; }
}
.sujets-grille .apercu, .grille-oeuvres .apercu, .oeuvre .apercu, .apropos-photo .apercu { min-height: 0; }
@media (max-width: 430px) {
  .menu-liste { gap: 0 11px; }
  .menu-lien { font-size: 14.5px; }
}

@media (max-width: 360px) { .menu-liste { gap: 0 8px; } .menu-lien { font-size: 13.5px; } }
