/* =================================================================
   RENTIA — Maquette éditoriale claire
   Fond clair (papier crème), bandeaux gris sombre header/footer,
   3 verts en signature visuelle comme sur la plaquette commerciale.
   ================================================================= */

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  /* === 3 verts officiels (extraits du logo) === */
  --green-dark:  #0e5d2c;  /* vert foncé */
  --green-mid:   #2ba03a;  /* vert moyen */
  --green-lime:  #9fe03f;  /* vert clair lime */
  --green-leaf:  #c9f08a;  /* dérivé clair */

  /* === Gris sombre (bandeaux comme plaquette) === */
  --ink:         #1d211e;
  --ink-soft:    #2a2f2c;

  /* === Fond clair éditorial === */
  --paper:       #f5f3ec;  /* crème papier */
  --paper-2:     #ece9df;
  --line:        rgba(29, 33, 30, 0.08);
  --line-strong: rgba(29, 33, 30, 0.18);

  /* === Texte === */
  --text:        #1d211e;
  --text-soft:   #5a5f5a;
  --text-mute:   #8a8f88;
  --text-light:  #ecefe5; /* sur fond sombre */

  /* === Typo === */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, 'Segoe UI', sans-serif;
  --hand:  'Caveat', cursive;

  /* === Layout === */
  --container: 1280px;
  --padding-x: clamp(24px, 5vw, 80px);
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; }

/* =========================================
   HEADER (gris sombre comme bandeau plaquette)
   ========================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--text-light);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--padding-x);
  gap: 24px;
}
.brand img { height: 34px; width: auto; }

.nav {
  display: flex;
  gap: 36px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(236, 239, 229, 0.75);
  transition: color .2s ease;
  position: relative;
  padding: 4px 0;
}
.nav a:hover { color: var(--green-lime); }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--green-lime);
  transition: width .25s ease;
}
.nav a:hover::after { width: 100%; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  background: var(--green-lime);
  color: var(--ink);
  border-radius: 100px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.header-cta svg { width: 16px; height: 16px; }
.header-cta:hover {
  background: #b4ed5d;
  transform: translateY(-1px);
}

.burger { display: none; background: none; border: 0; cursor: pointer; width: 28px; height: 18px; position: relative; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--text-light); transition: .3s; }
.burger span:nth-child(1) { top: 4px; }
.burger span:nth-child(2) { bottom: 4px; }
.burger.open span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { bottom: 8px; transform: rotate(-45deg); }

/* =========================================
   BUTTONS
   ========================================= */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 32px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
}
.cta svg { width: 17px; height: 17px; transition: transform .3s ease; }
.cta:hover svg { transform: translateX(4px); }

.cta-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 26px -10px rgba(29, 33, 30, 0.6);
}
.cta-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(14, 93, 44, 0.5);
}

.cta-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.cta-ghost:hover {
  border-color: var(--ink);
  background: var(--paper-2);
}

.cta-big { padding: 22px 44px; font-size: 16px; }

/* =========================================
   ELEMENTS COMMUNS
   ========================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 36px;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--green-mid);
  border-radius: 2px;
  box-shadow: 0 0 0 4px rgba(43, 160, 58, 0.18);
}
.eyebrow-dark { color: rgba(236, 239, 229, 0.75); }
.eyebrow-dark .dot { background: var(--green-lime); box-shadow: 0 0 0 4px rgba(159, 224, 63, 0.22); }

/* Typographie display (titres XXL Fraunces) */
.display, .display-xl {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: 'opsz' 144;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--ink);
}
.display    { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
.display-xl { font-size: clamp(2.6rem, 7vw, 6.4rem); }
.display em, .display-xl em {
  font-style: italic;
  font-weight: 400;
  color: var(--green-dark);
}
.center { text-align: center; }

.italic { font-style: italic; }

/* Bandeaux de section (lime, mid, dark) — comme la plaquette */
.strip {
  display: block;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px var(--padding-x);
}
.strip-lime { background: var(--green-lime); color: var(--green-dark); }
.strip-mid  { background: var(--green-mid);  color: #fff; }
.strip-dark { background: var(--ink); color: var(--green-lime); }

/* =========================================
   HERO
   ========================================= */
.hero {
  padding: 160px 0 0;
  background: var(--paper);
  position: relative;
}
.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px var(--padding-x) 100px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-text { position: relative; }

.line {
  display: block;
  overflow: hidden;
}

.display-xl .line {
  margin-bottom: 4px;
}

.hero-text .lede {
  margin: 36px 0 44px;
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  color: var(--text-soft);
  max-width: 540px;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* === Composition visuelle (4 carrés du logo, mosaïque) === */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-width: 520px;
  margin-left: auto;
  width: 100%;
}
.canvas {
  position: absolute;
  inset: 0;
}
.canvas-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, transparent 75%);
}
.sq {
  position: absolute;
  border-radius: 4px;
  transform-origin: center;
  animation: floaty 9s ease-in-out infinite;
}
.sq-1 {
  width: 44%; height: 44%;
  top: 8%; left: 8%;
  background: var(--green-dark);
  animation-delay: 0s;
}
.sq-2 {
  width: 32%; height: 32%;
  top: 6%; right: 12%;
  background: var(--green-mid);
  animation-delay: 1.2s;
}
.sq-3 {
  width: 38%; height: 38%;
  bottom: 8%; left: 24%;
  background: var(--green-lime);
  animation-delay: 2.4s;
}
.sq-4.sq-tri {
  width: 30%; height: 30%;
  bottom: 14%; right: 8%;
  background: var(--green-lime);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  animation-delay: 3.6s;
}
@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(0); }
  50%     { transform: translateY(-10px) rotate(0.5deg); }
}

