/* Style Main - Adevaya (Artinbox Studios)
*-------------------------------------------------------
* 0. Initialisation / Polices
* 1. Contenus - Actualités & Ateliers (cartes)
* 2. Contenus - Vidéos
* 3. Contenus - Liens & Partenaires
* 4. Slider d'accueil
* 5. Lightbox vidéo (poster, bouton play, loader bicolore)
* 6. Contenu migré osCommerce (classes éditoriales des pages/fiches)
* 7. Footer - Bloc riche (contact / informations / marque)
* 8. Home - Teasers (réassurance / cartes / avis / newsletter)
*/

/* 0. Initialisation / Polices
*-----------------------------------------------------*/
/* Les polices sont fournies par le thème Flatsome. Déclarer ici les
   éventuelles @font-face additionnelles propres à Adevaya. */

/* 1. Contenus - Actualités & Ateliers (cartes)
*-----------------------------------------------------*/
.adv-actu {
    background: #fff;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
    transition: transform .2s, box-shadow .2s;
}
.adv-actu:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .14);
}
.adv-actu-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.adv-actu-body {
    padding: 16px 18px 20px;
}
.adv-actu-date {
    display: block;
    font-size: .8em;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #a98a5a;
    margin-bottom: .4em;
}
.adv-actu-title {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.35;
}
.adv-actu-title a {
    color: #2b2622;
}
.adv-actu-title a:hover {
    color: #a98a5a;
}
/* Ateliers : horaire + lieu */
.adv-atelier-meta {
    margin: .5em 0 0;
    font-size: .86em;
    color: #6a625a;
    line-height: 1.5;
}
.adv-atelier-meta span {
    display: inline-flex;
    align-items: center;
    margin-right: 1em;
}
.adv-atelier-meta span::before {
    content: "";
    width: 15px;
    height: 15px;
    margin-right: .4em;
    background: currentColor;
    -webkit-mask: center / contain no-repeat;
            mask: center / contain no-repeat;
    opacity: .8;
}
.adv-atelier-horaire::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 18a8 8 0 110-16 8 8 0 010 16zm.5-13H11v6l5 3 .75-1.23-4.25-2.52z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 18a8 8 0 110-16 8 8 0 010 16zm.5-13H11v6l5 3 .75-1.23-4.25-2.52z'/%3E%3C/svg%3E");
}
.adv-atelier-lieu::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 00-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 00-7-7zm0 9.5A2.5 2.5 0 1112 6.5a2.5 2.5 0 010 5z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 00-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 00-7-7zm0 9.5A2.5 2.5 0 1112 6.5a2.5 2.5 0 010 5z'/%3E%3C/svg%3E");
}

/* 2. Contenus - Vidéos
*-----------------------------------------------------*/
.adv-video {
    margin-bottom: 1.2em;
}
/* Poster cliquable + bouton play */
.adv-video-poster {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}
.adv-video-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease, filter .3s ease;
}
.adv-video-poster:hover .adv-video-poster-img {
    transform: scale(1.05);
    filter: brightness(.85);
}
.adv-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;
    height: 68px;
    margin: -34px 0 0 -34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s ease, transform .25s ease;
}
.adv-video-poster:hover .adv-video-play {
    background: var(--fs-color-primary, #47266d);
    transform: scale(1.08);
}
.adv-video-play svg {
    width: 30px;
    height: 30px;
    fill: #fff;
    margin-left: 3px;
}
.adv-video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}
.adv-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.adv-video-title {
    margin: .6em 0 .3em;
    font-size: .98rem;
    line-height: 1.35;
}
.adv-video-desc {
    font-size: .86rem;
    color: #665f57;
    line-height: 1.5;
}
.adv-video-desc p {
    margin: 0 0 .5em;
}
.adv-video-desc p:last-child {
    margin-bottom: 0;
}

/* 3. Contenus - Liens & Partenaires
*-----------------------------------------------------*/
.adv-lien {
    background: #fff;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .07);
    text-align: center;
    padding-bottom: 14px;
    transition: transform .2s, box-shadow .2s;
}
.adv-lien:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .13);
}
.adv-lien-imgwrap {
    padding: 22px 22px 8px;
}
.adv-lien-logo {
    max-height: 120px;
    width: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}
.adv-lien-body {
    padding: 6px 18px 4px;
}
.adv-lien-title {
    margin: .2em 0 .3em;
    font-size: 1rem;
    line-height: 1.3;
}
.adv-lien-desc {
    font-size: .86rem;
    color: #665f57;
    line-height: 1.5;
    margin: 0 0 .8em;
}

