/* ============================================================
   LE TERRIER — Design System
   Pour modifier la charte : touche uniquement le bloc 1. VARIABLES
   ============================================================ */

/* ── 1. VARIABLES ────────────────────────────────────────────── */
:root {
  --cream:  #FFF8E7;
  --ink:    #0A0A0A;
  --orange: #FF4D1F;
  --blue:   #2D5BFF;
  --yellow: #FFD60A;
  --muted:  #5A5A5A;

  --radius-card: 24px;
  --radius-btn:  100px;

  --font-display: "Archivo Black", sans-serif;
  --font-body:    "Manrope", sans-serif;
  --font-mono:    "Space Mono", monospace;
}

/* ── 2. BASE ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { scroll-behavior: smooth; }
body   { background: var(--cream); color: var(--ink); font-family: var(--font-body); overflow-x: hidden; }
::selection { background: var(--yellow); color: var(--ink); }

/* ── 3. LAYOUT ───────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-z {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.section {
  padding: 96px 0;
  position: relative;
}
.section--overflow {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
}
.section-dark {
  background: var(--ink);
  color: var(--cream);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.section-dark-full {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.section-header { margin-bottom: 8px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }

.grid-2--center { align-items: center; gap: 64px; }
.grid-2--top    { align-items: flex-start; gap: 64px; }

@media (max-width: 900px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .grid-7          { grid-template-columns: repeat(4, 1fr); }
  .hide-mobile     { display: none; }
}
@media (max-width: 600px) {
  .grid-7  { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .section-dark { padding: 64px 0; }
}

/* ── 4. TYPOGRAPHIE ──────────────────────────────────────────── */
.t-display {
  font-family: var(--font-display);
  line-height: 0.92;
  letter-spacing: -2px;
}
.t-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}
.t-label--yellow       { color: var(--yellow); }
.t-section-intro {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--muted);
  margin-bottom: 12px;
}
.t-section-intro--dark { color: rgba(255,255,255,0.35); }

/* Couleurs texte */
.text-yellow  { color: var(--yellow); }
.text-orange  { color: var(--orange); }
.text-blue    { color: var(--blue); }

/* Déco inline dans les titres */
.word-highlight {
  background: var(--orange);
  color: var(--cream);
  padding: 0 10px;
  display: inline-block;
  transform: rotate(-1.5deg);
}
.word-underline {
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 6px;
  text-underline-offset: 6px;
}
.text-bg-orange {
  background: var(--orange);
  color: var(--cream);
  padding: 0 12px;
}

/* ── 5. DÉCO ─────────────────────────────────────────────────── */
.deco-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}
.blob         { position: absolute; border-radius: 50%; pointer-events: none; }
.blob-yellow  { background: var(--yellow); animation: blob-pulse 8s ease-in-out infinite; }
.blob-blue    { background: var(--blue);   animation: blob-pulse 11s ease-in-out infinite reverse; }
.blob-orange  { background: var(--orange); animation: blob-pulse 6s ease-in-out infinite 1s; }

@keyframes blob-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.12); }
}

