/* ============================================
   TASKARA — Premium Agency Styles
   ============================================ */

:root {
  --bg: #F5F2EC;
  --bg-alt: #EFECE4;
  --ink: #2C2C2A;
  --ink-2: #5F5E5A;
  --muted: #888780;
  --rule: #E2DDD4;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  cursor: none;
}

img { max-width: 100%; display: block; }
p { margin: 0; }

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

h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}

/* ============================================
   INTRO OVERLAYS
   ============================================ */

.intro-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#intro-splash   { z-index: 9998; }
#intro-typewriter { z-index: 9997; }

.intro-overlay--hidden { display: none; }

.intro-halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.intro-halo-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(95,94,90,0.28) 0%, transparent 65%);
  filter: blur(80px);
  top: -200px; left: -200px;
}

.intro-halo-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(95,94,90,0.22) 0%, transparent 65%);
  filter: blur(80px);
  bottom: -150px; right: -150px;
}

.intro-halo-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(95,94,90,0.18) 0%, transparent 60%);
  filter: blur(100px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.intro-enter {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 4px;
  cursor: pointer;
  transition: color 0.3s;
  position: relative;
  z-index: 1;
  user-select: none;
}

.intro-enter:hover { color: var(--ink); }

.intro-words {
  max-width: 700px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.intro-word {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.intro-word.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.intro-word--last {
  font-weight: 500;
  font-size: 13px;
  flex-basis: 100%;
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .intro-enter { font-size: 14px; }
  .intro-words { gap: 10px 16px; padding: 0 32px; }
  .intro-word { font-size: 10px; }
  .intro-word--last { font-size: 11px; }
  .intro-halo-1 { width: 360px; height: 360px; }
  .intro-halo-2 { width: 300px; height: 300px; }
  .intro-halo-3 { width: 240px; height: 240px; }
}

main { min-height: 100vh; }

/* Pause hero animations tant que l'intro tourne */
body.intro-loading .hero-line-1,
body.intro-loading .hero-line-2,
body.intro-loading .h1-line,
body.intro-loading .hero__label,
body.intro-loading .hero__body,
body.intro-loading .hero__cta,
body.intro-loading .hero__stats {
  animation-play-state: paused;
}

/* Garde les problem items invisibles pendant l'intro */
body.intro-loading .problem__item {
  opacity: 0;
  transform: translateX(-10px);
}

/* ============================================
   CURSOR
   ============================================ */

.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  transition: width 0.15s ease, height 0.15s ease, background 0.15s ease;
  will-change: left, top;
}

.cursor.is-hover {
  width: 20px;
  height: 20px;
}

@media (pointer: coarse) {
  .cursor { display: none; }
  body, a, button, input, textarea { cursor: auto; }
}

/* ============================================
   NAV
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  background: transparent;
  z-index: 100;
  transition: background 0.4s ease;
}

.nav.is-scrolled {
  background: var(--bg);
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 80px;
}

.nav__brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--ink);
  flex-shrink: 0;
}

.nav__rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
  margin: 0 48px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav.is-scrolled .nav__rule {
  opacity: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav__link {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--ink);
  transition: opacity 0.2s;
  padding: 4px 0;
  position: relative;
}

.nav__link:hover { opacity: 0.5; }

.nav__link.is-active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--ink);
}

.nav__burger {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: none;
  width: 36px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
}

.nav__burger span {
  display: block;
  height: 1px;
  background: var(--ink);
  width: 100%;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   CTA LINK
   ============================================ */

.cta-link {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
  padding-bottom: 2px;
}

.cta-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--ink);
  opacity: 0;
  transition: opacity 0.2s;
}

.cta-link:hover::after { opacity: 1; }

.cta-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.cta-link:hover .cta-arrow {
  transform: translateX(6px);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 180px 80px 60px;
  position: relative;
  overflow: hidden;
}

.hero-halo {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-halo-1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(95,94,90,0.24) 0%, transparent 60%);
  filter: blur(100px);
  top: -250px; left: -250px;
}

.hero-halo-2 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(95,94,90,0.20) 0%, transparent 60%);
  filter: blur(100px);
  bottom: -200px; right: -200px;
}

.hero-halo-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(95,94,90,0.18) 0%, transparent 65%);
  filter: blur(120px);
  top: 40%; right: 10%;
}

.hero__label,
.hero h1,
.hero__body,
.hero__cta,
.hero__stats {
  position: relative;
  z-index: 1;
}

