/* ============ HIDDEN ============
   force la balise [hidden] a masquer l'element, sinon
   "display: flex" des blocs de formulaire l'ecrase
   et les deux messages s'affichent en meme temps. */
[hidden] { display: none !important; }
/* ============================================================
   SGCTE — Design System
   Palette
   --ink  #0B211A  (deep forest)
   --pine #0E2A21
   --cream #F4F1EA
   --sand #C9A96A / --gold #E7CF9C
   ============================================================ */

:root {
  --ink: #0B211A;
  --pine: #0E2A21;
  --pine-2: #12362A;
  --moss: #1C4B37;
  --cream: #F4F1EA;
  --cream-2: #ECE7DB;
  --paper: #FBFAF6;
  --gold: #C9A96A;
  --gold-2: #E7CF9C;
  --gold-deep: #8F7440;
  --text: #23322C;
  --muted: #6B7A72;
  --line: rgba(11, 33, 26, .12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
mark { background: transparent; color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: #B9AE97; border: 3px solid var(--cream); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* ============ CURSOR ============ */
.cursor, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-ring {
    display: block; position: fixed; top: 0; left: 0; z-index: 9999;
    pointer-events: none; border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .cursor { width: 7px; height: 7px; background: var(--gold-2); }
  .cursor-ring {
    width: 38px; height: 38px; border: 1px solid rgba(201, 169, 106, .7);
    transition: width .25s var(--ease), height .25s var(--ease), border-color .25s;
  }
  .cursor-ring.is-hover { width: 62px; height: 62px; border-color: rgba(201, 169, 106, .35); }
  .cursor-ring.is-down { width: 26px; height: 26px; }
}

/* ============ PRELOADER ============ */
.preloader {
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center;
  background: var(--ink); color: var(--cream);
  transition: transform .9s var(--ease), visibility .9s;
}
.preloader.is-done { transform: translateY(-100%); visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__logo {
  font-family: var(--serif); font-size: clamp(42px, 7vw, 72px); font-weight: 500;
  letter-spacing: .14em; color: var(--gold-2);
}
.preloader__line { display: block; width: 180px; height: 1px; margin: 22px auto 16px; background: rgba(244, 241, 234, .18); overflow: hidden; }
.preloader__bar { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: preload 1.5s var(--ease) forwards; }
@keyframes preload { to { transform: scaleX(1); } }
.preloader__sub { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: rgba(244, 241, 234, .55); }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 2000;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1500;
  transition: background .4s, box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 33, 26, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: rgba(201, 169, 106, .18);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
}
.nav.is-scrolled .nav__link span { color: var(--gold-2); }
.nav__inner {
  width: min(1280px, 100% - 48px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand { display: flex; align-items: center; gap: 13px; color: var(--cream); }
.brand__mark svg { color: var(--gold-2); transition: transform .5s var(--ease); }
.brand:hover .brand__mark svg { transform: rotate(-12deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--serif); font-size: 21px; letter-spacing: .18em; color: var(--gold-2); }
.brand__text small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(244, 241, 234, .6); }

.nav__links { display: flex; gap: 24px; }
.nav__link {
  position: relative; display: inline-flex; flex-direction: column; gap: 1px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .05em; color: rgba(244, 241, 234, .82);
  transition: color .3s;
}
.nav__link span {
  font-size: 9.5px; letter-spacing: .18em; color: var(--gold); font-weight: 700;
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 1px;
  background: var(--gold-2); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__link:hover { color: var(--gold-2); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__actions { display: flex; align-items: center; gap: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--sans); font-size: 13.5px; font-weight: 700; letter-spacing: .06em;
  padding: 15px 26px; border-radius: 999px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, color .35s;
  white-space: nowrap;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  color: var(--ink);
  box-shadow: 0 12px 30px -12px rgba(201, 169, 106, .65);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(201, 169, 106, .8); }
.btn--ghost { color: var(--cream); border: 1px solid rgba(244, 241, 234, .35); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--gold-2); }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(11, 33, 26, .6); }
.btn--outline { color: var(--cream); border: 1px solid rgba(244, 241, 234, .4); }
.btn--outline:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn--sm { padding: 11px 22px; font-size: 12.5px; }
.btn--lg { padding: 18px 32px; font-size: 14.5px; }

/* Burger */
.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 2100; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--cream);
  transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 26px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ============ MOBILE MENU ============ */
.mobile {
  position: fixed; inset: 0; z-index: 2000; visibility: hidden;
}
.mobile__bg {
  position: absolute; inset: 0; background: var(--ink);
  clip-path: circle(0% at 100% 0); transition: clip-path .8s var(--ease);
}
.mobile.is-open { visibility: visible; }
.mobile.is-open .mobile__bg { clip-path: circle(150% at 100% 0); }
.mobile__nav {
  position: relative; height: 100%; display: flex; flex-direction: column;
  justify-content: center; gap: 6px; padding: 0 8vw;
}
.mobile__link {
  font-family: var(--serif); font-size: clamp(30px, 6.4vw, 46px); font-weight: 400;
  color: var(--cream); display: flex; align-items: baseline; gap: 18px;
  opacity: 0; transform: translateY(26px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
  padding: 8px 0;
}
.mobile__link span { font-family: var(--sans); font-size: 11px; letter-spacing: .25em; color: var(--gold); }
.mobile__link:hover { color: var(--gold-2); }
.mobile.is-open .mobile__link { opacity: 1; transform: none; }
.mobile__cta { margin-top: 34px; opacity: 0; transition: opacity .6s .35s; display: flex; flex-direction: column; gap: 8px; }
.mobile.is-open .mobile__cta { opacity: 1; }
.mobile__mail { font-size: 15px; font-weight: 600; color: var(--gold-2); }

/* ============ HERo ============ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--cream); overflow: clip; padding: 150px 0 130px;
}
.hero__bg { position: absolute; inset: 0; }
.hero__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9, 26, 20, .78) 0%, rgba(11, 33, 26, .6) 48%, rgba(11, 33, 26, .94) 100%);
}
.hero__sun { animation: breathe 9s ease-in-out infinite; transform-origin: 1080px 330px; }
.hero__sun--core { animation: breathe 6s ease-in-out infinite reverse; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .14; } 50% { transform: scale(1.08); opacity: .2; } }
.ridge--1 { animation: rise 2.4s var(--ease) both; }
.ridge--2 { animation: rise 2.4s var(--ease) .15s both; }
@keyframes rise { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }

.hero__topo {
  position: absolute; right: 4vw; bottom: 6vh; width: min(34vw, 460px); height: auto;
  animation: drift 14s ease-in-out infinite;
}
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.hero__grain {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero__content {
  position: relative; z-index: 2; width: min(1200px, 100% - 48px); margin-inline: auto;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2);
  border: 1px solid rgba(201, 169, 106, .4); padding: 10px 20px; border-radius: 999px;
  background: rgba(11, 33, 26, .4); margin-bottom: 34px;
}
.hero__eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201, 169, 106, .6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 169, 106, .55); }
  70% { box-shadow: 0 0 0 12px rgba(201, 169, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 169, 106, 0); }
}

.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 8vw, 96px); line-height: 1.02; letter-spacing: -.02em;
  max-width: 14ch;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word {
  display: inline-block; transform: translateY(110%); animation: wordUp 1.1s var(--ease) forwards;
}
.hero__title .line:nth-child(1) .word { animation-delay: .1s; }
.hero__title .line:nth-child(2) .word { animation-delay: .24s; }
.hero__title .line:nth-child(3) .word { animation-delay: .38s; }
@keyframes wordUp { to { transform: translateY(0); } }
.hero__title .line--accent em, .hero__title .line--accent { font-style: italic; color: var(--gold-2); }

.hero__lead {
  margin-top: 34px; max-width: 52ch; font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 300; color: rgba(244, 241, 234, .82); opacity: 0;
  animation: fadeIn 1.2s var(--ease) .55s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.hero__cta { display: flex; gap: 16px; margin-top: 42px; opacity: 0; animation: fadeIn 1.2s var(--ease) .7s forwards; }

.hero__stats {
  display: flex; gap: clamp(30px, 6vw, 74px); margin-top: 74px; padding-top: 26px;
  border-top: 1px solid rgba(244, 241, 234, .16);
  opacity: 0; animation: fadeIn 1.2s var(--ease) .85s forwards;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num {
  font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); color: var(--gold-2); line-height: 1;
}
.stat__label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 241, 234, .55); max-width: 18ch; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: rgba(244, 241, 234, .7); opacity: 0; animation: fadeIn 1s var(--ease) 1.4s forwards;
}
.hero__scroll-txt { font-size: 10px; letter-spacing: .34em; text-transform: uppercase; }
.hero__scroll-line { display: block; width: 1px; height: 56px; background: rgba(244, 241, 234, .22); overflow: hidden; }
.hero__scroll-line i { display: block; width: 100%; height: 100%; background: var(--gold-2); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

.hero__edge {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  display: flex; gap: 22px; align-items: center; white-space: nowrap;
  padding: 14px 0; border-top: 1px solid rgba(244, 241, 234, .1);
  background: #0B211A;
  font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: rgba(244, 241, 234, .6);
  width: max-content; opacity: 0;
  animation: marquee 30s linear infinite, fadeIn 1s var(--ease) 1.5s forwards;
}
.hero__edge i { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }
.section__head { margin-bottom: clamp(44px, 6vw, 72px); }
.section__head--center { text-align: center; max-width: 860px; margin-inline: auto; }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }

.kicker {
  display: inline-flex; gap: 12px; align-items: center;
  font-size: 11.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 20px;
}
.kicker span {
  font-family: var(--serif); font-size: 13px; font-style: italic; letter-spacing: 0;
  color: var(--gold); border: 1px solid rgba(201, 169, 106, .5); border-radius: 999px;
  padding: 1px 10px;
}
.kicker--light { color: var(--gold-2); }

.section__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -.015em;
  color: var(--ink);
}
.section__title em { font-style: italic; color: var(--gold-deep); }
.section__title--xl { font-size: clamp(38px, 6vw, 70px); }
.section__sub {
  margin-top: 26px; font-size: clamp(16px, 1.7vw, 19px); font-weight: 300;
  color: var(--muted); max-width: 56ch; margin-inline: auto;
}
.section__aside { max-width: 34ch; font-size: 15.5px; font-weight: 300; color: var(--muted); padding-bottom: 8px; }

/* ============ HISTOIRE ============ */
.histoire { background: var(--paper); }
.histoire__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 84px); align-items: start; }

.card-frame {
  position: relative; border-radius: 26px; overflow: hidden;
  box-shadow: 0 40px 80px -34px rgba(11, 33, 26, .55);
  background: var(--pine-2);
}
.card-frame__art { width: 100%; height: auto; }
.card-frame__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-frame:has(.card-frame__img) { aspect-ratio: 5 / 6; }
.card-frame__badge {
  position: absolute; left: 22px; right: 22px; bottom: 22px;
  display: flex; align-items: center; gap: 16px;
  background: rgba(11, 21, 26, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 169, 106, .3); border-radius: 16px; padding: 16px 20px; color: var(--cream);
}
.card-frame__badge strong { display: block; font-family: var(--serif); font-size: 18px; color: var(--gold-2); font-weight: 500; }
.card-frame__badge span { font-size: 12.5px; color: rgba(244, 241, 234, .7); }

.histoire__body { display: flex; flex-direction: column; gap: 20px; }
.histoire__body .lead { font-size: clamp(18px, 2.2vw, 23px); line-height: 1.5; color: var(--ink); }
.histoire__body .lead strong { color: var(--gold-deep); }
.histoire__body .lead mark {
  background: linear-gradient(transparent 62%, rgba(201, 169, 106, .42) 0);
  padding: 0 2px;
}
.histoire__body p { font-size: 16px; line-height: 1.8; color: var(--muted); }

.timeline { margin-top: 18px; display: flex; flex-direction: column; }
.timeline__item {
  display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 20px 0;
  border-top: 1px solid var(--line); position: relative;
}
.timeline__year {
  font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold);
  border: 1px solid rgba(201, 169, 106, .4); width: 52px; height: 52px;
  display: grid; place-items: center; border-radius: 50%;
}
.timeline__item strong { display: block; font-size: 17px; color: var(--ink); margin-bottom: 5px; }
.timeline__item p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ============ MISSION ============ */
.mission { background: var(--cream); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 20px; }
.pillar {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: 22px; padding: 40px 32px 36px; transition: transform .5s var(--ease), box-shadow .5s, border-color .5s;
  overflow: hidden;
}
.pillar::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--pine-2), var(--ink));
  opacity: 0; transition: opacity .5s; pointer-events: none;
}
.pillar:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -28px rgba(11, 33, 26, .35); border-color: transparent; }
.pillar:hover::before { opacity: 1; }
.pillar > * { position: relative; }
.pillar__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: var(--gold-deep); background: rgba(201, 169, 106, .14); transition: color .5s, background .5s; }
.pillar:hover .pillar__icon { color: var(--gold-2); background: rgba(201, 169, 106, .22); }
.pillar h3 { margin: 24px 0 10px; font-family: var(--serif); font-size: 25px; font-weight: 500; color: var(--ink); transition: color .5s; }
.pillar p { font-size: 14.5px; color: var(--muted); transition: color .5s; }
.pillar:hover h3 { color: var(--gold-2); }
.pillar:hover p { color: rgba(244, 241, 234, .75); }
.pillar--accent { background: var(--pine-2); border-color: transparent; }
.pillar--accent h3 { color: var(--gold-2); }
.pillar--accent p { color: rgba(244, 241, 234, .72); }
.pillar--accent .pillar__icon { color: var(--gold-2); background: rgba(201, 169, 106, .18); }

