/* SmartSn — Design System */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root{
  --ink: #101A33;
  --ink-soft: #5C6478;
  --bg: #F6F5F1;
  --card: #FFFFFF;
  --gold: #E8A33D;
  --gold-deep: #C9821F;
  --teal: #1F8A83;
  --line: #E2DFD6;
  --radius: 16px;
}

*{box-sizing:border-box; margin:0; padding:0;}
body{font-family:'Manrope', sans-serif; background:var(--bg); color:var(--ink); line-height:1.5;}
h1,h2,h3,h4{font-family:'Sora', sans-serif; color:var(--ink);}
a{color:inherit;}
.wrap{max-width:1180px; margin:0 auto; padding:0 24px;}

/* Header */
header{background:var(--card); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:20;}
.nav{max-width:1180px; margin:0 auto; padding:16px 24px; display:flex; align-items:center; justify-content:space-between; gap:24px;}
.logo{font-family:'Sora'; font-weight:800; font-size:21px; text-decoration:none; letter-spacing:-0.02em;}
.logo b{color:var(--gold-deep);}
.nav-links{display:flex; gap:26px; list-style:none;}
.nav-links a{text-decoration:none; font-size:14px; font-weight:600; color:var(--ink-soft);}
.nav-links a:hover{color:var(--ink);}
.nav-cta{background:var(--ink); color:#fff; padding:10px 20px; border-radius:10px; text-decoration:none; font-weight:700; font-size:13px;}

/* Hero */
.hero{padding:64px 0 56px;}
.hero-inner{display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:center;}
@media (max-width:860px){.hero-inner{grid-template-columns:1fr;} }
.hero h1{font-size:clamp(32px,4.4vw,50px); font-weight:800; line-height:1.08; letter-spacing:-0.02em; max-width:520px;}
.hero .accent{color:var(--gold-deep);}
.hero p{color:var(--ink-soft); font-size:16px; max-width:440px; margin:20px 0 28px; line-height:1.6;}
.hero-ctas{display:flex; gap:12px; flex-wrap:wrap;}
.btn-gold{background:var(--gold); color:var(--ink); padding:14px 24px; border-radius:12px; text-decoration:none; font-weight:700; font-size:14px; border:none; cursor:pointer;}
.btn-outline{border:1.5px solid var(--ink); color:var(--ink); padding:13px 24px; border-radius:12px; text-decoration:none; font-weight:700; font-size:14px; background:transparent; cursor:pointer;}
.hero-note{margin-top:18px; font-size:13px; color:var(--ink-soft); display:flex; align-items:center; gap:8px;}
.hero-note b{color:var(--teal);}

.hero-visual{position:relative;}
.hero-photo{width:100%; aspect-ratio:4/3.2; border-radius:20px; overflow:hidden; background-size:cover; background-position:center;}
.payment-card{
  position:absolute; bottom:-24px; left:-24px; background:var(--ink); color:#fff; border-radius:16px;
  padding:18px 20px; width:230px; box-shadow:0 16px 40px rgba(16,26,51,0.28);
}
@media (max-width:860px){.payment-card{position:static; margin-top:-40px; margin-left:16px; width:calc(100% - 32px);}}
.payment-card .pc-label{font-size:11px; color:#A9B0C4; margin-bottom:8px;}
.payment-card .pc-amount{font-family:'Sora'; font-size:22px; font-weight:800;}
.payment-card .pc-amount span{font-size:12px; color:#A9B0C4; font-weight:500;}
.pc-months{display:flex; gap:5px; margin-top:12px;}
.pc-months .m{flex:1; height:5px; border-radius:3px; background:rgba(255,255,255,0.15);}
.pc-months .m.done{background:var(--gold);}

/* Category strip */
.categories{padding:8px 0 48px;}
.cat-row{display:flex; gap:14px; overflow-x:auto; padding-bottom:4px;}
.cat-item{
  flex:0 0 auto; display:flex; align-items:center; gap:10px; background:var(--card);
  border:1px solid var(--line); border-radius:14px; padding:14px 20px; text-decoration:none;
  font-weight:700; font-size:14px; white-space:nowrap;
}
.cat-item .em{font-size:20px;}
.cat-item:hover{border-color:var(--gold);}

/* Products */
.section{padding:44px 0;}
.section-head{display:flex; align-items:baseline; justify-content:space-between; margin-bottom:28px; flex-wrap:wrap; gap:8px;}
.section-head h2{font-size:clamp(22px,2.6vw,30px); font-weight:800; letter-spacing:-0.01em;}
.section-head p{color:var(--ink-soft); font-size:14px;}

.prod-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
@media (max-width:860px){.prod-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:520px){.prod-grid{grid-template-columns:1fr;}}
.prod-card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; text-decoration:none; display:block;}
.prod-img{aspect-ratio:1/0.8; background-size:cover; background-position:center; position:relative;}
.prod-credit-tag{
  position:absolute; top:12px; left:12px; background:var(--teal); color:#fff; font-size:11px; font-weight:700;
  padding:5px 10px; border-radius:20px;
}
.prod-body{padding:16px 18px 20px;}
.prod-cat{font-size:12px; color:var(--ink-soft); margin-bottom:4px;}
.prod-body h3{font-size:15px; font-weight:700; margin-bottom:8px; line-height:1.3;}
.prod-price{font-family:'Sora'; font-size:18px; font-weight:800;}
.prod-monthly{font-size:12px; color:var(--teal); font-weight:700; margin-top:4px;}

/* Credit steps */
.steps-section{background:var(--ink); color:#fff; padding:56px 0;}
.steps-section .section-head h2{color:#fff;}
.steps-section .section-head p{color:#A9B0C4;}
.steps-row{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:12px;}
@media (max-width:860px){.steps-row{grid-template-columns:repeat(2,1fr);}}
.step-item{position:relative; padding-top:8px;}
.step-num{font-family:'Sora'; font-size:13px; font-weight:800; color:var(--gold); margin-bottom:10px;}
.step-item h4{font-size:15px; font-weight:700; margin-bottom:6px; color:#fff;}
.step-item p{font-size:13px; color:#A9B0C4; line-height:1.55;}

/* Simulator */
.simulator{padding:56px 0;}
.sim-box{background:var(--card); border:1px solid var(--line); border-radius:20px; padding:36px; display:grid; grid-template-columns:1fr 1fr; gap:36px;}
@media (max-width:760px){.sim-box{grid-template-columns:1fr;}}
.sim-box h2{font-size:24px; font-weight:800; margin-bottom:8px;}
.sim-box .sub{color:var(--ink-soft); font-size:14px; margin-bottom:24px;}
.sim-field{margin-bottom:20px;}
.sim-field label{display:flex; justify-content:space-between; font-size:13px; font-weight:700; margin-bottom:8px;}
.sim-field label span{color:var(--gold-deep);}
.sim-field input[type="range"]{width:100%; accent-color:var(--gold);}
.sim-result{background:var(--ink); color:#fff; border-radius:16px; padding:28px; display:flex; flex-direction:column; justify-content:center;}
.sim-result .sr-label{font-size:12px; color:#A9B0C4; margin-bottom:8px;}
.sim-result .sr-amount{font-family:'Sora'; font-size:38px; font-weight:800;}
.sim-result .sr-amount span{font-size:14px; color:#A9B0C4; font-weight:500;}
.sim-result .sr-note{font-size:12px; color:#A9B0C4; margin-top:16px; line-height:1.5;}
.sim-result .btn-gold{margin-top:20px; text-align:center;}

/* Footer */
footer{background:var(--ink); color:#A9B0C4; padding:48px 0 24px; margin-top:24px;}
.foot-grid{display:grid; grid-template-columns:2fr repeat(3,1fr); gap:32px; margin-bottom:32px;}
@media (max-width:760px){.foot-grid{grid-template-columns:1fr 1fr;}}
.foot-grid h4{color:#fff; font-size:13px; margin-bottom:14px;}
.foot-grid ul{list-style:none;}
.foot-grid li{margin-bottom:8px; font-size:13px;}
.foot-grid a{text-decoration:none; color:#A9B0C4;}
.foot-logo{font-family:'Sora'; font-weight:800; font-size:19px; color:#fff; margin-bottom:10px;}
.foot-bottom{border-top:1px solid rgba(255,255,255,0.1); padding-top:20px; font-size:12px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;}

/* Formulaire crédit */
.credit-page{padding:44px 0 64px;}
.credit-layout{display:grid; grid-template-columns:1.4fr 1fr; gap:36px; align-items:start;}
@media (max-width:860px){.credit-layout{grid-template-columns:1fr;}}
.credit-card{background:var(--card); border:1px solid var(--line); border-radius:20px; padding:32px;}
.credit-card h2{font-size:22px; margin-bottom:6px;}
.credit-card .sub{color:var(--ink-soft); font-size:14px; margin-bottom:26px;}
.form-section-label{font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:0.04em; color:var(--gold-deep); margin:24px 0 14px;}
.form-section-label:first-child{margin-top:0;}
.form-row-2{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
@media (max-width:480px){.form-row-2{grid-template-columns:1fr;}}
.form-field{margin-bottom:14px;}
.form-field label{display:block; font-size:13px; font-weight:700; margin-bottom:6px;}
.form-field input, .form-field select{
  width:100%; padding:11px 13px; border-radius:10px; border:1.5px solid var(--line);
  background:var(--bg); font-size:14px; font-family:inherit; color:var(--ink);
}
.form-field input:focus, .form-field select:focus{outline:none; border-color:var(--gold);}
.radio-row{display:flex; gap:10px;}
.radio-opt{
  flex:1; border:1.5px solid var(--line); border-radius:10px; padding:11px; text-align:center;
  cursor:pointer; font-size:13px; font-weight:700; background:var(--bg);
}
.radio-opt.selected{border-color:var(--gold); background:rgba(232,163,61,0.12); color:var(--gold-deep);}
.file-field{border:1.5px dashed var(--line); border-radius:12px; padding:14px; margin-bottom:14px;}
.file-field label{display:block; font-size:13px; font-weight:700; margin-bottom:8px;}
.file-field input[type="file"]{font-size:12px; width:100%;}
.file-status{font-size:12px; color:var(--teal); margin-top:6px; font-weight:700;}
.credit-submit{width:100%; padding:15px; margin-top:8px; font-size:15px;}
.form-error{color:#C0392B; font-size:13px; margin-top:12px; display:none;}

.credit-summary{background:var(--ink); color:#fff; border-radius:20px; padding:28px; position:sticky; top:90px;}
.credit-summary h3{color:#fff; font-size:16px; margin-bottom:16px;}
.credit-summary .cs-row{display:flex; justify-content:space-between; font-size:13px; padding:8px 0; border-bottom:1px solid rgba(255,255,255,0.1); color:#D5D9E5;}
.credit-summary .cs-row b{color:#fff;}
.credit-summary .cs-note{font-size:12px; color:#A9B0C4; margin-top:16px; line-height:1.6;}

.confirm-box{max-width:520px; margin:60px auto; text-align:center; background:var(--card); border:1px solid var(--line); border-radius:20px; padding:48px 36px;}
.confirm-box .icon{font-size:44px; margin-bottom:16px;}
.confirm-box h2{font-size:22px; margin-bottom:10px;}
.confirm-box p{color:var(--ink-soft); font-size:14px; margin-bottom:24px; line-height:1.6;}
.confirm-num{font-family:'Sora'; font-weight:800; font-size:20px; color:var(--gold-deep); margin-bottom:20px;}

/* Boutique */
.boutique-head{padding:36px 0 8px;}
.boutique-head h1{font-size:clamp(24px,3vw,32px); font-weight:800;}
.boutique-head p{color:var(--ink-soft); font-size:14px; margin-top:6px;}
.tabs-row{display:flex; gap:10px; flex-wrap:wrap; margin:24px 0 32px;}
.tab-pill{
  padding:10px 18px; border-radius:20px; border:1.5px solid var(--line); background:var(--card);
  font-size:13px; font-weight:700; cursor:pointer; color:var(--ink-soft);
}
.tab-pill.active{background:var(--ink); color:#fff; border-color:var(--ink);}
.prod-credit-btn{
  display:inline-block; margin-top:10px; font-size:12px; font-weight:700; color:var(--ink);
  border:1.5px solid var(--ink); border-radius:8px; padding:7px 12px; text-decoration:none;
}
.result-count{color:var(--ink-soft); font-size:13px; margin-bottom:6px;}

/* Boutique */
.boutique-head{padding:36px 0 8px;}
.boutique-head h1{font-size:clamp(24px,3vw,32px); font-weight:800;}
.boutique-head p{color:var(--ink-soft); font-size:14px; margin-top:6px;}
.tabs-row{display:flex; gap:10px; flex-wrap:wrap; margin:24px 0 32px;}
.tab-pill{
  padding:10px 18px; border-radius:20px; border:1.5px solid var(--line); background:var(--card);
  font-size:13px; font-weight:700; cursor:pointer; color:var(--ink-soft);
}
.tab-pill.active{background:var(--ink); color:#fff; border-color:var(--ink);}
.prod-credit-btn{
  display:inline-block; margin-top:10px; font-size:12px; font-weight:700; color:var(--ink);
  border:1.5px solid var(--ink); border-radius:8px; padding:7px 12px; text-decoration:none;
}
.result-count{color:var(--ink-soft); font-size:13px; margin-bottom:6px;}
