/* =============================================================
   Temoko — « la maison en coupe ».
   Sable, indigo, ocre et terre. Une maison vue en coupe ouvre la
   page : ses pièces s'allument l'une après l'autre, chacune avec
   son métier. Le reste se lit comme on visite : les étages des
   métiers, trois gestes, puis l'embauche.
   ============================================================= */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-latin.woff2) format('woff2'); }

.tk {
  --indigo: #26357A; --deep: #1B2659; --ink: #1D2140; --ochre: #E4A23B; --ochre-d: #C9851C; --clay: #B4532A;
  --sand: #F4E8D0; --sand-d: #EAD9B6; --paper: #FFFAF0; --line: #DCC9A2; --muted: #5D5A55; --green: #2E8B57;
  --bg: var(--paper); --accent: var(--ochre); --on-accent: var(--ink);
  --head: 'Plus Jakarta Sans', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif;
  --pad: clamp(18px, 5vw, 76px);
  font-family: var(--body); font-size: 1.06rem; background: var(--paper); color: var(--ink);
}
.tk h1, .tk h2, .tk h3 { font-family: var(--head); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.tk h1 em, .tk h2 em { font-style: normal; color: var(--clay); }
.tk h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); max-width: 19em; }
.tk h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.02em; }
.tk p { color: var(--muted); }
.tk svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tk-eyebrow { font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--clay) !important; }
.tk-fine { font-size: .86rem; margin-top: 26px; }
.tk-head { margin-bottom: clamp(30px, 5vw, 56px); }
.tk-head h2 { margin: 14px 0 12px; }

/* --- Barre --- */
.tk-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 26px; padding: 11px var(--pad); background: rgba(255,250,240,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.tk-brand { display: flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 800; font-size: 1.5rem; color: var(--indigo); letter-spacing: -.03em; }
.tk-top nav { display: flex; gap: 26px; margin-left: auto; font-family: var(--head); font-weight: 700; font-size: .94rem; }
.tk-top nav a:hover { color: var(--clay); }
.tk-btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; background: var(--indigo); color: #fff; font-family: var(--head); font-weight: 700; padding: 11px 24px; border-radius: 100px; transition: background .2s, transform .2s; border: 0; }
.tk-btn:hover { background: var(--ochre); color: var(--ink); transform: translateY(-2px); }
.tk-btn-lg { padding: 15px 32px; font-size: 1.1rem; }
.tk-link { font-family: var(--head); font-weight: 700; color: var(--indigo); border-bottom: 2px solid var(--ochre); padding-bottom: 2px; }

/* --- Ouverture --- */
.tk-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 70px); align-items: center; padding: clamp(46px, 7vw, 100px) var(--pad); background: var(--sand) radial-gradient(circle at 96% 0%, var(--sand-d) 0 320px, transparent 321px) no-repeat; overflow: hidden; }
.tk-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); margin: 18px 0 22px; }
.tk-lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); max-width: 34em; }
.tk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 32px; }
.tk-hero-note { margin-top: 18px; font-size: .9rem; }

