/* ==========================================================================
   Les Petits Gourmets Plus - feuille de style unique
   Vision Plus Ultra - septembre 2026
   Ordre : polices, tokens, reset, base, motif, boutons, en-tete, sections,
   composants, formulaires, footer, animations, impression.
   Mobile first : les styles de base sont ceux du telephone.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Polices auto-hebergees
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Lora';
  src: url('../fonts/lora.woff2') format('woff2-variations'),
       url('../fonts/lora.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('../fonts/lora-italic.woff2') format('woff2-variations'),
       url('../fonts/lora-italic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Charte */
  --orange:        #E03102;  /* couleur de marque : aplats, filets, motif */
  --orange-texte:  #D42D02;  /* orange en petit texte sur creme, 4.53:1 */
  --orange-fonce:  #B82702;  /* survol et focus */
  --brun:          #4C110B;
  --brun-clair:    #6B2A22;  /* texte secondaire sur creme, 9.56:1 */
  --creme:         #FCF1EB;
  --creme-ombre:   #F5DED2;  /* filets, bordures, fonds de champ */
  --blanc:         #FDFDFD;
  --blanc-pur:     #FFFFFF;  /* texte sur fond orange, 4.56:1 */
  --or:            #F5B335;

  /* Typographie */
  --titre: 'Lora', Georgia, 'Times New Roman', serif;
  --texte: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Formes : un seul systeme. Boutons en pilule, blocs a 14px, medias a 18px */
  --rayon:        14px;
  --rayon-media:  18px;
  --rayon-pilule: 999px;

  /* Rythme */
  --gouttiere: 1.25rem;
  --largeur:   1180px;
  --section:   clamp(3.25rem, 8vw, 5.75rem);

  /* Niveaux */
  --z-motif: 0;
  --z-contenu: 1;
  --z-entete: 100;
  --z-flottant: 200;
  --z-menu: 300;

  /* Mouvement */
  --duree: 240ms;
  --courbe: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

/* --------------------------------------------------------------------------
   3. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

/* Une regle de classe comme display:grid l'emporterait sur le style natif de
   l'attribut hidden. Sans cette ligne, un bloc masque reste visible. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* L'en-tete reste colle en haut : sans cette reserve, le debut d'une section
     atteinte par un lien d'ancre passerait dessous. */
  scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--texte);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--brun);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
a { color: var(--orange-texte); text-decoration-thickness: 1px; text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--orange-fonce);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Sur fond brun ou orange, le contour doit rester visible */
.s-brun :focus-visible, .s-orange :focus-visible { outline-color: var(--or); }

/* --------------------------------------------------------------------------
   4. Typographie
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 400;
  line-height: 1.22;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 6.2vw, 3.3rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.0625rem; font-family: var(--texte); font-weight: 600; line-height: 1.4; }

/* Mot accentue en Lora italique. La reserve basse protege les jambages. */
/* Reste en flux inline : un inline-block detacherait la ponctuation qui suit
   et la renverrait seule a la ligne. La hauteur de ligne du titre suffit a
   degager les jambages de l'italique. */
.accent {
  font-style: italic;
  color: var(--orange-texte);
}
.s-brun .accent, .s-orange .accent { color: var(--or); }

p { text-wrap: pretty; }
.intro {
  font-size: clamp(1.0625rem, 2.4vw, 1.2rem);
  color: var(--brun-clair);
  max-width: 62ch;
}
.s-brun .intro, .s-orange .intro { color: inherit; opacity: .92; }

/* Sur-titre. Utilise avec parcimonie, quatre fois sur tout le site. */
.surtitre {
  font-family: var(--texte);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-texte);
  margin-bottom: .75rem;
}
.s-brun .surtitre, .s-orange .surtitre { color: var(--or); }

.petit { font-size: .9375rem; color: var(--brun-clair); }
.s-brun .petit, .s-orange .petit { color: inherit; opacity: .85; }

/* --------------------------------------------------------------------------
   5. Mise en page et motif de marque
   -------------------------------------------------------------------------- */
.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.section { padding-block: var(--section); position: relative; }
.s-creme { background: var(--creme); }
.s-blanc { background: var(--blanc); }
.s-brun  { background: var(--brun);  color: var(--creme); }
.s-orange{ background: var(--orange);color: var(--blanc-pur); }
.s-brun h1, .s-brun h2, .s-brun h3, .s-orange h1, .s-orange h2, .s-orange h3 { color: inherit; }

