/* brand.css : mova-globe.co.uk (https://www.mova-globe.co.uk), site d'affiliation Amazon.co.uk (globes MOVA).
   Copie de brand/movaglobe-de/brand.css (01/12/2026, accord de Théo : même DA, textes en anglais britannique).
   DA calquée sur le site officiel eu.movaglobes.store / movaglobes.com, demande de Théo du 29/11/2026
   (« copie la DA, j'ajusterai après le rendu ») : Lato partout, fond blanc, texte noir, accent vert sauge #90AA9D
   (bandeau d'annonce, bouton « tout voir »), petits boutons en capitales espacées, titres de section centrés,
   cartes produit sur fond gris clair, filet doré sous l'onglet actif. Logo : Théo pose le sien.
   Lato (OFL) auto-hébergée dans fonts/ : pas de Google Fonts en lien externe (RGPD / UK GDPR).
   Contrastes : #000 / #fff 21:1 ; #42474c / #fff 9,6:1 ; #2f3d35 / #90aa9d 4,6:1 (texte du bandeau).
   Le blanc sur sauge du site officiel (2,4:1) n'est gardé que sur le bouton « tout voir », en gros caractères gras. */

@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lato-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/lato-700-latin.woff2") format("woff2"); }

:root {
  --at-font-heading: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --at-font-sub: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --at-font-body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --at-fw-heading: 700;
  --at-radius-btn: 0;
  --at-radius-card: 0;
  --at-radius-field: 0;
  --at-accent: #90aa9d;
  --at-danger: #a83a32;
  --at-success: #2f6b4f;
  --at-media-bg: #f2f2f2;
  --at-soft: #f6f7f6;
  --at-muted: #42474c;
  --mg-sage: #90aa9d;
  --mg-sage-ink: #2f3d35;
  --mg-gold: #c9a24a;
}

:root, .color-white {
  --at-bg: #ffffff; --at-text: #000000; --at-line: #e5e7e6;
  --at-btn-bg: #000000; --at-btn-text: #ffffff; --at-btn-line: #000000;
  --at-btn2-bg: transparent; --at-btn2-text: #000000; --at-btn2-line: #000000;
  --at-badge-bg: #a83a32; --at-badge-text: #ffffff; --at-badge-line: #a83a32;
}

.color-creme, .color-creme-2, .color-offwhite {
  --at-bg: #f6f7f6; --at-text: #000000; --at-line: #e5e7e6;
  --at-btn-bg: #000000; --at-btn-text: #ffffff; --at-btn-line: #000000;
  --at-btn2-bg: #ffffff; --at-btn2-text: #000000; --at-btn2-line: #000000;
}

.color-dark {
  --at-bg: #111312; --at-text: #ffffff; --at-line: rgba(255,255,255,0.22);
  --at-btn-bg: #ffffff; --at-btn-text: #000000; --at-btn-line: #ffffff;
  --at-btn2-bg: transparent; --at-btn2-text: #ffffff; --at-btn2-line: #ffffff;
}

/* ---- Mise en forme calquée sur le site officiel (29/11/2026) ---- */
:root { --at-logo-h: 56px; --at-logo-h-mobile: 44px; }

/* Bandeau d'annonce vert sauge, texte foncé (4,6:1) */
.at-announcement { background: var(--mg-sage) !important; color: var(--mg-sage-ink) !important; letter-spacing: .03em; }
.at-announcement a { color: var(--mg-sage-ink) !important; }