.tk-house { position: relative; width: min(560px, 100%); justify-self: center; padding: 0 9% 46px; }
.tk-roof { display: block; height: clamp(60px, 9vw, 100px); margin: 0 -4%; background: var(--clay); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.tk-rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; background: var(--indigo); border-radius: 6px; }
.tk-room { position: relative; aspect-ratio: 1.25; border-radius: 4px; background: #34448F; color: #8D9AD6; display: grid; place-items: center; animation: tk-light 9s infinite; animation-delay: calc(var(--i) * 1.1s); }
.tk-room::before { content: ""; position: absolute; left: 50%; top: 0; width: 22%; height: 16%; margin-left: -11%; border-radius: 0 0 100px 100px; background: #4B5BA6; animation: tk-lamp 9s infinite; animation-delay: calc(var(--i) * 1.1s); }
.tk-room svg { width: 42%; height: 42%; }
.tk-room b { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); font-family: var(--head); font-weight: 700; font-size: clamp(.5rem, 1.1vw, .74rem); background: var(--indigo); color: #fff; padding: 2px 9px; border-radius: 30px; white-space: nowrap; opacity: 0; animation: tk-tag 9s infinite; animation-delay: calc(var(--i) * 1.1s); }
@keyframes tk-light { 0%, 6% { background: #34448F; color: #8D9AD6; box-shadow: none; } 10%, 82% { background: var(--paper); color: var(--indigo); box-shadow: inset 0 0 40px rgba(228,162,59,.45); } 90%, 100% { background: #34448F; color: #8D9AD6; box-shadow: none; } }
@keyframes tk-lamp { 0%, 6% { background: #4B5BA6; box-shadow: none; } 10%, 82% { background: var(--ochre); box-shadow: 0 0 26px 8px rgba(228,162,59,.5); } 90%, 100% { background: #4B5BA6; box-shadow: none; } }
@keyframes tk-tag { 0%, 8% { opacity: 0; } 12%, 80% { opacity: 1; } 88%, 100% { opacity: 0; } }
.tk-ground { position: absolute; left: -4%; right: -4%; bottom: 36px; height: 10px; border-radius: 10px; background: var(--line); }
.tk-tree { position: absolute; right: -1%; bottom: 46px; width: 9%; aspect-ratio: .55; background: radial-gradient(circle at 50% 34%, var(--green) 0 58%, transparent 60%), linear-gradient(#8A6A45, #8A6A45) 50% 100% / 16% 44% no-repeat; }
.tk-gate { position: absolute; left: -2%; bottom: 46px; width: 9%; height: 20%; background: repeating-linear-gradient(90deg, var(--indigo) 0 22%, transparent 22% 39%); border-radius: 6px 6px 0 0; }

/* --- Film --- */
.tk-film { padding: clamp(50px, 8vw, 100px) var(--pad); }
.tk-film-head { margin-bottom: 28px; }
.tk-film-head h2 { margin-top: 12px; }
.tk-video { width: min(1080px, 100%); border-radius: 26px; overflow: hidden; background: var(--sand); border: 6px solid var(--indigo); box-shadow: 0 30px 70px rgba(29,33,64,.18); }
.tk-video figcaption { font-size: .82rem; color: var(--muted); padding: 12px 18px; }

/* --- Les métiers : deux étages --- */
.tk-jobs { padding: 0 var(--pad) clamp(60px, 8vw, 110px); }
.tk-floor { background: var(--indigo); border-radius: 10px; padding: clamp(14px, 2vw, 24px); margin-bottom: 14px; position: relative; }
.tk-floor-name { font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ochre) !important; margin: 2px 0 14px 4px; }
.tk-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.tk-tiles li { background: var(--paper); border-radius: 8px; padding: clamp(16px, 2vw, 26px); display: grid; gap: 4px; align-content: start; position: relative; transition: box-shadow .25s, transform .25s; }
.tk-tiles li::before { content: ""; position: absolute; left: 50%; top: 0; width: 34px; height: 14px; margin-left: -17px; border-radius: 0 0 20px 20px; background: var(--line); transition: background .25s, box-shadow .25s; }
.tk-tiles li:hover { transform: translateY(-3px); box-shadow: inset 0 0 50px rgba(228,162,59,.4); }
.tk-tiles li:hover::before { background: var(--ochre); box-shadow: 0 0 26px 8px rgba(228,162,59,.5); }
.tk-tiles svg { width: 46px; height: 46px; color: var(--indigo); margin: 10px 0 8px; }
.tk-tiles strong { font-family: var(--head); font-weight: 800; font-size: 1.18rem; line-height: 1.15; }
.tk-tiles span { font-size: .9rem; color: var(--muted); }

/* --- Trois gestes --- */
.tk-steps { padding: clamp(60px, 8vw, 110px) var(--pad); background: var(--sand); }
.tk-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 44px); }
.tk-step { position: relative; }
.tk-n { position: absolute; left: -10px; top: -18px; z-index: 2; width: 52px; height: 52px; border-radius: 50%; background: var(--ochre); color: var(--ink); font-family: var(--head); font-weight: 800; font-size: 1.5rem; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--sand); }
.tk-card { background: var(--paper); border-radius: 22px; padding: 34px 20px 20px; min-height: 250px; display: grid; gap: 10px; align-content: start; box-shadow: 0 20px 40px rgba(29,33,64,.1); margin-bottom: 22px; }
.tk-card p { color: var(--ink); }
.tk-chip { display: inline-flex; align-items: center; gap: 8px; justify-self: start; background: var(--sand); border-radius: 30px; padding: 5px 14px; font-family: var(--head); font-weight: 700; font-size: .92rem; }
.tk-chip svg { width: 20px; height: 20px; color: var(--indigo); }
.tk-input { background: #fff; border: 2px solid var(--ochre); border-radius: 14px; padding: 14px 16px; }
.tk-voice { display: flex; align-items: center; gap: 4px; background: var(--indigo); border-radius: 14px; padding: 12px 16px; height: 58px; }
.tk-voice i { width: 30px; height: 30px; border-radius: 50%; background: var(--ochre); flex: none; margin-right: 8px; }
.tk-voice span { width: 5px; border-radius: 5px; background: #fff; height: 30%; animation: tk-wave 1s ease-in-out infinite; }
.tk-voice span:nth-of-type(2n) { animation-delay: .15s; } .tk-voice span:nth-of-type(3n) { animation-delay: .35s; } .tk-voice span:nth-of-type(5n) { animation-delay: .5s; }
@keyframes tk-wave { 50% { height: 100%; } }
.tk-voice em { font-style: normal; color: #fff !important; font-size: .82rem; margin-left: auto; }
.tk-pro { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: #fff; border: 2px solid transparent; border-radius: 14px; padding: 9px 12px; opacity: .6; }
.tk-pro.on { border-color: var(--ochre); opacity: 1; box-shadow: 0 10px 20px rgba(228,162,59,.25); }
.tk-pro b { width: 40px; height: 40px; border-radius: 50%; background: var(--indigo); color: #fff; font-family: var(--head); display: grid; place-items: center; }
.tk-pro span { font-family: var(--head); font-weight: 800; line-height: 1.15; }
.tk-pro small { display: block; font-family: var(--body); font-weight: 400; font-size: .78rem; color: var(--muted); }
.tk-pro em { font-style: normal; font-family: var(--head); font-weight: 800; color: var(--indigo); font-size: .92rem; white-space: nowrap; }
.tk-phone { background: var(--sand); border-radius: 14px; padding: 12px 16px; font-family: var(--head); font-weight: 800; font-size: 1.4rem; color: var(--indigo) !important; letter-spacing: .04em; }
.tk-stars { color: var(--ochre) !important; font-size: 2rem; letter-spacing: .1em; line-height: 1; }
.tk-step h3 { margin-bottom: 8px; }

/* --- Embaucher --- */
.tk-hire { padding: clamp(60px, 8vw, 110px) var(--pad); }
.tk-path { counter-reset: p; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 6px solid var(--ochre); }
.tk-path li { counter-increment: p; position: relative; padding: 46px clamp(12px, 2vw, 30px) 0 0; }
.tk-path li::before { content: counter(p); position: absolute; left: 0; top: -30px; width: 54px; height: 54px; border-radius: 50%; background: var(--indigo); color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.4rem; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--paper); }
.tk-path h3 { margin-bottom: 8px; }
.tk-days { display: grid; grid-template-columns: repeat(15, 1fr); gap: 3px; margin-top: 16px; max-width: 260px; }
.tk-days i { aspect-ratio: 1; border-radius: 3px; background: var(--ochre); }
.tk-months { display: flex; gap: 6px; margin-top: 16px; }
.tk-months i { flex: 1; max-width: 84px; padding: 8px 0; border-radius: 8px; background: var(--indigo); color: #fff; font-style: normal; font-family: var(--head); font-weight: 800; text-align: center; }

/* --- Pour les pros --- */
.tk-pros { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 80px); align-items: center; padding: clamp(60px, 8vw, 110px) var(--pad); background: linear-gradient(160deg, var(--indigo), var(--deep)); color: #fff; }
.tk-pros .tk-eyebrow { color: var(--ochre) !important; }
.tk-pros h2 { margin-top: 14px; }
.tk-pros h2 em { color: var(--ochre); }
.tk-pros-list li { position: relative; padding: 18px 0 18px 44px; border-top: 1px solid rgba(255,255,255,.25); font-size: 1.1rem; }
.tk-pros-list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 26px; height: 26px; border-radius: 50%; background: var(--ochre); }
.tk-pros-list li::after { content: ""; position: absolute; left: 9px; top: 25px; width: 7px; height: 12px; border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(42deg); }

/* --- Démonstration : la porte --- */
.tk-demo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 80px); padding: clamp(60px, 8vw, 110px) var(--pad); background: var(--sand); }
.tk-demo h2 { margin: 14px 0 16px; }
.tk-status { margin-top: 28px; background: var(--paper); border-radius: 16px; border-left: 8px solid var(--ochre); padding: 18px 22px; }
.tk-status strong { font-family: var(--head); display: block; margin-bottom: 4px; }
.tk-status p { font-size: .96rem; }
.tk-form { background: var(--paper); border: 6px solid var(--indigo); border-radius: 180px 180px 18px 18px; padding: clamp(60px, 8vw, 96px) clamp(22px, 3.4vw, 46px) clamp(24px, 3vw, 40px); position: relative; box-shadow: 0 30px 60px rgba(29,33,64,.16); }
.tk-form::before { content: ""; position: absolute; left: 50%; top: 22px; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; background: var(--ochre); box-shadow: 0 0 0 6px rgba(228,162,59,.3); }
.tk-form-title { font-family: var(--head); font-weight: 800; font-size: 1.5rem; color: var(--indigo) !important; text-align: center; margin-bottom: 24px; line-height: 1.15; }
.tk-form-title span { display: block; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); margin-top: 6px; }
.tk-form .field { margin-bottom: 16px; }
.tk-form label { display: block; font-family: var(--head); font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.tk-form .req { color: var(--clay); }
.tk-form input:not([type=checkbox]), .tk-form textarea { width: 100%; border: 2px solid var(--line); border-radius: 14px; background: #fff; padding: 12px 14px; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.tk-form textarea { min-height: 110px; resize: vertical; }
.tk-form input:focus, .tk-form textarea:focus { outline: 0; border-color: var(--ochre); box-shadow: 0 0 0 4px rgba(228,162,59,.25); }
.tk-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tk-form .checkbox { display: flex; gap: 12px; align-items: flex-start; font-family: var(--body); font-weight: 400; font-size: .9rem; color: var(--muted); margin: 4px 0 22px; }
.tk-form .checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--indigo); flex: none; }
.tk-form .checkbox a { text-decoration: underline; }
.tk-form .btn-submit { width: 100%; background: var(--ochre); color: var(--ink); border: 0; font-family: var(--head); font-weight: 800; font-size: 1.12rem; padding: 15px; border-radius: 100px; transition: background .2s, color .2s; }
.tk-form .btn-submit:hover { background: var(--indigo); color: #fff; }

/* --- Questions --- */
.tk-faq { padding: clamp(60px, 8vw, 110px) var(--pad); max-width: 1000px; }
.tk-faq h2 { margin-bottom: 26px; }
.tk-faq details { background: var(--sand); border-radius: 18px; margin-bottom: 12px; }
.tk-faq details[open] { background: #fff; box-shadow: inset 0 0 0 2px var(--ochre); }
.tk-faq summary { list-style: none; position: relative; padding: 18px 62px 18px 24px; font-family: var(--head); font-weight: 700; font-size: 1.12rem; }
.tk-faq summary::-webkit-details-marker { display: none; }
.tk-faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--line); transition: background .2s, box-shadow .2s; }
.tk-faq details[open] summary::after { background: var(--ochre); box-shadow: 0 0 18px 6px rgba(228,162,59,.5); }
.tk-faq details p { padding: 0 24px 20px; }

/* --- Pied --- */
.tk-foot { background: var(--deep); color: #fff; padding: 46px var(--pad) 34px; border-top: 10px solid var(--clay); }
.tk-foot-in { display: grid; gap: 16px; justify-items: center; text-align: center; }
.tk-foot .tk-brand { color: #fff; }
.tk-foot p { color: #C3C9E6; }
.tk-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-family: var(--head); font-weight: 700; font-size: .94rem; }
.tk-foot nav a:hover { color: var(--ochre); }
.tk-made { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: .9rem; border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; width: 100%; }
.tk-made img { border-radius: 6px; }
.tk-made a { color: #fff; font-weight: 700; }

/* --- Écrans étroits --- */
@media (max-width: 960px) {
  .tk-top nav { display: none; }
  .tk-top { justify-content: space-between; }
  .tk-hero { grid-template-columns: 1fr; }
  .tk-tiles { grid-template-columns: repeat(2, 1fr); }
  .tk-three { grid-template-columns: 1fr; gap: 44px; }
  .tk-card { min-height: 0; }
  .tk-path { grid-template-columns: 1fr; border-top: 0; border-left: 6px solid var(--ochre); margin-left: 24px; }
  .tk-path li { padding: 0 0 34px 48px; }
  .tk-path li::before { left: -30px; top: -6px; }
  .tk-pros, .tk-demo { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tk-btn { padding: 9px 16px; font-size: .9rem; }
  .tk-btn-lg { padding: 13px 24px; font-size: 1.02rem; }
  .tk-form { border-radius: 110px 110px 18px 18px; }
  .tk-form .field-row { grid-template-columns: 1fr; gap: 0; }
  .tk-tiles li { padding: 14px 12px; }
  .tk-tiles strong { font-size: 1rem; }
}
