/* =========================================================
   Design : dégradé Instagram intégral, verre dépoli, plein écran
   ========================================================= */

:root {
    --violet: #833ab4;
    --rose: #c13584;
    --rouge: #fd1d1d;
    --orange: #f77737;
    --texte-bouton: #b3156f;
    --verre: rgba(255, 255, 255, 0.16);
    --verre-bord: rgba(255, 255, 255, 0.32);
    --or-doux: #ffe3a3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    overflow-x: hidden;
    color: #fff;
    background: linear-gradient(135deg, #4c1d95, #833ab4, #c13584, #fd1d1d, #f77737);
    background-size: 300% 300%;
    animation: fond-vivant 18s ease infinite;
}

/* Deux grandes lueurs qui flottent doucement derrière le contenu */
body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
    z-index: 0;
}

body::before {
    width: 52vmax;
    height: 52vmax;
    left: -14vmax;
    top: -18vmax;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.30), transparent 65%);
    animation: flotter 16s ease-in-out infinite alternate;
}

body::after {
    width: 46vmax;
    height: 46vmax;
    right: -12vmax;
    bottom: -16vmax;
    background: radial-gradient(circle, rgba(255, 205, 100, 0.34), transparent 65%);
    animation: flotter 20s ease-in-out infinite alternate-reverse;
}

@keyframes fond-vivant {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes flotter {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(6vmax, 5vmax) scale(1.15); }
}