.entete-section { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 2.75rem); }
.entete-section.centre { margin-inline: auto; text-align: center; }

/* Le motif : un losange arrondi et un point, repris de l'identite Instagram.
   Applique en masque pour pouvoir le colorer librement. */
.a-motif { position: relative; isolation: isolate; }
.a-motif::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: var(--z-motif);
  pointer-events: none;
  background-color: var(--motif-couleur, var(--orange));
  opacity: var(--motif-opacite, .07);
  -webkit-mask-image: var(--motif);
  mask-image: var(--motif);
  -webkit-mask-size: 150px 150px;
  mask-size: 150px 150px;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}
.a-motif > * { position: relative; z-index: var(--z-contenu); }

:root {
  --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cg fill='%23000'%3E%3Crect x='-31' y='-31' width='62' height='62' rx='12' transform='translate(75 75) rotate(45)'/%3E%3Crect x='-31' y='-31' width='62' height='62' rx='12' transform='translate(0 0) rotate(45)'/%3E%3Crect x='-31' y='-31' width='62' height='62' rx='12' transform='translate(150 0) rotate(45)'/%3E%3Crect x='-31' y='-31' width='62' height='62' rx='12' transform='translate(0 150) rotate(45)'/%3E%3Crect x='-31' y='-31' width='62' height='62' rx='12' transform='translate(150 150) rotate(45)'/%3E%3Ccircle cx='75' cy='0' r='6'/%3E%3Ccircle cx='0' cy='75' r='6'/%3E%3Ccircle cx='150' cy='75' r='6'/%3E%3Ccircle cx='75' cy='150' r='6'/%3E%3C/g%3E%3C/svg%3E");
}
.s-brun.a-motif::before   { --motif-couleur: var(--creme); --motif-opacite: .05; }
.s-orange.a-motif::before { --motif-couleur: var(--brun);  --motif-opacite: .10; }

/* --------------------------------------------------------------------------
   6. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: .75rem 1.5rem;
  font-family: var(--texte);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  border-radius: var(--rayon-pilule);
  border: 2px solid transparent;
  transition: background-color var(--duree) var(--courbe),
              border-color var(--duree) var(--courbe),
              color var(--duree) var(--courbe),
              transform 120ms ease-out;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { transform: translateY(1px); }

.btn-principal { background: var(--orange); color: var(--blanc-pur); }
.btn-principal:hover, .btn-principal:focus-visible { background: var(--orange-fonce); color: var(--blanc-pur); }

.btn-secondaire { border-color: var(--brun); color: var(--brun); background: transparent; }
.btn-secondaire:hover, .btn-secondaire:focus-visible { background: var(--brun); color: var(--creme); }

/* Sur fond brun ou orange */
.s-brun .btn-principal { background: var(--or); color: var(--brun); }
.s-brun .btn-principal:hover, .s-brun .btn-principal:focus-visible { background: var(--creme); color: var(--brun); }
.s-brun .btn-secondaire { border-color: var(--creme); color: var(--creme); }
.s-brun .btn-secondaire:hover, .s-brun .btn-secondaire:focus-visible { background: var(--creme); color: var(--brun); }
.s-orange .btn-principal { background: var(--blanc-pur); color: var(--orange-fonce); }
.s-orange .btn-principal:hover, .s-orange .btn-principal:focus-visible { background: var(--brun); color: var(--creme); }
.s-orange .btn-secondaire { border-color: var(--blanc-pur); color: var(--blanc-pur); }
.s-orange .btn-secondaire:hover, .s-orange .btn-secondaire:focus-visible { background: var(--blanc-pur); color: var(--orange-fonce); }

.groupe-btn { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-icone { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; }

/* --------------------------------------------------------------------------
   7. Bandeau superieur, en-tete, navigation
   -------------------------------------------------------------------------- */
.bandeau-haut {
  background: var(--brun);
  color: var(--creme);
  font-size: .75rem;
  text-align: center;
  padding: .45rem var(--gouttiere);
  line-height: 1.35;
}

.entete {
  position: sticky;
  top: 0;
  z-index: var(--z-entete);
  background: var(--creme);
  border-bottom: 1px solid var(--creme-ombre);
}
.entete-barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding-block: .45rem;
}
.logo { display: flex; align-items: center; flex: none; }
.logo img { width: 148px; height: auto; }