.deco-diamond {
  width: 14px;
  height: 14px;
  background: var(--orange);
  border-radius: 4px;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── 6. SCROLL REVEAL ────────────────────────────────────────── */
.reveal, .reveal-right {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1),
              transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.reveal-right { transform: translateX(28px); }
.reveal.visible, .reveal-right.visible { opacity: 1; transform: translate(0,0); }

/* ── 7. NAVBAR ───────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 4px 24px rgba(10,10,10,0.1); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.nav-logo-icon {
  width: 40px; height: 40px;
  background: var(--cream);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-3deg);
  transition: transform 0.3s;
  overflow: hidden;
}
.nav-logo-icon--sm { width: 32px; height: 32px; }
.nav-logo:hover .nav-logo-icon { transform: rotate(2deg); }
.nav-logo-icon img { width: 100%; height: 100%; object-fit: contain; }

.nav-logo-name    { font-family: var(--font-display); font-size: 18px; line-height: 1; }
.nav-logo-name--sm { font-size: 14px; }
.nav-logo-sub     { font-family: var(--font-mono); font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }

.nav-cta { display: flex; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.burger span { width: 24px; height: 2px; background: var(--ink); display: block; transition: all 0.3s; }

@media (max-width: 900px) {
  .burger   { display: flex; }
  .nav-cta  { display: none; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
    padding: 24px;
    gap: 20px;
  }
  .nav-links.open .nav-cta-mobile { display: block; }
}

/* ── 8. BOUTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary         { background: var(--ink);    color: var(--cream); }
.btn-primary:hover   { background: var(--orange); border-color: var(--orange); }

.btn-secondary       { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--cream); }

.btn-orange          { background: var(--orange); color: var(--cream); }
.btn-orange:hover    { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

.btn--success        { background: #22c55e !important; border-color: #22c55e !important; }

.btn-sm   { padding: 10px 20px; font-size: 11px; }
.btn-full { width: 100%; justify-content: center; }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* Bouton démo avion */
.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.5px;
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  transition: background 0.25s, transform 0.25s;
}
.btn-demo:hover { background: var(--orange); transform: scale(1.04); }

.btn-demo-plane { display: inline-block; font-size: 22px; transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.btn-demo:hover .btn-demo-plane { transform: translateX(6px) translateY(-6px) rotate(10deg) scale(1.2); }

.btn-demo-text { transition: transform 0.25s; }
.btn-demo:hover .btn-demo-text { transform: translateX(4px); }

.btn-demo-trail {
  position: absolute;
  left: 20px; top: 50%;
  width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5));
  border-radius: 2px;
  transition: width 0.35s ease;
  transform: translateY(-50%);
  pointer-events: none;
}
.btn-demo:hover .btn-demo-trail { width: 28px; }

/* ── 9. BADGES ───────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 100px;
}
.badge-dark    { background: var(--ink);    color: var(--yellow); }
.badge-yellow  { background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); }
.badge-ghost   { background: rgba(255,255,255,0.1); color: var(--yellow); }
.badge--hero     { display: block; margin-bottom: 28px; }
.badge--floating { margin-top: -16px; margin-left: 20px; transform: rotate(-2deg); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }

.badge-days { font-size: 20px; letter-spacing: -1px; }
.badge-sub  { font-size: 9px; }

/* ── 10. CARDS ───────────────────────────────────────────────── */
.card {
  border-radius: var(--radius-card);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.card-dark  { background: var(--ink);   color: var(--cream); }
.card-light { background: var(--cream); border: 2px solid var(--ink); }

.card--tilted { transform: rotate(1deg); }
.card-hover   { transition: transform 0.3s; }
.card-hover:hover { transform: scale(1.015); }

.card-content  { position: relative; z-index: 1; }
.card-header   { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.card-label    { margin-bottom: 12px; }
.card-desc     { margin-top: 16px; opacity: 0.75; font-size: 14px; line-height: 1.6; }
.card-hosting  { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.15); font-family: var(--font-mono); font-size: 12px; }
.card-hosting strong   { color: var(--yellow); }
.card-hosting-sub      { color: rgba(255,255,255,0.4); font-size: 10px; margin-top: 4px; }

/* ── 11. HERO ────────────────────────────────────────────────── */
.hero-title { font-size: clamp(48px,7vw,80px); margin-bottom: 20px; }
.hero-desc  { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 460px; margin-bottom: 36px; }

.scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0.35;
}
.scroll-line {
  width: 1px; height: 32px;
  background: var(--ink);
  margin: 6px auto 0;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.2; } }

