/* Carmel Cover — cc-ux.css : styles de la couche d'optimisation des tunnels */
.cc-hide { display: none !important; }
.cc-link { background: none; border: 0; padding: 0; font: inherit; font-size: .78rem; color: var(--terracotta, #C85A2E); text-decoration: underline; cursor: pointer; }
.cc-link:hover { color: var(--ink, #1A1714); }
.cc-note { font-size: .74rem; color: var(--ink-light, #3D3830); background: var(--sand, #F5F0E8); border-radius: 10px; padding: .55rem .8rem; margin: .5rem 0 .9rem; line-height: 1.5; }
.cc-legal { font-size: .66rem; color: var(--muted, #8A8278); line-height: 1.5; margin-top: .4rem; font-weight: 300; }

/* Barre de progression (tunnel santé) */
.cc-prog { height: 4px; background: var(--border, rgba(26,23,20,.12)); border-radius: 4px; margin-top: .9rem; overflow: hidden; }
.cc-prog-fill { height: 100%; background: var(--terracotta, #C85A2E); border-radius: 4px; transition: width .35s ease; width: 0; }

/* Écran « Que souhaitez-vous assurer ? » */
.cc-entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1rem; }
.cc-entry-card { display: flex; align-items: center; gap: .7rem; text-align: left; padding: .85rem .9rem; border: 1.5px solid var(--border, rgba(26,23,20,.12)); border-radius: 14px; background: #fff; cursor: pointer; font: inherit; color: var(--ink, #1A1714); transition: border-color .15s, transform .15s, box-shadow .15s; }
.cc-entry-card:hover, .cc-entry-card:focus-visible { border-color: var(--terracotta, #C85A2E); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(200,90,46,.12); outline: none; }
.cc-entry-card .cc-e-ico { font-size: 1.45rem; flex: 0 0 auto; }
.cc-entry-card strong { display: block; font-size: .86rem; font-weight: 700; line-height: 1.25; }
.cc-entry-card small { display: block; font-size: .7rem; color: var(--muted, #8A8278); margin-top: .15rem; line-height: 1.35; }
.cc-entry-card.cc-entry-main { grid-column: 1 / -1; background: var(--ink, #1A1714); color: #fff; border-color: var(--ink, #1A1714); }
.cc-entry-card.cc-entry-main small { color: rgba(255,255,255,.7); }
.cc-entry-card.cc-entry-main .cc-badge { margin-left: auto; font-size: .62rem; font-weight: 700; background: var(--terracotta, #C85A2E); color: #fff; border-radius: 99px; padding: .2rem .55rem; white-space: nowrap; }
.cc-entry-card.cc-entry-other { grid-column: 1 / -1; background: transparent; border-style: dashed; padding: .6rem .9rem; }
@media (max-width: 520px) { .cc-entry-grid { grid-template-columns: 1fr; } }

/* « Qui souhaitez-vous assurer ? » */
.cc-who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.cc-who-card { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .7rem .4rem; border: 1.5px solid var(--border, rgba(26,23,20,.12)); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; font-size: .76rem; font-weight: 600; color: var(--ink, #1A1714); text-align: center; line-height: 1.25; transition: border-color .15s, background .15s; }
.cc-who-card:hover { border-color: var(--terracotta, #C85A2E); }
.cc-who-card.sel { border-color: var(--terracotta, #C85A2E); background: rgba(200,90,46,.07); box-shadow: inset 0 0 0 1px var(--terracotta, #C85A2E); }
.cc-who-ico { font-size: 1.35rem; }
@media (max-width: 520px) { .cc-who-grid { grid-template-columns: 1fr 1fr; } }
.cc-kids { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .7rem; font-size: .8rem; color: var(--ink-light, #3D3830); }
.cc-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--border, rgba(26,23,20,.12)); border-radius: 99px; overflow: hidden; background: #fff; }
.cc-stepper button { width: 36px; height: 34px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--ink, #1A1714); }
.cc-stepper button:hover { background: var(--sand, #F5F0E8); }
.cc-stepper output { min-width: 28px; text-align: center; font-weight: 700; font-size: .9rem; }

/* Date d'effet repliée, régime déduit */
.cc-effet, .cc-derived { font-size: .8rem; color: var(--ink-light, #3D3830); background: var(--sand, #F5F0E8); border-radius: 10px; padding: .6rem .85rem; margin: .2rem 0 1rem; line-height: 1.5; }
.cc-effet strong, .cc-derived strong { color: var(--ink, #1A1714); }
.cc-abroad { display: inline-block; margin-top: .35rem; font-size: .72rem; }

/* Puces (revenus, créneaux) */
.cc-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.cc-chips button { border: 1.5px solid var(--border, rgba(26,23,20,.12)); background: #fff; border-radius: 99px; padding: .32rem .75rem; font: inherit; font-size: .74rem; cursor: pointer; color: var(--ink, #1A1714); }
.cc-chips button:hover { border-color: var(--terracotta, #C85A2E); }
.cc-chips button.sel { border-color: var(--terracotta, #C85A2E); background: rgba(200,90,46,.08); font-weight: 600; }

/* Intention : souscrire / être rappelé */
.cc-intent { margin: .25rem 0 1.1rem; }
.cc-intent-q { font-size: .8rem; font-weight: 700; color: var(--ink, #1A1714); margin-bottom: .5rem; }
.cc-intent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.cc-intent-btn { text-align: left; padding: .7rem .8rem; border: 1.5px solid var(--border, rgba(26,23,20,.12)); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; color: var(--ink, #1A1714); }
.cc-intent-btn strong { display: block; font-size: .8rem; }
.cc-intent-btn span { display: block; font-size: .68rem; color: var(--muted, #8A8278); margin-top: .15rem; }
.cc-intent-btn.sel { border-color: var(--terracotta, #C85A2E); background: rgba(200,90,46,.07); box-shadow: inset 0 0 0 1px var(--terracotta, #C85A2E); }
.cc-creneau { margin-top: .75rem; }
@media (max-width: 520px) { .cc-intent-grid { grid-template-columns: 1fr; } }

/* Reprise */
.cc-resume { font-size: .76rem; background: #EEF5F0; color: var(--success, #2D7A45); padding: .55rem 1.25rem; display: flex; gap: .75rem; align-items: center; justify-content: space-between; }

/* Bouton fixe mobile */
.cc-sticky { display: none; }
@media (max-width: 768px) {
  .cc-sticky { display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 250; padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom)); background: rgba(250,247,242,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--border, rgba(26,23,20,.12)); transform: translateY(110%); transition: transform .25s ease; }
  .cc-sticky.show { transform: translateY(0); }
  .cc-sticky-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: var(--terracotta, #C85A2E); color: #fff; font: inherit; font-weight: 700; font-size: .92rem; padding: .55rem .75rem; cursor: pointer; line-height: 1.2; }
  .cc-sticky-main small { font-weight: 400; font-size: .68rem; opacity: .85; }
  .cc-sticky-wa { flex: 0 0 52px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #25D366; color: #fff; }
  body.cc-has-sticky { padding-bottom: 76px; }
  body.cc-has-sticky #wa-fab, body.cc-has-sticky #wa-popup { display: none !important; }
  body.cc-funnel-open .cc-sticky { display: none; }
}

/* Compteur du tunnel pack : ne pas passer sous le bouton de fermeture */
.devis-header .prog-row { padding-right: 2.9rem; }
#prog-lbl { white-space: nowrap; }

/* Bandeau de consentement (CNIL : Accepter et Refuser au même niveau) */
.cc-consent { position: fixed; z-index: 9995; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; background: var(--cream, #FAF7F2); color: var(--ink, #1A1714); border: 1px solid var(--border, rgba(26,23,20,.12)); border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,.18); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .75rem; font-size: .8rem; line-height: 1.5; }
.cc-consent p { margin: 0; }
.cc-consent a { color: var(--terracotta, #C85A2E); }
.cc-consent-btns { display: flex; gap: .5rem; }
.cc-consent-btns button { flex: 1; padding: .6rem .8rem; border-radius: 10px; font: inherit; font-weight: 700; font-size: .82rem; cursor: pointer; border: 1.5px solid var(--ink, #1A1714); background: var(--ink, #1A1714); color: #fff; }
.cc-consent-btns button:hover { background: var(--terracotta, #C85A2E); border-color: var(--terracotta, #C85A2E); }
body.cc-funnel-open .cc-consent { display: none; }
body.cc-consent-open .cc-sticky { display: none !important; }
body.cc-consent-open #wa-fab { display: none !important; }
.cc-cookie-link { margin-left: 1rem; font-size: inherit; color: inherit; opacity: .75; }

/* Tarifs APRIL (cc-tarifs.js) */
.cc-test-badge { display: inline-block; background: #FDECC8; color: #7A4B00; border-radius: 6px; padding: .1rem .45rem; font-size: .68rem; font-weight: 700; margin-right: .35rem; }
.cc-april-loading { grid-column: 1 / -1; text-align: center; padding: 2rem 1rem; color: var(--muted, #8A8278); font-size: .85rem; }
.cc-april-rows { list-style: none; padding: 0; margin: .5rem 0; font-size: .72rem; }
.cc-april-rows li { display: flex; justify-content: space-between; gap: .5rem; padding: .18rem 0; border-bottom: 1px dashed var(--border, rgba(26,23,20,.12)); }
.cc-april-rows li span { color: var(--muted, #8A8278); }
.cc-april-prev { margin-top: .75rem; font-size: .78rem; }
.cc-pf-april { width: 100%; margin-top: .4rem; text-align: left; }
.cc-pf-april span { display: block; font-size: .7rem; opacity: .8; margin-top: .15rem; }

/* Lien simulateur dans le hero de l'accueil */
.cc-hero-sim { display: inline-block; margin-top: 1.1rem; font-size: .85rem; color: rgba(255,255,255,.85); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; }
.cc-hero-sim:hover { color: #fff; border-bottom-color: var(--terracotta, #C85A2E); }

/* Bloc « Testez avant de souscrire » (mutuelle TNS, pack freelance) */
.ccsell .ccsell-lead { font-size: 1.02rem; line-height: 1.7; color: var(--ink-light, #3D3830); max-width: 820px; margin: 0 0 2rem; font-weight: 300; }
.ccsell .ccsell-lead strong { font-weight: 700; color: var(--ink, #1A1714); }
.ccsell-args { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.ccsell-arg { background: #fff; border: 1px solid var(--border, rgba(26,23,20,.12)); border-radius: 18px; padding: 1.4rem; }
.ccsell-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(200,90,46,.1); color: var(--terracotta, #C85A2E); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 800; margin-bottom: .9rem; }
.ccsell-arg h3 { font-size: 1rem; font-weight: 800; margin: 0 0 .45rem; letter-spacing: -.01em; }
.ccsell-arg p { font-size: .86rem; line-height: 1.65; color: var(--ink-light, #3D3830); margin: 0; font-weight: 300; }
.ccsell-cases { background: var(--ink, #1A1714); color: #fff; border-radius: 20px; padding: 1.6rem; margin-bottom: 2rem; }
.ccsell-cases-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.ccsell-cases-head h3 { font-size: 1.05rem; margin: 0; font-weight: 800; }
.ccsell-cases-head span { font-size: .72rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; }
.ccsell-table-wrap { overflow-x: auto; }
.ccsell-cases table { width: 100%; border-collapse: collapse; font-size: .84rem; min-width: 520px; }
.ccsell-cases th { text-align: right; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.55); font-weight: 600; padding: .5rem; }
.ccsell-cases th:first-child, .ccsell-cases td:first-child { text-align: left; }
.ccsell-cases td { text-align: right; padding: .7rem .5rem; border-top: 1px solid rgba(255,255,255,.1); font-weight: 700; white-space: nowrap; }
.ccsell-cases td:first-child { white-space: normal; font-weight: 500; }
.ccsell-cases td small { display: block; color: rgba(255,255,255,.5); font-size: .7rem; font-weight: 400; margin-top: .15rem; }
.ccsell-cases td:nth-child(3) { color: var(--terracotta-light, #E87A50); }
.ccsell-note { font-size: .7rem; color: rgba(255,255,255,.5); margin: .9rem 0 0; line-height: 1.5; }
.ccsell-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 0; margin: 0 0 2rem; }
.ccsell-steps li { counter-increment: s; position: relative; padding: 1rem 1rem 1rem 3.4rem; background: var(--sand, #F5F0E8); border-radius: 14px; font-size: .84rem; }
.ccsell-steps li::before { content: counter(s); position: absolute; left: 1rem; top: 1rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--terracotta, #C85A2E); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .82rem; }
.ccsell-steps strong { display: block; margin-bottom: .2rem; }
.ccsell-steps span { color: var(--ink-light, #3D3830); font-weight: 300; line-height: 1.5; }
.ccsell-sim { margin-bottom: 1.6rem; scroll-margin-top: 90px; }
.ccsell-cta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; justify-content: center; }
.ccsell-btn { border: 0; border-radius: 12px; background: var(--terracotta, #C85A2E); color: #fff; font: inherit; font-weight: 700; font-size: .95rem; padding: .9rem 1.5rem; cursor: pointer; }
.ccsell-btn:hover { background: var(--ink, #1A1714); }
.ccsell-link { font-size: .85rem; color: var(--ink-light, #3D3830); }
@media (max-width: 860px) { .ccsell-args, .ccsell-steps { grid-template-columns: 1fr; } .ccsell-cases { padding: 1.1rem; } }
