/* =================================================================
   OLENEV SERVICES — STYLES
   Editorial / minimal / premium boutique agency design system.

   TABLE OF CONTENTS
   1. Design tokens
   2. Reset & base
   3. Layout utilities
   4. Header & nav
   5. Buttons
   6. Clouds & dots
   7. Hero
   8. À propos
   9. Services
   10. Pourquoi (features)
   11. Réalisations (carousel)
   12. Process (timeline)
   13. Pour qui (pills)
   14. FAQ (accordion)
   15. Contact
   16. Footer
   17. Reveal animations
   18. Responsive
   ================================================================= */

/* ---------------------------------------------------------------
   1. DESIGN TOKENS — edit brand colors, fonts and spacing here
   --------------------------------------------------------------- */
:root{
  /* Brand colors */
  --yellow: #F4DD2A;      /* Primary — lemon / citrus yellow (dominant brand color) */
  --yellow-soft: #FBF1AA;
  --yellow-rgb: 244, 221, 42;
  --mint-rgb: 143, 227, 208;
  --pink-rgb: 255, 79, 160;
  --mint: #8FE3D0;        /* Secondary */
  --mint-soft: #C9F2E8;
  --pink: #FF4FA0;        /* Accent */
  --pink-soft: #FFC8E4;

  /* Neutrals */
  --ink: #12110F;
  --ink-70: rgba(18,17,15,0.70);
  --ink-50: rgba(18,17,15,0.50);
  --ink-30: rgba(18,17,15,0.30);
  --ink-12: rgba(18,17,15,0.12);
  --ink-08: rgba(18,17,15,0.08);
  --paper: #FFFFFF;

  /* Type */
  --font-display: 'Instrument Sans', 'Inter', 'Helvetica Neue', Arial, sans-serif;  /* Inter covers Cyrillic for the UA version */
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-hand: 'Caveat', cursive;

  /* Layout */
  --page-max: 1240px;
  --page-pad: 32px;
  --section-pad-y: clamp(64px, 8vw, 118px);
  --radius-pill: 999px;
  --radius-card: 4px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.3s;
  --dur-med: 0.6s;
  --dur-slow: 0.9s;
}

@media (max-width: 640px){
  :root{ --page-pad: 20px; }
}

/* ---------------------------------------------------------------
   2. RESET & BASE
   --------------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4{
  font-family: var(--font-display);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p{ margin: 0; }

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

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

ul, ol{ margin: 0; padding: 0; list-style: none; }

button{
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

input, textarea{
  font-family: inherit;
  font-size: 1rem;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  z-index: 200;
}
.skip-link:focus{ left: 12px; top: 12px; }

:focus-visible{
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------
   3. LAYOUT UTILITIES
   --------------------------------------------------------------- */
.section{
  position: relative;
  padding: var(--section-pad-y) 0;
  overflow: hidden;
  scroll-margin-top: 96px;
}

.section-inner{
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  position: relative;
  z-index: 2;
}

.eyebrow{
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-50);
  margin: 0 0 18px;
  text-transform: uppercase;
}

.section-title{
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  max-width: 18ch;
}

.section-intro{
  font-size: 1.05rem;
  color: var(--ink-70);
  max-width: 38ch;
  line-height: 1.6;
}

.section-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.clouds{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* ---------------------------------------------------------------
   4. HEADER & NAV
   --------------------------------------------------------------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), backdrop-filter var(--dur-fast) var(--ease);
}
.site-header.is-scrolled{
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--ink-08);
}

