/*
 * Thème enfant Evoxse (parent : Classic, PrestaShop 8.2)
 * Style : noir et blanc, bleu nuit, serif élégant.
 * Aucune ressource externe : aucune police ni script chargé depuis un tiers.
 * Les polices Jost et Cormorant Garamond seront ajoutées en local plus tard ;
 * en attendant, la pile ci-dessous retombe sur des polices système.
 */

:root {
  --evx-ink: #101B2B;
  --evx-black: #000;
  --evx-white: #fff;
  --evx-cream: #F6F2EC;
  --evx-line: #E2DBD0;
  --evx-muted: #5b6573;
  --evx-sans: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --evx-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

body {
  background: var(--evx-white);
  color: var(--evx-ink);
  font-family: var(--evx-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

#wrapper { background: var(--evx-white); }

h1, h2, h3, h4, .h1, .h2, .h3, .h4,
.page-header h1, #content-wrapper h1 {
  font-family: var(--evx-serif);
  font-weight: 400;
  color: var(--evx-ink);
  letter-spacing: 0;
  text-transform: none;
}

a { color: var(--evx-ink); }
a:hover, a:focus { color: var(--evx-black); }

/* Boutons : noirs, carrés, majuscules espacées */
.btn,
.btn-primary,
.btn-secondary {
  border-radius: 0;
  font-family: var(--evx-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: none;
}
.btn-primary {
  background: var(--evx-black);
  border: 1px solid var(--evx-black);
  color: var(--evx-white);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: var(--evx-ink);
  border-color: var(--evx-ink);
  color: var(--evx-white);
}
.btn-secondary,
.btn-tertiary {
  background: transparent;
  border: 1px solid var(--evx-black);
  color: var(--evx-black);
}
.btn-secondary:hover,
.btn-tertiary:hover {
  background: var(--evx-black);
  color: var(--evx-white);
}

/* Formulaires */
.form-control,
.custom-select,
select {
  background: var(--evx-white);
  border-radius: 0;
  border: 1px solid var(--evx-line);
  color: var(--evx-ink);
  font-family: var(--evx-sans);
}
.form-control:focus {
  border-color: var(--evx-black);
  box-shadow: none;
  outline: 0;
}

/* Cartes et blocs */
.card,
.page-content,
.card-block {
  border-radius: 0;
}
.page-content.page-cms,
.page-content.page-not-found {
  color: var(--evx-ink);
}

/* Fil d'Ariane et en-tête de page */
.breadcrumb { background: transparent; }
.breadcrumb a, .breadcrumb li { color: var(--evx-muted); }

/* Lisibilité : liens soulignés dans le texte des pages de contenu */
.page-cms a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Accessibilité : focus visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--evx-black);
  outline-offset: 2px;
}

/* Respect des préférences d'animation */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
