/* ==========================================================================
   bastiencuisine.fr — direction J
   Couleurs : ivoire, cuivre, noir chaud. Polices hébergées sur le site.
   ========================================================================== */

/* ---------- Polices ---------- */
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/bodoni-moda-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 900; font-display: swap; src: url('../fonts/bodoni-moda-italic.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/manrope-400.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/manrope-500.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/manrope-600.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/manrope-700.woff2') format('woff2'); }
@font-face { font-family: 'Permanent Marker'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/permanent-marker.woff2') format('woff2'); }

/* ---------- Variables ---------- */
:root {
  --ivoire: #FBF9F4;
  --ink: #0B0B0B;
  --noir: #0A0908;
  --creme: #F0EADF;
  --accent: #B85C2E;
  --txt: #2A2A2A;
  --txt-2: #3A3A3A;
  --txt-3: #4A4A4A;
  --txt-4: #5A5A5A;
  --filet: #DCD7CC;
  --sur-noir: #B9B3A6;
  --sur-noir-2: #D9D4CB;
  --filet-noir: rgba(240, 234, 223, 0.22);
  --filet-noir-2: rgba(240, 234, 223, 0.28);
  --hachures: repeating-linear-gradient(135deg, #E9E4D9 0 6px, #F3EFE6 6px 12px);
  --pad: 80px;
  --header-h: 88px;
  --jour-w: 150px;
  --ease: cubic-bezier(.22, .7, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--ivoire); color: var(--ink); font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif; font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.bodoni { font-family: 'Bodoni Moda', Didot, Georgia, serif; font-optical-sizing: none; font-variation-settings: "opsz" 11; }
.hand { font-family: 'Permanent Marker', 'Segoe Script', cursive; font-weight: 400; color: var(--accent); display: inline-block; width: max-content; max-width: 100%; line-height: 1; }
.accent { color: var(--accent); }
em { font-style: italic; font-weight: 600; color: var(--accent); }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.kicker { display: block; font-size: 18px; line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--ivoire); padding: 12px 18px; }
.skip:focus { left: 16px; top: 16px; color: var(--ivoire); }

/* ---------- Animations ---------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes drawIn { from { stroke-dashoffset: 620; } to { stroke-dashoffset: 0; } }
@keyframes inkIn { from { opacity: 0; } to { opacity: 1; } }
.rise { animation: riseIn 700ms var(--ease) both; }
.hand { animation: inkIn 600ms ease-out 380ms both; }
.sketch path, .sketch circle { stroke-dasharray: 620; animation: drawIn 1.6s ease-out 200ms both; }
a, button, .card, .puce span, .field { transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s var(--ease), opacity .25s ease; }
.navlink { position: relative; }
.navlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.navlink:hover::after { transform: scaleX(1); }

/* ---------- Boutons ---------- */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--accent); color: var(--ivoire); font-weight: 700; text-transform: uppercase; }
.cta:hover { color: var(--ivoire); transform: translateY(-3px); }
.cta svg { transition: transform .3s var(--ease); }
.cta:hover svg { transform: translateX(4px); }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ivoire); border-bottom: 2px solid var(--ink); }
.header-in { height: var(--header-h); display: flex; justify-content: space-between; align-items: center; position: relative; }
.logo { font-size: 30px; font-weight: 800; white-space: nowrap; margin-right: 40px; line-height: 1; }
.logo { position: relative; display: inline-block; }
/* Sauteuse à droite du logo : le corps dans l'en-tête, la queue sort par le haut du cadre. */
.logo-pan { position: absolute; left: calc(100% + 20px); top: -28px; width: 168px; height: 84px; color: var(--accent); transform: rotate(-16deg); transform-origin: 30.7% 62.9%; pointer-events: none; transition: transform .45s var(--ease); }
.logo:hover .logo-pan { transform: rotate(-22deg); }
.logo:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 24px; font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; white-space: nowrap; }
.nav a:not(.cta):hover { color: var(--accent); }
.cta-nav { height: 48px; padding: 0 20px; font-size: 16px; letter-spacing: 0.14em; }
.menu-btn { display: none; }