.nav-bascule {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 48px;
  min-width: 48px;
  padding: .5rem .75rem;
  border-radius: var(--rayon-pilule);
  border: 2px solid var(--creme-ombre);
  font-size: .875rem;
  font-weight: 600;
  color: var(--brun);
}
.nav-bascule-traits { display: block; width: 20px; height: 14px; position: relative; }
.nav-bascule-traits span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--brun); border-radius: 2px;
  transition: transform var(--duree) var(--courbe), opacity 160ms linear;
}
.nav-bascule-traits span:nth-child(1) { top: 0; }
.nav-bascule-traits span:nth-child(2) { top: 6px; }
.nav-bascule-traits span:nth-child(3) { top: 12px; }
.nav-bascule[aria-expanded="true"] .nav-bascule-traits span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-bascule[aria-expanded="true"] .nav-bascule-traits span:nth-child(2) { opacity: 0; }
.nav-bascule[aria-expanded="true"] .nav-bascule-traits span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav { display: none; }
.nav.est-ouvert {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: var(--z-menu);
  background: var(--creme);
  border-bottom: 1px solid var(--creme-ombre);
  box-shadow: 0 16px 32px -24px rgba(76, 17, 11, .45);
}
.nav-liste { display: flex; flex-direction: column; padding: .5rem var(--gouttiere) 1.25rem; }
.nav-liste a {
  display: block;
  padding: .875rem .25rem;
  font-weight: 500;
  color: var(--brun);
  text-decoration: none;
  border-bottom: 1px solid var(--creme-ombre);
}
.nav-liste a[aria-current="page"] { color: var(--orange-texte); font-weight: 600; }
.nav-action { margin-top: 1rem; }
.nav-action .btn { width: 100%; }

/* --------------------------------------------------------------------------
   8. Hero immersif
   La photo occupe tout l'ecran disponible, un voile brun monte du bas pour
   que le texte reste lisible quelle que soit la photo posee dessus.
   -------------------------------------------------------------------------- */
:root { --haut-entete: 5.5rem; }

.hero {
  position: relative;
  min-height: calc(100dvh - var(--haut-entete));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--brun);
  isolation: isolate;
}
.hero-fond { position: absolute; inset: 0; z-index: 0; }
/* picture est un element en ligne sans hauteur propre : sans cette ligne,
   le height 100 pour cent de l'image ne se rapporte a rien et la photo disparait. */
.hero-fond picture { display: block; width: 100%; height: 100%; }
.hero-fond img { width: 100%; height: 100%; object-fit: cover; }

/* Respiration tres lente de la photo. Coupee si le visiteur demande
   moins de mouvement, voir le bloc prefers-reduced-motion. */
.hero-fond img { animation: respire 26s ease-in-out infinite alternate; transform-origin: 52% 58%; }
@keyframes respire { from { transform: scale(1); } to { transform: scale(1.07); } }

.hero-voile {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
    rgba(38, 9, 5, .95) 0%,
    rgba(38, 9, 5, .82) 30%,
    rgba(38, 9, 5, .42) 62%,
    rgba(38, 9, 5, .26) 100%);
}