.canvas-cap {
  position: absolute;
  bottom: -34px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cap-line {
  width: 50px; height: 1px;
  background: var(--text-mute);
}
.cap-txt {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* === Trust strip en bas du hero === */
.hero-trust {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.trust {
  padding: 36px var(--padding-x);
  border-right: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trust:last-child { border-right: 0; }
.trust-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variation-settings: 'opsz' 144;
}
.trust-lbl {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
}

/* =========================================
   APPROCHE
   ========================================= */
.approche {
  background: var(--paper);
  padding-bottom: 130px;
}
.approche-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px var(--padding-x) 0;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 100px;
  align-items: start;
}
.approche-intro {
  font-size: clamp(1.06rem, 1.35vw, 1.22rem);
  color: var(--text-soft);
  margin-top: 32px;
  line-height: 1.6;
  max-width: 520px;
}
.engagements {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.engagement {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 26px;
  align-items: start;
  transition: transform .3s ease;
}
.engagement:last-child { border-bottom: 1px solid var(--line); }
.engagement:hover { transform: translateX(4px); }
.eng-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--green-mid);
  letter-spacing: -0.03em;
  line-height: 1;
}
.engagement h3 {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.engagement p {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 480px;
}

/* =========================================
   EXPERTISE — 4 piliers
   ========================================= */
.expertise {
  background: var(--paper-2);
  padding-bottom: 130px;
}
.expertise-head {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 110px var(--padding-x) 70px;
}
.head-lede {
  margin-top: 28px;
  font-size: clamp(1.04rem, 1.3vw, 1.18rem);
  color: var(--text-soft);
  line-height: 1.6;
}

.piliers {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--padding-x);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.pilier {
  background: var(--paper);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  border: 1px solid var(--line);
}
.pilier:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -20px rgba(29, 33, 30, 0.22);
}
.pilier-head {
  background: var(--green-lime);
  padding: 22px 32px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.pilier-num {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  font-style: italic;
  color: var(--green-dark);
}
.pilier-head h3 {
  font-family: var(--sans);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--green-dark);
  text-transform: uppercase;
}
.pilier ul {
  padding: 28px 32px 34px;
}
.pilier ul li {
  position: relative;
  padding: 12px 0 12px 22px;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.pilier ul li:last-child { border-bottom: 0; }
.pilier ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 18px;
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--green-dark);
}

/* =========================================
   POURQUOI RENTIA
   ========================================= */
.pourquoi {
  background: var(--paper);
  padding-bottom: 130px;
}
.pourquoi-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px var(--padding-x) 0;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 90px;
  align-items: start;
}
.pourquoi-head { position: sticky; top: 120px; }

.raisons {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.raison {
  padding: 32px 36px;
  background: var(--paper-2);
  border-radius: 4px;
  border-left: 4px solid var(--green-lime);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
  transition: transform .3s, border-color .3s, background .3s;
}
.raison:hover {
  border-left-color: var(--green-mid);
  background: #e7e3d6;
  transform: translateX(4px);
}
.rs-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  font-style: italic;
  color: var(--green-dark);
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.raison h3 {
  font-family: var(--sans);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.raison p {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* =========================================
   CONTACT
   ========================================= */
.contact { background: var(--paper); padding-bottom: 130px; }
.contact-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px var(--padding-x) 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.contact-left { position: relative; }
.ugo-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 70px -25px rgba(29, 33, 30, 0.4);
  transform: rotate(-2deg);
  transition: transform .5s ease;
}
.ugo-card:hover { transform: rotate(0deg) scale(1.02); }
.ugo-card img { width: 100%; height: auto; }
.contact-left::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 100px; height: 100px;
  background: var(--green-lime);
  border-radius: 4px;
  z-index: -1;
}
.contact-left::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 70px; height: 70px;
  background: var(--green-dark);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: -1;
}

.big-text {
  font-size: clamp(1.06rem, 1.3vw, 1.22rem);
  color: var(--text-soft);
  margin-top: 30px;
  line-height: 1.6;
  max-width: 560px;
}

