/* brand.css : mova-globe.de (https://www.mova-globe.de), site d'affiliation Amazon.de (globes MOVA).
   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, Allemagne).
   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 globes sans offre sur Amazon.de ; à 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.de) */
.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; }
