/* ==========================================================================
   PIKS · Site public (refonte 2026-10-21, d'apres le flyer PIKS SEO)
   Blanc, encre, orange. Titres en grotesque tres gras et serre (Inter Tight),
   schemas sobres (barres grises, carre orange « Votre agence »), cartes a filet.
   Utilise par index.html, seo-immobilier.html, reseaux-sociaux-immobilier.html.
   Charge aussi APRES piks-design.css sur les pages secondaires (contact, blog,
   pages legales) : il y remplace l'entete, le pied et la typo des titres.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --s-ink: #121211;
  --s-orange: #D9592B;
  --s-orange-d: #BF4A20;
  --s-bg: #FFFFFF;
  --s-soft: #F6F4F0;
  --s-bar: #E6E1D8;
  --s-line: #121211;
  --s-hair: #E4E0D8;
  --s-muted: #6B675F;
  --s-green: #1F9D55;
  --s-display: 'Inter Tight', 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --s-sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  /* les pages secondaires (piks-design.css) prennent la meme typo de titres */
  --serif: var(--s-display);
}

/* ---------- base des pages du site ---------- */
body.s { margin: 0; background: var(--s-bg); color: var(--s-ink); font-family: var(--s-sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.s *, body.s *::before, body.s *::after { box-sizing: border-box; }
body.s img { max-width: 100%; display: block; }
body.s a { color: inherit; }
.s-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* titres : grotesque gras et serre, sur TOUTES les pages qui chargent ce fichier */
h1, h2, h3, .serif { font-family: var(--s-display) !important; font-weight: 800 !important; letter-spacing: -0.035em; font-style: normal; }
body.s h1, body.s h2, body.s h3 { margin: 0; color: var(--s-ink); }
.s-h1 { font-size: clamp(40px, 5.4vw, 70px); line-height: .96; letter-spacing: -0.05em !important; }
.s-h2 { font-size: clamp(34px, 4.8vw, 60px); line-height: 1; letter-spacing: -0.045em !important; }
.s-h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.02em !important; }
.o { color: var(--s-orange); }
.s-lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #3A3833; max-width: 40em; margin: 22px 0 0; }
.s-eyebrow { font-family: var(--s-sans); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--s-ink); margin: 0 0 22px; }
.s-eyebrow .o { margin-right: 10px; }