/* ==========================================================================
   Héros
   ========================================================================== */
.hero { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 592px; }
.hero-text { padding: 56px 64px 48px var(--pad); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hero-head { display: flex; flex-direction: column; gap: 32px; position: relative; }
.hand-hero { font-size: 36px; transform: rotate(-2.5deg); }
.hero h1 { font-size: 118px; line-height: 0.9; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.lead { font-size: 22px; line-height: 1.6; color: var(--txt); }
.sketch-fouet { position: absolute; right: 0; top: 60px; }

.hero-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--ink); padding-top: 24px; }
.hero-services li { display: flex; flex-direction: column; gap: 10px; }
.hero-ico { display: inline-flex; width: 40px; height: 40px; color: var(--accent); }
.hero-ico.ink { color: var(--ink); }
.hero-ico:hover { color: var(--accent); }
.hero-services strong { font-size: 20px; font-weight: 700; white-space: nowrap; line-height: 1.3; }
.hero-services span { font-size: 18px; line-height: 1.45; color: var(--txt-2); }

.hero-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 24px; }
.cta-big { height: 56px; padding: 0 36px; font-size: 17px; letter-spacing: 0.16em; font-weight: 600; white-space: nowrap; }
.hand-reponse { font-size: 32px; transform: rotate(1.5deg); white-space: nowrap; }