.bigquote {
  margin-top: clamp(50px, 7vw, 90px); max-width: 900px; margin-inline: auto; position: relative;
  text-align: center; padding: clamp(20px, 4vw, 44px);
}
.bigquote__mark {
  font-family: var(--serif); font-size: clamp(70px, 9vw, 110px); line-height: .4; color: var(--gold);
  display: block; margin-bottom: 26px;
}
.bigquote p { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 30px); line-height: 1.5; color: var(--ink); }
.bigquote p em { font-style: italic; color: var(--gold-deep); }

/* ============ EXPERTISES ============ */
.expertises { background: var(--paper); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; background: var(--cream); border-radius: 22px; padding: 38px 32px 34px;
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.service:hover { transform: translateY(-7px); box-shadow: 0 28px 56px -30px rgba(11, 33, 26, .4); }
.service__num {
  position: absolute; top: 22px; right: 26px; font-family: var(--serif); font-style: italic;
  font-size: 19px; color: rgba(143, 116, 64, .55);
}
.service__ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: var(--gold-deep); background: rgba(201, 169, 106, .16); }
.service h3 { font-family: var(--serif); font-size: 22.5px; font-weight: 500; color: var(--ink); }
.service p { font-size: 14px; color: var(--muted); }
.service ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.service ul li {
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--pine-2);
  border: 1px solid rgba(14, 42, 33, .22); padding: 5px 13px; border-radius: 999px;
}
.service--gold {
  background: linear-gradient(155deg, var(--pine-2), var(--ink));
}
.service--gold h3 { color: var(--gold-2); }
.service--gold p { color: rgba(244, 241, 234, .68); }
.service--gold .service__ico { color: var(--gold-2); background: rgba(201, 169, 106, .2); }
.service--gold .service__num { color: rgba(231, 207, 156, .6); }
.service--gold ul li { color: var(--gold-2); border-color: rgba(231, 207, 156, .4); }

