/* ═══════════════════════════════════════════
   RTM Ready To Move — style.css
   Variables, reset, base, typographie
   Design Effect — designeffect3d.com
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Inter:wght@300;400;500&display=swap');

/* ─── VARIABLES ──────────────────────────── */
:root {
  --charbon:      #000000;
  --orange:       #E67E22;
  --orange-dark:  #D35400;
  --white:        #FFFFFF;
  --grey-light:   #F5F5F5;
  --grey-text:    #888888;
  --grey-mid:     #CCCCCC;
  --grey-border:  rgba(255,255,255,0.08);

  --font-title:   'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:       8px;
  --radius-lg:    16px;
  --shadow:       0 8px 32px rgba(0,0,0,0.12);
  --shadow-hover: 0 12px 48px rgba(230,126,34,0.2);
  --transition:   all 0.25s ease;

  --header-h:     72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--charbon);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--orange-dark);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
}

/* ─── TYPOGRAPHIE ────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

p {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
}

/* ─── UTILITAIRES ────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 100px 0;
}

.bg-dark  { background: var(--charbon); color: var(--white); }
.bg-light { background: var(--grey-light); color: var(--charbon); }

.text-orange { color: var(--orange); }

/* Titres de section */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-title span {
  color: var(--orange);
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--grey-text);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 56px;
  font-family: var(--font-body);
}

.section-header {
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto 56px;
}

/* ─── BOUTONS ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(230,126,34,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--charbon);
  border-color: var(--charbon);
}

.btn-outline-dark:hover {
  background: var(--charbon);
  color: var(--white);
}

/* ─── ANIMATIONS SCROLL ──────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: #E67E22;
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(230,126,34,0.4);
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
#back-to-top:hover {
  background: #D35400;
  transform: translateY(-3px);
}
