/*
Theme Name: Eric Dumortier
Description: Landing page – courtier en prêt immobilier.
Version: 4.2.3
Text Domain: eric-dumortier
*/

:root {
  --navy: #15332A;
  --navy-dark: #0F251F;
  --accent: #2B6B57;
  --accent-dark: #205545;
  --text: #34413C;
  --muted: #66726D;
  --line: #E1E8E4;
  --cream: #F3F7F5;
  --white: #FFFFFF;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { color: var(--navy); margin: 0 0 .5em; font-weight: 700; line-height: 1.18; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mt { margin-top: 48px; }
.muted { color: var(--muted); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font: 600 .97rem/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn-lg { padding: 16px 26px; font-size: 1.02rem; }
.btn-full { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px rgba(43,107,87,.6); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: #fff; color: var(--navy); border-color: #D3DDD8; }
.btn-outline:hover { border-color: var(--navy); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-white-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-white-outline:hover { background: #fff; color: var(--navy); }

/* ---------- Header sticky liquid glass ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding: 12px 16px 0; }
.admin-bar .site-header { top: 32px; }
.header-bar {
  position: relative; max-width: 1180px; margin: 0 auto; height: 72px; padding: 0 12px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(15,37,31,.06), 0 10px 30px -14px rgba(15,37,31,.22);
  transition: box-shadow .3s, background .3s;
}
.is-scrolled .header-bar { background: rgba(255,255,255,.62); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(15,37,31,.08), 0 16px 40px -16px rgba(15,37,31,.32); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.monogram { width: 42px; height: 42px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.brand-text { display: flex; flex-direction: column; font-weight: 700; color: var(--navy); line-height: 1.2; font-size: 1.02rem; }
.brand-text small { font-weight: 500; color: var(--muted); font-size: .78rem; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > a { white-space: nowrap; color: var(--navy); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 9px 13px; border-radius: 9px; transition: background .2s, color .2s; }
.nav > a:hover { background: rgba(15,37,31,.07); }
.nav-mobile-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-tel { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 12px; border-radius: 9px; }
.header-tel:hover { background: rgba(15,37,31,.07); }
.header-tel svg { color: var(--accent); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid #D3DDD8; background: #fff; border-radius: 10px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--cream); margin-top: -84px; padding: 150px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.hero-tag { display: inline-block; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .88rem; padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 54ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-row .btn-outline svg { color: var(--accent); }
.ticks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--navy); }
.ticks svg { color: #fff; background: #3FA66B; border-radius: 50%; padding: 3px; width: 22px; height: 22px; flex-shrink: 0; }

.hero-photo { position: relative; justify-self: center; width: 100%; max-width: 360px; }
.hero-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; border: 8px solid #fff; box-shadow: 0 24px 50px -24px rgba(15,37,31,.45); }
.photo-card { position: absolute; left: -28px; bottom: -26px; background: #fff; border-radius: 14px; padding: 14px 20px; box-shadow: 0 14px 34px -12px rgba(15,37,31,.35); display: flex; flex-direction: column; line-height: 1.35; }
.photo-card strong { color: var(--navy); }
.photo-card span { font-size: .85rem; color: var(--muted); }
.photo-card a { font-weight: 700; color: var(--accent-dark); text-decoration: none; margin-top: 4px; }

/* ---------- Bande de confiance ---------- */
.trust { background: var(--navy); color: #B9CCC4; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { padding: 26px 22px; display: flex; flex-direction: column; border-left: 1px solid rgba(255,255,255,.12); }
.trust-grid div:first-child { border-left: 0; padding-left: 0; }
.trust-grid strong { color: #fff; font-size: 1.02rem; }
.trust-grid span { font-size: .88rem; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-cream { background: var(--cream); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.services article { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; transition: box-shadow .2s, transform .2s; }
.services article:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(15,37,31,.35); }
.ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: #E3F1EA; color: var(--accent-dark); margin-bottom: 18px; }
.services p { margin: 0; color: var(--muted); font-size: .96rem; }

.about { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: center; }
.about-photo img { width: 100%; max-width: 340px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid #fff; box-shadow: 0 24px 50px -24px rgba(15,37,31,.4); }
.chips { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: .9rem; font-weight: 500; color: var(--navy); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, #CFDDD6 0 8px, transparent 8px 16px); }
.steps li { text-align: center; position: relative; }
.num { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 1.25rem; display: grid; place-items: center; margin: 0 auto 18px; border: 6px solid #fff; box-sizing: content-box; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }

.faq { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 64px 22px 26px; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: #E3F1EA; color: var(--accent-dark); display: grid; place-items: center; font-size: 1.2rem; font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 26px 22px; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-boxes { display: grid; gap: 12px; margin-top: 28px; }
.contact-box { display: flex; flex-direction: column; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: #fff; transition: border-color .2s, box-shadow .2s; overflow-wrap: anywhere; }
.contact-box:hover { border-color: var(--accent); box-shadow: 0 10px 24px -16px rgba(15,37,31,.4); }
.contact-box span { font-size: .82rem; color: var(--muted); font-weight: 500; }
.contact-box strong { color: var(--navy); font-size: 1.08rem; }
.form { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: grid; gap: 14px; }
.form h3 { margin: 0 0 4px; font-size: 1.3rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--navy); }
.form input, .form select, .form textarea { font: 400 1rem var(--font); color: var(--navy); padding: 12px 14px; border: 1px solid #D3DDD8; border-radius: 10px; background: #fff; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .82rem; color: var(--muted); }
.form .consent input { width: auto; margin-top: 3px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 12px 14px; border-radius: 10px; font-size: .93rem; }
.notice-ok { background: #E6F5EC; color: #1B6A43; }
.notice-err { background: #FDECEC; color: #8A2323; }

/* ---------- CTA + Footer ---------- */
.cta-band { background: var(--navy); color: #B9CCC4; padding: 64px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; }
.cta-band .cta-row { margin-top: 0; }
.site-footer { background: var(--navy-dark); color: #8FA79E; padding: 56px 0 48px; font-size: .87rem; }
.site-footer a { color: #D8E6E0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 26px; }
.footer-name { color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-legal p { margin-bottom: .8em; }

/* ---------- Pages internes ---------- */
.page-content { padding: 72px 0 96px; }
.page-content h1 { margin-bottom: 36px; }
.prose h2 { font-size: 1.35rem; margin: 2em 0 .6em; }
.sim-page { background: linear-gradient(180deg, var(--cream) 0%, #fff 480px); margin-top: -84px; padding: 140px 0 96px; }
.sim-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.sim-head .lead { margin: 12px auto 0; }
.sim-frame { max-width: 960px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 12px; box-shadow: 0 30px 60px -36px rgba(15,37,31,.35); min-height: 420px; }
.sim-frame iframe { width: 100%; border: 0; border-radius: 12px; display: block; }
.sim-empty { min-height: 396px; display: grid; place-content: center; text-align: center; color: var(--muted); padding: 32px; }
.sim-empty p:first-child { color: var(--navy); font-weight: 700; font-size: 1.15rem; margin: 0; }
.sim-empty .btn { margin: 20px auto 0; }
.sim-help { text-align: center; margin-top: 28px; color: var(--muted); }
.sim-help a { font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .header-tel span { display: none; }
  .header-tel { padding: 10px; }
  .nav > a { padding: 9px 9px; font-size: .92rem; }
}
@media (max-width: 1080px) {
  .burger { display: flex; }
  .nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; border-radius: 16px;
    background: rgba(255,255,255,.96); border: 1px solid var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 24px 50px -20px rgba(15,37,31,.4); }
  .menu-open .nav { display: flex; }
  .nav > a { padding: 14px; font-size: 1.02rem; }
  .nav-mobile-cta { display: grid; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
  .services, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid div:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  body { font-size: 16px; }
  .hero { padding: 130px 0 70px; }
  .hero-grid, .about, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { max-width: 300px; justify-self: start; margin-left: 28px; }
  .about-photo img { max-width: 220px; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .site-header { padding: 10px 10px 0; }
  .header-bar { height: 64px; padding: 0 8px 0 12px; border-radius: 16px; gap: 8px; }
  .hero, .sim-page { margin-top: -74px; }
  .brand-text small { display: none; }
  .monogram { width: 38px; height: 38px; }
  .header-cta { padding: 10px 12px; font-size: .88rem; }
  .header-tel { display: none; }
  .burger { width: 42px; height: 42px; }
  .services, .steps, .form .row, .trust-grid, .footer-top { grid-template-columns: 1fr; }
  .trust-grid div { border-left: 0; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
  .trust-grid div:first-child { border-top: 0; }
  .cta-row .btn { width: 100%; }
  .form { padding: 22px; }
  .hero-photo { max-width: 240px; }
  .photo-card { left: -16px; }
}
@media (max-width: 380px) { .brand-text { font-size: .92rem; } }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .header-bar { background: rgba(255,255,255,.97); } }

/* Ajustements header mobile */
@media (max-width: 1080px) { .nav { background: #fff; } }
@media (max-width: 560px) {
  .brand { min-width: 0; flex-shrink: 1; gap: 8px; }
  .brand-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; font-size: .92rem; }
  .header-actions { gap: 6px; }
  .header-cta { padding: 10px 11px; font-size: .84rem; }
}
@media (max-width: 400px) {
  .monogram { width: 34px; height: 34px; font-size: .85rem; border-radius: 10px; }
  .brand-text { font-size: .86rem; }
  .header-bar { padding: 0 6px 0 10px; }
}

/* =========================================================
   v4 – Couleurs Pretto, style fintech, liquid glass visible
   ========================================================= */
body { background: #fff; }
h1, h2, h3 { color: #12241E; letter-spacing: -.025em; }
.monogram { background: linear-gradient(145deg, #2B6B57, #1D4D3F); }

/* Hero : fond doux avec halos verts pour que le verre se voie */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(38% 55% at 88% 18%, rgba(43,107,87,.22), transparent 70%),
    radial-gradient(30% 45% at 62% 95%, rgba(155,229,154,.30), transparent 70%),
    radial-gradient(35% 50% at 0% 0%, rgba(170,214,196,.45), transparent 70%),
    #F5F9F7;
}
.hero-tag { background: rgba(255,255,255,.7); border-color: #D6E5DD; color: #205545; backdrop-filter: blur(8px); }
.hero h1 { color: #12241E; }
.btn-primary { background: #2B6B57; box-shadow: 0 10px 24px -10px rgba(43,107,87,.75), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { background: #205545; }
.btn-outline { background: rgba(255,255,255,.8); }
.cta-row .btn-outline svg { color: #2B6B57; }
.badge-pretto { width: 210px; margin-top: 30px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 20px -14px rgba(15,37,31,.4); }

.hero-photo img { border-color: rgba(255,255,255,.9); }
.photo-card { background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%); }
.photo-card a { color: #2B6B57; }
.float-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; font-size: .84rem; font-weight: 600; color: #12241E;
  background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: inset 0 1px 0 #fff, 0 14px 30px -14px rgba(15,37,31,.45); white-space: nowrap; }
.float-chip svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #3FA66B; color: #fff; }
.chip-top { top: 26px; right: -34px; }
.chip-mid { top: 46%; right: -46px; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: #F2B33D; box-shadow: 0 0 0 4px rgba(242,179,61,.2); }

/* Header liquid glass renforcé */
.header-bar {
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.32));
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(14px) saturate(210%) brightness(1.06);
  -webkit-backdrop-filter: blur(14px) saturate(210%) brightness(1.06);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.95),
    inset 0 -1px 1px rgba(255,255,255,.35),
    inset 0 0 22px rgba(255,255,255,.35),
    0 1px 2px rgba(15,37,31,.06),
    0 14px 36px -16px rgba(15,37,31,.35);
}
.header-bar::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 28%, rgba(255,255,255,0) 72%, rgba(255,255,255,.45) 100%); opacity: .55; }
.header-bar::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,1), rgba(255,255,255,.15) 35%, rgba(43,107,87,.18) 65%, rgba(255,255,255,.9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.header-bar > * { position: relative; z-index: 1; }
.is-scrolled .header-bar { background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,.28)); }
.nav > a:hover, .header-tel:hover { background: rgba(43,107,87,.1); }
.header-tel svg { color: #2B6B57; }
.burger { background: rgba(255,255,255,.7); }

/* Défilement des banques */
.banks { background: #fff; padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.banks-title { text-align: center; margin: 0 0 18px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: ed-marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.bank { flex-shrink: 0; padding: 14px 26px; border: 1px solid var(--line); border-radius: 12px; background: #FAFCFB; font-weight: 700; font-size: 1.02rem; color: #5D6964; letter-spacing: -.01em; white-space: nowrap; }
@keyframes ed-marquee { to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Bandes sombres en vert profond */
.trust { background: #15332A; }
.cta-band { background: linear-gradient(135deg, #1D4D3F, #15332A); }
.btn-accent { background: #fff; color: #15332A; }
.btn-accent:hover { background: #E3F1EA; }
.site-footer { background: #0F251F; }
.footer-badge { width: 180px; margin-top: 14px; padding: 8px 12px; background: #fff; border-radius: 12px; }

/* Cartes plus "fintech" */
.services article { border-radius: 18px; box-shadow: 0 1px 2px rgba(15,37,31,.05); }
.ico { background: #E3F1EA; color: #2B6B57; border-radius: 12px; }
.num { background: #2B6B57; }
.faq summary::after { background: #E3F1EA; color: #2B6B57; }
.contact-box:hover { border-color: #2B6B57; }
.form { background: #F5F9F7; }

@media (max-width: 1080px) { .chip-top { right: -10px; } .chip-mid { right: -16px; } }
@media (max-width: 560px) {
  .float-chip { font-size: .76rem; padding: 8px 11px; }
  .chip-top { right: -12px; top: 14px; }
  .chip-mid { right: -18px; }
  .badge-pretto { width: 180px; }
}

/* Logos banques */
.marquee-track { gap: 18px; animation-duration: 45s; padding: 4px 0; }
.bank { padding: 0; width: 92px; height: 92px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 6px 16px -12px rgba(15,37,31,.35); overflow: hidden; }
.bank img { width: 72px; height: 72px; object-fit: contain; border-radius: 14px; }
@keyframes ed-marquee { to { transform: translateX(calc(-50% - 9px)); } }
@media (max-width: 560px) { .bank { width: 76px; height: 76px; border-radius: 16px; } .bank img { width: 58px; height: 58px; border-radius: 12px; } }

/* Logo Courtier by Pretto */
.brand .logo { width: 46px; height: 46px; border-radius: 11px; flex-shrink: 0; }
@media (max-width: 560px) { .brand .logo { width: 40px; height: 40px; border-radius: 10px; } }
@media (max-width: 400px) { .brand .logo { width: 36px; height: 36px; border-radius: 9px; } }

/* Sceau "Membre de Pretto Galaxie" : verre flottant sur la photo */
.pretto-seal {
  position: absolute; z-index: 3; top: -30px; left: -56px; width: 230px; padding: 16px 20px 14px;
  border-radius: 20px; transform: rotate(-5deg);
  background: linear-gradient(145deg, rgba(255,255,255,.78), rgba(255,255,255,.48));
  border: 1px solid rgba(255,255,255,.95);
  backdrop-filter: blur(16px) saturate(190%); -webkit-backdrop-filter: blur(16px) saturate(190%);
  box-shadow: inset 0 1px 1px #fff, inset 0 0 20px rgba(255,255,255,.5), 0 24px 48px -18px rgba(15,37,31,.45), 0 0 0 6px rgba(43,107,87,.06);
  animation: ed-float 6s ease-in-out infinite; overflow: hidden;
}
.pretto-seal img { width: 100%; height: auto; position: relative; z-index: 1; }
.pretto-seal::after { content: ""; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); transform: rotate(20deg);
  animation: ed-shine 5s ease-in-out infinite 1.2s; }
@keyframes ed-float { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(-8px); } }
@keyframes ed-shine { 0%, 60% { left: -60%; } 85%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .pretto-seal, .pretto-seal::after { animation: none; } }
@media (max-width: 800px) { .pretto-seal { left: -20px; top: -26px; width: 190px; } }
@media (max-width: 560px) { .pretto-seal { left: -12px; top: -30px; width: 165px; padding: 12px 14px 10px; border-radius: 16px; } }
.hero-photo .pretto-seal img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; filter: none; }

/* Sceau Pretto plus compact */
.pretto-seal { width: 158px; padding: 10px 13px 9px; border-radius: 14px; top: -20px; left: -38px; }
@media (max-width: 800px) { .pretto-seal { width: 140px; left: -16px; top: -20px; } }
@media (max-width: 560px) { .pretto-seal { width: 124px; padding: 8px 10px 7px; border-radius: 12px; left: -10px; top: -22px; } }

/* Header : place suffisante pour tous les éléments (le bouton ne déborde plus) */
.header-bar { max-width: 1300px; }
.header-bar > .nav { min-width: 0; }
@media (max-width: 1340px) {
  .header-tel span { display: none; }
  .header-tel { padding: 10px; }
}

/* =========================================================
   Page Simulation – v2 (confiance)
   ========================================================= */
.sim-page {
  margin-top: -84px; padding: 140px 0 0;
  background:
    radial-gradient(40% 380px at 85% 0%, rgba(43,107,87,.18), transparent 70%),
    radial-gradient(35% 320px at 5% 10%, rgba(155,229,154,.28), transparent 70%),
    linear-gradient(180deg, #F3F8F5 0%, #fff 620px);
}
.sim-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.sim-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin-bottom: 14px; }
.sim-head .lead { margin: 0 auto; color: var(--muted); }
.sim-pills { list-style: none; padding: 0; margin: 26px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.sim-pills li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: #15332A;
  background: rgba(255,255,255,.75); border: 1px solid #D9E7E0; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sim-pills svg { color: #2B6B57; }

.sim-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.sim-frame { max-width: none; margin: 0; padding: 10px; border-radius: 24px; min-height: 560px;
  background: #fff; border: 1px solid #DCE8E2;
  box-shadow: 0 0 0 6px rgba(43,107,87,.05), 0 40px 80px -40px rgba(15,37,31,.45); }
.sim-frame iframe { border-radius: 16px; }

.sim-side { position: sticky; top: 104px; display: grid; gap: 16px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 12px 30px -24px rgba(15,37,31,.4); }
.advisor-top { display: flex; align-items: center; gap: 14px; }
.advisor-top img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #E3F1EA; flex-shrink: 0; }
.advisor-top strong { display: block; color: #12241E; font-size: 1.08rem; }
.advisor-top span { font-size: .86rem; color: var(--muted); }
.advisor-badge { width: 150px; margin: 16px 0 4px; }
.advisor-quote { font-size: .95rem; color: var(--text); font-style: italic; margin: 10px 0 16px; padding-left: 12px; border-left: 3px solid #2B6B57; }
.advisor .btn-outline svg { color: #2B6B57; }

.side-title { font-size: 1.05rem; margin-bottom: 14px; }
.side-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.side-steps li { counter-increment: s; position: relative; padding-left: 44px; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.side-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: #E3F1EA; color: #2B6B57; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.side-steps strong { display: block; color: #12241E; font-size: .96rem; }

.side-trust { background: #15332A; border-color: #15332A; color: #D5E5DE; }
.side-trust ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: .9rem; line-height: 1.45; }
.side-trust li { display: flex; gap: 10px; align-items: flex-start; }
.side-trust svg { flex-shrink: 0; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #3FA66B; color: #fff; margin-top: 1px; }
.side-trust em { color: #9FC2B4; font-style: normal; }

.sim-banks { margin-top: 72px; border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
  .sim-layout { grid-template-columns: 1fr; }
  .sim-side { position: static; grid-template-columns: repeat(2, 1fr); }
  .sim-side .side-trust { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .sim-page { padding-top: 112px; }
  .sim-side { grid-template-columns: 1fr; }
  .sim-frame { padding: 6px; border-radius: 18px; }
  .sim-pills li { font-size: .85rem; padding: 8px 13px; }
}
@media (max-width: 560px) { .sim-page { margin-top: -74px; } }

/* Page Simulation : 2 blocs à droite, même hauteur que le simulateur */
.sim-layout { align-items: stretch; }
.sim-side { position: static; display: flex; flex-direction: column; gap: 16px; }
.sim-side .advisor { padding: 20px; }
.advisor-badge { width: 140px; margin: 14px 0 14px; }
.side-next { flex: 1; display: flex; flex-direction: column; background: #15332A; border-color: #15332A; color: #CFE0D8; padding: 22px; }
.side-next .side-title { color: #fff; }
.side-next .side-steps { gap: 12px; }
.side-next .side-steps li { color: #A9C4B8; font-size: .88rem; padding-left: 40px; }
.side-next .side-steps li::before { background: rgba(255,255,255,.12); color: #fff; width: 28px; height: 28px; }
.side-next .side-steps strong { color: #fff; font-size: .95rem; }
.side-guarantees { list-style: none; margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 10px; font-size: .86rem; line-height: 1.4; }
.side-next .side-steps { margin-bottom: 20px; }
.side-guarantees li { display: flex; gap: 10px; align-items: flex-start; }
.side-guarantees svg { flex-shrink: 0; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #3FA66B; color: #fff; }
.side-guarantees em { color: #8FB3A4; font-style: normal; }
@media (max-width: 1000px) { .sim-side { display: grid; grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .sim-side { grid-template-columns: 1fr; } }

/* Bloc vert : l'espace libre est réparti entre les étapes au lieu d'un trou avant les garanties */
.side-next .side-steps { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; gap: 14px; margin-bottom: 18px; }
.side-guarantees { margin-top: 0; }

/* Correctif menu mobile : le panneau doit sortir sous la barre, pleine largeur */
@media (max-width: 1080px) {
  .header-bar > .nav {
    position: absolute; z-index: 50; top: calc(100% + 8px); left: 0; right: 0; width: auto;
    display: none; flex-direction: column; align-items: stretch;
    max-height: calc(100vh - 110px); overflow-y: auto;
    background: #fff;
  }
  .site-header.menu-open .header-bar > .nav { display: flex; }
  .nav-mobile-cta .btn { white-space: normal; }
}