/* Service cards with photos */
.service--img { padding: 14px 14px 30px; gap: 12px; }
.service--img .service__ico { width: 48px; height: 48px; }
.service__img { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.service__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service--img:hover .service__img img { transform: scale(1.06); }
.service--img .service__num {
  top: 26px; right: 26px; color: var(--gold-2);
  background: rgba(11, 33, 26, .55); padding: 2px 10px; border-radius: 999px;
  border: 1px solid rgba(201, 169, 106, .4);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.service--img ul { margin-top: auto; }
/* Conversion card */
.service--cta { background: linear-gradient(155deg, var(--pine-2), var(--ink)); border-color: transparent; }
.service--cta h3 { color: var(--gold-2); }
.service--cta p { color: rgba(244, 241, 234, .68); }
.service--cta .service__ico { color: var(--gold-2); background: rgba(201, 169, 106, .2); }
.service--cta .service__num { color: rgba(231, 207, 156, .6); }
.service__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .06em; color: var(--gold-2);
  border-bottom: 1px solid rgba(201, 169, 106, .45); padding-bottom: 3px;
  align-self: flex-start; transition: border-color .3s, color .3s, gap .3s;
}
.service__link:hover { color: #fff; border-color: #fff; gap: 13px; }

/* ============ DIFFERENCIATION ============ */
.difference {
  background: linear-gradient(170deg, var(--pine-2), var(--ink) 55%);
  color: var(--cream);
}
.difference__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(44px, 6vw, 90px); }
.difference__left .section__title { color: var(--cream); }
.difference__left .section__title em { color: var(--gold-2); }
.difference__intro { margin: 28px 0 0; font-size: 16.5px; line-height: 1.85; color: rgba(244, 241, 234, .72); max-width: 46ch; }
.difference__intro strong { color: var(--gold-2); }
.difference__cta { margin-top: 40px; }

.difference__right { display: flex; flex-direction: column; gap: 4px; }
.diff-card {
  display: grid; grid-template-columns: 54px 1fr; gap: 20px;
  padding: 26px 6px 26px 0; border-top: 1px solid rgba(244, 241, 234, .14);
  opacity: .85; transition: opacity .4s, transform .5s var(--ease), padding-left .5s var(--ease);
}
.diff-card:hover { opacity: 1; padding-left: 14px; }
.diff-card__n { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--gold); line-height: 1; }
.diff-card h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; color: var(--gold-2); margin-bottom: 7px; }
.diff-card p { font-size: 14.5px; color: rgba(244, 241, 234, .68); }

