/* =========================================================================
   Prodecta — section « Référencement & visibilité » : deux téléphones.

   À gauche, Google : la requête se tape, la carte, le pack local et le
   résultat n°1 apparaissent — c'est le club. À droite, ChatGPT : la
   question se tape, l'assistant cherche sur le web, répond en citant le
   club avec un vrai lien et une fiche-aperçu, puis sa barre d'actions.
   Les deux téléphones se posent directement sur le crème du site, dans le
   même châssis que celui de la démonstration : cadre métal, liseré noir,
   îlot, barre d'état, boutons sur la tranche, reflet sur la vitre. Sous
   chacun, quatre tuiles disent ce qui est livré, puis les logos des
   moteurs. Les titres gardent les styles historiques (.sg-*).
   seo-geo.js joue les séquences.
   ========================================================================= */

.sx-card {
    display: flex;
    flex-direction: column;
}

/* Les téléphones se posent directement sur le crème : pas de carte
   blanche, pas de filet entre les colonnes. */
.sg-grid.sx-grid,
.sg-grid.sx-grid .sg-card,
.sg-grid.sx-grid .sg-card + .sg-card {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.sg-grid.sx-grid {
    gap: 24px;
    overflow: visible;
}

.sg-grid.sx-grid .sg-card {
    padding: 8px 12px 0;
}

/* ---------------------------------------------------------------- phone */
.sx-phone {
    position: relative;
    width: min(316px, 100%);
    margin: 0 auto 30px;
    padding: 3px;
    border-radius: 46px;
    background: linear-gradient(160deg, #3b3e43 0%, #15171a 30%, #2a2d31 56%, #0e1012 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .22),
        inset 0 -1px 0 rgba(0, 0, 0, .7),
        0 0 0 1px rgba(10, 14, 12, .35),
        0 40px 70px -32px rgba(20, 30, 24, .55),
        0 90px 110px -70px rgba(20, 30, 24, .4);
    /* Posé légèrement de biais, comme sur une table ; il se redresse
       quand on le regarde. */
    transform: rotate(-2deg) translateY(14px);
    opacity: 0;
    transition: transform 1s cubic-bezier(.22, 1, .36, 1), opacity .7s ease;
}

.sx-phone-ai {
    transform: rotate(2deg) translateY(14px);
    transition-delay: .12s;
}

.sx-phone.is-in {
    opacity: 1;
    transform: rotate(-1.2deg);
}

.sx-phone-ai.is-in {
    transform: rotate(1.2deg);
}

/* Boutons sur la tranche (trois à gauche, un à droite). */
.sx-phone::before,
.sx-phone::after {
    content: '';
    position: absolute;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #34383d, #1d2024);
}

.sx-phone::before {
    left: -3px;
    top: 17%;
    height: 26px;
    box-shadow: 0 46px 0 0 #2a2e33, 0 100px 0 0 #2a2e33;
}

.sx-phone::after {
    right: -3px;
    top: 27%;
    height: 66px;
}

.sx-screen {
    position: relative;
    height: 640px;
    border: 6px solid #0a0b0d;
    border-radius: 43px;
    overflow: hidden;
    background: #fff;
    color: #1f1f1f;
    padding: 50px 12px 12px;
    font-size: 12.5px;
    line-height: 1.4;
}

.sx-screen.is-dark {
    background: #212121;
    color: #ececec;
}

/* Reflet léger sur la vitre. */
.sx-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 8;
    background: linear-gradient(115deg, rgba(255, 255, 255, .11) 0%, rgba(255, 255, 255, .02) 24%, transparent 42%);
    pointer-events: none;
}

.sx-island {
    position: absolute;
    top: 11px;
    left: 50%;
    z-index: 7;
    width: 92px;
    height: 26px;
    border-radius: 100px;
    background: #050607;
    transform: translateX(-50%);
}

/* Barre d'état : l'heure et les icônes, comme sur un vrai téléphone. */
.sx-status {
    position: absolute;
    top: 14px;
    left: 24px;
    right: 22px;
    z-index: 6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 20px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: -.1px;
    color: #1f1f1f;
}

.is-dark .sx-status {
    color: #fff;
}

.sx-status span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.sx-status svg {
    display: block;
    fill: currentColor;
}

.sx-sig { width: 15px; height: 10px; }
.sx-wifi { width: 14px; height: 10.5px; }
.sx-bat { width: 24px; height: 11px; }

/* Texte tapé au fil de l'eau ; le curseur clignote tant qu'on écrit. */
.sx-typed {
    white-space: pre-wrap;
}

.sx-caret {
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 2px;
    vertical-align: -.15em;
    background: currentColor;
    opacity: 0;
}

.is-typing .sx-caret {
    opacity: 1;
    animation: sxBlink 1s steps(2, start) infinite;
}

@keyframes sxBlink {
    to { visibility: hidden; }
}

/* Ce qui apparaît après la frappe : carte, pack local, résultat. */
.sx-reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .5s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
}