.hero-corps { position: relative; z-index: 2; padding-block: clamp(2.25rem, 7vw, 4rem); }
.hero-lieu {
  color: var(--or);
  font-size: .78125rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 {
  color: var(--creme);
  font-size: clamp(2.2rem, 7.2vw, 4rem);
  line-height: 1.12;
  max-width: 16ch;
  margin-bottom: 1rem;
}
.hero h1 .accent { color: var(--or); }
.hero .numero-geant { color: var(--creme); margin-bottom: .75rem; }
.hero .numero-geant:hover, .hero .numero-geant:focus-visible { color: var(--or); }
.hero-sous {
  color: var(--creme);
  opacity: .93;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  max-width: 46ch;
  margin-bottom: 1.75rem;
}
.hero .btn-secondaire { border-color: var(--creme); color: var(--creme); }
.hero .btn-secondaire:hover, .hero .btn-secondaire:focus-visible { background: var(--creme); color: var(--brun); }
.hero :focus-visible { outline-color: var(--or); }

.hero-infos {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(252, 241, 235, .28);
  color: var(--creme);
  font-size: .875rem;
  opacity: .92;
}
.hero-infos li { display: flex; align-items: center; gap: .45rem; }
.hero-infos a { color: var(--or); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero-infos a:hover, .hero-infos a:focus-visible { color: var(--creme); }
.hero-infos svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; opacity: .8; }

/* --------------------------------------------------------------------------
   9. Bande d'infos pratiques
   -------------------------------------------------------------------------- */
.infos-bande { padding-block: 1.5rem; }
.adresse-bande { display: grid; gap: 1.125rem; }
.adresse-bande p { display: flex; align-items: flex-start; gap: .75rem; }
.adresse-bande svg { width: 24px; height: 24px; flex: none; margin-top: 2px; fill: none; stroke: currentColor; }
.adresse-bande b { font-weight: 600; display: block; font-size: 1.0625rem; }
.adresse-bande span { font-size: .9375rem; }
.adresse-bande .btn { justify-self: start; }

/* --------------------------------------------------------------------------
   10. Carte visuelle
   Une photo, un voile, un badge, et le texte pose en bas. Sert aux activites
   de l'accueil, aux blocs de la page offres et aux creations patissieres.
   -------------------------------------------------------------------------- */
.cartes { display: grid; gap: 1rem; }

.carte-v {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 330px;
  border-radius: var(--rayon-media);
  overflow: hidden;
  background: var(--brun);
  color: var(--creme);
  text-decoration: none;
  isolation: isolate;
}
.carte-v-media { position: absolute; inset: 0; z-index: 0; }
.carte-v-media picture { display: block; width: 100%; height: 100%; }
.carte-v-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--courbe);
}
.carte-v::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
    rgba(38, 9, 5, .94) 0%,
    rgba(38, 9, 5, .78) 34%,
    rgba(38, 9, 5, .30) 66%,
    rgba(38, 9, 5, .16) 100%);
}
.carte-v-corps { position: relative; z-index: 2; padding: 1.25rem 1.25rem 1.375rem; display: grid; gap: .45rem; }
.carte-v h3 { font-family: var(--titre); font-weight: 400; font-size: 1.3rem; color: var(--creme); }
.carte-v p { font-size: .9375rem; opacity: .92; }
.carte-v-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--or);
  color: var(--brun);
  border-radius: var(--rayon-pilule);
  padding: .3rem .8rem;
  font-size: .78125rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.carte-v-numero {
  position: absolute;
  top: 1rem;
  right: 1.125rem;
  z-index: 2;
  font-family: var(--titre);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--creme);
  opacity: .55;
}
.carte-v-lien {
  margin-top: .35rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--or);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.carte-v-lien svg { width: 1em; height: 1em; fill: none; stroke: currentColor; transition: transform var(--duree) var(--courbe); }

a.carte-v:hover .carte-v-media img, a.carte-v:focus-visible .carte-v-media img { transform: scale(1.06); }
a.carte-v:hover .carte-v-lien svg, a.carte-v:focus-visible .carte-v-lien svg { transform: translateX(3px); }
.carte-v:focus-visible { outline: 3px solid var(--orange-fonce); outline-offset: 3px; }

/* Variante haute, pour les listes de plats posees sur la photo */
.carte-v.est-haute { min-height: 420px; }
.carte-v-liste { display: grid; gap: .35rem; margin-top: .35rem; }
.carte-v-liste li { display: flex; justify-content: space-between; gap: 1rem; font-size: .875rem; padding: .3rem 0; border-top: 1px solid rgba(252, 241, 235, .22); }
.carte-v-liste li:first-child { border-top: 0; }
.carte-v-liste b { color: var(--or); font-weight: 600; white-space: nowrap; }

/* --------------------------------------------------------------------------
   11. Menu du jour, bloc video
   -------------------------------------------------------------------------- */