.hero-media { position: relative; padding: 0 var(--pad) 48px 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.04) saturate(1.08); }
.sketch-flamme { position: absolute; left: -56px; bottom: 44px; }
.flamme-fill { fill: var(--accent); fill-opacity: 0.92; }
.hand-photo { position: absolute; top: 14px; right: calc(var(--pad) + 71px); font-size: 48px; color: #FFFFFF; transform: rotate(-5deg); text-align: right; text-shadow: 0 2px 4px rgba(0,0,0,.95), 0 0 28px rgba(0,0,0,.9), 0 0 60px rgba(0,0,0,.7); }

/* ==========================================================================
   Bandeau faits
   ========================================================================== */
.faits { background: var(--noir); color: var(--creme); }
.faits-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fait { padding: 36px 28px; display: flex; flex-direction: column; gap: 16px; border-left: 1px solid var(--filet-noir); }
.fait:first-child { padding-left: 0; border-left: 0; }
.fait svg { color: var(--accent); }
.fait div { display: flex; flex-direction: column; gap: 10px; }
.fait-k { font-size: 16px; line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.fait-v { font-size: 24px; line-height: 1.1; font-weight: 700; white-space: nowrap; }

/* ==========================================================================
   Prestations
   ========================================================================== */
.prestations { padding: 96px 0 72px; }
.prestations .wrap { display: flex; flex-direction: column; gap: 64px; }
.presta-head { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
.h2-xl { grid-column: 1 / span 2; font-size: 76px; line-height: 0.92; font-weight: 800; letter-spacing: -0.02em; }
.presta-intro { grid-column: 3 / span 2; padding-left: 28px; display: flex; flex-direction: column; gap: 18px; }
.presta-intro p { max-width: 520px; font-size: 21px; line-height: 1.6; color: var(--txt-2); }
.hand-choix { font-size: 36px; transform: rotate(-2deg); transform-origin: left center; }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.card { padding: 36px 28px; display: flex; flex-direction: column; gap: 18px; border-right: 1px solid var(--ink); }
.card:first-child { padding-left: 0; }
.card:last-child { padding-right: 0; border-right: 0; }
.card:hover { background-color: #F2EEE4; }
.card-ico { width: 56px; height: 56px; color: var(--ink); transition: transform .45s var(--ease); }
.card-ico.accent { color: var(--accent); }
.card:hover .card-ico { transform: rotate(-6deg) scale(1.06); }
.card h3 { font-size: 32px; line-height: 1.05; font-weight: 700; }
.card p { font-size: 18px; line-height: 1.6; color: var(--txt); }
.card-list { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.35; color: var(--txt-4); }
.card-list li { display: flex; gap: 12px; }
.card-list li::before { content: "—"; flex: none; }
.card-list.first li::before { color: var(--accent); }
.card-duree { font-size: 17px; font-weight: 700; padding-top: 14px; border-top: 1px solid var(--filet); }

/* ==========================================================================
   Titres de section (Méthode, Disponibilités)
   ========================================================================== */
.sec-head { display: flex; flex-direction: column; gap: 18px; }
.title-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 28px; }
.h2-l { font-size: 60px; line-height: 0.95; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.title-row .h2-l { white-space: nowrap; }
.title-rule { flex-grow: 1; min-width: 60px; height: 2px; background: var(--ink); }
.hand-row { font-size: 24px; transform: rotate(-2deg); white-space: nowrap; }

/* ==========================================================================
   Méthode
   ========================================================================== */
.methode { padding: 88px 0 112px; border-top: 2px solid var(--ink); }
.methode .wrap { display: flex; flex-direction: column; gap: 56px; }
.steps { display: grid; grid-template-columns: 1fr 60px 1fr 60px 1fr 60px 1fr; align-items: start; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step svg { width: 48px; height: 48px; color: var(--ink); }
.step svg.accent { color: var(--accent); }
.step h3 { font-size: 28px; line-height: 1.1; font-weight: 700; }
.step p { font-size: 19px; line-height: 1.6; color: var(--txt-4); }
.step-arrow { display: flex; align-items: center; justify-content: center; padding-top: 18px; color: var(--ink); }

/* ==========================================================================
   Parcours
   ========================================================================== */
.parcours { border-top: 2px solid var(--ink); }
.parcours-in { display: grid; grid-template-columns: 520px minmax(0, 1fr); column-gap: 80px; }
.parcours-media { position: relative; }
.parcours-media img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.04) saturate(1.08); }
.sketch-spatule { position: absolute; right: -48px; top: 50%; margin-top: -48px; }
.parcours-text { display: flex; flex-direction: column; justify-content: center; padding: 88px 0; }
.parcours-text .kicker { margin-bottom: 16px; }
.parcours-text .h2-l { margin-bottom: 24px; }
.parcours-lead { font-size: 21px; line-height: 1.6; color: var(--txt); max-width: 620px; margin-bottom: 36px; }
.cv { border-top: 1px solid var(--ink); max-width: 620px; margin-bottom: 20px; }
.cv li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--ink); }
.cv-date { font-family: 'Bodoni Moda', Didot, Georgia, serif; font-variation-settings: "opsz" 11; font-size: 20px; font-style: italic; color: var(--txt-4); line-height: 1.3; }
.cv-date.accent { color: var(--accent); }
.cv-body { display: flex; flex-direction: column; gap: 4px; }
.cv-body strong { font-size: 19px; font-weight: 700; line-height: 1.4; }
.cv-body span { font-size: 17px; color: var(--txt-3); line-height: 1.5; }
.formation { font-size: 17px; color: var(--txt-3); margin-bottom: 28px; }
.formation strong { color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; max-width: 620px; line-height: 1.4; }
.tags li { padding: 8px 14px; border: 1px solid var(--ink); }

/* ==========================================================================
   Disponibilités
   ========================================================================== */
.dispo { padding: 88px 0 96px; border-top: 2px solid var(--ink); }
.dispo .wrap { display: flex; flex-direction: column; gap: 48px; }
.dispo-lead { margin-top: 6px; max-width: 760px; font-size: 21px; line-height: 1.6; color: var(--txt-2); }

.planning-axis { position: relative; height: 28px; margin-left: var(--jour-w); }
.planning-axis span { position: absolute; top: 0; left: calc(var(--h) / 17 * 100%); font-size: 15px; letter-spacing: 0.08em; font-weight: 600; color: var(--txt-4); white-space: nowrap; line-height: 1.2; }
.planning-axis .ax-end { transform: translateX(-100%); }
.planning-grid { position: relative; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 8px 0; }
.planning-ticks { position: absolute; top: 0; bottom: 0; left: var(--jour-w); right: 0; }
.planning-ticks span { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(11, 11, 11, 0.16); left: calc(var(--h) / 17 * 100%); }
.planning-ticks span:last-child { margin-left: -1px; }
.planning-rows { position: relative; }
.planning-rows li { display: grid; grid-template-columns: var(--jour-w) minmax(0, 1fr); align-items: center; height: 56px; }
.jour { font-size: 24px; line-height: 1; font-weight: 700; }
.barre { position: relative; height: 100%; }
.bloc { position: absolute; top: 8px; bottom: 8px; left: calc(var(--a) / 17 * 100%); width: calc((var(--b) - var(--a)) / 17 * 100%); display: flex; align-items: center; padding: 0 18px; overflow: hidden; font-size: 15px; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; white-space: nowrap; }
.bloc.libre { background: var(--accent); color: var(--ivoire); }
.bloc.pris { background: var(--hachures); color: var(--txt-3); border: 1px solid var(--filet); }
.l-court { display: none; }
.planning-legend { display: flex; flex-wrap: wrap; gap: 16px 36px; align-items: center; padding-top: 18px; font-size: 16px; color: var(--txt-2); }
.lg { display: inline-flex; align-items: center; gap: 10px; }
.sw { width: 22px; height: 14px; flex: none; }
.sw-libre { background: var(--accent); }
.sw-pris { background: var(--hachures); border: 1px solid var(--filet); }
.hand-legend { margin-left: auto; font-size: 24px; transform: rotate(-2deg); white-space: nowrap; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--noir); color: var(--creme); padding: 104px 0 112px; }
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr) 640px; column-gap: 88px; align-items: start; }
.contact-text { display: flex; flex-direction: column; align-items: flex-start; }
.contact-text .kicker { margin-bottom: 22px; }
.h2-xxl { font-size: 86px; line-height: 0.92; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 22px; }
.contact-text p { font-size: 21px; line-height: 1.6; color: var(--sur-noir-2); max-width: 480px; margin-bottom: 40px; }
.contact-tel { gap: 20px; padding: 22px 32px; margin-bottom: 14px; text-transform: none; }
.contact-tel span { font-size: 40px; line-height: 1; font-weight: 700; white-space: nowrap; }
.contact-mail { gap: 20px; padding: 20px 32px; background: transparent; border: 1px solid var(--filet-noir-2); color: var(--creme); text-transform: none; }
.contact-mail:hover { color: var(--creme); border-color: var(--creme); }
.contact-mail span { font-size: 20px; font-weight: 700; white-space: nowrap; }
.hand-joignable { font-size: 28px; transform: rotate(-3deg); margin-top: 30px; }

