/*
Theme Name: HBMDM Bijoux
Theme URI: https://hbmdm.local
Author: HBMDM
Description: Thème moderne et élégant pour boutique de bijoux WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
WC requires at least: 8.0
WC tested up to: 9.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hbmdm-bijoux
Tags: e-commerce, jewelry, woocommerce, elegant, modern
*/

/* Core tokens moved to assets/css/core/tokens.css */

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background: rgb(184 150 62 / 18%);
  color: var(--color-dark);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-dark);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  min-height: 100%;
  overflow-y: scroll; /* Force scrollbar toujours visible */
  scrollbar-gutter: stable; /* Réserve l'espace sans afficher si non-nécessaire (navigateurs modernes) */
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site-wrapper {
  flex: 1 0 auto;
}

.site-footer {
  margin-top: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul,
ol {
  list-style: none;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  color: var(--color-mid);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.section-subtitle::before,
.section-subtitle::after {
  content: "";
  flex: 0 0 28px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.6;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section--light {
  background: var(--color-light);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-position 0.5s var(--ease-expo),
    color var(--transition),
    border-color var(--transition);
  border-radius: var(--radius);
  background-size: 100% 210%;
  background-position: top center;
}

.btn--gold {
  background-image: linear-gradient(
    to top,
    var(--color-gold-dark) 50%,
    var(--color-gold) 50%
  );
  color: var(--color-white);
  border-color: var(--color-gold);
}

.btn--gold:hover {
  background-position: bottom center;
  border-color: var(--color-gold-dark);
  color: var(--color-white);
}

.btn--outline {
  background-image: linear-gradient(
    to top,
    var(--color-dark) 50%,
    transparent 50%
  );
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.btn--outline:hover {
  background-position: bottom center;
  color: var(--color-white);
}

.btn--outline-gold {
  background-image: linear-gradient(
    to top,
    var(--color-gold) 50%,
    transparent 50%
  );
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn--outline-gold:hover {
  background-position: bottom center;
  color: var(--color-white);
}

/* Header styles moved to assets/css/layout/header.css */

/* Effects styles moved to assets/css/layout/effects.css */

/* Footer styles moved to assets/css/layout/footer.css */

/* WooCommerce core styles moved to assets/css/woocommerce/core.css */

/* Responsive styles moved to assets/css/layout/responsive.css */
