/**
 * Page d'accueil — styles des sections rendues par front-page.php.
 * Valeurs relevées sur la maquette : conteneur 1280, cartes rayon 276 px de haut,
 * rayon d'angle 16 px, bordure 2 px, pastille 40 px, surtitre 12 px.
 */

/* ---- Éléments communs ---- */
.atn-surtitre { font-family: var(--wp--preset--font-family--sans); font-weight: 800; font-size: .75rem; line-height: 1.5; text-transform: uppercase; color: var(--wp--preset--color--orange); margin: 0; }
.atn-titre { font-family: var(--wp--preset--font-family--sans); font-weight: 800; line-height: 1.15; margin: .75rem 0 0; font-size: 1.875rem; }
.atn-titre--section { font-size: 2.25rem; line-height: 1.25; }
.atn-titre--hero { font-size: 2.25rem; line-height: 1.04; margin-top: 1rem; max-width: 48rem; }
.atn-titre--moyen { font-size: 1.875rem; line-height: 1.2; }
.atn-titre--clair { color: var(--wp--preset--color--white); }
.atn-titre em { font-style: normal; color: var(--wp--preset--color--orange); }

.atn-lead { font-size: 1rem; line-height: 1.5; color: var(--wp--preset--color--greytext); margin: 1rem 0 0; max-width: 42rem; }
.atn-lead--light { color: rgba(255,255,255,.8); }
.atn-lead--fin { max-width: 42rem; }
.atn-boutons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

.atn-entete--duo { display: grid; gap: 2rem; }
.atn-entete--ligne { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 1024px) {
  .atn-entete--duo { grid-template-columns: .9fr 1.6fr; align-items: end; }
  .atn-entete--duo .atn-lead { justify-self: end; }
}

/* Pastille flèche posée sur les visuels */
.atn-pastille { position: absolute; right: .75rem; top: .75rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--wp--preset--color--orange); color: #fff; font-size: .875rem; transition: transform .3s; }
.atn-pastille--sm { width: 2.25rem; height: 2.25rem; }

/* ---- 1. Hero ---- */
.atn-hero { position: relative; isolation: isolate; background: var(--atn-hero-image) center/cover no-repeat, var(--wp--preset--color--ink); color: var(--wp--preset--color--white); }
.atn-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,10,13,.85) 0%, rgba(8,10,13,.55) 55%, rgba(8,10,13,.08) 100%), rgba(8,10,13,.45); }
.atn-hero__inner { min-height: calc(100svh - 117px); display: flex; flex-direction: column; justify-content: center; padding-block: 4rem; }
.atn-hero .atn-lead { max-width: 36rem; font-size: 1.125rem; line-height: 1.5556; margin-top: 1.5rem; }