.trustbar {
  margin-top: clamp(50px, 6vw, 80px); display: flex; align-items: stretch; gap: 0;
  border: 1px solid rgba(244, 241, 234, .14); border-radius: 20px; overflow: hidden;
}
.trustbar__item { flex: 1; padding: 30px 26px; display: flex; flex-direction: column; gap: 5px; }
.trustbar__item strong { font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--gold-2); }
.trustbar__item span { font-size: 12px; letter-spacing: .06em; color: rgba(244, 241, 234, .55); }
.trustbar__sep { width: 1px; background: rgba(244, 241, 234, .14); }

/* ============ PROCESS ============ */
.process { background: var(--cream); }
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px;
  counter-reset: step; position: relative; margin-top: clamp(30px, 4vw, 50px);
}
.step { position: relative; padding: 34px 28px 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; transition: transform .5s var(--ease), box-shadow .5s; }
.step:hover { transform: translateY(-7px); box-shadow: 0 26px 50px -28px rgba(11, 33, 26, .35); }
.step__n {
  font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--gold);
  display: block; margin-bottom: 20px;
}
.step__line { position: absolute; top: 50%; right: -22px; width: 22px; height: 1px; background: rgba(201, 169, 106, .5); }
.step:last-child .step__line { display: none; }
.step h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--muted); }