/* ---------- Formulaire ---------- */
.form { padding: 40px 40px 36px; border: 1px solid var(--filet-noir-2); background: rgba(240, 234, 223, 0.04); display: flex; flex-direction: column; gap: 26px; }
.form-title { font-size: 34px; line-height: 1.1; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; row-gap: 24px; }
.field-wrap { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.span-2 { grid-column: span 2; }
.field-wrap > label, .field-wrap > legend { font-size: 16px; line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--sur-noir); }
fieldset.field-wrap { border: 0; margin: 0; padding: 0; gap: 12px; }
fieldset.field-wrap legend { padding: 0; margin-bottom: 12px; }
.field { width: 100%; height: 52px; padding: 0 2px; background: transparent; border: 0; border-bottom: 1px solid var(--filet-noir-2); border-radius: 0; color: var(--creme); font-size: 19px; }
textarea.field { height: 96px; min-height: 96px; padding: 12px 2px; resize: vertical; line-height: 1.4; }
.field::placeholder { color: rgba(240, 234, 223, 0.4); }
.field:focus { outline: none; border-bottom: 2px solid var(--creme); }
.field[aria-invalid="true"] { border-bottom-color: #E8946A; }
.opt { margin-left: 6px; font-size: 13px; letter-spacing: 0.06em; text-transform: none; font-weight: 500; color: rgba(240, 234, 223, 0.45); }

/* ---------- Sélecteurs de date et d'heure ---------- */
.field-date, .field-time { position: relative; padding-right: 36px; color-scheme: dark; accent-color: var(--accent); -webkit-appearance: none; appearance: none; display: flex; align-items: center; cursor: pointer; font-variant-numeric: tabular-nums; }
.field-date.is-empty, .field-time.is-empty { color: rgba(240, 234, 223, 0.4); }
.field-date::-webkit-date-and-time-value, .field-time::-webkit-date-and-time-value { text-align: left; margin: 0; }
.field-date::-webkit-datetime-edit, .field-time::-webkit-datetime-edit { padding: 0; }
.field-date::-webkit-datetime-edit-fields-wrapper, .field-time::-webkit-datetime-edit-fields-wrapper { padding: 0; }
.field-date::-webkit-calendar-picker-indicator, .field-time::-webkit-calendar-picker-indicator { position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin: -11px 0 0; padding: 0; opacity: 1; cursor: pointer; background: center / 22px 22px no-repeat; }
.field-date::-webkit-calendar-picker-indicator { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4784A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='1'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.field-time::-webkit-calendar-picker-indicator { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4784A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"); }
.field-date:hover, .field-time:hover { border-bottom-color: rgba(240, 234, 223, 0.6); }

/* ---------- Indication de disponibilité sous les dates ---------- */
.dispo-hint { display: flex; gap: 12px; align-items: flex-start; margin: -4px 0 0; padding: 14px 16px; font-size: 16px; line-height: 1.5; color: var(--sur-noir-2); background: rgba(240, 234, 223, 0.05); border-left: 3px solid var(--accent); }
.dispo-hint:empty { display: none; }
.dispo-hint::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4784A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") center / 20px 20px no-repeat; }
.dispo-hint.conflit { border-left-color: #E8946A; background: rgba(232, 148, 106, 0.08); }
.dispo-hint strong { color: var(--creme); font-weight: 700; }
.puces { display: flex; flex-wrap: wrap; gap: 10px; }
.puce { position: relative; cursor: pointer; }
.puce input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.puce span { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; font-size: 16px; font-weight: 700; line-height: 1; border: 1px solid var(--filet-noir-2); color: var(--creme); }
.puce:hover span { border-color: var(--ivoire); }
.puce input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--ivoire); }
.puce input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { height: 60px; border: 0; font-size: 17px; letter-spacing: 0.16em; }
.form-submit[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-status { font-size: 17px; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.ok { padding: 16px 18px; border-left: 3px solid var(--accent); background: rgba(240, 234, 223, 0.06); color: var(--creme); }
.form-status.err { padding: 16px 18px; border-left: 3px solid #E8946A; background: rgba(232, 148, 106, 0.08); color: var(--creme); }
.form-status a { text-decoration: underline; }
.form-note { font-size: 16px; line-height: 1.5; color: var(--sur-noir); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-note a:hover { color: var(--creme); }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { background: var(--noir); color: var(--creme); border-top: 1px solid var(--filet-noir); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-bottom: 56px; }
.footer-brand { grid-column: 1 / span 2; padding-right: 56px; display: flex; flex-direction: column; gap: 18px; }
.footer-logo { font-size: 40px; line-height: 1; font-weight: 800; }
.footer-brand p { max-width: 480px; font-size: 18px; line-height: 1.6; color: var(--sur-noir); }
.footer-col { padding-left: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; font-size: 17px; }
.footer-k { font-size: 16px; line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.footer-tel { font-size: 28px; line-height: 1; font-weight: 700; }
.site-footer a:hover { color: var(--accent); }
.muted { color: var(--sur-noir); }
.footer-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 28px; padding: 24px 0 28px; border-top: 1px solid var(--filet-noir); font-size: 16px; color: var(--sur-noir); }
.footer-legal { display: flex; gap: 28px; }

/* ==========================================================================
   Pages secondaires (mentions légales, merci, 404)
   ========================================================================== */
.page { padding: 88px 0 112px; }
.page .wrap { max-width: 1040px; }
.page .kicker { margin-bottom: 18px; }
.page h1 { font-size: 72px; line-height: 0.95; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 40px; }
.page h2 { font-size: 36px; line-height: 1.1; font-weight: 700; margin: 56px 0 18px; padding-top: 24px; border-top: 2px solid var(--ink); }
.page h3 { font-size: 22px; line-height: 1.3; font-weight: 700; margin: 28px 0 8px; }
.page p, .page li { font-size: 19px; line-height: 1.65; color: var(--txt); max-width: 760px; }
.page p + p { margin-top: 12px; }
.page ul { margin-top: 8px; }
.page ul li { padding-left: 24px; position: relative; }
.page ul li + li { margin-top: 6px; }
.page ul li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.page a { text-decoration: underline; text-underline-offset: 3px; }
.page a.cta, .page a.back { text-decoration: none; }
.page dl { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 10px 24px; margin: 0; font-size: 19px; line-height: 1.55; }
.page dt { font-weight: 700; }
.page dd { margin: 0; color: var(--txt); }
.a-completer { background: #FFE58A; color: var(--ink); padding: 0 6px; font-weight: 700; }
.page-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.page-cta .cta { height: 56px; padding: 0 32px; font-size: 16px; letter-spacing: 0.14em; }
.back { font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; white-space: nowrap; }
.hand-page { font-size: 34px; transform: rotate(-2deg); margin-bottom: 24px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ---- ≤ 1399 px : colonnes du héros plus étroites ---- */
@media (max-width: 1399px) {
  .hero-services { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .fait-v { white-space: normal; }
}

/* ---- ≤ 1279 px : portable, grande tablette ---- */
@media (max-width: 1279px) {
  :root { --pad: 48px; --jour-w: 130px; }
  .hero { grid-template-columns: minmax(0, 1fr) 42%; }
  .hero-text { padding: 48px 48px 40px var(--pad); }
  .hero h1 { font-size: clamp(76px, 8.2vw, 104px); }
  .hero-media { padding-bottom: 40px; }
  .hand-photo { right: calc(var(--pad) + 32px); font-size: 42px; }
  .sketch-flamme { width: 96px; height: 122px; left: -44px; }

  .presta-head { grid-template-columns: 1fr; row-gap: 28px; }
  .h2-xl, .presta-intro { grid-column: auto; }
  .presta-intro { padding-left: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card:first-child, .card:last-child { padding: 32px 28px; border-right: 0; }
  .card:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--ink); }
  .card:nth-child(even) { padding-right: 0; }
  .card:nth-child(n+3) { border-top: 1px solid var(--ink); }

  .title-row .h2-l { white-space: normal; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 56px; }
  .step-arrow { display: none; }

  .parcours-in { grid-template-columns: 40% minmax(0, 1fr); column-gap: 56px; }
  .sketch-spatule { width: 76px; height: 76px; right: -38px; margin-top: -38px; }

  .contact-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 56px; }
  .h2-xxl { font-size: 64px; }
  .sketch-fouet { display: none; }
  .contact-tel span { font-size: 34px; }
  .form { padding: 32px 28px 28px; }
}

/* ---- ≤ 1359 px : menu repliable (la sauteuse du logo prend la place) ---- */
@media (max-width: 1359px) {
  .js .menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; background: transparent; border: 1px solid var(--ink); color: var(--ink); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
  .menu-btn-bars { position: relative; width: 18px; height: 2px; background: currentColor; }
  .menu-btn-bars::before, .menu-btn-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
  .menu-btn-bars::before { top: -6px; }
  .menu-btn-bars::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-btn-bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-btn-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .js .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin-top: 2px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 28px; background: var(--ivoire); border-bottom: 2px solid var(--ink); font-size: 16px; }
  .js .nav.is-open { display: flex; }
  .js .nav a:not(.cta) { padding: 16px 0; border-bottom: 1px solid var(--filet); }
  .js .nav .navlink::after { display: none; }
  .js .nav .cta-nav { margin-top: 20px; height: 52px; }
  .no-js .header-in { height: auto; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; gap: 14px; }
  .no-js .nav { flex-wrap: wrap; white-space: normal; }
}

/* ---- ≤ 899 px : tablette portrait, mobile large ---- */
@media (max-width: 899px) {
  :root { --pad: 24px; --header-h: 68px; --jour-w: 110px; }
  body { font-size: 17px; }
  .logo { font-size: 26px; }
  .logo-pan { left: calc(100% + 16px); top: -23px; width: 146px; height: 73px; }

  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-text { padding: 36px var(--pad) 40px; gap: 36px; }
  .hero-head { gap: 26px; }
  .hero h1 { font-size: clamp(50px, 12vw, 96px); }
  .sketch-fouet { display: block; }
  .lead { font-size: 19px; }
  .hero-media { padding: 0 var(--pad) 40px; }
  .hero-media img { height: auto; aspect-ratio: 4 / 5; object-position: 50% 70%; }
  .hand-photo { top: 18px; right: calc(var(--pad) + 18px); font-size: 36px; }
  .sketch-flamme { width: 80px; height: 101px; left: 6px; bottom: 22px; }

  .faits-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fait { padding: 26px 0 26px 20px; }
  .fait:nth-child(odd) { padding-left: 0; padding-right: 16px; border-left: 0; }
  .fait:nth-child(n+3) { border-top: 1px solid var(--filet-noir); }
  .fait-v { font-size: 21px; white-space: normal; }

  .prestations { padding: 64px 0 48px; }
  .prestations .wrap { gap: 44px; }
  .h2-xl { font-size: clamp(44px, 9vw, 76px); }
  .presta-intro p { font-size: 19px; }

  .methode { padding: 64px 0 72px; }
  .methode .wrap { gap: 44px; }

  .parcours-in { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .parcours-media img { height: auto; aspect-ratio: 4 / 5; object-position: 50% 55%; }
  .sketch-spatule { display: none; }
  .parcours-text { padding: 48px var(--pad) 64px; }
  .parcours-lead { font-size: 19px; }

  .dispo { padding: 64px 0 72px; }
  .dispo .wrap { gap: 36px; }
  .dispo-lead { font-size: 19px; }
  .jour { font-size: 20px; }
  .bloc { padding: 0 12px; font-size: 13px; letter-spacing: 0.08em; }
  .hand-legend { margin-left: 0; width: 100%; white-space: normal; }

  .contact { padding: 72px 0 80px; }
  .contact-in { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .h2-xxl { font-size: clamp(52px, 12vw, 86px); }
  .contact-text p { font-size: 19px; margin-bottom: 32px; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .footer-brand { grid-column: 1 / span 2; padding-right: 0; }
  .footer-col { padding-left: 0; }

  .page { padding: 56px 0 80px; }
  .page h1 { font-size: clamp(44px, 10vw, 72px); }
}

/* ---- ≤ 599 px : mobile ---- */
@media (max-width: 599px) {
  :root { --pad: 20px; --jour-w: 98px; }
  .br-l { display: none; }
  .logo { font-size: 23px; margin-right: 12px; }
  .logo-pan { left: calc(100% + 6px); top: -22px; width: 96px; height: 48px; }
  .js .menu-btn { height: 40px; padding: 0 12px; }

  .hero-text { padding-top: 28px; }
  .hand-hero { font-size: 24px; }
  .hero h1 { font-size: clamp(46px, 13vw, 64px); }
  .lead { font-size: 18px; }
  .sketch-fouet { display: none; }
  .hero-services { gap: 22px 16px; }
  .hero-ico { width: 34px; height: 34px; }
  .hero-ico svg { width: 34px; height: 34px; }
  .hero-services strong { font-size: 17px; }
  .hero-services span { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 18px; }
  .cta-big { width: 100%; }
  .hand-reponse { font-size: 26px; align-self: center; }
  .hand-photo { font-size: 30px; }

  .fait { gap: 12px; }
  .fait svg { width: 26px; height: 26px; }
  .fait-k { font-size: 13px; }
  .fait-v { font-size: 18px; }

  .hand-choix { font-size: 28px; }
  .cards { grid-template-columns: 1fr; }
  .card, .card:first-child, .card:last-child, .card:nth-child(odd), .card:nth-child(even) { padding: 28px 0; border-right: 0; }
  .card + .card { border-top: 1px solid var(--ink); }
  .card:hover { background: transparent; }
  .card h3 { font-size: 26px; }
  .card p { font-size: 17px; }
  .card-list, .card-duree { font-size: 16px; }

  .h2-l { font-size: clamp(34px, 9.5vw, 48px); }
  .title-row .h2-l { white-space: normal; }
  .title-rule { display: none; }
  .hand-row { font-size: 21px; white-space: normal; }
  .kicker { font-size: 15px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step h3 { font-size: 24px; }
  .step p { font-size: 17px; }

  .parcours-lead { font-size: 18px; }
  .cv li { grid-template-columns: 1fr; gap: 4px; }
  .cv-date { font-size: 18px; }
  .cv-body strong { font-size: 18px; }
  .cv-body span, .formation { font-size: 16px; }
  .tags { font-size: 13px; gap: 8px; }
  .tags li { padding: 7px 11px; }

  .dispo-lead { font-size: 18px; }
  .planning-axis .ax-opt { display: none; }
  .planning-axis span { font-size: 13px; }
  .planning-rows li { height: 50px; }
  .jour { font-size: 17px; }
  .bloc { top: 7px; bottom: 7px; padding: 0 8px; font-size: 12px; letter-spacing: 0.06em; }
  .l-long { display: none; }
  .l-court { display: inline; }
  .planning-legend { font-size: 15px; }
  .hand-legend { font-size: 22px; }

  .contact-text { align-items: stretch; }
  .contact-tel { padding: 18px 20px; gap: 14px; }
  .contact-tel svg { width: 24px; height: 24px; }
  .contact-tel span { font-size: clamp(24px, 7.4vw, 32px); }
  .contact-mail { padding: 16px 20px; gap: 14px; }
  .contact-mail span { font-size: clamp(14px, 4.3vw, 18px); }
  .hand-joignable { font-size: 24px; }
  .form { padding: 26px 18px 22px; gap: 22px; }
  .form-title { font-size: 28px; }
  .form-grid { grid-template-columns: 1fr; row-gap: 20px; }
  .span-2 { grid-column: auto; }
  .field-wrap > label, .field-wrap > legend { font-size: 14px; }
  .field { font-size: 18px; }
  .puce span { height: 42px; padding: 0 14px; font-size: 15px; }
  .form-submit { font-size: 15px; letter-spacing: 0.12em; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-logo { font-size: 32px; }
  .footer-bar { flex-direction: column; align-items: flex-start; }

  .page h2 { font-size: 28px; margin-top: 44px; }
  .header-in .back { font-size: 13px; letter-spacing: 0.08em; }
  .page p, .page li, .page dl { font-size: 17px; }
  .page dl { grid-template-columns: 1fr; gap: 2px; }
  .page dd { margin-bottom: 12px; }
}

/* ---- Mouvement réduit ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .hand, .sketch path, .sketch circle { animation: none; }
  a, button, .card, .card-ico, .cta svg, .puce span, .field { transition: none; }
  .cta:hover { transform: none; }
}

/* ---- Impression ---- */
@media print {
  .site-header, .form, .sketch, .menu-btn { display: none !important; }
  .faits, .contact, .site-footer { background: none; color: #000; }
}