/* 4. Slider d'accueil
*-----------------------------------------------------*/
.adv-slide-title {
    margin: 0 0 .15em;
    font-size: 2.4rem;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
    letter-spacing: .02em;
}
.adv-slide-sub {
    margin: 0;
    font-size: 1.15rem;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
@media (max-width: 549px) {
    .adv-slide-title {
        font-size: 1.4rem;
    }
    .adv-slide-sub {
        font-size: .95rem;
    }
}

/* 5. Lightbox vidéo (poster, bouton play, loader bicolore)
*-----------------------------------------------------*/
html.adv-lb-open {
    overflow: hidden;
}
.adv-lb {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4vh 16px;
    opacity: 0;
    transition: opacity .3s ease;
}
.adv-lb.is-visible {
    opacity: 1;
}
.adv-lb[hidden] {
    display: none;
}
.adv-lb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 8, 20, .82);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}
.adv-lb-dialog {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 92vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    padding: 0 0 24px;
    transform: translateY(12px) scale(.98);
    transition: transform .3s ease;
}
.adv-lb.is-visible .adv-lb-dialog {
    transform: none;
}
.adv-lb-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .5);
    cursor: pointer;
    transition: background .25s ease, transform .3s ease;
}
/* Croix dessinée : grande mais fine, parfaitement centrée */
.adv-lb-close::before,
.adv-lb-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}
.adv-lb-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.adv-lb-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.adv-lb-close:hover {
    background: var(--fs-color-primary, #47266d);
    transform: rotate(45deg); /* la croix pivote de 45° (X -> +) */
}
.adv-lb-body {
    min-height: 220px;
}
.adv-lb-media {
    border-radius: 12px 12px 0 0;
}
.adv-lb-title {
    margin: 18px 24px 8px;
    font-size: 1.3rem;
    line-height: 1.25;
}
.adv-lb-content {
    margin: 0 24px;
    line-height: 1.6;
}
.adv-lb-error {
    padding: 60px 24px;
    text-align: center;
    color: #999;
}
/* Loader bicolore (couleurs primaire/secondaire du thème Flatsome) */
.adv-lb-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}
.adv-lb-spinner {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 5px solid rgba(0, 0, 0, .08);
    border-top-color: var(--fs-color-primary, #47266d);
    border-right-color: var(--fs-color-secondary, #813681);
    animation: adv-lb-spin .8s linear infinite;
}
@keyframes adv-lb-spin {
    to {
        transform: rotate(360deg);
    }
}

/* 6. Contenu migré osCommerce (classes éditoriales)
*-----------------------------------------------------*/
/* Reprise des classes de contenu osCommerce pour un rendu fidèle dans WordPress.
   Classes uniques en global ; .preview scopé au contenu (nom générique).
   Tailles converties depuis l'OS (html 62.5% -> 1rem=10px) en px. */

/* Titres (paragraphes-titres) */
.boxContentTitle,
.boxContentTitlePurple,
.boxContentTitleRed {
    margin: 0;
    padding: 10px 0 15px;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
}
.boxContentTitle       { color: #413f42; font-size: 19px; }
.boxContentTitlePurple { color: #47266d; }
.boxContentTitleRed    { color: #9c0000; }

/* Textes colorés */
.boxContentTextRed,
.boxContentTextRedBold    { color: #9c0000; }
.boxContentTextPurple,
.boxContentTextPurpleBold { color: #47266d; }
.boxContentTextGreen,
.boxContentTextGreenBold  { color: #006b00; }
.boxContentTextBlackBold  { color: #000; }
.boxContentTextPurpleBold,
.boxContentTextRedBold,
.boxContentTextGreenBold,
.boxContentTextBlackBold  { font-weight: 700; }

/* Sous-titres / légendes */
.boxSubTitleText { padding-bottom: .3em; font-weight: 600; }
.boxTextLegende  { font-size: .9em; color: #777; font-style: italic; }
.boxTextGray     { color: #777; }

/* Alignements */
.textAlignJustify { text-align: justify; }
.textAlignCenter  { text-align: center; }
.textAlignRight   { text-align: right; }

/* Images / mise en page */
.content-area .preview, .entry-content .preview { list-style: none; padding-left: 0; padding-bottom: 1rem; overflow: hidden; }
.illustrations { margin: 0 auto; display: block; }
.floatLeft  { float: left; margin: 0 1em 1em 0; }
.floatRight { float: right; margin: 0 0 1em 1em; }
.ImageFloatLeft,
.ImageFloatRight { text-align: center; }

/* Blocs de contenu migrés (espacement léger) */
.osc-bloc { margin-bottom: 1em; }
.osc-bloc::after { content: ""; display: table; clear: both; }

/* 7. Footer - Bloc riche (contact / informations / marque)
*-----------------------------------------------------*/
.adv-footer-section {
    background: #faf7f2;
    padding: 46px 15px 40px;
    border-top: 1px solid #ece4d8;
}
.adv-footer {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: .5rem 0;
    text-align: left;
}
.adv-footer-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #47266d;
    margin-bottom: .6rem;
}
.adv-footer-text {
    font-size: .95rem;
    line-height: 1.85;
    color: #4a4550;
}
.adv-footer-text a {
    color: #4a4550;
    transition: color .2s;
}
.adv-footer-text a:hover {
    color: #813681;
}
.adv-footer-info .adv-footer-text a {
    display: inline-block;
    font-weight: 500;
}
.adv-footer-brand {
    text-align: center;
}
.adv-footer-logo {
    max-width: 190px;
    height: auto;
    margin: 0 auto;
}
@media (max-width: 849px) {
    .adv-footer {
        grid-template-columns: 1fr 1fr;
        gap: 1.8rem;
        text-align: center;
    }
    .adv-footer-brand { grid-column: 1 / -1; }
    .adv-footer-address br + br { display: none; }
}
@media (max-width: 549px) {
    .adv-footer { grid-template-columns: 1fr; }
}

/* 8. Home - Teasers (réassurance / cartes / avis / newsletter)
*-----------------------------------------------------*/
/* Icônes (masque SVG, prennent la couleur du texte) */
[class*="advico-"] {
    display: inline-block;
    background: currentColor;
    -webkit-mask: center / contain no-repeat;
            mask: center / contain no-repeat;
}
.advico-lock     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a5 5 0 00-5 5v3H6a2 2 0 00-2 2v9a2 2 0 002 2h12a2 2 0 002-2v-9a2 2 0 00-2-2h-1V6a5 5 0 00-5-5zm3 8H9V6a3 3 0 016 0v3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a5 5 0 00-5 5v3H6a2 2 0 00-2 2v9a2 2 0 002 2h12a2 2 0 002-2v-9a2 2 0 00-2-2h-1V6a5 5 0 00-5-5zm3 8H9V6a3 3 0 016 0v3z'/%3E%3C/svg%3E"); }
.advico-truck    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4a1 1 0 00-1 1v11a1 1 0 001 1h1a3 3 0 006 0h4a3 3 0 006 0h1a1 1 0 001-1v-4l-3-4h-3V5a1 1 0 00-1-1H3zm13 5h2.5l1.5 2h-4V9zM7 15.5A1.5 1.5 0 118.5 17 1.5 1.5 0 017 15.5zm10 0A1.5 1.5 0 1118.5 17 1.5 1.5 0 0117 15.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4a1 1 0 00-1 1v11a1 1 0 001 1h1a3 3 0 006 0h4a3 3 0 006 0h1a1 1 0 001-1v-4l-3-4h-3V5a1 1 0 00-1-1H3zm13 5h2.5l1.5 2h-4V9zM7 15.5A1.5 1.5 0 118.5 17 1.5 1.5 0 017 15.5zm10 0A1.5 1.5 0 1118.5 17 1.5 1.5 0 0117 15.5z'/%3E%3C/svg%3E"); }
.advico-hands    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7-4.35-9.5-8.5C1 9.5 2.5 6 6 6c2 0 3.2 1.1 4 2 .8-.9 2-2 4-2 3.5 0 5 3.5 3.5 6.5C19 16.65 12 21 12 21z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7-4.35-9.5-8.5C1 9.5 2.5 6 6 6c2 0 3.2 1.1 4 2 .8-.9 2-2 4-2 3.5 0 5 3.5 3.5 6.5C19 16.65 12 21 12 21z'/%3E%3C/svg%3E"); }
.advico-energy   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2L3 14h7l-1 8 10-12h-7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2L3 14h7l-1 8 10-12h-7z'/%3E%3C/svg%3E"); }
.advico-calendar { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v2H5a2 2 0 00-2 2v13a2 2 0 002 2h14a2 2 0 002-2V6a2 2 0 00-2-2h-2V2h-2v2H9V2H7zm12 8v9H5v-9h14z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v2H5a2 2 0 00-2 2v13a2 2 0 002 2h14a2 2 0 002-2V6a2 2 0 00-2-2h-2V2h-2v2H9V2H7zm12 8v9H5v-9h14z'/%3E%3C/svg%3E"); }
.advico-play     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zM10 8l6 4-6 4V8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zM10 8l6 4-6 4V8z'/%3E%3C/svg%3E"); }
.advico-star     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E"); }
.advico-mail     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 012 2v12a2 2 0 01-2 2H4a2 2 0 01-2-2V6a2 2 0 012-2zm8 7L4 6.5V8l8 4.5L20 8V6.5L12 11z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 012 2v12a2 2 0 01-2 2H4a2 2 0 01-2-2V6a2 2 0 012-2zm8 7L4 6.5V8l8 4.5L20 8V6.5L12 11z'/%3E%3C/svg%3E"); }

/* Bandeau réassurance */
.adv-reassurance {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 3rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: .5rem 0;
}
.adv-rea-item { display: flex; align-items: center; gap: .8rem; }
.adv-rea-ico { width: 30px; height: 30px; color: #813681; flex: none; }
.adv-rea-txt { display: flex; flex-direction: column; line-height: 1.3; }
.adv-rea-title { font-weight: 700; color: #2b2622; }
.adv-rea-sub { font-size: .85em; color: #6a625a; }

/* Cartes thématiques */
.adv-teasers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    max-width: 1080px;
    margin: 0 auto;
}
.adv-teaser {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.2rem 1.6rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,.07);
    transition: transform .2s, box-shadow .2s;
    color: #2b2622;
}
.adv-teaser:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(0,0,0,.14); color: #2b2622; }
.adv-teaser-ico {
    width: 34px; height: 34px; color: #fff;
    padding: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #47266d, #813681);
    box-sizing: content-box;
    margin-bottom: 1rem;
}
.adv-teaser-title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; font-weight: 700; color: #47266d; margin-bottom: .3rem; }
.adv-teaser-sub { font-size: .9rem; color: #6a625a; line-height: 1.5; flex: 1 1 auto; }
.adv-teaser-more { margin-top: 1rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #813681; }
.adv-teaser-more::after { content: " →"; }

/* Bloc avis / témoignages */
.adv-avis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    max-width: 1080px;
    margin: 0 auto;
}
.adv-avis-card {
    margin: 0;
    padding: 1.6rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
}
.adv-avis-stars { display: flex; gap: 3px; margin-bottom: .8rem; }
.adv-star { width: 16px; height: 16px; background: #e2d9cb; -webkit-mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E"); mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E"); }
.adv-star.is-on { background: #e0a92e; }
.adv-avis-text { margin: 0 0 1rem; font-style: italic; color: #4a4550; line-height: 1.6; border: 0; padding: 0; flex: 1 1 auto; }
.adv-avis-meta { display: flex; flex-direction: column; }
.adv-avis-author { font-weight: 700; color: #2b2622; }
.adv-avis-prod { font-size: .82em; color: #a98a5a; }
.adv-avis-cta { text-align: center; margin-top: 1.6rem; }

/* Teaser newsletter */
.adv-newsletter { max-width: 1000px; margin: 0 auto; }
.adv-nl-inner {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    justify-content: center;
    background: linear-gradient(135deg, #47266d, #813681);
    border-radius: 14px;
    padding: 1.8rem 2rem;
    color: #fff;
}
.adv-nl-ico { width: 40px; height: 40px; color: #fff; flex: none; }
.adv-nl-body { display: flex; flex-direction: column; line-height: 1.35; margin-right: auto; }
.adv-nl-title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; font-weight: 700; }
.adv-nl-sub { font-size: .92rem; opacity: .92; }
.adv-nl-btn { background: #fff !important; color: #47266d !important; border: 0 !important; flex: none; margin: 0 !important; align-self: center; }
.adv-nl-btn:hover { background: #f3ecf7 !important; }

@media (max-width: 849px) {
    .adv-teasers { grid-template-columns: repeat(2, 1fr); }
    .adv-avis    { grid-template-columns: 1fr; }
    /* Newsletter : empilement vertical centré (icône / titre / texte / bouton) */
    .adv-nl-inner { flex-direction: column; text-align: center; }
    .adv-nl-body  { margin-right: 0; text-align: center; align-items: center; }
}
@media (max-width: 549px) {
    .adv-teasers { grid-template-columns: 1fr; }
    .adv-reassurance { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
