/* ============================================================
   SAMAK TECHNOLOGIE — Sections & Pages
   ============================================================ */
.section { padding: clamp(70px, 9vw, 116px) 0; }
.section.tight { padding: clamp(56px, 7vw, 90px) 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--black); color: #fff; position: relative; overflow: hidden; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: 16px; }
.section-head .lead { margin-top: 18px; }

/* ---------- Logos marquee ---------- */
.trust-bar { padding: 40px 0; border-bottom: 1px solid var(--line); }
.trust-bar .row { display: flex; align-items: center; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; justify-content: center; }
.trust-bar .label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-400); }
.trust-bar .logos { display: flex; gap: clamp(24px, 4vw, 50px); align-items: center; flex-wrap: wrap; }
.trust-bar .logos span { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--slate-400); }

/* ============================================================
   EXPERTISE POLES
   ============================================================ */
.poles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px){ .poles { grid-template-columns: 1fr; } }
.pole { position: relative; border-radius: var(--r-xl); padding: 38px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pole:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pole.dark { background: var(--ink); border-color: rgba(255,255,255,.08); }
.pole.dark::before { content:""; position:absolute; width: 320px; height: 320px; top:-120px; right:-100px; border-radius:50%; background: radial-gradient(circle, rgba(225,29,36,.3), transparent 64%); filter: blur(18px); }
.pole .pole-ic { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-md); background: linear-gradient(140deg, var(--red-600), var(--red-500)); }
.pole.dark .pole-ic { background: linear-gradient(140deg, #fff, #e8e8ea); color: var(--ink); }
.pole h3 { margin: 22px 0 10px; }
.pole.dark h3 { color: #fff; }
.pole p { color: var(--fg-soft); }
.pole.dark p { color: rgba(255,255,255,.7); }
.pole .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.pole .tags span { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: var(--r-full); background: var(--slate-100); color: var(--slate-600); border: 1px solid var(--line); }
.pole.dark .tags span { background: rgba(255,255,255,.06); color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.1); }
.pole-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red-600); position: relative; z-index: 2; }
.pole.dark .pole-link { color: #fff; }
.pole-link svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.pole:hover .pole-link svg { transform: translateX(5px); }

/* ---------- Service mini cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-grid.col3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px){ .svc-grid, .svc-grid.col3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .svc-grid, .svc-grid.col3 { grid-template-columns: 1fr; } }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--red-050); color: var(--red-600); margin-bottom: 16px; transition: background .3s, color .3s; }
.svc:hover .ic { background: var(--red-600); color: #fff; }
.svc h4 { font-family: var(--font-head); font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.svc p { font-size: 14px; color: var(--fg-soft); margin-top: 6px; }
.svc .more { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--red-600); }
.svc .more svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.svc:hover .more svg { transform: translateX(4px); }

/* ============================================================
   STATS
   ============================================================ */
/* light stats band */
.stats-light { background: var(--red-tint); position: relative; overflow: hidden; }
.stats-light::before { content:""; position:absolute; inset:0; background-image: radial-gradient(circle at 10% 0%, rgba(200,22,28,.10), transparent 42%), radial-gradient(circle at 92% 100%, rgba(200,22,28,.07), transparent 44%); }
.stats-light .wrap { position: relative; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 50px; }
@media (max-width: 820px){ .stat-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; } }
.stat { border-left: 2px solid var(--red-600); padding-left: 22px; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(42px, 5vw, 60px); line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.stat .num .suffix { color: var(--red-600); }
.stat .lbl { margin-top: 12px; color: var(--fg-soft); font-size: 15px; font-weight: 500; }
/* dark stats fallback (if used) */
.stats::before { content:""; position:absolute; inset:0; background-image: radial-gradient(circle at 12% 8%, rgba(225,29,36,.26), transparent 40%), radial-gradient(circle at 88% 92%, rgba(225,29,36,.14), transparent 42%); }
.stats .wrap { position: relative; }
.section.dark .stat { border-left-color: rgba(255,255,255,.16); }
.section.dark .stat .num { color: #fff; }
.section.dark .stat .num .suffix { color: var(--red-500); }
.section.dark .stat .lbl { color: rgba(255,255,255,.62); }

/* ============================================================
   PROCESS / METHOD steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; counter-reset: step; }
@media (max-width: 900px){ .steps { grid-template-columns: 1fr 1fr; gap: 28px 22px; } }
@media (max-width: 520px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; }
.step .n { font-family: var(--font-head); font-weight: 800; font-size: 18px; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.section.dark .step .n { background: var(--red-600); }
.step h4 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin: 18px 0 8px; }
.step p { font-size: 14.5px; color: var(--fg-soft); }
.section.dark .step p { color: rgba(255,255,255,.66); }

/* ============================================================
   REALISATIONS / WORK
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter { font-size: 14.5px; font-weight: 600; padding: 10px 18px; border-radius: var(--r-full); border: 1px solid var(--line); color: var(--slate-600); background: #fff; transition: .2s; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px){ .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .work-grid { grid-template-columns: 1fr; } }
.work { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); cursor: pointer; display: flex; flex-direction: column; }
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work.hide { display: none; }
.work .thumb { aspect-ratio: 16 / 11; position: relative; overflow: hidden; }
.work .thumb .ph { position: absolute; inset: 0; border-radius: 0; }
.work .thumb .cat { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: var(--r-full); background: rgba(255,255,255,.94); color: var(--red-700); border: 1px solid rgba(255,255,255,.6); }
.work .meta { padding: 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.work .meta h4 { font-family: var(--font-head); font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.work .meta p { font-size: 14.5px; color: var(--fg-soft); }
.work .meta .go { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--red-600); }
.work .go svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.work:hover .go svg { transform: translateX(4px); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-wrap { position: relative; }
.testi-track { display: flex; transition: transform .6s var(--ease); }
.testi { flex: 0 0 100%; padding: 8px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 54px); box-shadow: var(--shadow-md); display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
@media (max-width: 720px){ .testi-card { grid-template-columns: 1fr; gap: 26px; } }
.testi-card blockquote { font-family: var(--font-head); font-weight: 600; font-size: clamp(20px, 2.4vw, 27px); line-height: 1.42; letter-spacing: -.02em; color: var(--ink); }
.testi-author { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.testi-author .av { width: 52px; height: 52px; border-radius: 50%; flex: none; background: linear-gradient(140deg, var(--red-600), var(--red-500)); display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; }
.testi-author .who b { display: block; font-weight: 700; }
.testi-author .who span { font-size: 14px; color: var(--fg-soft); }
.testi-side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.testi-side .rating { color: var(--red-600); font-size: 18px; letter-spacing: 3px; }
.testi-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; }
.testi-dots { display: flex; gap: 9px; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--slate-300); transition: .3s; }
.testi-dots button.active { background: var(--red-600); width: 26px; border-radius: var(--r-full); }
.testi-arrows { display: flex; gap: 10px; }
.testi-arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: .2s; }
.testi-arrows button:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.testi-arrows svg { width: 18px; height: 18px; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-box { position: relative; overflow: hidden; border-radius: var(--r-2xl); background: linear-gradient(120deg, var(--red-700) 0%, var(--red-600) 48%, var(--red-500) 100%); color: #fff; padding: clamp(46px, 7vw, 88px); text-align: center; box-shadow: var(--shadow-red); }
.cta-box::before { content:""; position:absolute; inset:0; background-image: radial-gradient(circle at 18% 0%, rgba(255,255,255,.18), transparent 44%), radial-gradient(circle at 88% 116%, rgba(0,0,0,.22), transparent 48%); }
.cta-box .grid-ov { position:absolute; inset:0; background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 0, #000, transparent 70%); mask-image: radial-gradient(ellipse 70% 100% at 50% 0, #000, transparent 70%); }
.cta-box > * { position: relative; }
.cta-box .h2 { color: #fff; max-width: 760px; margin: 18px auto 0; }
.cta-box .lead { color: rgba(255,255,255,.74); max-width: 560px; margin: 20px auto 0; }
.cta-box .btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { position: relative; padding: 150px 0 64px; overflow: hidden; background: var(--cream); color: var(--ink); }
.page-hero.dark { background: var(--ink); color: #fff; }
.page-hero::before { content:""; position:absolute; inset:0; background-image: radial-gradient(circle at 86% 0%, rgba(200,22,28,.12), transparent 46%); }
.page-hero.dark::before { background-image: radial-gradient(circle at 85% 0%, rgba(225,29,36,.3), transparent 44%); }
.page-hero::after { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(22,21,26,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(22,21,26,.045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 12%, #000, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 80% 12%, #000, transparent 70%); }
.page-hero.dark::after { display: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--slate-500); margin-bottom: 20px; }
.page-hero.dark .crumbs { color: rgba(255,255,255,.55); }
.crumbs a:hover { color: var(--red-600); } .page-hero.dark .crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: .5; }
.page-hero h1 { color: var(--ink); font-size: clamp(38px, 5.2vw, 62px); max-width: 16ch; }
.page-hero.dark h1 { color: #fff; }
.page-hero p { margin-top: 20px; max-width: 580px; font-size: clamp(17px, 1.4vw, 20px); color: var(--fg-soft); }
.page-hero.dark p { color: rgba(255,255,255,.74); }
/* eyebrow stays red on light hero, white on dark hero */
.page-hero .eyebrow.on-dark { color: var(--red-600); }
.page-hero .eyebrow.on-dark::before { background: var(--red-600); }
.page-hero.dark .eyebrow.on-dark { color: #fff; }
.page-hero.dark .eyebrow.on-dark::before { background: var(--red-500); }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* split feature row */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.split.rev .split-media { order: 2; }
@media (max-width: 880px){ .split { grid-template-columns: 1fr; gap: 36px; } .split.rev .split-media { order: 0; } }
.split-media .ph { aspect-ratio: 4/3; border-radius: var(--r-lg); }
.split h2 { margin: 14px 0 0; }
.split .lead { margin-top: 18px; }
.feat-list { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.feat-list li { display: flex; gap: 13px; align-items: flex-start; }
.feat-list .ck { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; background: var(--red-050); color: var(--red-600); }
.feat-list .ck svg { width: 15px; height: 15px; }
.feat-list b { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.feat-list p { font-size: 14.5px; color: var(--fg-soft); margin-top: 2px; }

/* result stats inline */
.mini-stats { display: flex; flex-wrap: wrap; gap: 38px; margin-top: 28px; }
.mini-stats .ms .v { font-family: var(--font-head); font-weight: 800; font-size: 36px; color: var(--red-600); letter-spacing: -.02em; }
.mini-stats .ms .k { font-size: 13.5px; color: var(--fg-soft); margin-top: 2px; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 900px){ .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .blog-grid { grid-template-columns: 1fr; } }
.post { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post .thumb { aspect-ratio: 16/10; position: relative; }
.post .thumb .ph { position: absolute; inset: 0; border-radius: 0; }
.post .thumb .tag { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: var(--r-full); background: var(--red-600); color: #fff; }
.post .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post .date { font-size: 13px; color: var(--slate-500); font-weight: 500; }
.post h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin: 10px 0; letter-spacing: -.01em; line-height: 1.25; }
.post p { font-size: 14.5px; color: var(--fg-soft); }
.post .read { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--red-600); }
.post .read svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.post:hover .read svg { transform: translateX(4px); }
.post.feature { grid-column: span 2; flex-direction: row; }
@media (max-width: 900px){ .post.feature { grid-column: span 2; flex-direction: column; } }
@media (max-width: 600px){ .post.feature { grid-column: span 1; } }
.post.feature .thumb { aspect-ratio: auto; flex: 1; min-height: 280px; }
.post.feature .body { flex: 1; justify-content: center; }
.post.feature h3 { font-size: 28px; }

/* ============================================================
   ABOUT — values / timeline / team
   ============================================================ */
.val-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 820px){ .val-grid { grid-template-columns: 1fr; } }
.val { padding: 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.val .ic { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 18px; }
.val h4 { font-family: var(--font-head); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.val p { font-size: 15px; color: var(--fg-soft); }

.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 28px; }
.timeline::before { content:""; position:absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 38px 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content:""; position:absolute; left: -22px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--red-600); box-shadow: 0 0 0 4px var(--red-050); }
.tl-item .yr { font-family: var(--font-head); font-weight: 800; color: var(--red-600); font-size: 15px; letter-spacing: .04em; }
.tl-item h4 { font-family: var(--font-head); font-size: 21px; font-weight: 700; margin: 6px 0 8px; }
.tl-item p { color: var(--fg-soft); font-size: 15px; }

.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
@media (max-width: 900px){ .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .team-grid { grid-template-columns: 1fr; } }
.member .ph { aspect-ratio: 3/4; border-radius: var(--r-lg); margin-bottom: 16px; }
.member b { font-family: var(--font-head); font-size: 17px; font-weight: 700; display: block; }
.member span { font-size: 14px; color: var(--red-600); font-weight: 500; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
@media (max-width: 880px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.cc { display: flex; gap: 16px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.cc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cc .ic { width: 48px; height: 48px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--red-050); color: var(--red-600); }
.cc.wa .ic { background: #25D366; color: #fff; }
.cc b { font-family: var(--font-head); font-size: 16px; }
.cc span { display: block; font-size: 14px; color: var(--fg-soft); margin-top: 2px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--slate-50); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-600); background: #fff; box-shadow: 0 0 0 4px rgba(200,22,28,.1); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px){ .field-row { grid-template-columns: 1fr; } }
.map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); margin-top: 16px; }
.map-embed .ph { aspect-ratio: 21/9; border-radius: 0; }

/* ============================================================
   DEVIS — multi-step
   ============================================================ */
.devis-wrap { max-width: 760px; margin: 0 auto; }
.stepper { display: flex; align-items: center; gap: 8px; margin-bottom: 40px; }
.stepper .st { display: flex; align-items: center; gap: 10px; flex: 1; }
.stepper .st .bub { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 15px; background: var(--slate-100); color: var(--slate-500); border: 2px solid var(--line); transition: .3s; }
.stepper .st .nm { font-size: 13.5px; font-weight: 600; color: var(--slate-500); transition: .3s; }
@media (max-width: 640px){ .stepper .st .nm { display: none; } }
.stepper .st .bar { flex: 1; height: 2px; background: var(--line); border-radius: 2px; transition: .3s; }
.stepper .st.active .bub { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.stepper .st.active .nm { color: var(--ink); }
.stepper .st.done .bub { background: var(--ink); border-color: var(--ink); color: #fff; }
.stepper .st.done .bar { background: var(--ink); }

.devis-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow-md); }
.step-panel { display: none; }
.step-panel.active { display: block; animation: fadeStep .4s var(--ease); }
@keyframes fadeStep { from { transform: translateY(12px); } to { transform: none; } }
.step-panel h3 { font-family: var(--font-head); font-size: 24px; margin-bottom: 6px; }
.step-panel .sub { color: var(--fg-soft); margin-bottom: 26px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px){ .choice-grid { grid-template-columns: 1fr; } }
.choice { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color .2s, background .2s; background: #fff; }
.choice:hover { border-color: var(--slate-400); }
.choice.sel { border-color: var(--red-600); background: var(--red-050); }
.choice .ic { width: 44px; height: 44px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--slate-100); color: var(--ink); transition: .2s; }
.choice.sel .ic { background: var(--red-600); color: #fff; }
.choice b { font-family: var(--font-head); font-size: 15.5px; font-weight: 700; }
.choice span { display: block; font-size: 13px; color: var(--fg-soft); }
.budget-opts { display: flex; flex-direction: column; gap: 12px; }
.budget-opts .choice { justify-content: space-between; }
.step-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 32px; }
.devis-done { text-align: center; padding: 20px 0; }
.devis-done .check { width: 76px; height: 76px; border-radius: 50%; background: var(--red-050); color: var(--red-600); display: grid; place-items: center; margin: 0 auto 22px; }
.devis-done .check svg { width: 38px; height: 38px; }

/* ============================================================
   ESPACE CLIENT — login
   ============================================================ */
.auth { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
@media (max-width: 880px){ .auth { grid-template-columns: 1fr; } }
.auth-aside { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--red-700) 0%, var(--red-600) 52%, var(--red-500) 100%); color: #fff; padding: 48px clamp(36px,4vw,60px); display: flex; flex-direction: column; justify-content: space-between; }
@media (max-width: 880px){ .auth-aside { display: none; } }
.auth-aside::before { content:""; position:absolute; inset:0; background-image: radial-gradient(circle at 20% 0%, rgba(255,255,255,.18), transparent 42%), radial-gradient(circle at 90% 110%, rgba(0,0,0,.24), transparent 48%); }
.auth-aside::after { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000, transparent 75%); }
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside .logo img { height: 28px; }
.auth-aside .pitch h2 { color: #fff; font-size: clamp(28px,3vw,40px); max-width: 14ch; }
.auth-aside .pitch p { color: rgba(255,255,255,.82); margin-top: 16px; max-width: 38ch; }
.auth-feats { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.auth-feats li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.auth-feats .ck { width: 28px; height: 28px; border-radius: 8px; flex: none; display: grid; place-items: center; background: rgba(255,255,255,.16); }
.auth-feats .ck svg { width: 15px; height: 15px; }
.auth-aside .legal { font-size: 13px; color: rgba(255,255,255,.6); }

.auth-main { position: relative; display: grid; place-items: center; padding: 40px var(--gut); background: var(--cream-2); }
.auth-back { position: absolute; top: 26px; left: var(--gut); display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--slate-500); transition: color .2s, gap .2s; }
.auth-back:hover { color: var(--red-600); gap: 11px; }
.auth-back svg { width: 16px; height: 16px; }
.auth-card { width: 100%; max-width: 412px; }
.auth-card .m-logo { display: none; height: 30px; margin-bottom: 26px; }
@media (max-width: 880px){ .auth-card .m-logo { display: block; } }
.auth-card .badge { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--red-600); background: var(--red-050); padding: 6px 13px; border-radius: var(--r-full); margin-bottom: 18px; }
.auth-card h1 { font-size: clamp(28px,3vw,36px); }
.auth-card .sub { color: var(--fg-soft); margin: 8px 0 30px; }
.pw-wrap { position: relative; }
.pw-wrap .toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--slate-500); }
.pw-wrap .toggle:hover { color: var(--ink); background: var(--slate-100); }
.pw-wrap .toggle svg { width: 19px; height: 19px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 22px; }
.remember { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--fg-soft); cursor: pointer; user-select: none; }
.remember input { width: 18px; height: 18px; accent-color: var(--red-600); }
.auth-row .forgot { font-size: 14px; font-weight: 600; color: var(--red-600); }
.auth-row .forgot:hover { text-decoration: underline; }
.auth-sep { display: flex; align-items: center; gap: 14px; margin: 26px 0; color: var(--slate-400); font-size: 13px; }
.auth-sep::before, .auth-sep::after { content:""; flex: 1; height: 1px; background: var(--line); }
.auth-alt { text-align: center; font-size: 15px; color: var(--fg-soft); }
.auth-alt a { font-weight: 600; color: var(--red-600); }
.auth-alt a:hover { text-decoration: underline; }
.auth-ok { display: none; align-items: center; gap: 10px; margin-top: 16px; color: #16a34a; font-weight: 600; font-size: 14.5px; }
.auth-ok svg { width: 20px; height: 20px; }