/* ============ CTA BANNER ============ */
.cta-banner { position: relative; padding: clamp(80px, 10vw, 130px) 0; overflow: hidden; }
.cta-banner__bg { position: absolute; inset: 0; }
.cta-banner__inner { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.kicker--light { color: var(--gold-2); }
.cta-banner__title { font-family: var(--serif); font-weight: 400; color: var(--cream); font-size: clamp(34px, 5vw, 58px); line-height: 1.1; margin-top: 6px; }
.cta-banner__title em { font-style: italic; color: var(--gold-2); }
.cta-banner__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============ CONTACT ============ */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(44px, 6vw, 90px); }
.contact__info p { margin-top: 22px; font-size: 16px; color: var(--muted); max-width: 44ch; }
.contact__list { margin-top: 40px; display: flex; flex-direction: column; }
.contact__list li { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.contact__ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-deep); background: rgba(201, 169, 106, .15); flex-shrink: 0; }
.contact__list small { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact__list a, .contact__list span { font-size: 16px; font-weight: 600; color: var(--ink); transition: color .3s; }
.contact__list a:hover { color: var(--gold-deep); }
.contact__hours { margin-top: 34px; padding: 22px 26px; background: var(--cream); border-radius: 16px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.contact__hours strong { font-family: var(--serif); font-size: 19px; color: var(--ink); font-weight: 500; }
.contact__hours span { font-size: 13.5px; color: var(--muted); }

.form {
  background: var(--cream); border: 1px solid var(--line); border-radius: 26px; padding: clamp(28px, 4vw, 46px);
  box-shadow: 0 34px 70px -40px rgba(11, 33, 26, .28);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea, .select select {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid rgba(11, 33, 26, .16); border-radius: 14px;
  padding: 14px 17px; transition: border-color .3s, box-shadow .3s; outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #9AA79F; }
.field input:focus, .field textarea:focus, .select select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 169, 106, .16);
}
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--gold-deep); pointer-events: none; }

.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form__note { font-size: 12px; color: var(--muted); max-width: 30ch; }