/* ── 12. TICKER ──────────────────────────────────────────────── */
.ticker-section {
  background: var(--ink);
  color: var(--cream);
  padding: 14px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.ticker-wrap  { overflow: hidden; }
.ticker-track { display: flex; white-space: nowrap; animation: ticker 30s linear infinite; }
@keyframes ticker { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }
.ticker-item  { font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: 3px; padding: 0 32px; }
.ticker-dot         { color: var(--orange); padding: 0 16px; }
.ticker-dot--yellow { color: var(--yellow); }
.ticker-dot--blue   { color: var(--blue); }

/* ── 13. BANDEAU DÉMO ────────────────────────────────────────── */
.demo-banner {
  background: var(--yellow);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 32px 0;
}
.demo-banner-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.demo-label { margin-bottom: 6px; }
.demo-title { font-size: clamp(22px,3vw,32px); line-height: 0.92; }

/* ── 14. OFFRE ───────────────────────────────────────────────── */
.section-title-block    { margin-bottom: 56px; }
.section-title-block h2 { font-family: var(--font-display); font-size: clamp(40px,6vw,64px); line-height: 0.95; letter-spacing: -2px; }
.section-title-block h2 .highlight  { color: var(--orange); }
.section-title-block h2 .underlined {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 6px;
  text-underline-offset: 6px;
}

.price      { font-family: var(--font-display); font-size: 64px; line-height: 1; letter-spacing: -3px; }
.price-from { display: block; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--yellow); margin-bottom: 6px; }

.offer-desc   { opacity: 0.75; font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.feature-item  { font-size: 13px; opacity: 0.8; }
.offer-footer  { padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.hosting-info  { font-family: var(--font-mono); font-size: 13px; }
.hosting-info strong { color: var(--yellow); }
.hosting-sub   { color: rgba(255,255,255,0.35); font-size: 10px; margin-top: 2px; }

.modules-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.modules-title  { font-family: var(--font-display); font-size: 20px; }
.modules-cta    { margin-top: 20px; }

.module-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dotted rgba(10,10,10,0.15); font-size: 13px; }
.module-row:last-of-type { border-bottom: none; }
.module-row strong { display: block; font-weight: 700; }
.module-row small  { color: var(--muted); font-size: 11px; }
.module-tag         { font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 8px; background: var(--yellow); white-space: nowrap; }
.module-tag-outline { font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 8px; border: 2px solid var(--ink); white-space: nowrap; }

/* ── 15. POURQUOI ────────────────────────────────────────────── */
.why-item         { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-card); padding: 24px; transition: background 0.3s; }
.why-item:hover   { background: rgba(255,255,255,0.12); }
.why-item.accent  { background: var(--orange); border-color: transparent; }
.why-num          { font-family: var(--font-display); font-size: 48px; line-height: 1; margin-bottom: 12px; }
.why-num--yellow  { color: var(--yellow); }
.why-num--orange  { color: var(--orange); }
.why-num--blue    { color: var(--blue); }
.why-num--faded   { color: rgba(255,255,255,0.3); }
.why-item h3      { font-family: var(--font-display); font-size: 18px; margin-bottom: 8px; }
.why-item p       { font-size: 13px; line-height: 1.6; opacity: 0.65; }
.why-item.accent p { opacity: 0.85; }

.tagline-block { margin-top: 64px; text-align: center; }
.tagline       { font-family: var(--font-display); font-size: clamp(32px,5vw,52px); letter-spacing: -2px; line-height: 0.92; }

/* ── 16. PROCESS ─────────────────────────────────────────────── */
.day-box          { border-radius: 16px; padding: 16px 8px; text-align: center; cursor: default; transition: background 0.2s, transform 0.2s; }
.day-box:hover    { transform: scale(1.04); }
.day-box.dark     { background: var(--ink);    color: var(--cream); }
.day-box.orange   { background: var(--orange); color: var(--cream); }
.day-box.launch   { background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); }
.day-num          { font-family: var(--font-display); font-size: 32px; line-height: 1; display: block; }
.day-label        { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; opacity: 0.7; }
.day-box.launch .day-label { opacity: 1; font-weight: 700; }