.header-inner{
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 20px var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand{ display: flex; align-items: center; flex-shrink: 0; }
.brand-logo{ height: 50px; width: auto; } /* ≈ +25% visible size (previous: 44px tall with white margins) */

.main-nav{
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.92rem;
  font-weight: 500;
}
.main-nav a{
  position: relative;
  padding: 4px 0;
}
.main-nav a::after{
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1px;
  background: currentColor;
  transition: width var(--dur-fast) var(--ease);
}
.main-nav a:hover::after{ width: 100%; }

.header-right{
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.lang-switch{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.lang-btn{ color: var(--ink-50); padding: 2px; }
.lang-btn.is-active{ color: var(--ink); }
.lang-btn:hover{ color: var(--ink); }
.lang-sep{ color: var(--ink-30); font-size: 0.8rem; }

.header-cta.btn-small{
  padding: 10px 18px;
  font-size: 0.85rem;
}

.hamburger{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 24px;
}
.hamburger span{
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu-close{
  position: absolute;
  top: 32px;
  right: 32px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.mobile-menu{
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 86vw);
  height: 100vh;
  background: var(--paper);
  z-index: 150;
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease);
  box-shadow: -8px 0 30px rgba(0,0,0,0.06);
}
.mobile-menu.is-open{ transform: translateX(0); }
.mobile-menu nav{ display: flex; flex-direction: column; gap: 26px; font-size: 1.4rem; font-family: var(--font-display); }
.lang-switch-mobile{ font-size: 1rem; }

.mobile-menu-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(18,17,15,0.25);
  backdrop-filter: blur(2px);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease);
}
.mobile-menu-backdrop.is-open{ opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------------------
   5. BUTTONS
   --------------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn-arrow{ transition: transform var(--dur-fast) var(--ease); }
.btn:hover .btn-arrow{ transform: translateX(4px); }

.btn-primary{
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}
.btn-primary:hover{
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.btn-secondary{
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink-12);
}
.btn-secondary:hover{
  background: var(--mint-soft);
  border-color: var(--mint-soft);
}

.btn-full{ width: 100%; justify-content: center; }

.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

/* ---------------------------------------------------------------
   6. CLOUDS & DOTS
   --------------------------------------------------------------- */
.cloud{
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  will-change: transform;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
.cloud-yellow{ background: radial-gradient(circle, var(--yellow) 0%, rgba(var(--yellow-rgb),0) 72%); }
.cloud-mint{ background: radial-gradient(circle, var(--mint) 0%, rgba(143,227,208,0) 72%); }
.cloud-pink{ background: radial-gradient(circle, var(--pink) 0%, rgba(255,79,160,0) 72%); }

.cloud-lg{ width: 620px; height: 620px; animation-duration: 19s; }
.cloud-md{ width: 420px; height: 420px; animation-duration: 15s; }
.cloud-sm{ width: 260px; height: 260px; animation-duration: 12s; }

@keyframes floatA{
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -26px) scale(1.06); }
}
@keyframes floatB{
  0%   { transform: translate(0, 0) scale(1.04); }
  100% { transform: translate(-26px, 24px) scale(0.97); }
}
@keyframes floatC{
  0%   { transform: translate(0, 0) scale(0.98); }
  100% { transform: translate(20px, 22px) scale(1.05); }
}
.cloud-yellow{ animation-name: floatA; }
.cloud-mint{ animation-name: floatB; }
.cloud-pink{ animation-name: floatC; }

@media (prefers-reduced-motion: reduce){
  .cloud{ animation: none; }
}

.nw{ white-space: nowrap; }   /* last word + colored period stay on one line */
.dot{
  display: inline-block;
  width: 0.15em;
  height: 0.15em;
  border-radius: 50%;
  margin-left: 0.03em;
  vertical-align: baseline;     /* sits on the text baseline, like a real full stop */
  transform-origin: 50% 100%;
  animation: dotBreathe 3.4s ease-in-out infinite;
}
.dot-yellow{ background: var(--yellow); }
.dot-mint{ background: var(--mint); }
.dot-pink{ background: var(--pink); }

@keyframes dotBreathe{
  0%, 100%{ transform: scale(0.98); }
  50%{ transform: scale(1.18); }
}
@media (prefers-reduced-motion: reduce){
  .dot{ animation: none; }
}

.handwritten{
  font-family: var(--font-hand);
  font-size: 1.9rem;
  line-height: 1.25;
  color: var(--ink);
  display: inline-block;
  transform: rotate(-3deg);
  white-space: pre-line;
}

/* ---------------------------------------------------------------
   7. HERO
   --------------------------------------------------------------- */
.hero{
  position: relative;
  min-height: 84vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 44px;
  overflow: hidden;
}

.hero-clouds .cloud-lg{ top: -8%; right: -6%; }
.hero-clouds .cloud-md{ top: 34%; right: 18%; }
.hero-clouds .cloud-sm{ bottom: 6%; right: 30%; }

/* Hero clouds get a slightly richer, more saturated presence than other sections */
.hero-clouds .cloud{
  opacity: 0.72;
  filter: blur(54px) saturate(1.2);
}

.hero-inner{
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.hero-title{
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.hero-subtitle{
  margin-top: 28px;
  font-size: 1.15rem;
  color: var(--ink-70);
  max-width: 40ch;
}

.hero-visual{
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-note{ position: relative; display: inline-block; padding-right: 58px; z-index: 3; }
.hero-handwritten{ position: relative; z-index: 3; text-transform: lowercase; }

.hero-arrow{
  position: absolute;
  z-index: 3;
  right: 4px;
  bottom: -8px;
  color: var(--ink-50);
  opacity: 0.75;
  transform: rotate(4deg);
  pointer-events: none;
}

/* Right-edge editorial side note */
.hero-side-note{
  position: absolute;
  right: var(--page-pad);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.78rem;
  color: var(--ink-50);
}
.hero-side-list{
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: right;
  letter-spacing: 0.02em;
}
.hero-side-list li:last-child{ color: var(--ink-30); margin-top: 2px; }
.hero-side-divider{
  width: 1px;
  align-self: stretch;
  background: var(--ink-12);
}
.hero-side-world{
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  white-space: nowrap;
}

.scroll-cue{
  position: relative;
  z-index: 2;
  margin: 60px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.scroll-cue svg{ animation: bob 1.8s ease-in-out infinite; }
@keyframes bob{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(4px); }
}
@media (prefers-reduced-motion: reduce){
  .scroll-cue svg{ animation: none; }
}

/* ---------------------------------------------------------------
   8. À PROPOS
   --------------------------------------------------------------- */
.apropos-grid{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.apropos-text-col{
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink-70);
  padding-top: 0;
}
.apropos-text-col p:last-child{ color: var(--ink); font-weight: 500; }
.cloud-apropos{ top: 10%; left: -10%; opacity: 0.4; }

/* ---------------------------------------------------------------
   9. SERVICES
   --------------------------------------------------------------- */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-12);
  border: 1px solid var(--ink-12);
}

.service-card{
  position: relative;
  background: var(--paper);
  padding: 44px 36px;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-med) var(--ease);
  display: flex;
  flex-direction: column;
  --glow-rgb: var(--yellow-rgb);
}
.service-card.glow-yellow{ --glow-rgb: var(--yellow-rgb); }
.service-card.glow-mint{   --glow-rgb: var(--mint-rgb); }
.service-card.glow-pink{   --glow-rgb: var(--pink-rgb); }

/* Neutral by default — soft colored outer glow only on hover */
.service-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 18px 44px -14px rgba(var(--glow-rgb), 0.62), 0 0 36px -6px rgba(var(--glow-rgb), 0.38);
  z-index: 2;
}