.sx-phone.is-shown .sx-reveal {
    opacity: 1;
    transform: none;
}

.sx-phone.is-shown .sx-reveal:nth-of-type(2) { transition-delay: .12s; }
.sx-phone.is-shown .sx-reveal:nth-of-type(3) { transition-delay: .24s; }
.sx-phone.is-shown .sx-reveal:nth-of-type(4) { transition-delay: .36s; }

/* ---------------------------------------------------------------- google */
.sx-app-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.sx-g {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.sx-field {
    flex: 1;
    min-width: 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 10px 0 14px;
    border-radius: 100px;
    background: #F0F3F5;
    font-size: 12.5px;
    color: #1f1f1f;
    white-space: nowrap;
}

.sx-field .sx-typed {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sx-field .sx-typed:empty::before {
    content: 'Rechercher';
    color: #70757a;
}

.sx-field-icons {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding-left: 8px;
}

.sx-field-icons svg {
    width: 17px;
    height: 17px;
    display: block;
}

.sx-tabs {
    display: flex;
    gap: 14px;
    margin: 10px 4px 8px;
    padding-bottom: 7px;
    border-bottom: 1px solid #ECEDEF;
    font-size: 11.5px;
    color: #4d5156;
}

.sx-tabs .is-on {
    color: #1a73e8;
    font-weight: 600;
    box-shadow: 0 9px 0 -7px #1a73e8;
}

.sx-map {
    position: relative;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 4px;
    border: 1px solid #ECEDEF;
}

.sx-map svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.sx-pin {
    position: absolute;
    left: 45.3%;
    top: 54.5%;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -100%);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25));
    animation: sxDrop .7s cubic-bezier(.22, 1, .36, 1) both;
}

.sx-pin svg {
    position: static;
    width: 30px;
    height: 30px;
}

@keyframes sxDrop {
    from { transform: translate(-50%, -160%); opacity: 0; }
    to { transform: translate(-50%, -100%); opacity: 1; }
}

/* Pack local : le club en tête, deux autres estompés derrière. */
.sx-local {
    display: grid;
}

.sx-place {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px;
    gap: 10px;
    padding: 9px 4px;
    border-bottom: 1px solid #ECEDEF;
}

.sx-place-txt {
    display: grid;
    gap: 2px;
    min-width: 0;
    align-content: start;
}

.sx-place-txt b {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.25;
    color: #1f1f1f;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sx-place-rating,
.sx-place-meta {
    font-size: 10.5px;
    line-height: 1.35;
    color: #5f6368;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sx-place-rating em {
    font-style: normal;
    color: #1f1f1f;
}

.sx-stars {
    color: #F4B400;
    font-size: 9.5px;
    letter-spacing: -.5px;
    margin: 0 4px 0 3px;
}

.sx-open {
    font-style: normal;
    font-weight: 600;
    color: #188038;
}

.sx-place-chips {
    display: flex;
    gap: 5px;
    margin-top: 4px;
}

.sx-place-chips span {
    padding: 2px 7px;
    border-radius: 100px;
    background: #F1F3F4;
    color: #3c4043;
    font-size: 9.5px;
    font-weight: 600;
    white-space: nowrap;
}

.sx-place-chips .is-3d {
    background: rgba(27, 107, 68, .1);
    color: var(--dark-green);
}

.sx-place-img {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    overflow: hidden;
    background: #F1F3F4;
    align-self: start;
}

.sx-place-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sx-place.is-ghost {
    padding: 6px 4px;
    grid-template-columns: minmax(0, 1fr) 38px;
}

.sx-place.is-ghost .sx-place-txt {
    gap: 5px;
    padding-top: 3px;
}

.sx-place.is-ghost i {
    display: block;
    height: 6px;
    border-radius: 4px;
    background: #EEF0F2;
}

.sx-place.is-ghost i:nth-child(1) { width: 72%; }
.sx-place.is-ghost i:nth-child(2) { width: 50%; }

.sx-place.is-ghost .sx-place-img {
    width: 34px;
    height: 34px;
    background: #F1F3F4;
}

.sx-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 0 5px;
    font-size: 11.5px;
    font-weight: 500;
    color: #1a73e8;
}

.sx-more svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Résultat organique n°1. */
.sx-result {
    padding: 8px 4px 6px;
    border-top: 1px solid #ECEDEF;
}

.sx-result-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sx-favicon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #111;
    color: #E3B800;
    font-size: 8px;
    font-weight: 800;
    font-style: normal;
    letter-spacing: 0;
}

