/* ============================================
   FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* CORRIGÉ: Chemin relatif au thème WordPress */
@font-face {
  font-family: 'Brian';
  src: url('/wp-content/themes/hotti/static/fonts/Brian.ttf') format('truetype');
	font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Alternative si la police est dans wp-content/themes/ton-theme/assets/fonts/ */
/* @font-face {
  font-family: 'Brian';
  src: url('<?php echo get_template_directory_uri(); ?>/assets/fonts/Brian.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
} */

/* ============================================
   VARIABLES GLOBALES
   ============================================ */
:root {
  --yellow: #074571;
  --hover-color: #2600ff;
  --color3: yellow;
  --bg-color: #f5f5f5;
  --red: #f00;
  --font--sans: 'Archivo', sans-serif;
  --font--serif: 'Brian', serif;
  --font--brian: 'Brian', sans-serif;
}

/* ============================================
   RESET & STYLES GÉNÉRAUX
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  background: var(--red);
}

main.main {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ============================================
   TYPOGRAPHIE
   ============================================ */
h1 {
  font-family: var(--font--brian);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  font-weight: 400;
  color: white;
  text-shadow:
    0 0 10px #ff6f00,
    0 0 20px #ff6f00,
    0 0 30px #ff6f00;
  user-select: none;
  z-index: 10;
}

h2 {
  font-size: 1em;
  font-family: var(--font--serif);
  margin-bottom: 0.5em;
}

h3 {
  font-family: var(--font--sans);
  font-weight: normal;
}

/* ============================================
   NAVIGATION & LIENS
   ============================================ */
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: var(--color1);
  font-size: 0.8em;
}

a {
  display: inline-block;
  position: relative;
  color: red;
  transition: color 0.8s ease;
  text-decoration: none;
}

a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color2);
  transition: transform 0.25s ease-out;
  transform-origin: bottom right;
}

a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* ============================================
   MENU CHROME (pour page d'accueil)
   ============================================ */
.chrome-logo-container {
  font-family: var(--font--brian);
}

.chrome-menu-item a,
.chrome-menu-item span {
  font-family: var(--font--brian);
  color: white;
  font-size: 2.5rem;
  font-weight: 400;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.chrome-menu-item a:hover,
.chrome-menu-item span:hover {
  opacity: 0.7;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

header {
  background-color: pink;
}

footer {
  background-color: bisque;
}

/* ============================================
   BOUTONS
   ============================================ */
button {
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
}