/* Accueil : avis Google de la fiche Localisia */
.ag-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.ag-head h2 { margin: 6px 0 0; }
.ag-sum { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 44px; }
.ag-note { font-family: var(--font-heading); font-weight: 700; font-size: 2.4rem; line-height: 1; color: #11163A; }
.ag-stars { color: #F5A623; letter-spacing: 1px; font-size: 1.05rem; }
.ag-stars i { font-style: normal; color: #DADCE0; }
.ag-count { font-size: 0.92rem; color: var(--text-muted); }
.ag-all { display: inline-flex; align-items: center; gap: 7px; padding: 4px 0; color: var(--text-muted); font-weight: 500; font-size: 0.88rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(107, 114, 128, 0.35); }
.ag-all:hover { color: var(--brand); text-decoration-color: currentColor; }
.ag-all img { width: 16px; height: 16px; border-radius: 50%; }
.ag-wrap { position: relative; }
.ag-track { overflow: hidden; padding: 4px 0 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ag-belt { display: flex; align-items: flex-start; width: max-content; animation: ag-defile linear infinite; }
.ag-group { display: flex; gap: 16px; padding-right: 16px; }
.ag-track:hover .ag-belt, .ag-track.hold .ag-belt, .ag-track.reading .ag-belt, .ag-track:focus-within .ag-belt { animation-play-state: paused; }
@keyframes ag-defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ag-belt { animation: none; } .ag-track { overflow-x: auto; } .ag-group[aria-hidden] { display: none; } }
.ag-card { flex: 0 0 360px; display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid #E6E9F2; border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(17, 22, 58, 0.05); }
.ag-card header { display: flex; align-items: center; gap: 10px; }
.ag-card header > img:first-child, .ag-ini { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ag-ini { display: grid; place-items: center; background: #304BFE; color: #fff; font-weight: 700; }
.ag-card header div { flex: 1; min-width: 0; }
.ag-card header b { display: block; font-size: 0.95rem; color: #11163A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-card header b a { color: inherit; text-decoration: none; }
.ag-card header small { font-size: 0.78rem; color: var(--text-muted); }
.ag-g { flex-shrink: 0; border-radius: 50%; }
.ag-text { margin: 0; font-size: 0.92rem; line-height: 1.6; color: #3C4257; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.ag-text.open { display: block; -webkit-line-clamp: unset; overflow: visible; }
.ag-plus { align-self: flex-start; margin: -4px 0 0; padding: 0; border: 0; background: none; font: 600 0.86rem var(--font); color: #11163A; cursor: pointer; text-decoration: underline; }
.ag-more { margin-top: auto; font-size: 0.84rem; font-weight: 600; color: #304BFE; text-decoration: none; }
.ag-more:hover { text-decoration: underline; }
.ag-empty { padding: 28px; border: 1px dashed #DDE2F0; border-radius: 14px; text-align: center; color: var(--text-muted); }
#avis-google.ready .ag-empty { display: none; }
.ag-src { margin: 14px 0 0; font-size: 0.78rem; color: var(--text-muted); }
@media (max-width: 900px) { .ag-card { flex-basis: 280px; } }

/* Accueil : résultats clients chiffrés (section 4) */
.rc-tot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1000px; margin: 0 auto 30px; padding: 22px 0; list-style: none; border-top: 1px solid #E6E9F2; border-bottom: 1px solid #E6E9F2; }
.rc-tot li { padding: 0 24px; border-left: 1px solid #E6E9F2; text-align: center; }
.rc-tot li:first-child { border-left: 0; }
.rc-tot b { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 2.2rem; line-height: 1.1; background: linear-gradient(90deg, #304BFE, #3ACF91); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.rc-tot span { display: block; margin-top: 6px; font-size: 0.86rem; line-height: 1.4; color: var(--text-muted); }
.rc-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; max-width: 1140px; margin: 0 auto; }
.rc-grid > :nth-child(4) { grid-column: 2 / 4; }
.rc-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid #E6E9F2; border-radius: 16px; background: #fff; }
.rc-card.big { grid-row: span 2; background: linear-gradient(165deg, #F2F5FF 0%, #fff 55%); border-color: #D9E0FF; }
.rc-k { margin: 0 0 8px; font-size: 0.8rem; color: var(--text-muted); }
.rc-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; }
.rc-card h3 { margin: 0 0 6px; font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: #11163A; }
.rc-card.big h3 { font-size: 1.55rem; }
.rc-big { margin: 0 0 10px; font-size: 0.92rem; color: #3C4257; }
.rc-big b { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: #11163A; margin-right: 4px; }
.rc-card.big .rc-big b { font-size: 2.6rem; background: linear-gradient(90deg, #304BFE, #3ACF91); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.rc-start { margin: 0 0 16px; font-size: 0.86rem; line-height: 1.5; color: var(--text-muted); }
.rc-start b { margin-right: 6px; color: #11163A; }
.rc-bars { display: flex; flex-direction: column; gap: 12px; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid #E6E9F2; list-style: none; }
.rc-bars li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; font-size: 0.84rem; }
.rc-bars .rc-b { grid-column: 1 / -1; grid-row: 2; }
.rc-l { color: #3C4257; }
.rc-b { position: relative; display: block; height: 20px; }
.rc-b i { position: absolute; left: 0; height: 9px; border-radius: 5px; }
.rc-b .o { top: 0; background: #DDE2F0; }
.rc-b .n { bottom: 0; background: linear-gradient(90deg, #304BFE, #3ACF91); }
.rc-v { white-space: nowrap; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.rc-v b { color: #11163A; }
.rc-v em { margin-left: 8px; padding: 2px 7px; border-radius: 6px; background: #E6F8F0; color: #128A5E; font-style: normal; font-weight: 700; font-size: 0.78rem; }
.rc-card.big .rc-bars li { font-size: 0.92rem; }
.rc-card.big .rc-b { height: 30px; } .rc-card.big .rc-b i { height: 12px; }
.rc-foot { margin: 14px 0 0; font-size: 0.86rem; font-weight: 600; color: #128A5E; }
.rc-note { max-width: 760px; margin: 18px auto 0; text-align: center; font-size: 0.8rem; color: var(--text-muted); }
@media (max-width: 1000px) { .rc-grid { grid-template-columns: 1fr 1fr; } .rc-card.big { grid-row: auto; grid-column: span 2; } .rc-grid > :nth-child(4) { grid-column: auto; } }
@media (max-width: 640px) { .rc-tot { grid-template-columns: 1fr; gap: 16px; } .rc-tot li { border-left: 0; } .rc-grid { grid-template-columns: 1fr; } .rc-card.big { grid-column: auto; } .rc-card.big .rc-big b { font-size: 2rem; } }

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

/* Lien vers la fiche, sous les avis : centré, discret */
.ag-foot { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 18px; text-align: center; }
.ag-foot .ag-src { margin: 0; }
.ag-foot .ag-all { padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card); color: var(--text); text-decoration: none; font-size: 0.88rem; font-weight: 600; transition: border-color .15s, color .15s; }
.ag-foot .ag-all:hover { border-color: rgba(48, 75, 254, 0.45); color: var(--brand); }
.ag-foot .ag-all::after { content: "↗"; margin-left: 2px; color: var(--text-muted); font-weight: 500; }