.coords {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.coord {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: padding .25s ease;
}
.coord:first-child { border-top: 1px solid var(--line); }
a.coord:hover { padding-left: 8px; }
a.coord:hover .coord-val { color: var(--green-dark); }
.coord-ico {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--green-lime);
  border-radius: 100px;
}
.coord-ico svg { width: 20px; height: 20px; }
.coord-txt { display: flex; flex-direction: column; gap: 4px; }
.coord-lbl {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
}
.coord-val {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
  transition: color .2s;
}

.signature {
  margin-top: 50px;
  padding: 34px 38px;
  background: var(--paper-2);
  border-radius: 4px;
  border-left: 4px solid var(--green-lime);
  position: relative;
}
.sig-words {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.sig-name {
  display: block;
  margin-top: 18px;
  font-family: var(--hand);
  font-size: 2.4rem;
  color: var(--green-dark);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* =========================================
   RDV — bandeau sombre final
   ========================================= */
.rdv {
  background: var(--ink);
  color: var(--text-light);
  padding: clamp(110px, 14vw, 180px) var(--padding-x);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.rdv-bg { position: absolute; inset: 0; pointer-events: none; }
.rb-sq {
  position: absolute;
  border-radius: 4px;
  opacity: 0.16;
}
.rb-sq-1 { width: 140px; height: 140px; top: 14%; left: 6%;  background: var(--green-dark); }
.rb-sq-2 { width: 110px; height: 110px; top: 8%;  right: 10%; background: var(--green-mid); }
.rb-sq-3 { width: 90px;  height: 90px;  bottom: 14%; left: 14%; background: var(--green-lime); }
.rb-sq-4.rb-sq-tri {
  width: 120px; height: 120px;
  bottom: 8%; right: 8%;
  background: var(--green-lime);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.rdv-content {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}
.rdv .display-xl {
  color: var(--text-light);
}
.rdv .display-xl em {
  color: var(--green-lime);
}
.rdv-lede {
  margin: 32px auto 44px;
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  color: rgba(236, 239, 229, 0.72);
  max-width: 580px;
  line-height: 1.6;
}
.rdv .cta-primary {
  background: var(--green-lime);
  color: var(--ink);
  box-shadow: 0 14px 40px -10px rgba(159, 224, 63, 0.5);
}
.rdv .cta-primary:hover {
  background: #b4ed5d;
  box-shadow: 0 18px 50px -10px rgba(159, 224, 63, 0.65);
}
.rdv-note {
  display: block;
  margin-top: 24px;
  font-size: 13px;
  color: rgba(236, 239, 229, 0.5);
  font-style: italic;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: #14171500;
  background: var(--ink);
  color: var(--text-light);
  padding: 70px var(--padding-x) 0;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { height: 32px; margin-bottom: 18px; }
.footer-left p { color: rgba(236, 239, 229, 0.65); max-width: 340px; font-size: 0.96rem; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-lime);
  margin-bottom: 18px;
}
.footer-col p, .footer-col a {
  display: block;
  font-size: 0.96rem;
  color: rgba(236, 239, 229, 0.7);
  margin-bottom: 8px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--green-lime); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 0;
  font-size: 12.5px;
  color: rgba(236, 239, 229, 0.45);
  letter-spacing: 0.05em;
}

/* =========================================
   REVEAL
   ========================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1040px) {
  .nav { display: none; }
  .burger { display: block; }
  .header.menu-open .nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ink);
    padding: 18px var(--padding-x);
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .header.menu-open .nav a { padding: 12px 0; }

  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); }
  .trust:nth-child(2) { border-right: 0; }
  .trust:nth-child(1), .trust:nth-child(2) { border-bottom: 1px solid var(--line-strong); }

  .approche-grid,
  .pourquoi-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .pourquoi-head { position: static; }

  .piliers { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  .header-cta span { display: none; }
  .header-cta { padding: 10px; }
  .header-cta svg { width: 18px; height: 18px; }

  .hero { padding-top: 130px; }
  .hero-grid { padding: 40px var(--padding-x) 70px; }

  .hero-trust { grid-template-columns: 1fr; }
  .trust { border-right: 0; border-bottom: 1px solid var(--line-strong); padding: 26px var(--padding-x); }
  .trust:last-child { border-bottom: 0; }

  .approche-grid,
  .pourquoi-grid,
  .contact-grid,
  .expertise-head { padding-top: 80px; }

  .pilier-head { padding: 18px 22px; }
  .pilier ul { padding: 22px 24px 26px; }

  .raison { grid-template-columns: 1fr; padding: 28px 24px; gap: 8px; }
  .coord { padding: 18px 0; }

  .cta { padding: 16px 26px; font-size: 14.5px; }
  .cta-big { padding: 18px 32px; font-size: 15.5px; }
}