/* ---- 2. Catalogue ---- */
.atn-catalogue { padding-block: var(--at-section); }
.atn-univers, .atn-produits, .atn-services__grille, .atn-avis__grille, .atn-publics__grille { margin-top: var(--at-gap-titre); }
.atn-univers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.atn-univers__carte { display: block; padding: .5rem; border: 2px solid rgba(8,10,13,.18); border-radius: 1rem; background: var(--wp--preset--color--white); text-decoration: none; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.atn-univers__slide--large { grid-column: span 2; }
.atn-univers__carte:hover { border-color: var(--wp--preset--color--orange); box-shadow: 0 28px 56px -28px rgba(8,10,13,.48); }
.atn-univers__media { position: relative; border-radius: .75rem; overflow: hidden; }
.atn-univers__image { width: 100%; height: 16rem; object-fit: cover; transition: transform .5s; }
.atn-univers__carte:hover .atn-univers__image { transform: scale(1.05); }
.atn-univers__carte:hover .atn-pastille { transform: rotate(12deg); }
.atn-univers__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--wp--preset--color--ink) 0%, rgba(8,10,13,.36) 45%, transparent 100%); }
.atn-univers__texte { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 1.25rem; color: #fff; }
.atn-univers__titre { font-size: 1.25rem; }
.atn-univers__texte p { margin: .25rem 0 0; font-size: .875rem; line-height: 1.4286; color: rgba(255,255,255,.75); }

/* ---- 3. Sélection du moment ---- */
.atn-selection { background: var(--wp--preset--color--muted); padding-block: var(--at-section-fond); }
.atn-produits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.atn-produit { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--wp--preset--color--grey); border-radius: 1rem; background: var(--wp--preset--color--white); text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(8,10,13,.08), 0 18px 36px -24px rgba(8,10,13,.32); transition: transform .2s, border-color .2s, box-shadow .2s; }
.atn-produit:hover { transform: translateY(-4px); border-color: rgba(240,104,27,.55); box-shadow: 0 28px 56px -28px rgba(8,10,13,.48); }
.atn-produit__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wp--preset--color--muted); }
.atn-produit__image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.atn-produit:hover .atn-produit__image { transform: scale(1.05); }
.atn-produit:hover .atn-pastille { transform: rotate(12deg); }
.atn-produit__ref { position: absolute; left: .75rem; top: .75rem; padding: .25rem .75rem; border-radius: 999px; background: var(--wp--preset--color--ink); color: #fff; font-family: var(--wp--preset--font-family--sans); font-weight: 800; font-size: .65rem; text-transform: uppercase; }
.atn-produit__corps { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; }
.atn-produit__titre { margin-top: .5rem; font-size: 1.125rem; line-height: 1.35; }
.atn-produit__texte { flex: 1; margin: .5rem 0 0; font-size: .875rem; line-height: 1.4286; color: var(--wp--preset--color--greytext); }
.atn-produit__lien { margin-top: 1rem; font-family: var(--wp--preset--font-family--sans); font-weight: 800; font-size: .875rem; line-height: 1.4286; transition: color .2s; }
.atn-produit:hover .atn-produit__lien { color: var(--wp--preset--color--orange); }

/* ---- 4. Services ---- */
.atn-services { position: relative; isolation: isolate; background: var(--atn-services-image) center/cover no-repeat, var(--wp--preset--color--ink); color: var(--wp--preset--color--white); padding-block: var(--at-section-fond); }
.atn-services::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,10,13,.8) 0%, rgba(8,10,13,.45) 55%, rgba(8,10,13,.1) 100%), rgba(8,10,13,.3); }
.atn-services__intro { max-width: 48rem; }
.atn-services__grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.atn-service { padding: 1.5rem; border: 1px solid rgba(255,255,255,.2); border-radius: 1rem; background: rgba(8,10,13,.78); backdrop-filter: blur(12px); }
.atn-service__icon { font-size: 1.5rem; color: var(--wp--preset--color--orange); }
.atn-service__titre { margin-top: 1rem; font-size: 1rem; color: #fff; }
.atn-service p { margin: .5rem 0 0; font-size: .875rem; line-height: 1.4286; color: rgba(255,255,255,.75); }

/* ---- 5. Deux publics ---- */
.atn-publics { padding-block: var(--at-section); }
.atn-publics__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.atn-public { display: flex; flex-direction: column; padding: 2rem; border: 1px solid var(--wp--preset--color--grey); border-radius: 1rem; background: var(--wp--preset--color--white); box-shadow: 0 1px 2px rgba(8,10,13,.08), 0 18px 36px -24px rgba(8,10,13,.32); }
.atn-public__icon { font-size: 1.75rem; color: var(--wp--preset--color--orange); }
.atn-public__titre { margin-top: 1.25rem; font-size: 1.5rem; }
.atn-public__texte { flex: 1; margin: .75rem 0 1.5rem; color: var(--wp--preset--color--greytext); }
.atn-public .at-cta { align-self: flex-start; }

/* ---- 6. Avis ---- */
.atn-avis { padding-block: var(--at-section); }
.atn-devis { padding-block: var(--at-section); }
.atn-note { display: flex; align-items: center; gap: .75rem; }
.atn-note__ligne { display: flex; align-items: center; gap: .5rem; }
.atn-note__valeur { font-family: var(--wp--preset--font-family--sans); font-weight: 800; font-size: 1.5rem; }
.atn-note__texte { margin: 0; font-size: .875rem; line-height: 1.4286; color: var(--wp--preset--color--greytext); }
.atn-etoiles { display: flex; gap: .125rem; color: var(--wp--preset--color--orange); font-size: .8125rem; }
.atn-etoiles__vide { color: var(--wp--preset--color--grey); }
.atn-google { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--wp--preset--color--grey); border-radius: 999px; background: var(--wp--preset--color--white); font-family: var(--wp--preset--font-family--sans); font-weight: 800; font-size: 1.125rem; background-image: linear-gradient(90deg,#4285F4,#EA4335,#FBBC05,#34A853); -webkit-background-clip: text; background-clip: text; color: transparent; }
.atn-avis__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.atn-avis__carte { display: flex; flex-direction: column; margin: 0; padding: 1.5rem; border: 1px solid var(--wp--preset--color--grey); border-radius: 1rem; background: var(--wp--preset--color--white); box-shadow: 0 1px 2px rgba(8,10,13,.08), 0 18px 36px -24px rgba(8,10,13,.32); }
.atn-avis__haut { display: flex; align-items: center; justify-content: space-between; }
.atn-avis__carte blockquote { flex: 1; margin: 1rem 0 0; font-size: .875rem; line-height: 1.625; color: var(--wp--preset--color--greytext); }
.atn-avis__carte figcaption { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--wp--preset--color--grey); }
.atn-avis__auteur { margin: 0; font-family: var(--wp--preset--font-family--sans); font-weight: 700; font-size: .875rem; line-height: 1.4286; }
.atn-avis__date { margin: .125rem 0 0; font-size: .75rem; line-height: 1.3333; color: var(--wp--preset--color--greytext); }

/* ---- 7. Bandeau devis ---- */
.atn-devis__panneau { position: relative; overflow: hidden; border-radius: 1rem; background-color: var(--wp--preset--color--ink); background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 38px 38px; color: var(--wp--preset--color--white); padding: 3rem clamp(1.5rem, 3vw, 3rem); display: grid; gap: 2rem; }
.atn-devis__ruban { position: absolute; inset-inline: 0; top: 0; height: .5rem; background-image: repeating-linear-gradient(135deg, var(--wp--preset--color--orange) 0 8px, transparent 8px 16px); }
.atn-devis__boutons { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 1024px) {
  .atn-devis__panneau { grid-template-columns: 1.4fr auto; align-items: center; }
}
@media (min-width: 640px) and (max-width: 1023px) { .atn-devis__boutons { flex-direction: row; } }

/* ---- Tablette ---- */
@media (max-width: 1023px) {
  .atn-univers, .atn-produits, .atn-services__grille, .atn-avis__grille { grid-template-columns: repeat(2, 1fr); }
  .atn-univers__slide--large { grid-column: span 2; }
  .atn-hero__inner { min-height: 560px; }
}

/* ---- Mobile : tout est centré sous 768 px ---- */
@media (max-width: 767px) {
  .atn-univers, .atn-produits, .atn-services__grille, .atn-avis__grille, .atn-publics__grille { grid-template-columns: 1fr; }
  .atn-univers__slide--large { grid-column: span 1; }
  .atn-hero__inner { min-height: 520px; padding-block: 3rem 4rem; text-align: center; align-items: center; }
  .atn-hero .atn-lead, .atn-titre--hero { margin-inline: auto; }
  .atn-boutons { justify-content: center; }
  .atn-entete--duo, .atn-entete--ligne { text-align: center; justify-content: center; justify-items: center; }
  .atn-entete--duo .atn-lead, .atn-lead { margin-inline: auto; }
  .atn-produit__corps, .atn-public, .atn-avis__carte, .atn-services__intro, .atn-devis__texte { text-align: center; }
  .atn-public { align-items: center; }
  .atn-public .at-cta { align-self: center; }
  .atn-avis__haut, .atn-note { justify-content: center; }
  .atn-etoiles { justify-content: center; }
  .atn-devis__boutons .at-cta, .atn-public .at-cta { justify-content: center; }
}

/* ---- Points de rupture de la maquette (640 / 768) ---- */
@media (min-width: 640px) {
  .atn-titre--hero { font-size: 3.75rem; }
  .atn-titre--section { font-size: 3rem; }
  .atn-titre--moyen { font-size: 2.25rem; line-height: 1.1111; }
  .atn-devis__panneau { padding-inline: 3rem; }
}
@media (min-width: 768px) {
  .atn-hero__inner { min-height: 680px; padding-block: 6rem; }
}

/* ---- Carte de guide (accueil, liste des conseils) ---- */
.atn-guide { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--wp--preset--color--grey); border-radius: 1rem; background: var(--wp--preset--color--white); text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(8,10,13,.08), 0 18px 36px -24px rgba(8,10,13,.32); transition: transform .2s, border-color .2s, box-shadow .2s; }
.atn-guide:hover { transform: translateY(-4px); border-color: rgba(240,104,27,.55); box-shadow: 0 28px 56px -28px rgba(8,10,13,.48); }
.atn-guide__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--wp--preset--color--muted); }
.atn-guide__image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.atn-guide:hover .atn-guide__image { transform: scale(1.05); }
.atn-guide__corps { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.atn-guide__titre { margin-top: .5rem; font-size: 1.125rem; line-height: 1.375; transition: color .2s; }
.atn-guide:hover .atn-guide__titre { color: var(--wp--preset--color--orange); }
.atn-guide__texte { flex: 1; margin: .5rem 0 0; font-size: .875rem; line-height: 1.4286; color: var(--wp--preset--color--greytext); }


/* ---- Carrousels Swiper (règle projet : tout carrousel passe par Swiper, chargé par Apollon) ----
   Sans JavaScript, la même structure reste une rangée défilante à accroche. */
.at-carousel { position: relative; margin-top: var(--at-gap-titre); }
.at-carousel .swiper-wrapper { align-items: stretch; }
.at-carousel .swiper-slide { height: auto; display: flex; }
.at-carousel .swiper-slide > * { flex: 1; min-width: 0; }
/* Repli sans Swiper : rangée défilante pour les carrousels permanents… */
.at-carousel[data-at-carousel="toujours"]:not(.is-swiper) .swiper-wrapper { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.at-carousel:not(.is-swiper) .swiper-wrapper::-webkit-scrollbar { display: none; }
.at-carousel[data-at-carousel="toujours"]:not(.is-swiper) .swiper-slide { flex: none; width: 82%; scroll-snap-align: start; }
@media (min-width: 640px) { .at-carousel[data-at-carousel="toujours"]:not(.is-swiper) .swiper-slide { width: calc((100% - 1rem) / 2); } }
@media (min-width: 1024px) {
  .at-carousel[data-per-view$=",4"]:not(.is-swiper) .swiper-slide { width: calc((100% - 3rem) / 4); }
  .at-carousel[data-per-view$=",3"]:not(.is-swiper) .swiper-slide { width: calc((100% - 2rem) / 3); }
}
/* …et pour les carrousels « mobile », sous 640 px seulement (au-dessus, ce sont des grilles). */
@media (max-width: 639px) {
  .at-carousel--mobile:not(.is-swiper) .swiper-wrapper { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .at-carousel--mobile:not(.is-swiper) .swiper-slide { flex: none; width: 82%; scroll-snap-align: start; }
}

/* Sous 640 px, le carrousel déborde jusqu'aux bords de l'écran : la carte suivante « mord » le bord. */
@media (max-width: 639px) {
  .at-carousel { margin-inline: -1rem; }
  .at-carousel .swiper { padding-inline: 1rem; }
  .at-carousel--mobile .swiper-wrapper { display: flex; }
}

/* Carrousel « mobile » : redevient une grille à partir de 640 px. */
@media (min-width: 640px) {
  .at-carousel--mobile .swiper { overflow: visible; }
  .at-carousel--mobile .atn-univers { display: grid; }
  .at-carousel--mobile .atn-guides-home__grille { display: grid; gap: 1.5rem; }
  .at-carousel--mobile .swiper-slide { width: auto; }
  .at-carousel--mobile .at-carousel__pagination { display: none; }
  .atn-guides-home__grille > :nth-child(n+4) { display: none; }   /* 3 guides sur ordinateur, tous en carrousel mobile */
}
@media (min-width: 768px) { .atn-guides-home__grille { grid-template-columns: repeat(3, 1fr); } }

/* Pagination : points, le point actif s'allonge (maquette). Masquée quand les flèches suffisent. */
.at-carousel__pagination { display: flex; justify-content: center; gap: .375rem; margin-top: 1.25rem; }
.at-carousel__pagination:empty { display: none; }
.at-carousel__pagination .swiper-pagination-bullet { width: .5rem; height: .5rem; margin: 0 !important; padding: 0; border: 0; border-radius: 999px; background: rgba(8,10,13,.25); opacity: 1; cursor: pointer; transition: width .3s, background-color .3s; }
.at-carousel__pagination .swiper-pagination-bullet-active { width: 1.5rem; background: var(--wp--preset--color--orange); }
.at-carousel__pagination.swiper-pagination-lock { display: none; }
@media (min-width: 1024px) { .at-carousel[data-at-carousel="toujours"] .at-carousel__pagination { display: none; } }

/* Flèches : même hauteur que les boutons (48 px). */
.at-fleches { display: flex; gap: .5rem; }
.at-fleche { display: grid; place-items: center; width: var(--at-btn-h); height: var(--at-btn-h); padding: 0; border: 1px solid var(--wp--preset--color--grey); border-radius: 999px; background: var(--wp--preset--color--white); color: var(--wp--preset--color--ink); font-size: .9375rem; cursor: pointer; transition: border-color .2s, color .2s, opacity .2s; }
.at-fleche:hover { border-color: var(--wp--preset--color--orange); color: var(--wp--preset--color--orange); }
.at-fleche.is-off, .at-fleche:disabled { opacity: .4; cursor: default; border-color: var(--wp--preset--color--grey); color: var(--wp--preset--color--ink); }
.at-fleche.is-lock { opacity: .4; pointer-events: none; }   /* maquette : flèches visibles mais éteintes quand tout tient à l'écran */

.atn-entete__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.atn-titre--etroit { max-width: 48rem; }   /* max-w-3xl */
.atn-titre--2xl { max-width: 42rem; }       /* max-w-2xl */

/* ---- Guides de l'accueil ---- */
.atn-guides-home { padding-block: var(--at-section); }
.atn-note-liens { margin-top: 2rem; font-size: .875rem; color: var(--wp--preset--color--greytext); }
.atn-note-liens p { margin: 0; }
.atn-note-liens a { font-weight: 600; color: var(--wp--preset--color--orange); text-decoration: none; }
.atn-note-liens a:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .atn-entete__actions { justify-content: center; }
  .atn-titre--etroit { margin-inline: auto; }
  .atn-publics .atn-surtitre, .atn-publics .atn-titre, .atn-note-liens, .atn-guide__corps { text-align: center; }
}

/* ---- Maillage interne : pastilles de rayons + liste de guides ---- */
.atn-maillage { padding-block: var(--at-section); }
.atn-maillage__grille { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 1024px) { .atn-maillage__grille { grid-template-columns: 1.2fr 1fr; } }
.atn-maillage .atn-titre { font-size: 1.5rem; line-height: 2rem; }   /* maquette : text-2xl sm:text-3xl */
@media (min-width: 640px) { .atn-maillage .atn-titre { font-size: 1.875rem; line-height: 2.25rem; } }
.atn-maillage__titre { font-size: 1.125rem; line-height: 1.5556; }
.atn-pastilles { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.atn-pastilles a { display: inline-block; padding: .5rem 1rem; border: 1px solid var(--wp--preset--color--grey); border-radius: 999px; background: var(--wp--preset--color--white); font-family: var(--wp--preset--font-family--sans); font-weight: 800; font-size: .875rem; line-height: 1.4286; color: inherit; text-decoration: none; transition: border-color .2s, color .2s; }
.atn-pastilles a:hover { border-color: var(--wp--preset--color--orange); color: var(--wp--preset--color--orange); }
.atn-maillage .atn-note-liens { margin-top: 1.25rem; }
.atn-maillage__guides { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .75rem; }
.atn-maillage__guides a { font-family: var(--wp--preset--font-family--sans); font-weight: 800; font-size: 1rem; line-height: 1.375; color: inherit; text-decoration: none; transition: color .2s; }
.atn-maillage__guides a:hover { color: var(--wp--preset--color--orange); }
@media (max-width: 767px) {
  .atn-maillage { text-align: center; }
  .atn-pastilles { justify-content: center; }
}
.atn-guides-home .at-carousel { margin-top: 2rem; }   /* maquette : mt-8 à toutes les tailles pour cette section */

/* Bandeau devis : titre limité comme tous les titres de section (max-w-3xl). */
.atn-devis__texte .atn-titre { max-width: 48rem; }

/* Variante « liste » (page Conseils, maquette) : visuel de 192 px, pastille de catégorie, durée. */
.atn-guide--liste .atn-guide__media { aspect-ratio: auto; height: 12rem; }
.atn-guide__meta { display: flex; align-items: center; gap: .75rem; }
.atn-guide--liste .atn-guide__cat { padding: .25rem .75rem; border-radius: 999px; background: rgba(240,104,27,.12); color: var(--wp--preset--color--orange); font-family: var(--wp--preset--font-family--sans); font-weight: 800; font-size: .75rem; letter-spacing: .025em; text-transform: uppercase; }
.atn-guide__duree { display: inline-flex; align-items: center; gap: .25rem; font-size: .75rem; color: var(--wp--preset--color--greytext); }
.atn-guide--liste .atn-guide__titre { margin-top: 1rem; }
.atn-guide--liste .atn-guide__texte { margin-top: .75rem; }
.atn-guide--liste .atn-produit__lien { margin-top: 1rem; }
@media (max-width: 767px) { .atn-guide__meta { justify-content: center; } }

/* ---- Avis Google de l'extension ATTPS : cartes de la maquette ----
   L'extension expose ses couleurs en variables ; le reste est posé sous .atn-avis pour ne rien
   changer à son rendu ailleurs. */
.atn-avis__google { margin-top: var(--at-gap-titre); }
/* Deux copies de Swiper sont chargées (celle d'Apollon et celle de l'extension) : la seconde feuille
   remet .swiper-slide à height:100%, ce qui empêche les cartes de s'aligner. On rétablit ici. */
.atn-avis .attps-reviews-slider__swiper .swiper-wrapper { align-items: stretch; }
.atn-avis .attps-reviews-slider__slide { height: auto; }
.atn-avis .attps-reviews-slider {
  --attps-rs-star: var(--wp--preset--color--orange);
  --attps-rs-star-empty: var(--wp--preset--color--grey);
  --attps-rs-author: var(--wp--preset--color--ink);
  --attps-rs-text: var(--wp--preset--color--greytext);
  --attps-rs-badge-bg: var(--wp--preset--color--white);
}
.atn-avis .attps-reviews-slider__swiper { padding: .25rem .25rem 1.5rem; margin: -.25rem; }   /* laisse respirer l'ombre des cartes */
.atn-avis .attps-reviews-slider__card { gap: 1rem; padding: 1.5rem; border: 1px solid var(--wp--preset--color--grey); border-radius: 1rem; background: var(--wp--preset--color--white); box-shadow: 0 1px 2px rgba(8,10,13,.08), 0 18px 36px -24px rgba(8,10,13,.32); }
.atn-avis .attps-reviews-slider__badge { width: 2.5rem; height: 2.5rem; border: 1px solid var(--wp--preset--color--grey); border-radius: 999px; }
.atn-avis .attps-reviews-slider__badge img { width: 1.25rem; height: 1.25rem; }
.atn-avis .attps-reviews-slider__author { font-family: var(--wp--preset--font-family--sans); font-weight: 700; font-size: .875rem; }
.atn-avis .attps-reviews-slider__stars { font-size: .875rem; }
/* Même hauteur de carte d'un avis à l'autre : texte coupé à 6 lignes (le lien de l'auteur mène à l'avis complet). */
.atn-avis .attps-reviews-slider__text { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; font-size: .875rem; line-height: 1.625; }
@media (max-width: 767px) { .atn-avis .attps-reviews-slider__head { justify-content: center; } .atn-avis .attps-reviews-slider__card { text-align: center; } .atn-avis .attps-reviews-slider__meta { align-items: center; } }