@keyframes apparition {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== Conteneur : occupe tout l'écran, le dégradé est visible à l'intérieur ===== */

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(20px, 4vw, 56px);
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container > * {
    width: 100%;
    max-width: 700px;
    animation: apparition 0.7s ease both;
}

.container > *:nth-child(2) { animation-delay: 0.05s; }
.container > *:nth-child(3) { animation-delay: 0.12s; }
.container > *:nth-child(4) { animation-delay: 0.19s; }
.container > *:nth-child(5) { animation-delay: 0.26s; }
.container > *:nth-child(6) { animation-delay: 0.33s; }
.container > *:nth-child(7) { animation-delay: 0.40s; }

h1 {
    font-family: 'Outfit', 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-size: clamp(26px, 4.2vw, 40px);
    color: #fff;
    margin-bottom: 10px;
    display: block;               /* le titre est plus long : l'icône suit le texte au lieu de rester collée à gauche */
    line-height: 1.2;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.icone-titre {
    width: clamp(26px, 3.6vw, 36px);
    height: clamp(26px, 3.6vw, 36px);
    color: var(--or-doux);
    flex-shrink: 0;
    display: inline-block;
    vertical-align: -0.15em;
    margin-right: 10px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.subtitle {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 26px;
    font-size: clamp(14px, 1.7vw, 17px);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

/* ===== Les 5 formats ===== */

.formats {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: nowrap;   /* les 5 icônes restent toujours sur une seule ligne */
}

.format-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    gap: 6px;
    background: var(--verre);
    border: 1px solid var(--verre-bord);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: 16px;
    font-size: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, background 0.25s ease;
}

.format-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.26);
}

.format-item span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.format-item svg {
    width: 24px;
    height: 24px;
    color: var(--or-doux);
}

/* ===== Champ du lien (reste blanc) ===== */

.form-lien {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.champ-lien {
    position: relative;
    display: flex;
    align-items: center;
}

.icone-lien {
    position: absolute;
    left: 18px;
    width: 20px;
    height: 20px;
    color: var(--rose);
    pointer-events: none;
}

.champ-lien input {
    width: 100%;
    padding: 16px 104px 16px 50px;
    border: 2px solid transparent;
    border-radius: 30px;
    background: #fff;
    color: #333;
    font-size: 15px;
    outline: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.champ-lien input::placeholder {
    color: #8a8a8a;
}

.champ-lien input:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.38), 0 8px 24px rgba(0, 0, 0, 0.16);
}

.btn-coller {
    position: absolute;
    right: 7px;
    padding: 8px 14px;
    border: none;
    border-radius: 20px;
    background: #f3f3f3;
    color: #555;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-coller:hover {
    background: #e6e6e6;
}

/* ===== Boutons principaux : blancs, bien visibles sur le dégradé ===== */

.btn-telecharger {
    padding: 16px 24px;
    border: none;
    border-radius: 30px;
    background: #fff;
    color: var(--texte-bouton);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-telecharger:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
}

.btn-telecharger:active {
    transform: translateY(0);
}

.btn-telecharger:disabled {
    opacity: 0.75;
    cursor: wait;
}

.avertissement {
    color: #fff0b8;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    margin-top: -6px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* ===== Chargement ===== */

.chargement {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
}

.spinner {
    width: 34px;
    height: 34px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: tourner 0.8s linear infinite;
}

@keyframes tourner {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== Options de téléchargement ===== */

.options h2,
.carrousel-bloc h2 {
    font-size: 19px;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.boutons-options {
    display: flex;
    flex-direction: column;
}

.btn-option-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    margin-bottom: 12px;
    border: none;
    border-radius: 16px;
    background: #fff;
    color: var(--texte-bouton);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-option-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.btn-option-full:active {
    transform: translateY(0);
}

.btn-option-full svg {
    width: 19px;
    height: 19px;
}

/* ----- Bouton « Télécharger MP4 » avec choix de la résolution (chevron à droite) ----- */
.bouton-scinde {
    position: relative;
    display: flex;
    align-items: stretch;
    margin-bottom: 12px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bouton-scinde:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.bouton-scinde .btn-scinde-principal {
    flex: 1;
    width: auto;
    margin-bottom: 0;
    border-radius: 16px 0 0 16px;
    box-shadow: none;
    transform: none;
}

.bouton-scinde .btn-scinde-principal:hover {
    transform: none;
    box-shadow: none;
    background: #fff8fc;
}

/* La partie du chevron : un rose clair qui se fond avec le texte du bouton */
.btn-resolution {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 58px;
    padding: 0 16px;
    border: none;
    border-left: 1px solid rgba(179, 21, 111, 0.22);
    border-radius: 0 16px 16px 0;
    background: linear-gradient(135deg, #fde3f1, #f8c9e4);
    color: var(--texte-bouton);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-resolution:hover,
.btn-resolution.ouvert {
    background: linear-gradient(135deg, #fbd5ea, #f4b8dc);
}

.btn-resolution svg {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
}

.btn-resolution.ouvert svg {
    transform: rotate(180deg);
}

.resolution-choisie:empty {
    display: none;
}

/* La liste des résolutions : même teinte rose clair */
.menu-resolutions {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 15;
    min-width: 190px;
    list-style: none;
    margin: 0;
    padding: 6px;
    text-align: left;
    background: linear-gradient(160deg, #fff0f8, #fddff0);
    border: 1px solid rgba(179, 21, 111, 0.2);
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.menu-resolutions[hidden] {
    display: none;
}

.menu-resolutions-titre {
    padding: 6px 12px 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(179, 21, 111, 0.7);
}

.choix-resolution {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--texte-bouton);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.choix-resolution:hover {
    background: rgba(179, 21, 111, 0.12);
}

.choix-resolution.actif {
    background: rgba(179, 21, 111, 0.16);
    font-weight: 700;
}

.choix-resolution.actif::after {
    content: "✓";
    margin-left: 10px;
}

/* ===== Aperçu du profil ===== */

.carte-apercu {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--verre);
    border: 1px solid var(--verre-bord);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 12px;
    margin-bottom: 18px;
    text-align: left;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.carte-apercu img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.apercu-texte {
    overflow: hidden;
}

.apercu-auteur {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.apercu-titre {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.message {
    margin-top: 20px;
    padding: 14px;
    background: rgba(240, 253, 244, 0.96);
    color: #166534;
    border-radius: 14px;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.message-erreur {
    background: rgba(254, 242, 242, 0.97);
    color: #991b1b;
}

/* ===== Sélecteur de langue (en haut à droite de l'écran) ===== */

.container > .langue-select {
    position: absolute;
    top: 18px;
    right: 18px;
    width: auto;
    max-width: none;
    margin: 0;
    z-index: 20;
    animation: none;
    text-align: right;
}

.btn-langue {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--verre-bord);
    background: var(--verre);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-langue:hover {
    background: rgba(255, 255, 255, 0.28);
}

.btn-langue svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.fleche-ouverte {
    transform: rotate(180deg);
}

.menu-langues {
    position: absolute;
    right: 0;
    top: 40px;
    max-height: 260px;
    overflow-y: auto;
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
    z-index: 30;
}

.menu-langues a {
    display: block;
    padding: 10px 18px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
}

.menu-langues a:hover {
    background: #fdf1f4;
}

/* ===== Carrousel défilant ===== */

.carrousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 18px;
}

.carrousel::-webkit-scrollbar {
    display: none;
}

.slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.slide-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 340px;
    margin-bottom: 12px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid var(--verre-bord);
    border-radius: 18px;
    overflow: hidden;
}

.slide-media img,
.slide-media video {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.slide-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 11px;
    font-weight: 600;
}

.carrousel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 16px;
}

.btn-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--verre-bord);
    border-radius: 50%;
    background: var(--verre);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-nav:hover:not(:disabled) {
    background: #fff;
    color: var(--rose);
    transform: scale(1.06);
}

.btn-nav:disabled {
    opacity: 0.4;
    cursor: default;
}

.btn-nav svg {
    width: 19px;
    height: 19px;
}

.carrousel-compteur {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.btn-secondaire {
    background: var(--verre);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: none;
    margin-bottom: 0;
}

.btn-secondaire:hover {
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

/* ===== Lecteur vidéo (Reels) ===== */

.lecteur-video {
    margin-bottom: 18px;
    background: #000;
    border: 1px solid var(--verre-bord);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.lecteur-video video {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: contain;
}

/* ===== Photo de Story / photo unique ===== */

.photo-story {
    margin-bottom: 18px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid var(--verre-bord);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.photo-story img {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: contain;
}

/* ===== Vidéo diaporama (carrousel) ===== */

.form-compilation {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.champ-son {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.champ-son input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: #fff;
}

/* ===== Accessibilité : focus visible ===== */

button:focus-visible,
a:focus-visible,
input[type="file"]:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

/* ===== Grands écrans (PC) ===== */

@media (min-width: 900px) {
    .container > * {
        max-width: 760px;
    }

    .slide-media {
        height: 420px;
    }
}

/* ===== Téléphone ===== */

/* ----- Historique des liens ----- */
.historique {
    margin-top: 26px;
    padding: 16px 18px;
    background: var(--verre);
    border: 1px solid var(--verre-bord);
    border-radius: 18px;
    text-align: left;
}
.historique-entete {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.historique h2 {
    font-size: 16px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}
.btn-vider {
    background: transparent;
    border: 1px solid var(--verre-bord);
    color: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-vider:hover { background: rgba(255, 255, 255, 0.18); }
.historique ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.historique-lien {
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.9);
    color: var(--texte-bouton);
    border: none;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 14px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: transform 0.15s, background 0.2s;
}
.historique-lien:hover { background: #fff; transform: translateY(-1px); }

/* ----- Avis sur les droits d'auteur ----- */
.avis-legal {
    margin-top: 26px;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 480px) {
    .container {
        padding: 70px 16px 28px;
        justify-content: flex-start;
    }

    .container > .langue-select {
        top: 14px;
        right: 14px;
    }

    .formats {
        gap: 6px;
    }

    .format-item {
        flex: 1 1 0;
        max-width: 84px;
        padding: 10px 4px;
    }

    .format-item span {
        max-width: 100%;
        font-size: clamp(9.5px, 2.9vw, 11px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .slide-media {
        height: 300px;
    }
}

/* Très petits téléphones : les 5 icônes se serrent un peu pour que les noms restent lisibles */
@media (max-width: 360px) {
    .formats {
        gap: 4px;
    }

    .format-item {
        padding: 10px 2px;
    }

    .format-item span {
        font-size: 9px;
    }
}

/* ===== Tablettes : le sélecteur de langue ne doit pas passer sur le titre ===== */

@media (min-width: 481px) and (max-width: 899px) {
    .container {
        padding-top: 76px;
    }
}

/* ===== Nom du site (en haut à gauche) ===== */
.container > .marque {
    position: absolute;
    top: 18px;
    left: 18px;
    width: auto;
    max-width: none;
    z-index: 20;
    animation: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px 7px 10px;
    border: 1px solid var(--verre-bord);
    border-radius: 20px;
    background: var(--verre);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #fff;
    font-family: 'Outfit', 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
}
.marque svg { width: 18px; height: 18px; color: var(--or-doux); }

/* ===== Partie d'information sous l'outil ===== */
.container > .info {
    margin-top: 46px;
    text-align: left;
}
.info h2 {
    font-family: 'Outfit', 'Segoe UI', Arial, sans-serif;
    font-size: clamp(19px, 2.4vw, 23px);
    color: #fff;
    margin: 34px 0 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}
.info h2:first-child { margin-top: 0; }
.info h3 { font-size: 15px; color: #fff; margin-bottom: 4px; }
.info p { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.9); }
.info-grille {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 600px) {
    .info-grille { grid-template-columns: repeat(2, 1fr); }
}
.info-carte, .faq-item {
    background: var(--verre);
    border: 1px solid var(--verre-bord);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.info-carte { padding: 16px; }
.info-etapes { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.info-etapes li { display: flex; align-items: flex-start; gap: 14px; }
.info-numero {
    flex: 0 0 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--texte-bouton);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item summary {
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; line-height: 1; flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 16px 16px; }
.pied { margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, 0.7); }

@media (max-width: 480px) {
    .container > .marque { top: 14px; left: 14px; }
}

/* ===== Notes (étoiles) ===== */
.notes {
    margin-top: 24px;
    padding: 18px 16px;
    background: var(--verre);
    border: 1px solid var(--verre-bord);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 18px;
}
.notes h2 { font-size: 16px; color: #fff; margin-bottom: 8px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22); }
.etoiles { display: flex; justify-content: center; gap: 4px; }
.etoile {
    border: none;
    background: transparent;
    font-size: 34px;
    line-height: 1;
    padding: 2px 4px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: transform 0.15s, color 0.15s;
}
.etoile.pleine, .etoile.survol { color: #ffd45e; }
.etoile:hover:not(:disabled) { transform: scale(1.15); }
.etoile:disabled { cursor: default; }
.notes-texte { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.92); }
.pied a { color: rgba(255, 255, 255, 0.85); text-decoration: underline; }

/* ===== Pages légales ===== */
.container.page-legale { justify-content: flex-start; padding-top: 80px; }
.texte-legal { text-align: left; margin-top: 0; }
.texte-legal h1 { display: block; font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 6px; }
.texte-legal .maj { font-size: 13px; color: rgba(255, 255, 255, 0.75); margin-bottom: 6px; }
.texte-legal h2 { font-size: 18px; margin: 26px 0 8px; }
.texte-legal .retour { margin-top: 34px; }
.texte-legal .retour a { color: #fff; font-weight: 600; }

/* Respect des personnes qui préfèrent moins d'animations */
@media (prefers-reduced-motion: reduce) {
    body,
    body::before,
    body::after,
    .container > * {
        animation: none;
    }
}