/* ---------- boutons ---------- */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--s-sans); font-weight: 700; font-size: 16px; line-height: 1; padding: 16px 26px; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.s-btn-o { background: var(--s-orange); color: #fff !important; }
.s-btn-o:hover { background: var(--s-orange-d); }
.s-btn-l { background: transparent; color: var(--s-ink) !important; border-color: var(--s-ink); }
.s-btn-l:hover { background: var(--s-ink); color: #fff !important; }
.s-btn-sm { padding: 11px 18px; font-size: 14px; }
.s-pill { display: inline-block; background: var(--s-orange); color: #fff; font-weight: 700; font-size: clamp(15px, 1.5vw, 19px); padding: 12px 22px; border-radius: 999px; letter-spacing: -0.01em; }
.s-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.s-tel { font-family: var(--s-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.s-tel:hover { color: var(--s-orange); }

/* ---------- entete ---------- */
.s-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; font-family: var(--s-sans); }
.s-head.scrolled { border-bottom-color: var(--s-hair); }
.s-head .s-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 18px; }
.s-head .s-logo img { height: 36px !important; width: auto !important; display: block; }
.s-head nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.s-head nav a:not(.s-btn) { text-decoration: none; color: var(--s-ink); }
.s-head nav a:not(.s-btn):hover, .s-head nav a.on { color: var(--s-orange); }
.s-lang { display: inline-flex; gap: 2px; border: 1px solid var(--s-hair); border-radius: 999px; overflow: hidden; }
.s-lang button { background: transparent; border: 0; padding: 7px 10px; font: 700 12px var(--s-sans); color: var(--s-muted); cursor: pointer; }
.s-lang button.active, .s-lang button[aria-pressed="true"] { background: var(--s-ink) !important; color: #fff !important; }
@media (max-width: 900px) { .s-head nav .hide-m { display: none; } .s-head nav { gap: 12px; } .s-head .s-logo img { height: 30px; } }

/* ---------- sections ---------- */
.s-sec { padding: clamp(72px, 9vw, 128px) 0; }
.s-sec + .s-sec { border-top: 1px solid var(--s-hair); }
.s-sec.soft { background: var(--s-soft); border-top: 0; }
.s-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 110px); }
.s-hero .s-pill { margin-top: 28px; }
.s-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .s-hero-grid { grid-template-columns: 1fr; } }
.s-anim-stack { display: grid; gap: 14px; }

/* ---------- animations du hero (js/hero-anim.js) ---------- */
.an-card { border: 1.5px solid var(--s-line); border-radius: 10px; background: #fff; padding: 22px; box-shadow: 0 24px 50px -30px rgba(18,18,17,.35); }
.an-q { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--s-line); border-radius: 999px; padding: 11px 18px; font-size: 15px; font-weight: 600; min-height: 46px; }
.an-caret { width: 2px; height: 18px; background: var(--s-orange); margin-left: -6px; animation: anBlink 1s steps(1) infinite; }
@keyframes anBlink { 50% { opacity: 0; } }
.an-list { position: relative; margin-top: 18px; }
.an-row { position: absolute; left: 0; right: 0; top: 0; height: 30px; display: flex; align-items: center; gap: 12px; transition: transform .9s cubic-bezier(.6,0,.2,1), opacity .4s; }
.an-n { width: 26px; font-family: var(--s-display); font-weight: 800; font-size: 15px; color: #B9B4AA; text-align: right; flex: 0 0 auto; }
.an-bar { height: 14px; border-radius: 2px; background: var(--s-bar); }
.an-me { z-index: 2; background: #fff; }
.an-me .an-n { color: var(--s-ink); }
.an-me.top .an-n { color: var(--s-orange); }
.an-me-l { display: flex; align-items: center; gap: 10px; color: var(--s-orange); font-weight: 700; font-size: 15px; }
.an-me-l::before { content: ""; width: 22px; height: 14px; background: var(--s-orange); border-radius: 2px; }
.an-up { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--s-green); opacity: 0; transition: opacity .4s .7s; }
.an-me.top .an-up { opacity: 1; }
.an-geo { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--s-hair); display: grid; gap: 10px; opacity: 0; transition: opacity .4s; }
.an-geo.show { opacity: 1; }
.an-ask { justify-self: end; background: #EAE7E1; border-radius: 12px; padding: 9px 14px; font-size: 13px; font-weight: 600; }
.an-ans { display: flex; align-items: center; gap: 12px; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.an-geo.ans .an-ans { opacity: 1; transform: none; }
.an-ias { display: flex; gap: 6px; flex: 0 0 auto; }
.an-logo { display: block; flex: 0 0 auto; }
.an-net { display: inline-flex; align-items: center; gap: 6px; }
.s-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 18px; }
.s-logos small { width: 100%; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--s-muted); }
.an-lg { width: 42px; height: 42px; display: grid; place-items: center; border: 1.5px solid var(--s-hair); border-radius: 10px; background: #fff; }
.an-line { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.an-line::before, .an-line::after { content: ""; flex: 1; height: 9px; border-radius: 2px; background: var(--s-bar); }
.an-line b { color: var(--s-orange); font-size: 13px; white-space: nowrap; }
.an-media { display: grid; gap: 0; }
.an-src { border: 1.5px solid var(--s-line); border-radius: 8px; padding: 14px 16px; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s; }
.an-src.show { opacity: 1; transform: none; }
.an-src small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--s-muted); margin-bottom: 4px; }
.an-src strong { font-family: var(--s-display); font-size: 19px; letter-spacing: -0.02em; margin-right: 8px; }
.an-src-d { font-size: 14px; color: var(--s-muted); font-weight: 600; }
.an-fil { width: 2px; height: 26px; margin-left: 28px; background: linear-gradient(var(--s-orange), var(--s-orange)) top / 2px 0 no-repeat, var(--s-hair); }
.an-fil.run { background-size: 2px 100%, auto; transition: background-size .5s; }
.an-outs { display: grid; gap: 8px; }
.an-out { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--s-hair); border-radius: 8px; padding: 10px 14px; opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .35s, border-color .35s; }
.an-out.show { opacity: 1; transform: none; }
.an-out.ok { border-color: var(--s-line); }
.an-net { font-size: 12px; font-weight: 700; border: 1.5px solid var(--s-ink); border-radius: 999px; padding: 3px 10px 3px 7px; min-width: 104px; }
.an-what { font-weight: 700; color: var(--s-orange); font-size: 14px; }
.an-ok { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--s-green); color: #fff; transform: scale(0); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.an-out.ok .an-ok { transform: scale(1); }
.an-mini .an-card { padding: 16px; }
.an-geo5 .an-ask5 { justify-self: stretch; min-height: 40px; font-size: 14px; }
.an-geo5 .an-net { min-width: 132px; }
.s-ia-lg { margin-bottom: 16px; display: flex; }
.s-ia-lg .an-lg { width: 48px; height: 48px; }
.an-rk { font-size: 12px; font-weight: 700; color: var(--s-muted); margin-left: auto; }
.an-geo5 .an-ok { margin-left: 10px; width: 22px; height: 22px; }
@media (max-width: 420px) { .an-geo5 .an-rk { display: none; } .an-geo5 .an-ok { margin-left: auto; } .an-geo5 .an-net { min-width: 118px; } }
.s-anim-stack .s-logos { margin-top: 4px; }
.s-anim-stack .an-card { padding: 18px; }
.s-anim-stack .an-fil { height: 16px; }
.s-anim-stack .an-src { padding: 11px 14px; }
.s-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .s-split { grid-template-columns: 1fr; } }

