/* Base reset et typographie */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: clip;
  /* TEX-5 Papier chaud */
  background-image: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent) 6%, var(--bg)) 0%, var(--bg) 60%);
  background-attachment: fixed;
}

body > * { position: relative; z-index: 1; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: 0; background: transparent; font-family: var(--ff-ui); }
figure { margin: 0; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  line-height: 1.1;
  color: var(--text);
}

p { color: var(--text-2); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-label {
  font-family: var(--ff-ui);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text);
  margin-bottom: 14px;
}

.section-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-2);
  max-width: 54ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-md);
  font-family: var(--ff-ui);
  font-size: .95rem;
  font-weight: 500;
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 30%, transparent);
}
.btn-primary:hover { box-shadow: 0 6px 24px color-mix(in srgb, var(--accent) 40%, transparent); }
.btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-outline:hover { background: var(--accent-soft); }
.btn-wa {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--wa-green) 30%, transparent);
}
.btn-wa:hover { box-shadow: 0 6px 24px color-mix(in srgb, var(--wa-green) 40%, transparent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