.sx-result-site {
    display: grid;
    min-width: 0;
    line-height: 1.2;
}

.sx-result-site b {
    font-size: 11px;
    font-weight: 500;
    color: #1f1f1f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sx-result-site span {
    font-size: 9.5px;
    color: #4d5156;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sx-rank {
    margin-left: auto;
    padding: 2px 7px;
    border-radius: 100px;
    background: rgba(27, 107, 68, .1);
    color: var(--dark-green);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .4px;
    flex-shrink: 0;
}

.sx-result-title {
    display: block;
    margin: 6px 0 2px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: #1a0dab;
    text-decoration: none;
}

.sx-result-title:hover {
    text-decoration: underline;
}

.sx-result-rating {
    margin: 0 0 3px;
    font-size: 10.5px;
    color: #4d5156;
}

.sx-result-rating .sx-stars {
    margin: 0 4px 0 0;
}

.sx-result-snip {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.5;
    color: #4d5156;
}

.sx-sitelinks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 500;
    color: #1a0dab;
}

.sx-ghost {
    display: grid;
    gap: 7px;
    padding: 12px 4px 0;
    border-top: 1px solid #ECEDEF;
}

.sx-ghost i {
    display: block;
    height: 8px;
    border-radius: 4px;
    background: #EEF0F2;
}

.sx-ghost i:nth-child(2) { width: 82%; }
.sx-ghost i:nth-child(3) { width: 58%; }

/* --------------------------------------------------------------- chatgpt */
.sx-ai-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 34px;
    padding: 0 2px;
    margin: 2px 0 8px;
    color: #fff;
}

.sx-ico {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #ececec;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.sx-ai-title {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: -.1px;
}

.sx-ai-title svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #9b9b9b;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-top: 2px;
}

.sx-chat {
    display: grid;
    gap: 12px;
    padding: 0 2px 62px;
}

.sx-msg {
    font-size: 12.5px;
    line-height: 1.5;
}

/* Le message de l'utilisateur : bulle grise, à droite. */
.sx-msg.is-user {
    justify-self: end;
    max-width: 82%;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 18px;
    background: #303030;
    color: #ececec;
}

/* La réponse : pas de bulle, du texte posé sur le fond, comme dans l'app. */
.sx-msg.is-ai {
    color: #ececec;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .4s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}

.sx-msg.is-ai.is-shown {
    opacity: 1;
    transform: none;
}

/* « Recherche sur le web », puis « 2 sources consultées ». */
.sx-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
    font-size: 11px;
    color: #9b9b9b;
}

.sx-line svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

.sx-line-search {
    background: linear-gradient(90deg, #9b9b9b 0%, #fff 50%, #9b9b9b 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: sxShimmer 1.4s linear infinite;
}

.sx-line-done { display: none; }
.sx-line.is-done .sx-line-search { display: none; }
.sx-line.is-done .sx-line-done { display: inline; }

@keyframes sxShimmer {
    from { background-position: 200% 0; }
    to { background-position: 0 0; }
}

.sx-ai-text {
    min-height: 1.5em;
}

.sx-ai-text ul {
    margin: 5px 0 0;
    padding-left: 17px;
}

.sx-ai-text li {
    margin: 2px 0;
    padding-left: 1px;
}

.sx-ai-text li::marker {
    color: #9b9b9b;
}

/* Le lieu cité est un vrai lien : on clique, on y est. */
.sx-ai-text a {
    font-weight: 600;
    color: #7ab7ff;
    text-decoration: underline;
    text-decoration-color: rgba(122, 183, 255, .45);
    text-underline-offset: 3px;
}

.sx-ai-text a:hover {
    text-decoration-color: #7ab7ff;
}

/* Le point qui respire pendant que l'assistant prépare sa réponse. */
.sx-thinking {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    vertical-align: -1px;
    animation: sxPulse 1.1s ease-in-out infinite;
}

@keyframes sxPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(.72); opacity: .55; }
}

/* Fiche-aperçu du club, comme l'app en affiche sous un lien. */
.sx-preview {
    display: block;
    margin-top: 10px;
    border-radius: 14px;
    overflow: hidden;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, .1);
    color: #ececec;
    text-decoration: none;
    opacity: 0;
    transform: translateY(8px) scale(.98);
    transition: opacity .5s ease, transform .6s cubic-bezier(.22, 1, .36, 1), border-color .3s ease;
}

.sx-preview.is-shown {
    opacity: 1;
    transform: none;
}

.sx-preview:hover {
    border-color: rgba(255, 255, 255, .28);
}

.sx-preview img {
    display: block;
    width: 100%;
    height: 78px;
    object-fit: cover;
}

.sx-preview-txt {
    display: block;
    padding: 8px 11px 9px;
    line-height: 1.3;
}

