/* assets/css/main.css — Made's Graphic · Styles globaux, variables, reset, imports */

/* ─── IMPORTS ─────────────────────────────────────────── */
@import url('nav.css');
@import url('hero.css');
@import url('sections.css');
@import url('tarifs.css');
@import url('animations.css');

/* ─── VARIABLES ───────────────────────────────────────── */
:root {
  --taupe:        #7a6558;
  --taupe-dark:   #5c4a3e;
  --taupe-light:  #9e8878;
  --cream:        #e8ddd0;
  --cream-light:  #f5f0ea;
  --white:        #ffffff;
  --brown-deep:   #3d2f28;
  --text-body:    #4a3c35;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Jost', system-ui, sans-serif;

  --spacing-xs:   8px;
  --spacing-sm:   16px;
  --spacing-md:   32px;
  --spacing-lg:   60px;
  --spacing-xl:   100px;
  --spacing-2xl:  140px;

  --radius:       2px;
  --radius-md:    4px;
  --transition:   0.3s ease;
  --transition-slow: 0.8s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ui);
  background-color: var(--cream-light);
  color: var(--text-body);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-ui);
  cursor: none;
}

/* ─── CUSTOM CURSOR (desktop seulement) ───────────────── */
.cursor-dot {
  width: 10px;
  height: 10px;
  background: var(--taupe);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform var(--transition), background var(--transition), width var(--transition), height var(--transition);
  will-change: left, top;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--taupe);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0.55;
  will-change: left, top;
}

.cursor-dot.hovered {
  transform: translate(-50%, -50%) scale(2.5);
  background: var(--taupe-light);
}

.cursor-ring.hovered {
  opacity: 0;
}

/* ─── CONTENEUR ───────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ─── BOUTONS GLOBAUX ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 36px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 1px solid transparent;
  cursor: none;
}

/* Bouton crème (sur fond sombre) */
.btn--cream {
  background: var(--cream);
  color: var(--taupe-dark);
  border-color: var(--cream);
}
.btn--cream:hover {
  background: var(--cream-light);
  transform: translateY(-2px);
}

/* Bouton outline crème (sur fond sombre) */
.btn--outline-cream {
  background: transparent;
  color: var(--cream);
  border-color: rgba(232, 221, 208, 0.45);
}
.btn--outline-cream:hover {
  border-color: var(--cream);
  transform: translateY(-2px);
}

/* Bouton taupe (sur fond clair) */
.btn--taupe {
  background: var(--taupe);
  color: var(--cream);
  border-color: var(--taupe);
}
.btn--taupe:hover {
  background: var(--taupe-dark);
  border-color: var(--taupe-dark);
}

/* Bouton outline taupe */
.btn--outline-taupe {
  background: transparent;
  color: var(--cream);
  border-color: rgba(232, 221, 208, 0.3);
}
.btn--outline-taupe:hover {
  border-color: var(--cream);
}

/* ─── TYPOGRAPHIES SECTION ────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 14px;
}

.section-eyebrow--light {
  color: var(--cream);
  opacity: 0.6;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--brown-deep);
}

.section-title em {
  font-style: italic;
}

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

/* ─── SECTION GÉNÉRIQUE ───────────────────────────────── */
.section {
  padding: var(--spacing-2xl) 0;
}

/* ─── FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--brown-deep);
  padding: 60px var(--spacing-lg);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__logo {
  max-height: 36px;
  width: auto;
}

.footer__tagline {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.4;
}

.footer__copy {
  font-size: 11px;
  color: var(--cream);
  opacity: 0.35;
  letter-spacing: 0.05em;
  text-align: center;
}

.footer__nav {
  display: flex;
  gap: 28px;
}

.footer__link {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.45;
  transition: opacity var(--transition);
}

.footer__link:hover {
  opacity: 0.85;
}

/* ─── RESPONSIVE GLOBAL ───────────────────────────────── */
@media (max-width: 900px) {
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .container {
    padding: 0 28px;
  }

  .section {
    padding: 80px 0;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer__copy {
    text-align: left;
  }
}
