/* Pages publiques de julesgaveglio.com (accueil, services, portfolio) : couleurs, polices, en-tête, boutons, pied de page.
   Direction du 25/11/2026 (chartes/jules-gaveglio/direction.md) : fond cassé, vert profond, vert tendre, Manrope + Inter.
   Les autres pages (guides, catalogue, offres) gardent la charte Riviera (/charte.css, chartes/jules-gaveglio/tokens.json). */
:root {
  --bg: #FAFAF7; --sf: #FFFFFF; --ink: #18251F; --acc: #BDEB87; --soft: #535A56; --line: #E4E6DF; --tint: #F0F2EA;
  --fd: "Manrope", system-ui, sans-serif; --fb: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1); --ombre: 0 24px 60px rgba(24, 37, 31, .10);
  --r-s: 14px; --r-m: 22px; --r-l: 30px;
  /* booking.js et tactile.css lisent ces noms */
  --p: var(--ink); --sun: var(--acc);
  --brand-primary: var(--ink); --brand-accent: var(--acc); --brand-bg: var(--bg); --brand-surface: var(--tint); --brand-ink: var(--ink);
  --brand-ink-soft: var(--soft); --brand-line: var(--line); --brand-font-display: var(--fd); --brand-font-body: var(--fb);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--bg); font-family: var(--fb); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; caret-color: var(--ink); }
::selection { background: var(--acc); color: var(--ink); }
img, svg, video, iframe { display: block; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2 { margin: 0; text-wrap: balance; font-family: var(--fd); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--ink) 40%, transparent); outline-offset: 3px; border-radius: 8px; }

/* Petit titre en capitales au-dessus d'un titre */
.sur { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 700 12.5px/1.3 var(--fb); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.sur::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent); }

/* Titre de section : aligné à gauche, une phrase dessous */
.titre { max-width: 780px; margin-bottom: 48px; }
.titre h2 { font-size: clamp(32px, 4.2vw, 54px); }
.titre > p:not(.sur) { color: var(--soft); font-size: 18.5px; margin-top: 18px; max-width: 40em; }

/* Boutons : une action pleine (vert profond, flèche dans une pastille vert tendre), le reste en lien */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font: 600 16px/1 var(--fb); padding: 8px 8px 8px 24px; min-height: 56px;
  border-radius: 999px; border: 0; text-decoration: none; cursor: pointer; background: var(--ink); color: #fff; transition: transform .25s var(--ease), background .25s; }
.btn .rond { width: 40px; height: 40px; border-radius: 50%; background: var(--acc); color: var(--ink); display: grid; place-items: center; transition: transform .3s var(--ease); }
.btn .rond .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.btn.clair { background: var(--acc); color: var(--ink); }
.btn.clair .rond { background: var(--ink); color: var(--acc); }
.lien { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 25%, transparent); }
.lien .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover .rond { transform: rotate(45deg); }
  .lien:hover { text-decoration-color: currentColor; }
  .lien:hover .ic { transform: translate(2px, -2px); }
}

/* En-tête : Accueil, Services, Portfolio, et le rendez-vous */
.haut { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s; }
.haut.defile { border-bottom-color: var(--line); }
.bar { max-width: 1200px; margin: 0 auto; height: 76px; padding: 0 32px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 800 15px/1 var(--fd); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.bar nav { display: flex; align-items: center; gap: 4px; }
.bar nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 9px 16px; border-radius: 999px; color: var(--soft); white-space: nowrap; }
.bar nav a[aria-current="page"] { color: var(--ink); background: var(--tint); font-weight: 600; }
.bar > .btn { justify-self: end; min-height: 48px; padding: 6px 6px 6px 20px; font-size: 15px; }
.bar > .btn .rond { width: 36px; height: 36px; }
@media (hover: hover) and (pointer: fine) { .bar nav a:hover { color: var(--ink); } }
.plus { display: none; position: relative; justify-self: end; }
.plus summary { list-style: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--ink); color: #fff; }
.plus summary::-webkit-details-marker { display: none; }
.feuille { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); padding: 10px; background: #fff; border-radius: 22px; box-shadow: var(--ombre);
  border: 1px solid var(--line); display: grid; gap: 2px; }
.feuille a:not(.btn) { padding: 13px 14px; border-radius: var(--r-s); text-decoration: none; font-weight: 600; }
.feuille a[aria-current="page"] { background: var(--tint); }
.feuille .btn { margin-top: 8px; justify-content: space-between; }
@media (max-width: 860px) {
  .bar { grid-template-columns: 1fr auto; height: 68px; padding: 0 20px; }
  .bar nav, .bar > .btn { display: none; }
  .plus { display: block; }
}

/* Logos des outils et des technologies (marques officielles, mindmap-studio/engine/brands) */
.outils { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.outils img { width: 22px; height: 22px; object-fit: contain; }

/* Pied de page */
.pied { padding: 64px 0 44px; background: var(--ink); color: #fff; }
.pied .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: start; }
.pied .marque { margin-bottom: 14px; }
.pied p { color: rgba(255, 255, 255, .72); font-size: 15px; max-width: 420px; }
.pied nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; font-size: 15px; }
.pied nav a { text-decoration: none; color: rgba(255, 255, 255, .8); }
.pied .mentions { grid-column: 1 / -1; font-size: 13.5px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); max-width: none; color: rgba(255, 255, 255, .6); }
@media (hover: hover) and (pointer: fine) { .pied nav a:hover { color: var(--acc); } }
@media (max-width: 720px) { .pied .wrap { grid-template-columns: 1fr; } }

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .titre { margin-bottom: 32px; }
  .titre > p:not(.sur) { font-size: 17px; }
  .btn { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