/* ---------- offres sur l'accueil ---------- */
.s-offer-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.s-offer-head .s-h2 { max-width: 20ch; }
.s-more { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--s-orange); padding-bottom: 3px; white-space: nowrap; }
.s-more:hover { color: var(--s-orange); }

/* ---------- cartes de recherche (schema du flyer) ---------- */
.s-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .s-cards { grid-template-columns: 1fr; max-width: 420px; } }
.s-card { border: 1.5px solid var(--s-line); border-radius: 8px; padding: 22px 22px 26px; background: #fff; }
.s-q { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--s-line); border-radius: 18px; padding: 11px 16px; font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 24px; }
.s-q svg { flex: 0 0 auto; margin-top: 1px; }
.s-q b { display: block; color: var(--s-orange); font-weight: 700; }
.s-rank { display: grid; grid-template-columns: 22px 30px 1fr; row-gap: 12px; align-items: center; }
.s-rank .arrow { grid-column: 1; grid-row: 1 / span 3; align-self: stretch; display: flex; justify-content: center; }
.s-rank .n { grid-column: 2; font-family: var(--s-display); font-weight: 800; font-size: 15px; color: #B9B4AA; }
.s-rank .n.me { color: var(--s-orange); }
.s-rank .n.was { color: var(--s-ink); }
.s-rank .b { grid-column: 3; height: 15px; border-radius: 2px; background: var(--s-bar); }
.s-rank .me-row { grid-column: 3; display: flex; align-items: center; gap: 10px; color: var(--s-orange); font-weight: 700; font-size: 14px; }
.s-rank .me-row::before { content: ""; width: 20px; height: 15px; background: var(--s-orange); border-radius: 2px; flex: 0 0 auto; }
.s-rank .was-row { grid-column: 3; display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: var(--s-ink); }
.s-rank .was-row::before { content: ""; width: 54px; height: 15px; background: var(--s-bar); border-radius: 2px; }

/* ---------- GEO : questions aux IA ---------- */
.s-geo { margin-top: 56px; }
.s-geo-title { font-family: var(--s-display); font-weight: 900; font-size: 34px; letter-spacing: -0.04em; margin: 0 0 6px; }
.s-chat { display: grid; gap: 10px; margin-top: 14px; }
.s-ask { justify-self: end; background: #EAE7E1; border-radius: 12px; padding: 10px 18px; font-size: 14px; font-weight: 600; max-width: 100%; }
.s-ask b { color: var(--s-orange); }
.s-ans { display: flex; align-items: center; gap: 14px; }
.s-ais { display: flex; gap: 6px; flex: 0 0 auto; }
.s-ais span { width: 22px; height: 22px; display: grid; place-items: center; }
.s-ans .line { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; }
.s-ans .line::before, .s-ans .line::after { content: ""; height: 10px; border-radius: 2px; background: var(--s-bar); flex: 1; }
.s-ans .line b { color: var(--s-orange); font-size: 14px; white-space: nowrap; }

/* ---------- PIKS Media : schema « evenement -> publication » ---------- */
.s-flow { display: grid; gap: 16px; }
.s-ev { display: grid; grid-template-columns: 1fr 44px 1.25fr; align-items: center; gap: 0; }
@media (max-width: 760px) { .s-ev { grid-template-columns: 1fr; gap: 10px; } .s-ev .to { transform: rotate(90deg); justify-self: start; margin-left: 18px; } }
.s-ev .from, .s-ev .pub { border: 1.5px solid var(--s-line); border-radius: 8px; padding: 16px 18px; background: #fff; }
.s-ev .from small, .s-ev .pub small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--s-muted); margin-bottom: 6px; }
.s-ev .from strong { font-family: var(--s-display); font-size: 19px; letter-spacing: -0.02em; }
.s-ev .to { display: grid; place-items: center; color: var(--s-orange); }
.s-ev .pub { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.s-ev .pub .what { font-weight: 700; color: var(--s-orange); flex: 1 1 140px; }
.s-nets { display: flex; gap: 6px; flex-wrap: wrap; }
.s-nets span { font-size: 12px; font-weight: 700; border: 1.5px solid var(--s-ink); border-radius: 999px; padding: 4px 10px; }

/* ---------- listes numerotees ---------- */
.s-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1.5px solid var(--s-line); }
.s-steps.three { grid-template-columns: repeat(3, 1fr); }
.s-step { padding: 30px 30px 34px 0; border-bottom: 1px solid var(--s-hair); }
.s-step .n { font-family: var(--s-display); font-weight: 900; font-size: 46px; line-height: 1; color: var(--s-orange); letter-spacing: -0.04em; margin-bottom: 18px; }
.s-step p { color: #3A3833; margin: 10px 0 0; font-size: 16px; }
@media (max-width: 860px) { .s-steps, .s-steps.three { grid-template-columns: 1fr; } .s-step { padding-right: 0; } }

/* ---------- FAQ ---------- */
.s-faq details { border-top: 1.5px solid var(--s-line); padding: 20px 0; }
.s-faq details:last-child { border-bottom: 1.5px solid var(--s-line); }
.s-faq summary { cursor: pointer; list-style: none; font-family: var(--s-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 20px; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: "+"; color: var(--s-orange); font-size: 26px; line-height: .8; }
.s-faq details[open] summary::after { content: "–"; }
.s-faq p { margin: 12px 0 0; color: #3A3833; max-width: 46em; }

/* ---------- encadre de contact (bas du flyer) ---------- */
.s-box { border: 1.5px solid var(--s-line); border-radius: 10px; padding: clamp(28px, 4.5vw, 56px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); background: #fff; }
@media (max-width: 860px) { .s-box { grid-template-columns: 1fr; } }
.s-box .big { font-family: var(--s-display); font-weight: 900; font-size: clamp(40px, 5.6vw, 72px); line-height: .98; letter-spacing: -0.05em; margin: 0; }
.s-coords { margin-top: 28px; display: grid; gap: 4px; }
.s-coords .s-tel { font-size: clamp(24px, 2.6vw, 32px); }
.s-coords a:not(.s-tel) { font-weight: 600; text-decoration: none; }
.s-coords a:not(.s-tel):hover { color: var(--s-orange); }

/* ---------- formulaire d'audit (js/vitrine.js) ---------- */
.s-box-side { align-self: center; }
.s-box-cta { padding-top: 8px; }
.s-box-cta .s-btn { font-size: 17px; padding: 16px 28px; }
.s-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.s-form .full, .s-form button, .s-form .form-err { grid-column: 1 / -1; }
.s-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.s-form input { width: 100%; font: 500 16px var(--s-sans); color: var(--s-ink); background: #fff; border: 1.5px solid #CFCAC0; border-radius: 8px; padding: 13px 14px; outline: none; transition: border-color .15s; }
.s-form input:focus { border-color: var(--s-ink); }
.s-form .hp { position: absolute; left: -9999px; }
.s-form .form-err { display: none; color: #A3311A; font-size: 14px; font-weight: 600; }
.s-form button { margin-top: 6px; }
.form-ok { display: none; }
.form-ok h3 { font-size: 30px; margin: 0 0 8px; }
.s-alt { margin-top: 18px; font-size: 15px; color: var(--s-muted); }
.s-alt a { color: var(--s-ink); font-weight: 700; }
@media (max-width: 560px) { .s-form { grid-template-columns: 1fr; } }

/* ---------- pied de page ---------- */
.s-foot { border-top: 1.5px solid var(--s-line); padding: 56px 0 36px; font-family: var(--s-sans); font-size: 15px; background: #fff; color: var(--s-ink); }
.s-foot .top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.s-foot .top img { height: 38px !important; width: auto !important; }
.s-foot .brand { display: grid; gap: 22px; align-content: start; }
.s-foot .soc { display: flex; gap: 12px; align-items: center; }
.s-foot .soc a { display: inline-flex; border-radius: 6px; transition: transform .15s ease, opacity .15s ease; }
.s-foot .soc a:hover { transform: translateY(-2px); opacity: .85; }
.s-foot .soc svg { width: 30px; height: 30px; display: block; }
.s-foot .cols { display: flex; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.s-foot .cols div { display: grid; gap: 10px; align-content: start; }
.s-foot .cols strong { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 4px; }
.s-foot a { text-decoration: none; color: var(--s-ink); }
.s-foot a:hover { color: var(--s-orange); }
.s-foot .bot { margin-top: 48px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--s-muted); font-size: 13px; }

/* ---------- barre CTA mobile ---------- */
.mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; transform: translateY(140%); transition: transform .25s; display: none; }
.mbar .s-btn { width: 100%; box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); }
.mbar.show { transform: none; }
@media (max-width: 760px) { .mbar { display: block; } }

/* ---------- pages secondaires (contact, blog, legal) : fond blanc ---------- */
body.s-sub { background: #fff; }
body.s-sub .s-head + * { margin-top: 0; }
