/* ToutRechaj — paj akèy */
body { background: #fff; }

.nav { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.logo img { height: 48px; width: auto; }
.nav-links { display: flex; gap: 26px; font-weight: 500; font-size: 15px; color: var(--ink); }
.nav-links a:hover { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; color: var(--navy); place-items: center; }

.hero { padding: 64px 0 76px; background: #f7f6f2; border-bottom: 1px solid #ebe9e2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; color: var(--navy); }
.lead { margin-top: 20px; font-size: 18px; color: #3d4560; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.text-link { align-self: center; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; padding: 10px 4px; }
.text-link:hover { color: var(--green); }

.calc { background: #fff; border: 1px solid #e3e1d9; border-radius: 16px; padding: 26px; box-shadow: 0 1px 2px rgba(10,22,64,.04), 0 12px 32px rgba(10,22,64,.07); }
.calc h2 { font-size: 20px; color: var(--navy); margin-bottom: 18px; }
.calc-rows { margin: 4px 0 18px; }
.calc-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.calc-rows dt { color: var(--muted); }
.calc-rows dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
.calc-rows .total { border-bottom: 0; padding-top: 14px; align-items: baseline; }
.calc-rows .total dt { color: var(--navy); font-weight: 600; }
.calc-rows .total dd { font-family: var(--display); font-size: 28px; font-weight: 800; }
.calc-note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); min-height: 20px; }

.section { padding: 76px 0; }
.section.alt { background: #f7f6f2; }
.section.dark { background: var(--navy); color: #fff; }
.narrow { max-width: 780px; }
.head { max-width: 620px; margin-bottom: 36px; }
.head h2, .sec-grid h2, .app-grid h2, .closing h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; color: var(--navy); }
.head p { margin-top: 10px; color: var(--muted); font-size: 17px; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.svc { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.svc:hover { border-color: #b9c1d6; box-shadow: 0 4px 14px rgba(10,22,64,.06); }
.svc-ico { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: #fff; font-family: var(--display); font-weight: 800; font-size: 16px; }
.svc-ico.has-logo { background: #fff; border: 1px solid var(--line); padding: 7px; }
.svc-ico.has-logo img { width: 100%; height: 100%; object-fit: contain; }
.svc h3 { font-size: 16px; color: var(--navy); }
.svc p { color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.pay-line { margin-top: 22px; color: var(--muted); font-size: 15px; }
.pay-line strong { color: var(--navy); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { display: flex; gap: 16px; }
.num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 700; }
.steps h3 { font-size: 18px; color: var(--navy); margin: 7px 0 6px; }
.steps p { color: #3d4560; font-size: 15.5px; }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.why-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--green-soft); color: var(--green); margin-bottom: 14px; }
.why h3 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.why p { color: #3d4560; font-size: 15.5px; }

.sec-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.sec-grid h2 { color: #fff; }
.sec-lead { margin-top: 14px; color: #c2cbe8; font-size: 17px; }
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.sec-list li { display: flex; gap: 14px; }
.sec-list li > span { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.1); color: var(--gold); }
.sec-list h3 { font-size: 16.5px; margin-bottom: 4px; }
.sec-list p { color: #c2cbe8; font-size: 14.5px; }

.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.app-lead { margin: 14px 0 22px; color: #3d4560; font-size: 17px; }
.app-done { color: var(--green); font-weight: 600; }
.app-how { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; }
.app-how li { padding: 16px 20px; border-bottom: 1px solid var(--line); color: #3d4560; font-size: 15px; }
.app-how li:last-child { border-bottom: 0; }
.app-how strong { display: block; color: var(--navy); margin-bottom: 2px; }

.faq { border-top: 1px solid #e3e1d9; }
.faq details { border-bottom: 1px solid #e3e1d9; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17px; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 20px 0; color: #3d4560; }

.closing { background: var(--navy); color: #fff; padding: 56px 0; }
.closing-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.closing h2 { color: #fff; }
.closing p { color: #c2cbe8; margin-top: 6px; }
.closing .hero-cta { margin-top: 0; }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; }

.footer { background: #070f2e; color: #aab4d4; padding: 52px 0 24px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { display: inline-block; background: #fff; padding: 8px 14px; border-radius: 10px; margin-bottom: 14px; }
.footer-logo img { height: 46px; width: auto; }
.footer h4 { color: #fff; margin-bottom: 12px; font-size: 15px; }
.footer-grid a { display: block; padding: 4px 0; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .sec-grid, .app-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 40px 0 52px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .why { grid-template-columns: 1fr; gap: 26px; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; padding: 4px 20px 14px; border-bottom: 1px solid var(--line); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .burger { display: grid; }
  #navLogin { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .svc-grid, .sec-list, .footer-grid { grid-template-columns: 1fr; }
  .logo img { height: 40px; }
  .hero-cta .btn { flex: 1; }
  .calc { padding: 20px; }
}