.process-note   { margin-top: 20px; display: flex; gap: 16px; align-items: flex-start; background: var(--cream); border: 2px solid var(--ink); border-radius: 18px; padding: 20px 24px; }
.process-note p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.process-note strong { color: var(--ink); }

/* ── 17. RÉALISATIONS ────────────────────────────────────────── */
.realizations-title { font-size: clamp(36px,5vw,56px); letter-spacing: -2px; margin-top: 8px; }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }

.project-card {
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex; align-items: center; gap: 24px;
  text-decoration: none; color: var(--cream);
  transition: transform 0.25s, background 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
}
.project-card::after {
  content: '→';
  position: absolute; right: 28px; top: 50%;
  transform: translateY(-50%) translateX(8px);
  font-family: var(--font-display); font-size: 24px;
  opacity: 0; transition: opacity 0.2s, transform 0.2s;
}
.project-card:hover                { transform: translateY(-4px); background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.project-card:hover::after         { opacity: 1; transform: translateY(-50%) translateX(0); }
.project-card:hover .project-type  { color: rgba(10,10,10,0.5); }
.project-card:hover .project-desc  { color: rgba(10,10,10,0.55); }
.project-card:hover .project-logo  { border-color: var(--ink); }

.project-logo  { width: 80px; height: 80px; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 32px; color: var(--ink); overflow: hidden; flex-shrink: 0; border: 2px solid rgba(255,255,255,0.1); transition: border-color 0.25s; }
.project-logo img { width: 100%; height: 100%; object-fit: contain; }

.project-info  { flex: 1; min-width: 0; }
.project-name  { font-family: var(--font-display); font-size: 20px; line-height: 1.1; margin-bottom: 8px; }
.project-type  { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.4); transition: color 0.25s; }
.project-desc  { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.45); margin-top: 8px; transition: color 0.25s; }

@media (max-width: 600px) { .projects-grid { grid-template-columns: 1fr; } }

/* ── 18. CONTACT ─────────────────────────────────────────────── */
.contact-title { font-size: clamp(40px,6vw,64px); margin-bottom: 24px; line-height: 0.95; }
.contact-desc  { font-size: 16px; line-height: 1.6; color: var(--muted); margin-bottom: 36px; }

.contact-row   { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.contact-icon  { width: 44px; height: 44px;border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-icon img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  display: block;
}
.contact-row .t-label { margin-bottom: 2px; }
.contact-row a { font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; transition: color 0.2s; }
.contact-row a:hover { color: var(--orange); }
.contact-row .value  { font-weight: 700; font-size: 16px; }

.form-title    { font-size: 26px; margin-bottom: 6px; }
.form-subtitle { color: rgba(255,255,255,0.5); font-size: 13px; margin-bottom: 24px; }

.field         { margin-bottom: 16px; }
.field label   { display: block; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.field input,
.field textarea {
  width: 100%; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 14px;
  padding: 12px 16px; color: var(--cream); font-family: var(--font-body);
  font-size: 14px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s; resize: none;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.25); }
.field input:focus,
.field textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,214,10,0.2); }

/* ── 19. FOOTER ──────────────────────────────────────────────── */
.site-footer  { border-top: 2px solid var(--ink); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }

/* ── 20. ANIMATIONS ──────────────────────────────────────────── */