/* Boutons : petites capitales espacées, comme « ACHETEZ MAINTENANT » / « AFFICHER TOUT » */
.button, button.button, a.button { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 700; }
.at-rail__all.button, .at-home > .at-hsec > .at-container > .button--secondary { background: var(--mg-sage); color: #fff; border-color: var(--mg-sage); }
.at-rail__all.button:hover { background: #7a9789; border-color: #7a9789; color: #fff; }

/* Titres de section centrés, filet doré sous le titre (onglet actif du site officiel) */
.at-shead { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.at-shead__title, .at-story__title, .at-home h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: .01em; }
.at-shead__title::after { content: ""; display: block; width: 56px; height: 2px; margin: 14px auto 0; background: var(--mg-gold); }

/* Héros : grande photo sombre, titre blanc en capitales comme « MOVA GLOBES » */
.at-home .at-banner h1, .at-home .at-banner .at-h1 { text-transform: uppercase; letter-spacing: .04em; }


/* Bandeau des 4 avantages : centré, sur fond gris très clair */
.at-trust--strip { background: var(--at-soft); }
.at-trust--strip .at-trust__list { justify-content: center; }

/* Prix masqués (29/11/2026) : prix enregistrés non issus d'Amazon et prix non relevés quotidiennement par l'API Amazon ; à retirer le jour
   d'un relevé quotidien par l'API Amazon (voir MG_PRIX_AFFICHES dans mu-plugins/mg-site.php) */
.at-price, .at-external__price { display: none !important; }

/* Photos non carrées (anciens imports) : remplir le cadre carré de la galerie et des cartes, sans bande vide dessous */
.at-gallery__slide img, .at-pcard__media img { height: 100% !important; width: 100% !important; object-fit: cover !important; }
.at-pcard__media { aspect-ratio: 1 / 1; overflow: hidden; }
/* Imagify sert les images dans un <picture> (WebP) : le cadre doit remplir la case */
.at-gallery__slide picture, .at-pcard__media picture { display: block; width: 100%; height: 100%; }

/* Site d'affiliation : ni compte ni panier (l'achat se fait sur Amazon.co.uk) */
.at-iconbtn--account, .at-header .at-cart { display: none !important; }

/* Boutons des cartes produit : une seule ligne sur téléphone */
.at-pcard .button { letter-spacing: .06em; font-size: 12px; min-height: 44px; white-space: nowrap; }

/* Aucun défilement horizontal sur téléphone (accueil à 394 px pour 375 au 29/11) */
html, body { overflow-x: clip; }

/* ---- Passe CRO du 01/12/2026 (skills conversion-cro, copywriting-persuasion, seo-page, bible-affiliation) ---- */
/* Titres de section : retour à la ligne autorisé (titres longs coupés à 375 px sur le .de) */
.at-home h2, .at-shead__title, .at-text h2 { white-space: normal; overflow-wrap: break-word; }
/* Bouton du héros sur une ligne */
.at-home .at-banner .button { letter-spacing: .12em; white-space: nowrap; }
/* Tuiles des tailles en 2 x 2 sur téléphone : les modèles remontent de ~1 300 px */
@media (max-width: 749px) {
  .at-edtiles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .at-edtile { height: auto !important; aspect-ratio: 3 / 4; }
  .at-edtile__body { padding: 14px 8px; gap: 8px; }
  .at-edtile__title { font-size: 1.05rem; line-height: 1.2; }
  .at-edtile__kicker { font-size: .6rem; letter-spacing: .1em; }
  .at-edtile__btn { padding: 9px 10px; font-size: .6rem; letter-spacing: .08em; }
}
/* Fiche : ligne de réassurance sous le bouton Amazon */
.at-product__info .at-buy-row { flex-wrap: wrap; }
.at-product__info .at-buy-row::after { content: "Current price, delivery and returns directly on Amazon.co.uk"; flex-basis: 100%; display: block; margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--at-muted); text-align: center; }
/* Fiche : barre Amazon collante sur téléphone, visible une fois le bouton principal dépassé */
.mg-sticky { display: none; }
@media (max-width: 749px) {
  .mg-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--at-line); box-shadow: 0 -4px 14px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .25s ease; }
  .mg-sticky.is-on { transform: none; }
  .mg-sticky__name { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mg-sticky .button { flex: none; width: auto; min-height: 44px; padding: 0 14px; letter-spacing: .06em; font-size: 11px; display: inline-flex; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .mg-sticky { transition: none; } }

/* Bloc « Verfügbare Größen » en bas des rayons (01/12/2026) : pleine largeur, 3 cartes, la taille du rayon en cours cerclée d'or */
.at-cseo__text--cols:has(.mg-sizes) { display: block; columns: auto; max-width: none; }
.mg-sizes { text-align: center; }
.at-cseo__text .mg-sizes__title { margin: 0 0 28px; color: #000; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; line-height: 1.2; }
.at-cseo__text .mg-sizes__title::after { content: ""; display: block; width: 56px; height: 2px; margin: 14px auto 0; background: var(--mg-gold); }
.mg-sizes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 920px; margin: 0 auto; }
.at-cseo__text a.mg-size { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 12px 22px; border: 1px solid var(--at-line); background: #fff; color: #000; text-decoration: none; transition: border-color .2s; }
.at-cseo__text a.mg-size:hover, .at-cseo__text a.mg-size:focus-visible { border-color: #000; }
.at-cseo__text a.mg-size[aria-current="page"] { border-color: var(--mg-gold); box-shadow: inset 0 0 0 1px var(--mg-gold); }
.mg-size__img { display: flex; align-items: flex-end; justify-content: center; height: 112px; margin-bottom: 6px; }
.mg-size__img img { display: block; object-fit: cover; }
.mg-size__name { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.mg-size__val { font-size: 1.375rem; font-weight: 700; line-height: 1.2; }
.mg-size__val small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--at-muted); }
.mg-size__use { font-size: 13px; line-height: 1.4; color: var(--at-muted); }
@media (max-width: 749px) {
  .mg-sizes__grid { gap: 8px; }
  .at-cseo__text a.mg-size { padding: 16px 6px; }
  .mg-size__name { font-size: 10px; letter-spacing: .12em; }
  .mg-size__val { font-size: 1.125rem; }
  .mg-size__use { display: none; }
}