.menujour-grille, .duo { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
.menujour-grille { align-items: center; }
.duo { align-items: start; }
.menujour-media {
  border-radius: var(--rayon-media);
  overflow: hidden;
  background: var(--brun);
  border: 4px solid var(--orange);
}
.menujour-media video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.menujour-texte h2 { margin-bottom: .875rem; }
.menujour-texte p { margin-bottom: 1.5rem; }

/* --------------------------------------------------------------------------
   12. Galerie en mosaique
   -------------------------------------------------------------------------- */
.galerie { display: grid; gap: .875rem; grid-template-columns: repeat(2, 1fr); }
.galerie figure {
  margin: 0;
  border-radius: var(--rayon-media);
  overflow: hidden;
  background: var(--blanc);
  border: 1px solid var(--creme-ombre);
  display: flex;
  flex-direction: column;
}
.galerie img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.galerie figcaption {
  padding: .625rem .75rem .75rem;
  font-size: .8125rem;
  line-height: 1.4;
  color: var(--brun-clair);
}

/* --------------------------------------------------------------------------
   12 bis. Avis des clients
   Les textes sont recopies mot pour mot depuis Google, fautes comprises : un
   avis se cite, il ne se corrige pas.
   -------------------------------------------------------------------------- */
.avis { display: grid; gap: 1rem; }
.avis-carte {
  background: var(--creme);
  border: 1px solid var(--creme-ombre);
  border-radius: var(--rayon-media);
  padding: 1.375rem 1.375rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.avis-note { display: flex; align-items: center; gap: .15rem; color: var(--or); }
.avis-note svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
/* Etoile non acquise : assez visible pour lire la note d'un coup d'oeil,
   assez discrete pour ne pas se confondre avec une etoile pleine.
   La note exacte reste portee par l'attribut aria-label. */
.avis-note svg.est-vide { color: #E0BFAF; }
.avis-carte blockquote {
  margin: 0;
  font-family: var(--titre);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--brun);
}
.avis-source {
  margin-top: auto;
  padding-top: .5rem;
  font-size: .8125rem;
  color: var(--brun-clair);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.avis-lien { margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   13. Bloc confiance
   -------------------------------------------------------------------------- */
.confiance { display: grid; gap: 1.75rem; }
.confiance-item { display: grid; gap: .5rem; padding-top: 1.25rem; border-top: 2px solid rgba(252, 241, 235, .22); }
.confiance-item h3 { font-family: var(--texte); font-size: 1.0625rem; font-weight: 600; color: var(--or); }
.confiance-item p { font-size: .9375rem; opacity: .9; }

/* --------------------------------------------------------------------------
   14. Bande d'appel finale
   -------------------------------------------------------------------------- */
.appel-final { text-align: center; }
.appel-final h2 { margin-bottom: .75rem; }
.appel-final p { margin-bottom: 1.75rem; max-width: 46ch; margin-inline: auto; }
.appel-final .groupe-btn { justify-content: center; }

/* Numero geant, page contact */
.numero-geant {
  display: inline-block;
  font-family: var(--titre);
  font-size: clamp(2.3rem, 10vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--blanc-pur);
  text-decoration: none;
  line-height: 1.1;
  padding-bottom: .05em;
}
.numero-geant:hover, .numero-geant:focus-visible { text-decoration: underline; text-decoration-thickness: 3px; }

/* --------------------------------------------------------------------------
   15. Page offres : pastilles de prix et blocs de menu
   -------------------------------------------------------------------------- */
.pastille {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
  color: var(--blanc-pur);
  text-align: center;
  line-height: 1.05;
}
.pastille b { font-family: var(--titre); font-size: 2.1rem; font-weight: 600; }
.pastille span { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; }
.pastille.est-brune { background: var(--brun); color: var(--creme); }
.pastille.est-or { background: var(--or); color: var(--brun); }
.s-brun .pastille { background: var(--or); color: var(--brun); }

.offre-entete { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.offre-entete .intro { margin: 0; flex: 1 1 18rem; }

.menu-blocs { display: grid; gap: 1.25rem; }
.menu-bloc {
  background: var(--blanc);
  border: 1px solid var(--creme-ombre);
  border-top: 4px solid var(--orange);
  border-radius: var(--rayon);
  padding: 1.375rem 1.25rem 1.5rem;
}
/* Variante illustree : la photo coiffe le bloc, le texte reste sur fond clair
   pour que les prix restent parfaitement lisibles. */
.menu-bloc.est-illustre { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.menu-bloc-media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.menu-bloc-corps { padding: 1.25rem 1.25rem 1.5rem; flex: 1; }
.menu-bloc-corps h3 { margin-bottom: .75rem; }
.s-brun .menu-bloc { background: rgba(252, 241, 235, .07); border-color: rgba(252, 241, 235, .2); border-top-color: var(--or); }
.menu-bloc h3 { font-family: var(--titre); font-weight: 400; font-size: 1.25rem; margin-bottom: .875rem; }
.menu-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .45rem 0; }
.menu-ligne + .menu-ligne { border-top: 1px dashed var(--creme-ombre); }
.s-brun .menu-ligne + .menu-ligne { border-top-color: rgba(252, 241, 235, .2); }
.menu-ligne span { font-size: .9375rem; }
.menu-ligne b { font-weight: 600; white-space: nowrap; color: var(--orange-texte); font-variant-numeric: tabular-nums; }
.s-brun .menu-ligne b { color: var(--or); }
.menu-mots { display: flex; flex-wrap: wrap; gap: .5rem; }
.menu-mots li {
  font-size: .875rem;
  padding: .4rem .75rem;
  border-radius: var(--rayon-pilule);
  background: var(--creme);
  border: 1px solid var(--creme-ombre);
}
.s-brun .menu-mots li { background: rgba(252, 241, 235, .1); border-color: rgba(252, 241, 235, .22); }

.encart {
  border-radius: var(--rayon);
  padding: 1.25rem 1.25rem 1.375rem;
  background: var(--creme-ombre);
  display: grid;
  gap: .5rem;
}
.encart h3 { font-family: var(--texte); font-size: 1rem; font-weight: 600; }
.encart p { font-size: .9375rem; }
.s-brun .encart { background: rgba(252, 241, 235, .1); }
.encart.est-or { background: var(--or); color: var(--brun); }
.encart.est-or h3, .encart.est-or p { color: var(--brun); }

.formules { display: grid; grid-template-columns: repeat(2, 1fr); gap: .875rem; }
.formule {
  display: grid;
  gap: .25rem;
  justify-items: center;
  text-align: center;
  padding: 1.125rem .75rem;
  border-radius: var(--rayon);
  background: rgba(252, 241, 235, .1);
  border: 1px solid rgba(252, 241, 235, .25);
}
.formule b { font-family: var(--titre); font-size: 1.9rem; font-weight: 600; color: var(--or); line-height: 1; }
.formule span { font-size: .8125rem; opacity: .9; }

/* Mosaique patisserie */
.creations { display: grid; gap: 1rem; }
.creation {
  border-radius: var(--rayon-media);
  overflow: hidden;
  border: 1px solid var(--creme-ombre);
  background: var(--blanc);
  display: flex;
  flex-direction: column;
}
.creation img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.creation-corps { padding: 1.125rem 1.125rem 1.375rem; display: grid; gap: .4rem; }
.creation h3 { font-family: var(--titre); font-weight: 400; font-size: 1.2rem; }
.creation p { font-size: .9375rem; color: var(--brun-clair); }
.creation.est-typo { background: var(--brun); color: var(--creme); border-color: var(--brun); justify-content: center; }
.creation.est-typo p { color: inherit; opacity: .88; }
.creation.est-typo .creation-corps { padding-block: 2rem; }
.creation.est-typo.est-orange { background: var(--orange); color: var(--blanc-pur); border-color: var(--orange); }

/* --------------------------------------------------------------------------
   16. Page contact : coordonnees et carte
   -------------------------------------------------------------------------- */
.coordonnees { display: grid; gap: 1.5rem; }
.coord-bloc { display: grid; gap: .3rem; padding-top: 1rem; border-top: 2px solid var(--creme-ombre); }
.coord-bloc h3 { font-family: var(--texte); font-size: .9375rem; font-weight: 600; color: var(--orange-texte); }
.coord-bloc p, .coord-bloc address { font-style: normal; font-size: 1rem; }

.carte-facade {
  position: relative;
  border-radius: var(--rayon-media);
  overflow: hidden;
  background: var(--brun);
  color: var(--creme);
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1.25rem;
  gap: .75rem;
}
.carte-facade p { max-width: 34ch; font-size: .9375rem; opacity: .9; }
.carte-cadre { border-radius: var(--rayon-media); overflow: hidden; background: var(--creme-ombre); }
.carte-cadre iframe { display: block; width: 100%; height: 340px; border: 0; }

/* --------------------------------------------------------------------------
   17. Formulaires
   -------------------------------------------------------------------------- */
.formulaire { display: grid; gap: 1.125rem; }
.champ { display: grid; gap: .375rem; }
.champ label { font-size: .9375rem; font-weight: 600; }
.champ .aide { font-size: .8125rem; color: var(--brun-clair); }
.s-brun .champ .aide { color: inherit; opacity: .8; }
.requis { color: var(--orange-texte); }
.s-brun .requis { color: var(--or); }

.champ input, .champ select, .champ textarea {
  width: 100%;
  min-height: 52px;
  padding: .75rem .875rem;
  background: var(--blanc);
  color: var(--brun);
  border: 2px solid var(--creme-ombre);
  border-radius: var(--rayon);
  font-size: 1rem;
  transition: border-color var(--duree) var(--courbe);
}
.champ textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.champ select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234C110B'%3E%3Cpath d='M8 11.2 2.4 5.6 3.8 4.2 8 8.4l4.2-4.2 1.4 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .875rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--orange); }
.champ input[aria-invalid="true"], .champ select[aria-invalid="true"], .champ textarea[aria-invalid="true"] {
  border-color: var(--orange-fonce);
  background: #FFF6F3;
}
.erreur-champ {
  display: none;
  font-size: .875rem;
  font-weight: 500;
  color: var(--orange-fonce);
  align-items: center;
  gap: .35rem;
}
.erreur-champ.est-visible { display: flex; }
.erreur-champ svg { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; }
.s-brun .erreur-champ { color: var(--or); }

/* Piege a robots : invisible pour les humains, present pour les robots */
.piege {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.message-alerte {
  display: grid;
  gap: .25rem;
  padding: 1rem 1.125rem;
  border-radius: var(--rayon);
  background: var(--creme-ombre);
  border-left: 4px solid var(--orange);
  font-size: .9375rem;
}
.s-brun .message-alerte { background: rgba(252, 241, 235, .12); border-left-color: var(--or); }

/* --------------------------------------------------------------------------
   18. Pied de page et bouton d'appel flottant
   -------------------------------------------------------------------------- */
.pied { background: var(--brun); color: var(--creme); padding-block: clamp(2.5rem, 6vw, 3.5rem) 1.5rem; }
.pied-grille { display: grid; gap: 2rem; }
.pied-logo img { width: 190px; }
.pied-baseline { font-family: var(--titre); font-style: italic; font-size: 1.0625rem; color: var(--or); margin-top: .75rem; }
.pied h3, .pied-titre { font-family: var(--texte); font-size: .875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--or); margin-bottom: .75rem; }
.pied a { color: var(--creme); text-decoration: none; }
.pied a:hover, .pied a:focus-visible { text-decoration: underline; }
.pied-liste li { padding: .3rem 0; font-size: .9375rem; }
.pied address { font-style: normal; font-size: .9375rem; line-height: 1.7; }
.pied-bas {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(252, 241, 235, .22);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  justify-content: space-between;
  font-size: .8125rem;
  opacity: .85;
}

.barre-flottante {
  position: fixed;
  left: var(--gouttiere);
  right: var(--gouttiere);
  bottom: calc(.875rem + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-flottant);
  display: flex;
  gap: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--duree) var(--courbe), transform var(--duree) var(--courbe), visibility var(--duree);
}
.barre-flottante.est-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.barre-flottante .btn { box-shadow: 0 10px 28px -12px rgba(76, 17, 11, .55); }
.barre-flottante .appel-flottant { flex: 1; }

/* WhatsApp : le vert de la marque, legerement assombri pour que le libelle
   blanc atteigne 4.52 contre 4.14 avec la teinte d'origine. */
.btn-whatsapp { background: #118578; color: var(--blanc-pur); flex: none; padding-inline: 1rem; }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { background: #0A5F55; color: var(--blanc-pur); }
.btn-whatsapp .btn-icone { fill: currentColor; stroke: none; width: 1.3em; height: 1.3em; }

/* --------------------------------------------------------------------------
   19. Lien d'evitement
   -------------------------------------------------------------------------- */
.evitement {
  position: absolute;
  left: .5rem;
  top: .5rem;
  z-index: 500;
  transform: translateY(-160%);
  transition: transform 160ms ease-out;
  background: var(--brun);
  color: var(--creme);
  padding: .75rem 1.25rem;
  border-radius: var(--rayon);
  text-decoration: none;
  font-weight: 600;
}
.evitement:focus { transform: translateY(0); }

/* --------------------------------------------------------------------------
   20. Apparitions au scroll
   L'etat initial n'est pose que si le JavaScript a repondu present, sinon le
   contenu doit rester visible.
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.est-vu {
  opacity: 1;
  transform: none;
  transition: opacity 520ms var(--courbe), transform 520ms var(--courbe);
  transition-delay: var(--retard, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.est-vu { opacity: 1; transform: none; transition: none; }
  a.carte-v:hover .carte-v-media img, a.carte-v:focus-visible .carte-v-media img { transform: none; }
  .btn:active { transform: none; }
  .appel-flottant { transition: none; }
  .hero-fond img { animation: none; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* --------------------------------------------------------------------------
   21. Points de rupture
   -------------------------------------------------------------------------- */
@media (min-width: 40rem) {            /* 640px */
  :root { --gouttiere: 2rem; }
  .adresse-bande { grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
  .adresse-bande .btn { justify-self: end; }
  .cartes { grid-template-columns: repeat(2, 1fr); }
  .galerie { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .confiance { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .avis { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .coordonnees { grid-template-columns: repeat(2, 1fr); }
  .formules { grid-template-columns: repeat(4, 1fr); }
  .creations { grid-template-columns: repeat(2, 1fr); }
  .champ-duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.125rem; }
  .pied-grille { grid-template-columns: 1.2fr 1fr 1fr; }
  .carte-cadre iframe { height: 420px; }
}

@media (min-width: 62rem) {            /* 992px */
  body { font-size: 1.0625rem; }
  .nav-bascule { display: none; }
  .nav { display: block; }
  .nav-liste { flex-direction: row; align-items: center; gap: 1.75rem; padding: 0; }
  .nav-liste a { padding: .5rem 0; border-bottom: 2px solid transparent; }
  .nav-liste a:hover { border-bottom-color: var(--orange); }
  .nav-liste a[aria-current="page"] { border-bottom-color: var(--orange); }
  .nav-action { margin: 0 0 0 .5rem; }
  .nav-action .btn { width: auto; min-height: 46px; padding-inline: 1.25rem; }
  .barre-flottante { display: none; }

  :root { --haut-entete: 6.75rem; }
  .hero-voile {
    background:
      linear-gradient(to right, rgba(38, 9, 5, .86) 0%, rgba(38, 9, 5, .55) 42%, rgba(38, 9, 5, 0) 78%),
      linear-gradient(to top, rgba(38, 9, 5, .9) 0%, rgba(38, 9, 5, .6) 34%, rgba(38, 9, 5, .2) 70%, rgba(38, 9, 5, .12) 100%);
  }
  .entete-barre { min-height: 72px; }
  .logo img { width: 168px; }
  .bandeau-haut { font-size: .8125rem; padding-block: .55rem; }
  .hero-corps { padding-block: clamp(3rem, 6vw, 4.5rem); }

  .menujour-grille { grid-template-columns: .85fr 1fr; }
  .duo { grid-template-columns: 1fr 1fr; }
  .galerie { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .confiance { grid-template-columns: repeat(4, 1fr); }
  .creations { grid-template-columns: repeat(3, 1fr); }
  .menu-blocs { grid-template-columns: repeat(3, 1fr); }
  .duo .menu-blocs { grid-template-columns: 1fr; }
  .menu-bloc-media img { aspect-ratio: 16 / 10; }
  .cartes { grid-template-columns: repeat(4, 1fr); }
  .cartes.est-trio { grid-template-columns: repeat(3, 1fr); }
}

/* --------------------------------------------------------------------------
   22. Impression
   -------------------------------------------------------------------------- */
@media print {
  .entete, .appel-flottant, .bandeau-haut, .nav, .carte-facade, .menujour-media { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; }
  a[href^="tel:"]::after { content: " (" attr(href) ")"; }
}
