/* com-pages.css — pattern pages commerciales (Particuliers · Entreprises · Collectivités)
   Issu de la maquette Claude Design "Maquette-page-commerciale.html" */

/* HERO + SIMULATOR */
.com-hero { position: relative; min-height: 580px; background: linear-gradient(135deg, var(--green-deep) 0%, var(--ink) 100%); color: #fff; padding: 60px 0; overflow: hidden; }
.com-hero::before { content: ""; position: absolute; top: -150px; right: -150px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(240,168,46,.15), transparent 70%); border-radius: 50%; pointer-events: none; }
.com-hero .container { position: relative; z-index: 1; }
.com-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .com-hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.com-hero .sec-tag { display:inline-block; padding:6px 14px; border-radius:999px; font-size:12px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; background: rgba(123,193,66,.14); color: var(--green-vif); border:1px solid rgba(123,193,66,.3); }
.com-hero .breadcrumb { color: rgba(255,255,255,.55); font-size: 13px; margin-bottom: 20px; }
.com-hero .breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.com-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -.025em; margin: 14px 0 22px; }
.com-hero h1 .serif { color: var(--yellow); font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }
.com-hero .lead { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.85); max-width: 50ch; margin-bottom: 28px; }
.com-hero-points { list-style: none; display: grid; gap: 12px; margin: 0 0 32px; padding: 0; }
.com-hero-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(255,255,255,.85); }
.com-hero-points li::before { content: "\2713"; flex-shrink: 0; width: 22px; height: 22px; background: var(--green-vif); color: var(--ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11px; }
.com-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.com-hero-cta .btn { padding: 14px 28px; }
.com-hero-cta .btn-primary { background: var(--yellow); color: var(--ink); border: 0; }
.com-hero-cta .btn-primary:hover { background: #fff; }
.com-hero-cta .btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.com-hero-cta .btn-ghost:hover { background: rgba(255,255,255,.1); }

/* SIMULATOR CARD */
.sim-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 32px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); }
.sim-card-head { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sim-card-head .ic { width: 42px; height: 42px; background: rgba(91,162,45,.1); color: var(--green); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sim-card-head strong { display: block; font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--ink); }
.sim-card-head small { display: block; font-size: 12px; color: var(--ink-faded); margin-top: 2px; }
.sim-grp { margin-bottom: 18px; }
.sim-grp label { display: block; font-size: 12px; font-weight: 700; color: var(--ink); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.sim-grp input, .sim-grp select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--display); font-size: 14px; color: var(--ink); background: #fff; box-sizing: border-box; }
.sim-tabs { display: flex; gap: 6px; background: var(--paper-alt); padding: 4px; border-radius: 10px; margin-bottom: 18px; }
.sim-tab { flex: 1; padding: 9px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-soft); font-family: var(--display); font-size: 13px; font-weight: 600; cursor: pointer; }
.sim-tab.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.sim-result { background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%); color: #fff; padding: 22px; border-radius: 12px; margin-bottom: 18px; }
.sim-result .price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.sim-result .price strong { font-family: var(--display); font-size: 36px; font-weight: 800; letter-spacing: -.02em; color: var(--yellow); }
.sim-result .price span { font-size: 14px; color: rgba(255,255,255,.7); }
.sim-result p { font-size: 13px; color: rgba(255,255,255,.85); margin-top: 8px; line-height: 1.5; }
.sim-btn { width: 100%; padding: 14px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; font-family: var(--display); font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; text-align: center; }
.sim-btn:hover { background: var(--green-deep); }

/* BENEFITS GRID */
.com-bnf { padding: 90px 0; background: var(--paper); }
.com-bnf-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.com-bnf-head h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-bottom: 14px; line-height: 1.15; }
.com-bnf-head h2 .serif { color: var(--green); font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }
.com-bnf-head p { font-size: 17px; color: var(--ink-soft); line-height: 1.65; }
.com-bnf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1000px) { .com-bnf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .com-bnf-grid { grid-template-columns: 1fr; } }
.com-bnf-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px; transition: transform .35s, box-shadow .35s, border-color .35s; }
.com-bnf-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -16px rgba(0,0,0,.1); border-color: var(--green); }
.com-bnf-card .ic { width: 52px; height: 52px; background: rgba(91,162,45,.1); color: var(--green); border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.com-bnf-card h3 { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -.01em; }
.com-bnf-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* OFFERS COMPARISON */
.com-offers { padding: 90px 0; background: var(--paper-alt); }
.com-offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1080px; margin: 0 auto; }
@media (max-width: 900px) { .com-offers-grid { grid-template-columns: 1fr; } .offer-card.featured { transform: none; } }
.offer-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px 32px; display: flex; flex-direction: column; position: relative; }
.offer-card.featured { border: 2px solid var(--green); transform: scale(1.04); box-shadow: 0 22px 44px -18px rgba(91,162,45,.18); }
.offer-card.featured::before { content: "\2605 Le plus choisi"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; padding: 5px 14px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.offer-card h3 { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 4px; letter-spacing: -.01em; }
.offer-card .desc { font-size: 13px; color: var(--ink-faded); margin-bottom: 24px; }
.offer-card .price { font-family: var(--display); font-size: 38px; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.025em; margin-bottom: 4px; }
.offer-card .price small { font-size: 14px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.offer-card .unit { font-size: 12px; color: var(--ink-faded); margin-bottom: 22px; }
.offer-card ul { list-style: none; padding: 22px 0 0; margin: 22px 0 28px; border-top: 1px solid var(--line); flex: 1; }
.offer-card li { font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; padding-left: 26px; position: relative; line-height: 1.5; }
.offer-card li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; background: rgba(91,162,45,.12); color: var(--green); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.offer-card .btn { width: 100%; text-align: center; padding: 14px; box-sizing: border-box; }
.offer-card.featured .btn { background: var(--green); color: #fff; border: 0; }
.offer-card.featured .btn:hover { background: var(--green-deep); }
.offer-card .btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.offer-card .btn-ghost:hover { background: var(--ink); color: #fff; }

/* TRUST STRIP */
.com-trust { padding: 60px 0; background: var(--ink); color: #fff; }
.com-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
@media (max-width: 800px) { .com-trust-grid { grid-template-columns: repeat(2, 1fr); } }
.com-trust-grid > div strong { display: block; font-family: var(--display); font-size: 38px; font-weight: 800; color: var(--yellow); line-height: 1; letter-spacing: -.025em; margin-bottom: 6px; }
.com-trust-grid > div small { font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }

/* FAQ */
.com-faq { padding: 80px 0; background: var(--paper); }
.com-faq h2 { font-family: var(--display); font-size: 32px; font-weight: 800; color: var(--ink); margin-bottom: 32px; letter-spacing: -.02em; text-align: center; }
.com-faq h2 .serif { color: var(--green); font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin: 0 auto 12px; max-width: 800px; }
.faq-q { padding: 20px 24px; font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-q::after { content: "+"; color: var(--green); font-size: 24px; font-weight: 600; transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; font-size: 14px; color: var(--ink-soft); line-height: 1.65; display: none; }
.faq-item.open .faq-a { display: block; }