.hero__label {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--muted);
  margin-bottom: 52px;
  opacity: 0;
  animation: fadeIn 0.4s ease 0.1s forwards;
}

.hero h1 {
  font-size: 96px;
  font-style: italic;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 64px;
  max-width: 960px;
}

.h1-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: opacity, transform;
}

.h1-line:nth-child(1) { animation-delay: 0.15s; }
.h1-line:nth-child(2) { animation-delay: 0.3s; }
.h1-line:nth-child(3) { animation-delay: 0.45s; }

.hero-line-1 {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 96px;
  font-style: italic;
  font-weight: 400;
  color: #2C2C2A;
  text-align: left;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
  will-change: opacity, transform;
}

.hero-line-2 {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 112px;
  font-style: italic;
  font-weight: 600;
  color: #2C2C2A;
  letter-spacing: -1px;
  text-align: left;
  border-left: 2px solid #E2DDD4;
  padding-left: 24px;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
  will-change: opacity, transform;
}

.hero__body {
  display: flex;
  gap: 40px;
  margin-bottom: 52px;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.65s forwards;
}

.hero__col-left {
  width: 60px;
  flex-shrink: 0;
  padding-top: 6px;
}

.hero__trait {
  width: 1px;
  height: 60px;
  background: var(--rule);
}

.hero__sub {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  color: var(--ink-2);
  max-width: 420px;
  line-height: 1.7;
}

.hero__cta {
  opacity: 0;
  animation: fadeIn 0.5s ease 0.8s forwards;
  margin-bottom: 0;
}

.hero__stats {
  margin-top: auto;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--muted);
  opacity: 0;
  animation: fadeIn 0.5s ease 1s forwards;
}

/* ============================================
   PROBLEM
   ============================================ */

.problem {
  padding: 120px 80px;
}

.problem__layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.problem__left {
  width: 30%;
  flex-shrink: 0;
}

.problem__label {
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  line-height: 1.8;
  position: sticky;
  top: 96px;
}

.problem__right {
  flex: 1;
}

.problem__item {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
  display: flex;
  align-items: center;
  gap: 40px;
}

.problem__content { flex: 1; }

.problem__item:first-child {
  border-top: 1px solid var(--rule);
}

.problem__item.is-in {
  opacity: 1;
  transform: translateX(0);
}

.problem__item:nth-child(1) { transition-delay: 0s; }
.problem__item:nth-child(2) { transition-delay: 0.1s; }
.problem__item:nth-child(3) { transition-delay: 0.2s; }

.problem__num {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}

.problem__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  color: var(--ink);
  margin-bottom: 12px;
  transition: font-style 0.2s;
}

.problem__item:hover .problem__title {
  font-style: italic;
}

.problem__text {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ============================================
   SOLUTION
   ============================================ */

.solution {
  background: var(--bg-alt);
  padding: 140px 80px;
}

.solution h2 {
  font-size: 72px;
  font-style: italic;
  line-height: 1.05;
  max-width: 900px;
}

.solution__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 400px;
  margin-left: auto;
  margin-top: 48px;
  gap: 24px;
}

.solution__sub {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  text-align: left;
}

/* ============================================
   TRUST
   ============================================ */

.trust {
  padding: 48px 80px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}

.trust__text {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--muted);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg);
}

.footer__tagline {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-style: italic;
  color: var(--muted);
  padding: 32px 80px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.footer__inner {
  padding: 32px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer a { transition: opacity 0.2s; }
.footer a:hover { opacity: 0.5; }

/* ============================================
   PAGE HEADER (services + contact)
   ============================================ */

.page-header {
  padding: 160px 80px 80px;
}

.page-header__label {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--muted);
  display: block;
  margin-bottom: 32px;
}

.page-header h1 {
  font-size: 80px;
  font-style: italic;
  line-height: 1;
  color: var(--ink);
}

/* ============================================
   SERVICES ACCORDION
   ============================================ */

.services-list {
  padding: 0 80px 120px;
}

.service-item {
  border-top: 1px solid var(--rule);
}

.service-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.service-item__header {
  display: flex;
  align-items: center;
  padding: 28px 0;
  cursor: none;
  transition: background 0.2s, padding 0.2s;
  gap: 24px;
}

.service-item__header:hover {
  background: var(--bg-alt);
  padding-left: 20px;
  padding-right: 20px;
  margin-left: -20px;
  margin-right: -20px;
}

.service-item__num {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  color: var(--muted);
  width: 32px;
  flex-shrink: 0;
}

.service-item__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  color: var(--ink);
  flex: 1;
  transition: font-style 0.2s;
}