.form__success {
  display: flex; gap: 16px; align-items: center; margin-top: 24px;
  background: var(--pine-2); color: var(--gold-2); border-radius: 16px; padding: 18px 22px;
  animation: fadeIn .6s var(--ease);
}
.form__success strong { display: block; color: #fff; font-size: 15px; }
.form__success span { font-size: 13px; color: rgba(244, 241, 234, .7); }

.form__error {
  display: flex; gap: 16px; align-items: center; margin-top: 24px;
  background: #3a1d1a; color: #e8b4ad; border-radius: 16px; padding: 18px 22px;
  animation: fadeIn .6s var(--ease);
}
.form__error strong { display: block; color: #fff; font-size: 15px; }
.form__error span { font-size: 13px; color: rgba(255, 235, 232, .7); }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: var(--cream); padding: clamp(60px, 8vw, 100px) 0 40px; }
.footer__top { display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; padding-bottom: 56px; border-bottom: 1px solid rgba(244, 241, 234, .12); }
.footer__brand { max-width: 30ch; }
.footer__logo { font-family: var(--serif); font-size: 38px; letter-spacing: .16em; color: var(--gold-2); display: block; margin-bottom: 18px; }
.footer__brand p { font-size: 14px; color: rgba(244, 241, 234, .55); line-height: 1.75; }
.footer__cols { display: flex; gap: clamp(40px, 6vw, 90px); flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col h3 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.footer__col a { font-size: 14.5px; color: rgba(244, 241, 234, .7); transition: color .3s, padding-left .3s; }
.footer__col a:hover { color: var(--gold-2); padding-left: 6px; }
.footer__col p { font-size: 13px; line-height: 1.75; color: rgba(244, 241, 234, .55); max-width: 28ch; margin: 0; }
.footer__col .foot-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 30px; font-size: 13px; color: rgba(244, 241, 234, .6); }
.footer__tag i { color: var(--gold); font-style: normal; margin: 0 6px; }
.footer__toplink { color: var(--gold-2); transition: color .3s; }
.footer__toplink:hover { color: #fff; }

/* ============ REALISATIONS ============ */
.realisations { background: var(--cream); }
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; margin-bottom: clamp(36px, 5vw, 56px);
}
.metric {
  background: var(--paper); padding: 30px 26px; display: flex; flex-direction: column; gap: 6px;
  transition: background .4s;
}
.metric:hover { background: #fff; }
.metric__num {
  font-family: var(--serif); font-size: clamp(28px, 3.4vw, 44px); color: var(--gold-deep); line-height: 1;
}
.metric__label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.projs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense; gap: 22px;
}
.proj {
  position: relative; border-radius: 22px; overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s;
  display: flex; flex-direction: column;
}
.proj:hover { transform: translateY(-8px); box-shadow: 0 34px 66px -34px rgba(11, 33, 26, .5); }
.proj--wide { grid-column: span 2; }
.proj--tall .proj__art { min-height: 300px; }
.proj__art { position: relative; overflow: hidden; min-height: 190px; }
.proj__art svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transition: transform .8s var(--ease);
}
.proj__art img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.proj:hover .proj__art svg { transform: scale(1.07); }
.proj:hover .proj__art img { transform: scale(1.07); }
.proj__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-2); background: rgba(11, 33, 26, .72);
  border: 1px solid rgba(201, 169, 106, .45); border-radius: 999px; padding: 6px 15px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.proj__info { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 7px; }
.proj__status {
  font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}
.proj__info h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--ink); }
.proj__info p { font-size: 13.5px; color: var(--muted); }
.proj__link { display: block; color: inherit; text-decoration: none; }
.proj--dark { background: var(--pine-2); border-color: transparent; }
.proj--dark .proj__info h3 { color: var(--gold-2); }
.proj--dark .proj__info p { color: rgba(244, 241, 234, .7); }
.proj--dark .proj__info .proj__status { color: var(--gold); }
.proj--dark:hover { box-shadow: 0 34px 66px -34px rgba(11, 33, 26, .65); }

/* ============ TEMOIGNAGES ============ */
.temoignages { background: linear-gradient(175deg, var(--cream) 0%, var(--cream-2) 100%); }
.t-slider { max-width: 880px; margin-inline: auto; }
.t-track {
  display: flex; transition: transform .8s var(--ease); will-change: transform;
}
.t-slide {
  flex: 0 0 100%; text-align: center; padding: clamp(24px, 4vw, 40px) clamp(8px, 3vw, 30px);
}
.t-slide__mark {
  display: block; font-family: var(--serif); font-size: clamp(56px, 8vw, 84px);
  line-height: .4; color: var(--gold); margin-bottom: 30px;
}
.t-slide blockquote {
  font-family: var(--serif); font-size: clamp(19px, 2.5vw, 28px); line-height: 1.55;
  color: var(--ink); max-width: 34ch; margin-inline: auto;
}
.t-slide figcaption { margin-top: 30px; display: flex; flex-direction: column; gap: 4px; }
.t-slide figcaption strong { font-size: 15.5px; letter-spacing: .04em; color: var(--ink); }
.t-slide figcaption span { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }

.t-nav { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 18px; }
.t-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(11, 33, 26, .2); color: var(--ink); background: var(--paper);
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.t-btn:hover {
  background: var(--ink); color: var(--gold-2); border-color: var(--ink);
  transform: scale(1.06);
}
.t-dots { display: flex; gap: 10px; }
.t-dot {
  width: 9px; height: 9px; border-radius: 50%; background: rgba(11, 33, 26, .2);
  transition: background .3s, transform .3s;
}
.t-dot.is-active { background: var(--gold-deep); transform: scale(1.35); }