/* Navbar — glisse depuis le haut au chargement */
#navbar {
  animation: nav-enter 0.6s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes nav-enter {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* Hero — entrée décalée des éléments */
.badge--hero {
  animation: fade-up 0.7s cubic-bezier(0.4,0,0.2,1) 0.2s both;
}
.hero-title {
  animation: fade-up 0.8s cubic-bezier(0.4,0,0.2,1) 0.35s both;
}
.hero-desc {
  animation: fade-up 0.8s cubic-bezier(0.4,0,0.2,1) 0.5s both;
}
.btn-group {
  animation: fade-up 0.8s cubic-bezier(0.4,0,0.2,1) 0.65s both;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Carte hero — flotte en permanence */
.card--tilted {
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(1deg) translateY(0px); }
  50%       { transform: rotate(1deg) translateY(-10px); }
}
.card--tilted:hover {
  animation-play-state: paused;
}

/* Badge 7 jours — oscillation */
.badge--floating {
  animation: badge-swing 4s ease-in-out infinite 0.5s;
}
@keyframes badge-swing {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%       { transform: rotate(-2deg) translateY(-6px); }
}

/* Scroll indicator — rebond */
.scroll-line {
  animation: bounce-line 2s ease-in-out infinite;
}
@keyframes bounce-line {
  0%, 100% { transform: scaleY(1);   opacity: 0.6; }
  50%       { transform: scaleY(1.4); opacity: 1; }
}

/* Word highlight — clignotement subtil au chargement */
.word-highlight {
  animation: float 5s ease-in-out infinite 0.35s,
             highlight-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.9s both;
}
@keyframes highlight-pop {
  from { transform: rotate(-1.5deg) scale(0.85); }
  to   { transform: rotate(-1.5deg) scale(1); }
}

/* Section titles — underline qui se dessine */
.section-title-block h2 .underlined {
  background: linear-gradient(var(--orange), var(--orange)) no-repeat left bottom;
  background-size: 0% 6px;
  text-decoration: none;
  padding-bottom: 4px;
  transition: background-size 0.8s cubic-bezier(0.4,0,0.2,1);
}
.section-title-block.visible h2 .underlined,
.section-title-block h2 .underlined.drawn {
  background-size: 100% 6px;
}

/* Why items — décalage d'entrée */
.why-item:nth-child(1) { transition-delay: 0ms; }
.why-item:nth-child(2) { transition-delay: 80ms; }
.why-item:nth-child(3) { transition-delay: 160ms; }
.why-item:nth-child(4) { transition-delay: 240ms; }

/* Day boxes — rebond au hover */
.day-box:hover {
  transform: scale(1.06) translateY(-4px);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}

/* Cards — ombre qui apparaît au hover */
.card-hover {
  transition: transform 0.3s, box-shadow 0.3s;
}
.card-hover:hover {
  transform: scale(1.015) translateY(-4px);
  box-shadow: 0 20px 40px rgba(10,10,10,0.15);
}

/* Project cards — ombre hover */
.project-card {
  transition: transform 0.25s cubic-bezier(0.34,1.2,0.64,1), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.project-card:hover {
  box-shadow: 0 16px 32px rgba(10,10,10,0.2);
}

/* Boutons — pulse sur le btn-primary */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}
.btn-primary:hover::after {
  transform: translateX(0);
}

/* Ticker — pause au hover */
.ticker-section:hover .ticker-track {
  animation-play-state: paused;
}

/* Module tags — petit pop au hover */
.module-tag, .module-tag-outline {
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.module-row:hover .module-tag,
.module-row:hover .module-tag-outline {
  transform: scale(1.08);
}

/* Contact icon — rotation au hover */
.contact-icon {
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), background 0.2s;
}
.contact-row:hover .contact-icon {
  transform: rotate(10deg) scale(1.1);
  background: var(--orange);
}

/* Prix — apparition avec compte à rebours (classe ajoutée par JS) */
.price.counting {
  animation: price-blur 0.08s ease-in-out;
}
@keyframes price-blur {
  0%   { opacity: 0.4; transform: translateY(-4px); }
  100% { opacity: 1;   transform: translateY(0); }
}

/* Deco grid — subtile pulsation */
.deco-grid {
  animation: grid-breathe 8s ease-in-out infinite;
}
@keyframes grid-breathe {
  0%, 100% { opacity: 0.025; }
  50%       { opacity: 0.04; }
}