/* ==========================================================================
   BRAZ & LOC
   Styles globaux du site
   ========================================================================== */

/* ==========================================================================
   1. Variables
   ========================================================================== */

:root {
  --color-background: #0d1117;
  --color-background-soft: #131a22;
  --color-background-card: #171f29;

  --color-fire: #e76f1d;
  --color-fire-light: #ff914d;
  --color-ember: #b53a25;

  --color-wood: #8b5e34;
  --color-cream: #f8f6f2;
  --color-muted: #aab2bd;

  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-strong: rgba(255, 255, 255, 0.18);

  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.28);

  --shadow-fire: 0 16px 50px rgba(231, 111, 29, 0.22);

  --container-width: 1280px;

  --navbar-height: 96px;
  --navbar-height-scrolled: 76px;

  --radius-small: 12px;
  --radius-medium: 20px;
  --radius-large: 32px;

  --transition-fast: 180ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   2. Reset et base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background: var(--color-background);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;

  background:
    radial-gradient(
      circle at 10% 5%,
      rgba(231, 111, 29, 0.08),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 20%,
      rgba(181, 58, 37, 0.07),
      transparent 24%
    ),
    var(--color-background);

  color: var(--color-cream);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: #ffffff;
  background: var(--color-fire);
}

/* ==========================================================================
   3. Accessibilité
   ========================================================================== */

:focus-visible {
  outline: 3px solid rgba(255, 145, 77, 0.9);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 9999;

  padding: 12px 18px;
  border-radius: 999px;

  color: #ffffff;
  background: var(--color-fire);

  transform: translateY(-160%);
  transition: transform var(--transition-base);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ==========================================================================
   4. Utilitaires globaux
   ========================================================================== */

.site-container {
  width: min(calc(100% - 32px), var(--container-width));

  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: 96px;
}



.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 18px;

  color: var(--color-fire-light);

  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";

  width: 32px;
  height: 2px;

  border-radius: 999px;

  background: linear-gradient(
    90deg,
    var(--color-fire),
    var(--color-fire-light)
  );
}

.section-title {
  max-width: 820px;
  margin: 0;

  color: #ffffff;

  font-size: clamp(2.2rem, 5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-description {
  max-width: 720px;
  margin-top: 24px;

  color: var(--color-muted);

  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.85;
}


.text-gradient-fire {
  color: transparent;

  background: linear-gradient(
    135deg,
    var(--color-fire-light),
    var(--color-fire),
    var(--color-ember)
  );

  background-clip: text;
  -webkit-background-clip: text;
}


/* ==========================================================================
   5. Boutons réutilisables
   ========================================================================== */

.btn {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 52px;
  padding: 14px 24px;

  overflow: hidden;

  border: 1px solid transparent;
  border-radius: 999px;

  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;

  transition:
    transform var(--transition-base),
    border-color var(--transition-base),
    background-color var(--transition-base),
    box-shadow var(--transition-base),
    color var(--transition-base);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: #ffffff;

  background: linear-gradient(
    135deg,
    var(--color-fire-light),
    var(--color-fire),
    var(--color-ember)
  );

  box-shadow: var(--shadow-fire);
}

.btn-primary:hover {
  box-shadow: 0 20px 56px rgba(231, 111, 29, 0.32);
}

.btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-outline:hover {
  border-color: rgba(255, 145, 77, 0.75);
  background: rgba(231, 111, 29, 0.12);
}