/* ============ FAQ ============ */
.faq { background: var(--paper); }
.faq__list { max-width: 820px; margin-inline: auto; }
.faq__item {
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  margin-bottom: 12px; overflow: hidden; transition: border-color .3s, box-shadow .3s;
}
.faq__item[open] { border-color: rgba(201, 169, 106, .55); box-shadow: 0 18px 40px -28px rgba(11, 33, 26, .3); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px; font-family: var(--serif); font-size: 18.5px; font-weight: 500; color: var(--ink);
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--sans); font-size: 19px; font-weight: 600;
  color: var(--gold-deep); border: 1px solid rgba(201, 169, 106, .5);
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.faq__item[open] summary { color: var(--gold-deep); }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--gold); color: var(--ink); border-color: var(--gold); }
.faq__item > div { padding: 0 26px 24px; }
.faq__item p { font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 66ch; }
.faq__item p a { color: var(--gold-deep); text-decoration: underline; }

/* ============ REVEAL ============ */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="left"].is-visible { transform: none; }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="right"].is-visible { transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step__line { display: none; }
  .difference__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .hero__title { max-width: 12ch; }
  .projs { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__actions .btn--sm { display: none; }
  .histoire__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; flex-wrap: wrap; }
  .trustbar { flex-direction: column; }
  .trustbar__sep { width: auto; height: 1px; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
  .hero__topo { opacity: .55; }
  .proj--wide { grid-column: span 2; }
}

@media (max-width: 620px) {
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(38px, 11vw, 54px); }
  .hero__edge { animation-duration: 24s; }
  .section__head--split { flex-direction: column; align-items: flex-start; }
  .footer__top { flex-direction: column; }
  .projs { grid-template-columns: 1fr; }
  .proj--wide, .proj--tall { grid-column: auto; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============ ASSISTANT SGCTE (chatbot) ============ */
.chatbot {
  position: fixed; right: 22px; bottom: 22px;
  /* 1900 : au-dessus du contenu et de la nav (1500),
     mais SOUS le menu mobile et la barre de scroll (2000)
     et sous le burger (2100) — sinon le bouton flotterait
     par-dessus le menu ouvert. */
  z-index: 1900;
  font-family: var(--sans);
}

.chatbot__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 999px;
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  color: var(--ink); font-weight: 700; font-size: 14px; letter-spacing: .04em;
  box-shadow: 0 16px 36px -12px rgba(11, 33, 26, .55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.chatbot__btn:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -12px rgba(201, 169, 106, .85); }
.chatbot__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.chatbot__btnIco { flex: none; }

.chatbot__panel {
  position: absolute; right: 0; bottom: calc(100% + 14px);
  width: min(372px, calc(100vw - 32px));
  height: min(530px, calc(100vh - 150px));
  display: flex; flex-direction: column;
  background: var(--cream); border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(201, 169, 106, .45);
  box-shadow: 0 34px 74px -22px rgba(11, 33, 26, .6);
  animation: chatIn .34s var(--ease);
}

.chatbot__head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px; background: var(--ink); color: var(--cream);
  border-bottom: 1px solid rgba(201, 169, 106, .35);
}
.chatbot__ava {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  color: var(--ink); font-family: var(--serif); font-size: 20px; font-weight: 700;
}
.chatbot__id { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.chatbot__id strong { font-size: 15px; color: var(--gold-2); letter-spacing: .05em; font-weight: 700; }
.chatbot__id small { font-size: 11.5px; color: rgba(244, 241, 234, .6); }
.chatbot__x {
  flex: none; color: var(--cream); opacity: .65; padding: 7px;
  border-radius: 10px; transition: opacity .25s, background .25s;
}
.chatbot__x:hover { opacity: 1; background: rgba(244, 241, 234, .12); }
.chatbot__x:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }

.chatbot__msgs {
  flex: 1; min-height: 0; overflow-y: auto;
  padding: 16px 14px; display: flex; flex-direction: column; gap: 9px;
}
.chatbot__row { display: flex; }
.chatbot__row--user { justify-content: flex-end; }

.chatbot__bubble {
  max-width: 86%; padding: 11px 14px; border-radius: 16px;
  font-size: 14.2px; line-height: 1.55;
  word-wrap: break-word; overflow-wrap: anywhere;
}
.chatbot__bubble--bot {
  background: #fff; color: var(--text);
  border: 1px solid rgba(201, 169, 106, .32);
  border-bottom-left-radius: 5px;
}
.chatbot__bubble--bot strong { color: var(--ink); font-weight: 700; }
.chatbot__bubble--bot a {
  color: var(--gold-deep); font-weight: 700;
  text-decoration: underline; text-underline-offset: 2px;
}
.chatbot__bubble--bot a:hover { color: var(--ink); }
.chatbot__bubble--bot br { content: ""; }
.chatbot__bubble--user {
  background: var(--pine-2); color: var(--cream);
  border-bottom-right-radius: 5px;
}

.chatbot__typing { display: inline-flex; gap: 5px; align-items: center; padding: 15px 16px; }
.chatbot__typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-deep);
  animation: chatDot 1.15s infinite ease-in-out;
}
.chatbot__typing i:nth-child(2) { animation-delay: .17s; }
.chatbot__typing i:nth-child(3) { animation-delay: .34s; }