.service-number{
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink-50);
  margin-bottom: 22px;
}

.service-title{
  font-size: 1.25rem;
  margin-bottom: 14px;
  font-weight: 600;
}

.service-desc{
  color: var(--ink-70);
  font-size: 0.98rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* ---------------------------------------------------------------
   10. POURQUOI (FEATURES)
   --------------------------------------------------------------- */
.pourquoi .section-title{ max-width: 14ch; margin-bottom: 60px; }
.cloud-pourquoi{ top: 4%; right: 4%; left: auto; bottom: auto; opacity: 0.55; }

.features-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.feature-icon{
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--ink);
}
.feature-icon svg{ width: 100%; height: 100%; }

.feature-title{
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-desc{
  color: var(--ink-70);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------------
   11. RÉALISATIONS (CAROUSEL)
   --------------------------------------------------------------- */
.section-head-carousel{ align-items: flex-start; }
.head-right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
}
.head-right .section-intro{ text-align: right; }
.section-intro-left{ text-align: left !important; }

.carousel-nav{ display: flex; gap: 10px; }
.carousel-arrow{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ink-12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.carousel-arrow:hover{ background: var(--ink); color: var(--paper); border-color: var(--ink); }
.carousel-arrow:active{ transform: scale(0.94); }
.carousel-arrow:disabled{ opacity: 0.3; pointer-events: none; }

.carousel-viewport{
  overflow: hidden;
  cursor: grab;
  margin: 0 calc(var(--page-pad) * -1);
  padding: 0 var(--page-pad) 4px;
  touch-action: pan-y;            /* horizontal swipe handled by the carousel, vertical scroll stays native */
}
.carousel-viewport.is-dragging{ cursor: grabbing; }

.carousel-track{
  display: flex;
  align-items: stretch;
  gap: 24px;
  will-change: transform;
}

.project-card{
  flex: 0 0 auto;
  width: 296px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--ink-12);
  border-radius: 6px;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  user-select: none;
}
.project-card:hover{
  transform: scale(1.02);
  box-shadow: 0 20px 44px -22px rgba(18,17,15,0.3);
}

.project-visual{
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  overflow: hidden;
}
.project-visual img{ width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.project-mark{
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.pv-yellow{ background: var(--yellow-soft); }
.pv-pink{   background: var(--pink-soft); }
.pv-mint{   background: var(--mint-soft); }
.pv-paper{  background: #F4F1EA; }
.pv-ink{    background: var(--ink); color: #fff; }

.project-body{ display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.project-name{ font-size: 1.08rem; font-weight: 600; line-height: 1.25; }
.project-industry{ margin-top: 4px; font-size: 0.78rem; color: var(--ink-50); line-height: 1.4; }
.project-desc{ margin-top: 12px; font-size: 0.88rem; line-height: 1.55; color: var(--ink-70); }

.project-tags{ margin-top: auto; padding-top: 16px; }
.tag-list{ display: flex; flex-wrap: wrap; gap: 6px; }
.project-tag{
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--ink-70);
  border: 1px solid var(--ink-12);
  border-radius: 14px;
  padding: 4px 10px;
}
.tag-more{
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  background: var(--paper);
  transition: background var(--dur-fast) var(--ease);
}
.tag-more:hover{ background: var(--yellow); }

/* "+N": remaining tags unfold inside the same card */
.tag-extra{ display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.tag-extra-inner{ overflow: hidden; min-height: 0; }
.tag-list-extra{ padding-top: 6px; }
.project-card.is-expanded .tag-extra{ grid-template-rows: 1fr; }
@media (prefers-reduced-motion: reduce){ .tag-extra{ transition: none; } }

/* ---------------------------------------------------------------
   12. PROCESS (TIMELINE)
   --------------------------------------------------------------- */
.cloud-process{ top: -14%; right: -10%; opacity: 0.5; }

.timeline{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 64px;
  position: relative;
}

.timeline-step{
  position: relative;
  padding-top: 34px;
}
.timeline-step::before{
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  right: 24px;
  height: 1px;
  background: var(--ink-12);
}
.timeline-step:last-child::before{ display: none; }

.timeline-step::after{
  content: '';
  position: absolute;
  top: 3px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink);
}

.timeline-number{
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink-50);
  margin-bottom: 14px;
}
.timeline-title{ font-weight: 600; font-size: 1.05rem; margin-bottom: 10px; }
.timeline-desc{ color: var(--ink-70); font-size: 0.92rem; line-height: 1.6; }

/* ---------------------------------------------------------------
   13. POUR QUI (PILLS)
   --------------------------------------------------------------- */
.pills{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 56px;
}
.pill{
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-size: 1rem;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.pill:hover{
  border-color: var(--ink);
  transform: translateY(-2px);
}
.pill-yellow:hover{ background: var(--yellow-soft); }
.pill-mint:hover{ background: var(--mint-soft); }
.pill-pink:hover{ background: var(--pink-soft); }

/* ---------------------------------------------------------------
   14. FAQ (ACCORDION)
   --------------------------------------------------------------- */
.faq-grid{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.accordion-item{
  border-bottom: 1px solid var(--ink-12);
}
.accordion-item:first-child{ border-top: 1px solid var(--ink-12); }

.accordion-trigger{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  text-align: left;
  font-weight: 600;
  font-size: 1.05rem;
}

.accordion-icon{
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}
.accordion-icon::before,
.accordion-icon::after{
  content: '';
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.accordion-icon::before{ width: 14px; height: 1.4px; }
.accordion-icon::after{ width: 1.4px; height: 14px; transition: transform var(--dur-fast) var(--ease); }
.accordion-item.is-open .accordion-icon::after{ transform: translate(-50%, -50%) rotate(90deg) scaleX(0); }

.accordion-panel{
  height: 0;
  overflow: hidden;
  transition: height var(--dur-med) var(--ease);
}
.accordion-panel-inner{
  padding: 0 4px 26px;
  color: var(--ink-70);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 60ch;
}

/* ---------------------------------------------------------------
   15. CONTACT
   --------------------------------------------------------------- */
.contact{ padding-bottom: calc(var(--section-pad-y) + 20px); }
.cloud-contact{ top: 0%; right: -8%; opacity: 0.55; }

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-heading-col p{ color: var(--ink-70); margin-top: 22px; font-size: 1.05rem; max-width: 42ch; line-height: 1.6; }
.contact-handwritten{ margin-top: 40px; }

.contact-form{
  position: relative;
  z-index: 2;
  background: var(--paper);
  border: 1px solid var(--ink-12);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 30px 70px -30px rgba(255,79,160,0.28);
}

.field{ display: flex; flex-direction: column; gap: 8px; }
.field label{ font-size: 0.85rem; font-weight: 600; color: var(--ink-70); }
.field input, .field textarea{
  border: 1px solid var(--ink-12);
  border-radius: 8px;
  padding: 13px 16px;
  background: var(--paper);
  transition: border-color var(--dur-fast) var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus{ border-color: var(--ink); }

.hp-field{ position: absolute; left: -9999px; }

.form-status{
  min-height: 1.2em;
  font-size: 0.9rem;
  text-align: center;
}
.form-status.is-success{ color: #1a8f5e; }
.form-status.is-error{ color: #d43b3b; }

/* ---------------------------------------------------------------
   16. FOOTER
   --------------------------------------------------------------- */
.site-footer{ border-top: 1px solid var(--ink-08); padding: 40px 0; }
.footer-inner{
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand{ display: flex; align-items: center; gap: 14px; }
.footer-logo{ height: 28px; width: auto; opacity: 0.85; }
.footer-brand-text{ display: flex; flex-direction: column; line-height: 1.3; }
.footer-brand-name{ font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.footer-brand-tagline{ font-size: 0.76rem; color: var(--ink-50); }
.footer-copy{ font-size: 0.85rem; color: var(--ink-50); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-copy a{ color: var(--ink-50); text-decoration: underline; text-underline-offset: 3px; transition: color var(--dur-fast) var(--ease); }
.footer-copy a:hover{ color: var(--ink); }
.footer-copy-sep{ color: var(--ink-30); }

.privacy-notice{
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--ink-50);
  margin-top: -4px;
}
.privacy-notice a{ color: var(--ink-70); text-decoration: underline; text-underline-offset: 2px; }
.privacy-notice a:hover{ color: var(--ink); }

/* ---------------------------------------------------------------
   17. REVEAL ANIMATIONS
   --------------------------------------------------------------- */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.hero-inner.reveal{ transition-delay: 0.05s; }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------
   18. RESPONSIVE
   --------------------------------------------------------------- */

/* Laptop / small desktop */
@media (max-width: 1180px){
  .features-grid{ grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
}

/* Tablet */
@media (max-width: 960px){
  .main-nav{ display: none; }
  .header-cta{ display: none; }
  .hamburger{ display: flex; }

  .hero-inner{ grid-template-columns: 1fr; text-align: left; }
  .hero{ padding-top: 120px; min-height: unset; }
  .hero-visual{ min-height: 220px; margin-top: 20px; }
  .hero-clouds .cloud-lg{ width: 420px; height: 420px; }
  .hero-clouds .cloud-md{ width: 300px; height: 300px; }

  .apropos-grid{ grid-template-columns: 1fr; gap: 30px; }

  .services-grid{ grid-template-columns: repeat(2, 1fr); }

  .section-head{ flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-head-carousel .head-right{ align-items: flex-start; }
  .head-right .section-intro{ text-align: left; }

  .timeline{ grid-template-columns: 1fr; gap: 0; }
  .timeline-step{ padding-left: 30px; padding-top: 4px; padding-bottom: 34px; }
  .timeline-step::before{
    top: 6px; left: 4px; right: auto; bottom: 0; width: 1px; height: auto;
  }
  .timeline-step::after{ top: 0; left: 0; }

  .faq-grid{ grid-template-columns: 1fr; gap: 30px; }

  .contact-grid{ grid-template-columns: 1fr; gap: 40px; }
}

/* Mobile */
@media (max-width: 640px){
  .header-inner{ padding: 16px var(--page-pad); }
  .brand-logo{ height: 42px; }

  .hero-title{ font-size: 2.4rem; }
  .hero-actions{ flex-direction: column; }
  .hero-actions .btn{ width: 100%; justify-content: center; }
  .hero-handwritten{ font-size: 1.5rem; }

  .services-grid{ grid-template-columns: 1fr; }
  .service-card:hover{ transform: none; }

  .features-grid{ grid-template-columns: 1fr; gap: 36px; }

  .pourquoi .section-title{ max-width: none; }

  .project-card{ width: 262px; }

  .pills{ gap: 10px; }
  .pill{ padding: 11px 20px; font-size: 0.92rem; }

  .contact-form{ padding: 26px 22px; }

  .footer-inner{ flex-direction: column; text-align: center; gap: 12px; }

  :root{ --section-pad-y: 54px; }
}

/* Hero side note: hide on tablet/mobile to keep the composition uncluttered */
@media (max-width: 960px){
  .hero-side-note{ display: none; }
}

/* ---------------------------------------------------------------
   19. LEGAL PAGE
   --------------------------------------------------------------- */
.legal-main{ padding-top: 140px; }

.legal-intro{ max-width: var(--page-max); margin: 0 auto 20px; padding: 0 var(--page-pad); }
.legal-back{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--ink-50);
  margin-bottom: 28px;
  transition: color var(--dur-fast) var(--ease);
}
.legal-back:hover{ color: var(--ink); }

.legal-page-title{
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
  max-width: 22ch;
  margin-bottom: 20px;
}

.legal-section{ padding: 28px 0; }
.legal-content{ max-width: 720px; }

.legal-h2{
  font-size: 1.6rem;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink-12);
}
.legal-h3{
  font-size: 1.05rem;
  margin-top: 34px;
  margin-bottom: 12px;
}
.legal-content p{
  color: var(--ink-70);
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 0.98rem;
}
.legal-content ul{
  margin: 0 0 14px;
  padding-left: 20px;
  list-style: disc;
}
.legal-content li{
  color: var(--ink-70);
  line-height: 1.7;
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.legal-content a{ color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.legal-block{
  background: var(--paper);
  border: 1px solid var(--ink-12);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-70);
}
.legal-placeholder{
  background: var(--yellow-soft);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--ink);
}
.legal-updated{
  font-size: 0.85rem;
  color: var(--ink-50);
  margin-bottom: 24px;
}

@media (max-width: 640px){
  .legal-main{ padding-top: 110px; }
  .legal-h2{ font-size: 1.35rem; }
}
