/* Page Cas clients : résultats réels 2026 */
.cc-hero { padding-bottom: 24px; background: linear-gradient(180deg, #F5F7FF 0%, #fff 100%); }
.cc-bc { margin-bottom: 18px; font-size: 0.82rem; color: var(--text-muted); }
.cc-bc a { color: var(--text-muted); }
.cc-hero h1 { max-width: 820px; margin: 8px 0 16px; }
.cc-lead { max-width: 820px; margin: 0; font-size: 1.05rem; line-height: 1.65; color: #3C4257; }
.cc-lead b { color: #11163A; }
.cc-tot { display: grid; grid-template-columns: repeat(4, 1fr); margin: 34px 0 0; padding: 22px 0; list-style: none; border-top: 1px solid #E6E9F2; border-bottom: 1px solid #E6E9F2; }
.cc-tot li { padding: 0 20px; border-left: 1px solid #E6E9F2; }
.cc-tot li:first-child { padding-left: 0; border-left: 0; }
.cc-tot b { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 2.3rem; line-height: 1.1; background: linear-gradient(90deg, #304BFE, #3ACF91); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cc-tot span { display: block; margin-top: 6px; font-size: 0.86rem; line-height: 1.4; color: var(--text-muted); }

.cc-list { padding-top: 32px; }
.cc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cc-card { display: flex; flex-direction: column; border: 1px solid #E6E9F2; border-radius: 16px; background: #fff; overflow: hidden; }
.cc-card.big { grid-column: 1 / -1; background: linear-gradient(160deg, #F2F5FF 0%, #fff 55%); border-color: #D9E0FF; }
.cc-shot { margin: 0; padding: 18px 18px 0; background: linear-gradient(150deg, #EEF1FF, #E8F8F1); }
.cc-shot img { display: block; width: 100%; height: 170px; object-fit: cover; object-position: top; border-radius: 8px 8px 0 0; box-shadow: 0 8px 22px rgba(17, 22, 58, 0.12); }
.cc-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.cc-k { margin: 0 0 8px; font-size: 0.8rem; color: var(--text-muted); }
.cc-k span { display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 20px; background: #304BFE; color: #fff; font-size: 0.72rem; font-weight: 600; }
.cc-card h3 { margin: 0 0 6px; font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: #11163A; }
.cc-card.big h3 { font-size: 1.6rem; }
.cc-opp { margin: 0 0 12px; font-size: 0.9rem; color: #3C4257; }
.cc-opp b { margin-right: 4px; font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; color: #11163A; }
.cc-card.big .cc-opp b { font-size: 2.6rem; background: linear-gradient(90deg, #304BFE, #3ACF91); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cc-opp small { color: var(--text-muted); font-size: 0.9rem; }
.cc-start, .cc-todo { margin: 0 0 14px; font-size: 0.86rem; line-height: 1.5; color: var(--text-muted); }
.cc-start b, .cc-todo b { display: block; margin-bottom: 2px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.cc-start b { color: #11163A; }
.cc-todo { margin: auto 0 0; padding: 12px 14px; border-radius: 10px; background: #F5F7FF; color: #3C4257; }
.cc-todo b { color: #304BFE; }
.cc-bars { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.cc-bars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 0.84rem; }
.cc-l { color: #3C4257; }
.cc-v { white-space: nowrap; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.cc-v b { color: #11163A; }
.cc-v em { margin-left: 8px; padding: 2px 7px; border-radius: 6px; background: #E6F8F0; color: #128A5E; font-style: normal; font-weight: 700; font-size: 0.76rem; }
.cc-b { grid-column: 1 / -1; position: relative; display: block; height: 18px; }
.cc-b i { position: absolute; left: 0; height: 7px; border-radius: 4px; }
.cc-b .o { top: 0; background: #DDE2F0; }
.cc-b .n { bottom: 0; background: linear-gradient(90deg, #304BFE, #3ACF91); }
.cc-pts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 14px; padding: 0; list-style: none; }
.cc-pts b { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; line-height: 1.1; background: linear-gradient(90deg, #304BFE, #3ACF91); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cc-pts span { font-size: 0.78rem; color: var(--text-muted); }
.cc-more { margin: 24px 0 0; text-align: center; font-size: 0.86rem; color: var(--text-muted); }

.cc-method { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.cc-method h2 { margin: 6px 0 12px; }
.cc-method ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.cc-method li { padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid #E6E9F2; font-size: 0.9rem; line-height: 1.5; color: #3C4257; }
.cc-method li b { display: block; margin-bottom: 2px; color: #11163A; }
.cc-faq details { border-bottom: 1px solid #E6E9F2; }
.cc-faq summary { padding: 18px 0; font-weight: 600; color: #11163A; cursor: pointer; }
.cc-faq p { margin: 0 0 18px; line-height: 1.65; color: #3C4257; }
.cc-end { max-width: 760px; text-align: center; }
.cc-end p { margin: 10px 0 22px; color: var(--text-muted); }
.cc-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

@media (max-width: 1000px) {
  .cc-grid { grid-template-columns: 1fr 1fr; }
  .cc-tot { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .cc-tot li:nth-child(3) { padding-left: 0; border-left: 0; }
  .cc-method { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cc-grid { grid-template-columns: 1fr; }
  .cc-card.big { grid-column: auto; }
  .cc-tot b { font-size: 1.8rem; }
}

/* Ce que les clients nous confient */
.cc-offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cc-offer-grid > div { display: flex; flex-direction: column; padding: 22px; border-radius: 14px; background: #fff; border: 1px solid #E6E9F2; }
.cc-offer-grid b { font-family: var(--font-heading); font-weight: 700; font-size: 1.08rem; line-height: 1.3; color: #11163A; }
.cc-offer-grid p { flex: 1; margin: 8px 0 14px; font-size: 0.88rem; line-height: 1.55; color: var(--text-muted); }
.cc-offer-grid span { align-self: flex-start; padding: 4px 10px; border-radius: 8px; background: #F0F4FF; color: #304BFE; font-size: 0.8rem; font-weight: 600; }
.cc-serv { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.cc-serv li { padding: 3px 9px; border-radius: 6px; background: #F4F6FB; color: #3C4257; font-size: 0.74rem; font-weight: 500; }
@media (max-width: 1000px) { .cc-offer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cc-offer-grid { grid-template-columns: 1fr; } }

.cc-card.big .cc-pts b { font-size: 1.8rem; }
.cc-x16 { display: flex; align-items: center; gap: 18px; margin: 4px 0 18px; padding: 18px 22px; border-radius: 14px; background: #fff; border: 1px solid #D9E0FF; box-shadow: 0 10px 28px rgba(48, 75, 254, 0.1); }
.cc-x16 b { font-family: var(--font-heading); font-weight: 700; font-size: 3.6rem; line-height: 1; background: linear-gradient(90deg, #304BFE, #3ACF91); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cc-x16 span { font-size: 0.95rem; line-height: 1.45; color: #3C4257; }

/* Grand cas : pleine largeur, contexte à gauche, chiffres à droite */
.cc-card.big .cc-body { padding: 32px; }
.cc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.cc-ctx { display: flex; flex-direction: column; }
.cc-nums { display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: 16px; background: #fff; border: 1px solid #E6E9F2; box-shadow: 0 12px 32px rgba(17, 22, 58, 0.06); }
.cc-card.big .cc-bars { gap: 18px; margin: 0; }
.cc-card.big .cc-pts { margin: 0; padding-top: 18px; border-top: 1px solid #E6E9F2; gap: 10px 40px; }
.cc-card.big .cc-pts b { font-size: 1.9rem; }
.cc-card.big .cc-todo { margin: auto 0 0; }
.cc-card.big .cc-serv { margin-bottom: 18px; }
@media (max-width: 900px) { .cc-cols { grid-template-columns: 1fr; gap: 22px; } .cc-card.big .cc-body { padding: 22px; } }
/* Extrait d'avis Google du client */
.cc-q { margin: 0 0 14px; padding: 14px 16px 14px 18px; border-left: 3px solid #3ACF91; border-radius: 0 10px 10px 0; background: #F5FBF8; }
.cc-q p { margin: 0; font-size: 0.9rem; line-height: 1.55; font-style: italic; color: #11163A; }
.cc-q cite { display: block; margin-top: 6px; font-size: 0.76rem; font-style: normal; color: var(--text-muted); }
.cc-card.big .cc-q { margin-top: auto; }
.cc-card.big .cc-q p { font-size: 1.02rem; }
/* Les 4 leviers */
.cc-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: linear-gradient(135deg, #304BFE, #3ACF91); color: #fff; }
.cc-offer-grid > div { transition: box-shadow .2s, transform .2s; }
.cc-offer-grid > div:hover { box-shadow: 0 14px 34px rgba(17, 22, 58, 0.08); transform: translateY(-2px); }
.cc-offer-grid span { background: #E6F8F0; color: #128A5E; white-space: nowrap; }
/* Votre secteur ? */
.cc-sector { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 28px; padding: 28px 32px; border-radius: 16px; background: linear-gradient(135deg, #304BFE, #3ACF91); color: #fff; }
.cc-sector b { display: block; font-family: var(--font-heading); font-size: 1.35rem; }
.cc-sector p { margin: 6px 0 0; max-width: 680px; font-size: 0.92rem; line-height: 1.55; opacity: .95; }
.cc-sector .btn { flex-shrink: 0; background: #fff; color: #304BFE; border-color: #fff; }
@media (max-width: 760px) { .cc-sector { flex-direction: column; align-items: flex-start; padding: 24px; } }
.cc-offer-grid .cc-ic { align-self: flex-start; padding: 0; border-radius: 12px; background: linear-gradient(135deg, #304BFE, #3ACF91); color: #fff; }
a.cc-shot { position: relative; display: block; margin: 0; padding: 18px 18px 0; background: linear-gradient(150deg, #EEF1FF, #E8F8F1); text-decoration: none; }
a.cc-shot span { position: absolute; right: 26px; bottom: 10px; padding: 4px 10px; border-radius: 20px; background: #11163A; color: #fff; font-size: 0.74rem; font-weight: 600; opacity: 0; transition: opacity .2s; }
a.cc-shot:hover span, a.cc-shot:focus span { opacity: 1; }

/* Fiche Google réelle (photo de couverture + note) pour les cas sans site */
.cc-shot-g { padding: 18px; }
.cc-gbp { position: relative; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 10px 26px rgba(17, 22, 58, 0.14); }
.cc-gbp-b { padding: 12px 14px 14px; font-family: Roboto, Arial, sans-serif; }
.cc-gbp-r { display: flex; align-items: center; gap: 4px; margin: 4px 0 2px; font-size: 0.84rem; color: #70757A; }
.cc-gbp-r b { color: #202124; font-weight: 500; }
.cc-gbp-r span { color: #FBBC04; letter-spacing: 1px; }
.cc-gbp-r em { font-style: normal; }
.cc-gbp-c { margin: 0 0 10px; font-size: 0.82rem; color: #70757A; }
.cc-gbp-a { display: flex; gap: 6px; margin: 0; }
.cc-gbp-a i { padding: 5px 10px; border: 1px solid #DADCE0; border-radius: 16px; font-size: 0.74rem; font-style: normal; font-weight: 500; color: #1A73E8; }
.cc-cols.three { grid-template-columns: 0.85fr 1fr 1fr; gap: 28px; }
.cc-gcol { display: flex; align-items: flex-start; }
.cc-gcol .cc-gbp { width: 100%; }
@media (max-width: 1100px) { .cc-cols.three { grid-template-columns: 1fr 1fr; } .cc-gcol { grid-column: 1 / -1; } .cc-gcol .cc-gbp { max-width: 420px; } }
@media (max-width: 900px) { .cc-cols.three { grid-template-columns: 1fr; } }

/* Photo de fiche entière (jamais recadrée) sur fond flouté de la même photo */
.cc-card .cc-gbp figure { position: relative; margin: 0; height: 150px; overflow: hidden; background: #F1F3F4; }
.cc-card .cc-gcol .cc-gbp figure { height: 220px; }
.cc-card .cc-gbp figure img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0; box-shadow: none; }
.cc-card .cc-gbp figure img.bg { position: absolute; inset: 0; z-index: 0; object-fit: cover; filter: blur(18px) saturate(1.1); transform: scale(1.3); opacity: .8; }
.cc-gbp-n { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; font-size: 1rem; font-weight: 500; color: #202124; }
.cc-gbp-n span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-card .cc-gbp-n img { flex-shrink: 0; width: 20px; height: 20px; border-radius: 0; box-shadow: none; object-fit: contain; }
/* Mobile : cartes courtes, le détail se déplie d'un tap (js/cas-mobile.js) */
.cc-more { display: none; }
@media (max-width: 640px) {
  .cc-list .cc-card:not(.cc-open) .cc-start,
  .cc-list .cc-card:not(.cc-open) .cc-serv,
  .cc-list .cc-card:not(.cc-open) .cc-q,
  .cc-list .cc-card:not(.cc-open) .cc-todo,
  .cc-list .cc-card:not(.cc-open) .cc-pts,
  .cc-list .cc-card:not(.cc-open) .cc-bars li:not(:first-child) { display: none; }
  .cc-list .cc-card:not(.cc-open) .cc-gcol { display: none; }
  .cc-list .cc-shot img { max-height: 170px; object-fit: cover; object-position: top; width: 100%; }
  .cc-list .cc-cols, .cc-list .cc-cols.three { display: block; }
  .cc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 0; border: 0; background: none; color: var(--brand); font: 600 0.9rem var(--font); cursor: pointer; }
  .cc-more::after { content: "↓"; transition: transform .2s; }
  .cc-open .cc-more::after { transform: rotate(180deg); }
}
@media (max-width: 640px) {
  .cc-list .cc-card:not(.cc-open) .cc-bars,
  .cc-list .cc-card:not(.cc-open) .cc-x16,
  .cc-list .cc-card:not(.cc-open) .cc-nums { display: none; }
  .cc-list .cc-shot { max-height: 130px; overflow: hidden; }
  .cc-list .cc-shot img { max-height: 130px; }
  .cc-list .cc-shot-g .cc-gbp { transform-origin: top center; }
  .cc-list .cc-grid { gap: 12px; }
  .cc-list .cc-body { padding: 14px 16px 14px; }
  .cc-list .cc-card h3 { font-size: 1.12rem; margin-bottom: 4px; }
  .cc-list .cc-card.big .cc-opp b { font-size: 1.9rem; }
  .cc-more { margin-top: 8px; }
}
/* Bouton blanc sur le bandeau dégradé : il reste blanc au survol et au tap */
main .cc-sector .btn, main .cc-sector .btn:hover, main .cc-sector .btn:active, main .cc-sector .btn:focus { background: #fff; color: #304BFE; border-color: #fff; box-shadow: 0 8px 22px rgba(10, 20, 80, 0.18); }
main .cc-sector .btn:hover { background: #F2F5FF; }

/* Mobile, toutes les pages : étiquette au-dessus du métier, chiffres lisibles sans retour à la ligne,
   captures coupées proprement, et cartes courtes hors de la page Cas clients (le détail y est) */
@media (max-width: 640px) {
  .cc-k { line-height: 1.4; }
  .cc-k span { display: table; margin: 0 0 6px; }
  .cc-bars { gap: 12px; }
  .cc-bars li { grid-template-columns: 1fr; gap: 3px; font-size: 0.82rem; }
  .cc-bars .cc-l { font-weight: 600; color: #11163A; }
  .cc-bars .cc-v em { margin-left: 6px; }
  a.cc-shot { padding: 14px 14px 0; overflow: hidden; }
  a.cc-shot > img { height: 130px; max-height: none; width: 100%; object-fit: cover; object-position: top; }
  .cc-shot-g { padding: 14px; }
  .cc-card .cc-gbp figure, .cc-card .cc-gcol .cc-gbp figure { height: 110px; }
  .cc-gbp-b { padding: 10px 12px 12px; }
  .cc-shot-g .cc-gbp-a, .cc-shot-g .cc-gbp-c { display: none; }
  .cc-gbp-a { flex-wrap: nowrap; overflow: hidden; }
  .cc-gbp-a i { flex-shrink: 0; white-space: nowrap; padding: 4px 9px; }
  .cc-x16 { gap: 12px; padding: 12px 14px; margin-bottom: 14px; }
  .cc-x16 b { font-size: 2.4rem; }
  .cc-x16 span { font-size: 0.85rem; }
  main section:not(.cc-list):not(#resultats) .cc-card :is(.cc-start, .cc-serv, .cc-q, .cc-todo, .cc-pts, .cc-nums) { display: none; }
  main section:not(.cc-list):not(#resultats) .cc-card.big .cc-gcol { display: none; }
  main section:not(.cc-list):not(#resultats) .cc-cols, main section:not(.cc-list):not(#resultats) .cc-cols.three { display: block; }
  main section:not(.cc-list):not(#resultats) .cc-bars li:nth-child(n+3) { display: none; }
  main section:not(.cc-list):not(#resultats) .cc-body { padding: 14px 16px 16px; }
  main section:not(.cc-list):not(#resultats) .cc-card h3 { font-size: 1.12rem; margin-bottom: 4px; }
  main section:not(.cc-list):not(#resultats) .cc-card.big .cc-opp b { font-size: 1.9rem; }
}