.chatbot__chips {
  display: flex; flex-wrap: wrap; gap: 7px;
  padding: 0 14px 12px; background: var(--cream);
}
.chatbot__chips:empty { display: none; }
.chatbot__chip {
  font-family: var(--sans); font-size: 12.3px; font-weight: 700; letter-spacing: .02em;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(201, 169, 106, .6); color: var(--gold-deep);
  background: rgba(201, 169, 106, .1);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.chatbot__chip:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-1px); }
.chatbot__chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.chatbot__form {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 12px; background: #fff;
  border-top: 1px solid rgba(201, 169, 106, .32);
}
.chatbot__in {
  flex: 1; min-width: 0; font-family: var(--sans); font-size: 14.5px;
  padding: 11px 15px; border-radius: 999px;
  border: 1px solid rgba(35, 50, 44, .2); background: var(--cream);
  color: var(--text); outline: none;
  transition: border-color .25s;
}
.chatbot__in:focus { border-color: var(--gold); }
.chatbot__in::placeholder { color: rgba(35, 50, 44, .45); }
.chatbot__send {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(120deg, var(--gold), var(--gold-2)); color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.chatbot__send:hover { transform: scale(1.07); box-shadow: 0 10px 22px -8px rgba(201, 169, 106, .9); }
.chatbot__send:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

@keyframes chatIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to { opacity: 1; transform: none; }
}
@keyframes chatDot {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40% { transform: translateY(-4px); opacity: 1; }
}

@media (max-width: 640px) {
  .chatbot { right: 14px; bottom: 14px; }
  .chatbot__btn { padding: 15px; border-radius: 50%; }
  .chatbot__btnTxt { display: none; }
  .chatbot__panel {
    position: fixed; left: 12px; right: 12px; bottom: 12px;
    width: auto; height: min(76vh, 560px);
  }
  .chatbot__bubble { max-width: 92%; }
}

/* ============ CHAMP TELEPHONE (formulaire de contact) ============ */
.field__hint {
  display: block; margin-top: 7px;
  font-size: 12px; color: var(--muted); line-height: 1.4;
}
.fieldchk {
  display: flex; align-items: flex-start; gap: 9px;
  margin-top: 11px;
}
.fieldchk label {
  margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0;
  text-transform: none; color: var(--text); line-height: 1.5;
  cursor: pointer;
}
/* Case a cocher personnalisee : le style .field input ne doit pas s'appliquer */
.fieldchk input[type="checkbox"] {
  -webkit-appearance: none; appearance: none;
  flex: none; width: 19px; height: 19px; margin: 1px 0 0; padding: 0;
  border: 1.5px solid rgba(35, 50, 44, .35); border-radius: 5px;
  background: #fff; cursor: pointer; position: relative;
  transition: background .22s, border-color .22s;
}
.fieldchk input[type="checkbox"]:checked {
  background: var(--gold-deep); border-color: var(--gold-deep);
}
.fieldchk input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 6px; top: 2.5px;
  width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.fieldchk input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
/* Champ grise quand "pas de numero marocain" est coche */
.field input:disabled { opacity: .5; cursor: not-allowed; }

/* ============ VOTRE PROJET (le probleme du client, avant la solution) ============ */
.projet { background: var(--cream-2); }
.projet__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.projet__card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px 24px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.projet__card:hover {
  transform: translateY(-6px); border-color: transparent;
  box-shadow: 0 30px 60px -30px rgba(11, 33, 26, .32);
}
.projet__q {
  font-family: var(--serif); font-size: 21px; line-height: 1.3; color: var(--ink);
}
.projet__a {
  font-size: 13.5px; color: var(--muted); line-height: 1.5;
}
.projet__foot {
  margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 18px 26px;
}
.projet__foot p { font-size: 15.5px; color: var(--muted); }
.projet__foot strong { color: var(--ink); font-weight: 600; }

@media (max-width: 1080px) {
  .projet__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .projet__grid { grid-template-columns: 1fr; }
  .projet__foot { flex-direction: column; align-items: flex-start; }
}