.service-item__header:hover .service-item__title,
.service-item.is-open .service-item__title {
  font-style: italic;
}

.service-item__arrow {
  font-size: 16px;
  color: var(--muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  font-family: "DM Sans", sans-serif;
}

.service-item.is-open .service-item__arrow {
  transform: rotate(90deg);
}

.service-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.service-item.is-open .service-item__body {
  grid-template-rows: 1fr;
}

.service-item__body-inner {
  overflow: hidden;
}

.service-item__text {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 600px;
  padding: 0 0 28px 56px;
  line-height: 1.7;
}

.service-item__text p {
  margin-bottom: 16px;
}

.service-item__text p:last-child {
  margin-bottom: 0;
}

.service-item__result {
  color: var(--ink);
  font-weight: 500;
}

/* ============================================
   DEVIS
   ============================================ */

.devis {
  padding: 140px 80px;
  background: var(--bg);
}

.devis__inner {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.devis__left { flex: 1; }

.devis__left h2 {
  font-size: 56px;
  font-style: italic;
  line-height: 1.1;
}

.devis__right {
  width: 40%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.devis__text {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ============================================
   CONTACT
   ============================================ */

.contact-layout {
  padding: 0 80px 120px;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.contact__left {
  width: 40%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.contact__intro {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}

.contact__address {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: auto;
  padding-top: 60px;
}

.contact__right { flex: 1; }

/* ============================================
   FORM
   ============================================ */

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.field { margin-bottom: 40px; }

.field__label {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 8px;
}

.field__input,
.field__textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 12px 0;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: var(--ink);
  resize: none;
  transition: border-color 0.2s;
  cursor: none;
}

.field__input::placeholder,
.field__textarea::placeholder { color: var(--muted); }

.field__input:focus,
.field__textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.form__submit { margin-top: 8px; }

.form__success {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-style: italic;
  color: var(--ink);
  display: none;
  padding: 40px 0;
}

.form.is-sent .form__success { display: block; }
.form.is-sent .form__fields,
.form.is-sent .form__submit { display: none; }

/* ============================================
   FOOTER LINKS
   ============================================ */

.footer__links {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer__links a,
.footer__links span {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-date {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
}

.legal-content {
  padding: 0 80px 120px;
}

.legal-section {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
}

.legal-section--last {
  border-bottom: 0;
}

.legal-section__num {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  color: var(--muted);
  width: 25%;
  flex-shrink: 0;
  padding-top: 3px;
  position: sticky;
  top: 96px;
  align-self: flex-start;
}

.legal-section__body {
  flex: 1;
}

.legal-section__title {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink);
  margin-bottom: 20px;
}

.legal-text p {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-text p:last-child {
  margin-bottom: 0;
}

.legal-list {
  list-style: none;
  margin: 12px 0;
  padding: 0 0 0 16px;
}

.legal-list li {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 8px;
  position: relative;
}

.legal-list li::before {
  content: '·';
  position: absolute;
  left: -14px;
  color: var(--muted);
}

.legal-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s;
}

.legal-link:hover {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .legal-content { padding: 0 24px 80px; }

  .legal-section {
    flex-direction: column;
    gap: 20px;
  }

  .legal-section__num {
    width: 100%;
    position: static;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-line-1,
  .hero-line-2,
  .h1-line,
  .hero__label,
  .hero__body,
  .hero__cta,
  .hero__stats {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .problem__item {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__visual,
  .problem__anim,
  .solution__anim,
  .task-loop { display: none; }
}

/* ============================================
   RESPONSIVE 768px
   ============================================ */

@media (max-width: 768px) {
  .nav__inner { padding: 0 24px; }
  .nav__rule { display: none; }
  .nav__burger { display: flex; }

  .nav__links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 32px;
    padding: 48px 24px;
    border-bottom: 1px solid var(--rule);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav.is-open .nav__links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav__link { font-size: 13px; }

  .hero {
    padding: 140px 24px 48px;
  }

  .hero h1 { font-size: 52px; line-height: 1; }

  .hero__stats {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .problem {
    padding: 80px 24px;
  }

  .problem__layout {
    flex-direction: column;
    gap: 40px;
  }

  .problem__left { width: 100%; }
  .problem__label { position: static; }

  .solution {
    padding: 80px 24px;
  }

  .solution h2 { font-size: 42px; }

  .solution__footer {
    align-items: flex-start;
    margin-left: 0;
    max-width: 100%;
  }

  .trust { padding: 32px 24px; }

  .page-header { padding: 120px 24px 48px; }
  .page-header h1 { font-size: 48px; }

  .services-list { padding: 0 24px 80px; }

  .service-item__title { font-size: 24px; }
  .service-item__text { padding-left: 0; }

  .devis { padding: 80px 24px; }
  .devis__inner { flex-direction: column; gap: 40px; }
  .devis__left h2 { font-size: 36px; }
  .devis__right { width: 100%; }

  .contact-layout {
    padding: 0 24px 80px;
    flex-direction: column;
    gap: 48px;
  }

  .contact__left { width: 100%; min-height: auto; }
  .contact__address { padding-top: 32px; }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }

  .form__row .field { margin-bottom: 40px; }

  .footer__tagline { padding: 24px; font-size: 15px; }
  .footer__inner {
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ============================================
   MOTION DESIGN — HERO VISUAL
   ============================================ */

.hero__visual {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-55%);
  width: 260px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 0.8s ease 1.8s forwards;
}

body.intro-loading .hero__visual,
body.intro-loading .hero__visual * {
  animation-play-state: paused;
}

.anim-flow { width: 100%; height: auto; overflow: visible; }

.flow-line {
  stroke: var(--rule);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  animation: flowDash 2.5s linear infinite;
  animation-delay: var(--d, 0s);
}

@keyframes flowDash {
  to { stroke-dashoffset: -10; }
}

.flow-node {
  fill: transparent;
  stroke: var(--muted);
  stroke-width: 1.5;
  animation: nodePulse 3s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.flow-node-center { fill: var(--ink); }

.flow-ring {
  fill: transparent;
  stroke: var(--muted);
  stroke-width: 0.8;
  transform-origin: 140px 128px;
  animation: ringExpand 3.5s ease-out infinite;
}

.flow-ring-2 {
  fill: transparent;
  stroke: var(--muted);
  stroke-width: 0.8;
  transform-origin: 140px 128px;
  animation: ringExpand 3.5s ease-out 1.75s infinite;
}

@keyframes nodePulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

@keyframes ringExpand {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(3.5); opacity: 0; }
}

@media (max-width: 1100px) { .hero__visual { display: none; } }

/* ============================================
   MOTION DESIGN — PROBLEM ICONS
   ============================================ */

.problem__anim {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  opacity: 0.55;
}

.problem__anim svg { width: 44px; height: 44px; }

/* 01 — Gear */
.anim-gear {
  animation: spin 20s linear infinite;
  transform-origin: center;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* 02 — Signal */
.sig-arc {
  opacity: 0;
  animation: sigPulse 2.5s ease-in-out infinite;
}
.sig-arc-1 { animation-delay: 0s; }
.sig-arc-2 { animation-delay: 0.32s; }
.sig-arc-3 { animation-delay: 0.64s; }

@keyframes sigPulse {
  0%       { opacity: 0; }
  20%, 65% { opacity: 1; }
  100%     { opacity: 0; }
}

/* 03 — Broken link */
.box-a { animation: boxA 2.5s ease-in-out infinite; }
.box-b { animation: boxB 2.5s ease-in-out infinite; }
.break-frag { animation: fragFade 2.5s ease-in-out infinite; }

@keyframes boxA {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}
@keyframes boxB {
  0%, 100% { opacity: 0.2; }
  50%       { opacity: 1; }
}
@keyframes fragFade {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 0.1; }
}

/* ============================================
   MOTION DESIGN — SOLUTION TRACE
   ============================================ */

.solution__anim {
  margin: 56px 0 40px;
  overflow: hidden;
}

.anim-trace {
  width: 100%;
  height: 4px;
  display: block;
}

/* ============================================
   MOTION DESIGN — TASK LOOP (colonne gauche)
   ============================================ */

.task-loop {
  position: relative;
  height: 44px;
  margin-top: 40px;
  overflow: hidden;
}

.task-word {
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-style: italic;
  color: var(--ink-2);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  animation: wordCycle 30s ease-in-out infinite;
  animation-delay: calc(var(--i) * 3s);
}

@keyframes wordCycle {
  0%   { opacity: 0; transform: translateY(8px); }
  2%   { opacity: 1; transform: translateY(0); }
  8%   { opacity: 1; transform: translateY(0); }
  10%  { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 0; transform: translateY(-8px); }
}

@media (max-width: 768px) {
  .task-loop { margin-top: 24px; height: 36px; }
  .task-word { font-size: 20px; }
}