.sx-preview-txt b {
    display: block;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sx-preview-txt > span {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    font-size: 10.5px;
    color: #9b9b9b;
}

.sx-preview-txt .sx-favicon {
    width: 14px;
    height: 14px;
    font-size: 5.5px;
}

/* La pastille « Sources », avec les favicons des sites consultés. */
.sx-sources {
    display: flex;
    margin-top: 8px;
    opacity: 0;
    transition: opacity .4s ease;
}

.sx-sources.is-shown {
    opacity: 1;
}

.sx-sources-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px 4px 6px;
    border-radius: 100px;
    background: #303030;
    border: 1px solid rgba(255, 255, 255, .08);
    color: #ececec;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s ease;
}

.sx-sources-pill:hover {
    background: #3a3a3a;
}

.sx-sources-pill .sx-favicon {
    width: 16px;
    height: 16px;
    font-size: 6px;
    margin-right: -5px;
    box-shadow: 0 0 0 1.5px #303030;
}

.sx-sources-pill .sx-favicon.is-txt {
    background: #4a4a4a;
    color: #fff;
    font-size: 5px;
    margin-right: 8px;
}

/* Copier, pouces, lecture, relancer, plus. */
.sx-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding-left: 2px;
    opacity: 0;
    transition: opacity .4s ease .1s;
}

.sx-actions.is-shown {
    opacity: 1;
}

.sx-actions svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #9b9b9b;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sx-actions svg:last-child circle {
    fill: #9b9b9b;
    stroke: none;
}

/* La barre de saisie, avec le « + », le micro et le mode vocal. */
.sx-input {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 7;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 6px 0 10px;
    border-radius: 100px;
    background: #303030;
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: 12.5px;
    color: #9b9b9b;
}

.sx-input > svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #ececec;
    stroke-width: 1.9;
    stroke-linecap: round;
    flex-shrink: 0;
}

.sx-input > span:not(.sx-input-r) {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sx-input-r {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.sx-input-r > svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #ececec;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.sx-input-r i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
}

.sx-input-r i svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #212121;
    stroke-width: 2.2;
    stroke-linecap: round;
}

/* ---------------------------------------------------------------- tuiles */
.sx-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 6px;
}

.sx-tile {
    display: grid;
    grid-template-columns: 34px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    padding: 12px 12px 12px 11px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(26, 26, 26, .06);
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease;
}

.sx-tile i {
    grid-row: 1 / 3;
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #F4F2EC;
    color: var(--dark-green);
    border: 1px solid rgba(26, 26, 26, .05);
}

.sx-tile i svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sx-tile b {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
}

.sx-tile > span {
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-mid);
    margin-top: 2px;
}

@media (hover: hover) and (pointer: fine) {
    .sx-tile:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px -18px rgba(20, 30, 24, .35);
    }
}

/* Jauge Core Web Vitals : l'anneau se remplit à 98. */
.sx-gauge svg {
    position: absolute;
    inset: 3px;
    width: auto;
    height: auto;
    stroke: none;
}

.sx-gauge circle {
    fill: none;
    stroke: rgba(26, 26, 26, .1);
    stroke-width: 3.5;
}

.sx-gauge .sx-gauge-val {
    stroke: var(--dark-green);
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 1.4s cubic-bezier(.22, 1, .36, 1) .3s;
}

.sx-card.is-in .sx-gauge .sx-gauge-val {
    stroke-dashoffset: 2;
}

.sx-gauge b {
    position: relative;
    font-size: 9.5px;
    font-weight: 800;
    color: var(--dark-green);
}

/* ---------------------------------------------------------------- logos */
.sx-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.sx-logos-title {
    margin-right: 4px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-dim);
}

.sx-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 7px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(26, 26, 26, .08);
    color: var(--text);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease;
}

.sx-logo img {
    width: 22px;
    height: 22px;
    display: block;
}

@media (hover: hover) and (pointer: fine) {
    .sx-logo:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px -14px rgba(20, 30, 24, .35);
    }
}

/* ------------------------------------------------------------- réglages */
@media (max-width: 900px) {
    .sg-grid.sx-grid { gap: 40px; }
}

@media (max-width: 600px) {
    .sx-phone { width: min(290px, 100%); }
    .sx-screen { height: 600px; }
    .sx-tiles { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .sx-phone,
    .sx-reveal,
    .sx-msg.is-ai,
    .sx-preview,
    .sx-sources,
    .sx-actions,
    .sx-tile,
    .sx-gauge .sx-gauge-val {
        transition: none;
        opacity: 1;
        transform: none;
    }

    .sx-phone { transform: none; }
    .sx-pin { animation: none; }
    .sx-thinking,
    .sx-line-search,
    .is-typing .sx-caret { animation: none; }
}
