/* ============================================================
   HMH FUSION — Site vitrine premium
   Palette: émeraude profond + terracotta sur crème
   ============================================================ */

:root {
  /* Brand */
  --emerald:        #0A5638;
  --emerald-deep:   #073B27;
  --emerald-ink:    #052b1c;
  --terracotta:     #B4674A;
  --terracotta-deep:#9C523A;
  --terracotta-soft:#C98A6E;

  /* Neutrals (warm) */
  --cream:          #F6F4EC;
  --cream-2:        #F1ECE0;
  --sand:           #EBE2D0;
  --sand-deep:      #E0D4BC;
  --ocre:           #C7A867;
  --ink:            #2A2620;
  --ink-soft:       #4A443B;
  --muted:          #837A6C;
  --line:           #DBD2C0;

  /* Accent (drivable by Tweaks) */
  --accent:         var(--terracotta);
  --accent-deep:    var(--terracotta-deep);

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(72px, 11vh, 150px);
  --radius: 4px;
  --radius-lg: 10px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Arabic typography swap */
html[lang="ar"] {
  --font-display: "Amiri", "Cormorant Garamond", serif;
  --font-body:    "Tajawal", "Hanken Grotesk", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--emerald); color: var(--cream); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: .7em;
}
html[lang="ar"] .eyebrow { letter-spacing: .04em; }
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--accent); display: inline-block;
}
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .title { margin-top: .35em; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--emerald-deep);
  text-wrap: balance;
}
.title { font-size: clamp(2rem, 4.4vw, 3.5rem); }
.title-xl { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.12; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.55; max-width: 60ch; }
em.it { font-style: italic; color: var(--accent-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .92em 1.7em;
  font-family: var(--font-body);
  font-size: .92rem; font-weight: 600; letter-spacing: .02em;
  border-radius: 100px;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-primary { background: var(--emerald); color: var(--cream); }
.btn-primary:hover { background: var(--emerald-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(7,59,39,.6); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -14px color-mix(in oklch, var(--accent), black 30%); }
.btn-ghost { background: transparent; color: var(--emerald-deep); box-shadow: inset 0 0 0 1.4px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.4px var(--emerald); transform: translateY(-2px); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #178a45; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(23,138,69,.55); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: .92rem; color: var(--emerald-deep);
  border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: gap .3s var(--ease), border-color .3s var(--ease), color .3s;
}
.link-arrow svg { width: .95em; height: .95em; transition: transform .35s var(--ease); }
.link-arrow:hover { gap: .85em; border-color: var(--accent); color: var(--accent-deep); }
html[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
html[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(3px); }

/* ============================================================
   TOP ANNOUNCEMENT + HEADER
   ============================================================ */
.topbar {
  background: var(--emerald-deep); color: var(--cream-2);
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  text-align: center; padding: 8px 16px;
}
.topbar strong { color: #fff; font-weight: 700; }
html[lang="ar"] .topbar { letter-spacing: 0; }

.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklch, var(--cream), transparent 8%);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 42px; width: auto; }
.brand .bw { display: flex; flex-direction: column; line-height: 1.05; }
.brand .bw b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--emerald-deep); letter-spacing: .01em; white-space: nowrap; }
.brand .bw span { font-size: .56rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-top: 4px; font-weight: 600; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 30px; margin-inline-start: auto; }
.nav a {
  font-size: .9rem; font-weight: 500; color: var(--ink-soft); position: relative; padding-block: 6px;
  transition: color .25s;
}
.nav a::after { content:""; position:absolute; left:0; bottom:0; height:1.5px; width:0; background: var(--accent); transition: width .3s var(--ease); }
.nav a:hover { color: var(--emerald-deep); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }

/* language switcher */
.lang { display: inline-flex; align-items: center; background: var(--cream-2); border: 1px solid var(--line); border-radius: 100px; padding: 3px; }
.lang button {
  font-size: .73rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); padding: 5px 11px; border-radius: 100px; transition: all .25s var(--ease);
}
.lang button[aria-pressed="true"] { background: var(--emerald); color: var(--cream); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--emerald-deep); transition: .3s var(--ease); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero-copy { max-width: 620px; }
.hero h1 { margin: .3em 0 .12em; padding-bottom: .08em; }
.hero h1 .line2 { display: block; color: var(--accent); font-style: italic; }
.hero .lede { margin-top: 1.5em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2em; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 2.4em; padding-top: 1.6em; border-top: 1px solid var(--line); }
.hero-trust li { display: flex; align-items: center; gap: .55em; font-size: .86rem; font-weight: 500; color: var(--ink-soft); }
.hero-trust svg { width: 17px; height: 17px; color: var(--emerald); flex: none; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 50px 90px -50px rgba(7,59,39,.55), 0 12px 30px -18px rgba(0,0,0,.25);
  aspect-ratio: 4 / 3.4;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); border-radius: inherit; }
.hero-badge {
  position: absolute; bottom: -22px; inset-inline-start: -22px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; box-shadow: 0 24px 50px -28px rgba(0,0,0,.45);
  display: flex; align-items: center; gap: 14px; max-width: 270px;
}
.hero-badge .dot { width: 38px; height: 38px; border-radius: 50%; background: color-mix(in oklch, var(--emerald), transparent 88%); color: var(--emerald); display:grid; place-items:center; flex:none; }
.hero-badge .dot svg { width: 20px; height: 20px; }
.hero-badge b { font-family: var(--font-display); font-size: 1.5rem; color: var(--emerald-deep); display:block; line-height:1; }
.hero-badge span { font-size: .74rem; color: var(--muted); }

/* ============================================================
   ATOUTS STRIP
   ============================================================ */
.atouts { background: var(--emerald-deep); color: var(--cream); }
.atouts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: color-mix(in oklch, var(--cream), transparent 86%); border-radius: var(--radius-lg); overflow: hidden; }
.atout { background: var(--emerald-deep); padding: clamp(26px,3vw,40px) clamp(20px,2.4vw,34px); }
.atout .n { font-family: var(--font-display); font-size: 1rem; color: var(--ocre); display:block; margin-bottom: 14px; }
.atout h3 { color: var(--cream); font-size: 1.45rem; margin-bottom: .35em; }
.atout p { font-size: .9rem; color: color-mix(in oklch, var(--cream), transparent 22%); line-height: 1.55; }

/* ============================================================
   OFFRES
   ============================================================ */
.offres-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.offre {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px,2.6vw,40px); display: flex; flex-direction: column;
  position: relative; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.offre:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -45px rgba(7,59,39,.4); border-color: var(--sand-deep); }
.offre.is-signature { background: var(--emerald); border-color: var(--emerald); color: var(--cream); }
.offre.is-signature h3, .offre.is-signature .offre-num { color: var(--cream); }
.offre.is-signature .offre-desc { color: color-mix(in oklch, var(--cream), transparent 20%); }
.offre.is-signature .offre-list li { color: color-mix(in oklch, var(--cream), transparent 14%); }
.offre.is-signature .offre-list li::before { color: var(--ocre); }
.flag {
  position: absolute; top: 18px; inset-inline-end: 18px;
  background: var(--ocre); color: var(--emerald-ink);
  font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px;
}
html[lang="ar"] .flag { letter-spacing: 0; }
.offre-num { font-family: var(--font-display); font-size: 1rem; color: var(--accent); margin-bottom: 18px; }
.offre h3 { font-size: 1.75rem; margin-bottom: .5em; }
.offre-desc { font-size: .97rem; color: var(--ink-soft); margin-bottom: 1.2em; }
.offre-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 1.6em; }
.offre-list li { position: relative; padding-inline-start: 1.5em; font-size: .9rem; color: var(--ink-soft); }
.offre-list li::before { content: "›"; position: absolute; inset-inline-start: 0; color: var(--accent); font-weight: 700; }
.offre-foot { margin-top: auto; padding-top: 1.2em; border-top: 1px solid color-mix(in oklch, currentColor, transparent 88%); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.offre-price { font-size: .82rem; color: var(--muted); }
.offre-price b { font-family: var(--font-display); font-size: 1.5rem; color: var(--emerald-deep); display:block; }
.offre.is-signature .offre-price, .offre.is-signature .offre-price b { color: color-mix(in oklch, var(--cream), transparent 12%); }
.offre.is-signature .offre-foot { border-top-color: color-mix(in oklch, var(--cream), transparent 78%); }
.price-from[hidden] { display: none; }

/* ============================================================
   RÉALISATIONS
   ============================================================ */
.real-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px,5vw,60px); }
.real-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px,2.6vw,34px); }
.real {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.real:hover { transform: translateY(-6px); box-shadow: 0 44px 80px -50px rgba(7,59,39,.45); }
.real-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--sand); }
.real-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.1s var(--ease); }
.real:hover .real-thumb img { transform: scale(1.045); }
.real-thumb .ph { width:100%; height:100%; display:grid; place-items:center; background: linear-gradient(135deg, var(--sand), var(--sand-deep)); }
.real-thumb .ph span { font-family: var(--font-display); font-size: 3rem; color: color-mix(in oklch, var(--emerald), transparent 55%); }
.real-tag { position: absolute; top: 14px; inset-inline-start: 14px; background: color-mix(in oklch, var(--cream), transparent 8%); backdrop-filter: blur(6px); color: var(--emerald-deep); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; }
.real-sold { position: absolute; top: 14px; inset-inline-end: 14px; display: inline-flex; align-items: center; gap: .4em; background: var(--emerald); color: var(--cream); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px 6px 10px; border-radius: 100px; box-shadow: 0 6px 18px -8px rgba(7,59,39,.7); }
.real-sold svg { width: 13px; height: 13px; }
html[lang="ar"] .real-sold { letter-spacing: 0; }
.real.is-sold .real-thumb img { filter: saturate(.92); }
html[lang="ar"] .real-tag { letter-spacing: 0; }
.real-body { padding: clamp(22px,2.2vw,30px); display: flex; flex-direction: column; flex: 1; }
.real-body h3 { font-size: 1.55rem; margin-bottom: .3em; }
.real-body p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.4em; }
.real-body .real-foot { margin-top: auto; display:flex; align-items:center; justify-content: space-between; gap: 10px; }
.real-url { font-size: .8rem; color: var(--muted); letter-spacing: .02em; }

/* ============================================================
   CLÉS EN MAIN
   ============================================================ */
.cle { background: var(--cream-2); }
.cle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cle-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.cle-card:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -44px rgba(7,59,39,.4); }
.cle-ico { width: 46px; height: 46px; border-radius: 12px; background: color-mix(in oklch, var(--accent), transparent 88%); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 18px; }
.cle-ico svg { width: 23px; height: 23px; }
.cle-card h3 { font-size: 1.3rem; margin-bottom: .35em; }
.cle-card p { font-size: .87rem; color: var(--ink-soft); line-height: 1.5; }
.cle-note { text-align: center; margin-top: clamp(34px,4vw,50px); font-size: .95rem; color: var(--muted); }
.cle-note b { color: var(--emerald-deep); font-weight: 600; }

/* ============================================================
   POURQUOI NOUS — editorial statement
   ============================================================ */
.why { background: var(--emerald); color: var(--cream); overflow: hidden; position: relative; }
.why::before { content:""; position:absolute; inset-inline-end: -10%; top: -30%; width: 60%; height: 160%; background: radial-gradient(circle, color-mix(in oklch, var(--ocre), transparent 80%), transparent 62%); pointer-events:none; }
.why .wrap { position: relative; }
.why .eyebrow { color: var(--ocre); }
.why .eyebrow::before { background: var(--ocre); }
.why-statement { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.12; color: var(--cream); max-width: 16ch; margin: .4em 0 0; }
.why-statement em { color: var(--ocre); font-style: italic; }
.why-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px,3vw,48px) clamp(36px,5vw,80px); margin-top: clamp(46px,6vw,72px); }
.why-point { display: flex; gap: 18px; }
.why-point .wp-n { font-family: var(--font-display); font-size: 1.3rem; color: var(--ocre); line-height: 1.4; flex: none; }
.why-point h3 { color: var(--cream); font-size: 1.4rem; margin-bottom: .35em; }
.why-point p { font-size: .92rem; color: color-mix(in oklch, var(--cream), transparent 24%); line-height: 1.55; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(34px,5vw,72px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px,3vw,44px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--cream); border: 1.4px solid var(--line); border-radius: var(--radius);
  padding: 13px 15px; transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px color-mix(in oklch, var(--emerald), transparent 85%); }
.field textarea { min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit { width: 100%; margin-top: 6px; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 14px; text-align: center; }

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: var(--emerald-deep); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(26px,2.6vw,36px); }
.contact-card .eyebrow { color: var(--ocre); }
.contact-card .eyebrow::before { background: var(--ocre); }
.contact-card h3 { color: var(--cream); font-size: 1.7rem; margin: .3em 0 .5em; }
.contact-card p { font-size: .92rem; color: color-mix(in oklch, var(--cream), transparent 22%); margin-bottom: 1.4em; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
.cmethod { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: color-mix(in oklch, var(--cream), transparent 90%); border-radius: var(--radius); transition: background .3s; }
.cmethod:hover { background: color-mix(in oklch, var(--cream), transparent 82%); }
.cmethod .ci { width: 40px; height: 40px; border-radius: 10px; background: color-mix(in oklch, var(--cream), transparent 84%); display: grid; place-items: center; flex: none; }
.cmethod .ci svg { width: 20px; height: 20px; color: var(--cream); }
.cmethod .wa-ci { background: #1FA855; }
.cmethod b { display: block; font-size: .95rem; color: var(--cream); }
.cmethod span { font-size: .8rem; color: color-mix(in oklch, var(--cream), transparent 30%); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--emerald-ink); color: color-mix(in oklch, var(--cream), transparent 28%); padding-block: clamp(54px,6vw,80px) 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(30px,4vw,60px); padding-bottom: 44px; border-bottom: 1px solid color-mix(in oklch, var(--cream), transparent 86%); }
.footer-brand img { height: 56px; filter: brightness(0) invert(1) sepia(.3) saturate(2) hue-rotate(90deg); opacity: .9; }
.footer .fb-name { font-family: var(--font-display); font-size: 1.6rem; color: var(--cream); }
.footer .fb-name span { color: var(--ocre); }
.footer-brand p { font-size: .9rem; max-width: 34ch; margin-top: 14px; }
.footer-col h4 { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ocre); margin-bottom: 18px; font-weight: 700; }
html[lang="ar"] .footer-col h4 { letter-spacing: 0; }
.footer-col a, .footer-col li { display: block; font-size: .9rem; margin-bottom: 11px; transition: color .25s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: .8rem; }
.footer-bottom .langs { display: flex; gap: 16px; }
.footer-bottom .langs button { color: inherit; font-size: .8rem; transition: color .25s; }
.footer-bottom .langs button:hover { color: var(--cream); }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 70;
  display: inline-flex; align-items: center; gap: 0;
  background: #1FA855; color: #fff; border-radius: 100px;
  padding: 0; height: 60px; width: 60px; overflow: hidden;
  box-shadow: 0 16px 38px -14px rgba(23,138,69,.7);
  transition: width .45s var(--ease), transform .35s var(--ease), box-shadow .35s;
}
.wa-float .wa-ic { width: 60px; height: 60px; flex: none; display: grid; place-items: center; }
.wa-float .wa-ic svg { width: 30px; height: 30px; }
.wa-float .wa-label { white-space: nowrap; font-weight: 600; font-size: .92rem; padding-inline-end: 22px; opacity: 0; transition: opacity .3s; }
.wa-float:hover { width: var(--wa-w, 230px); transform: translateY(-2px); box-shadow: 0 22px 46px -14px rgba(23,138,69,.8); }
.wa-float:hover .wa-label { opacity: 1; }
.wa-float::after { content:""; position:absolute; inset:0; border-radius:100px; box-shadow: 0 0 0 0 rgba(31,168,85,.5); animation: waPulse 2.6s var(--ease) infinite; }
@keyframes waPulse { 0%{ box-shadow: 0 0 0 0 rgba(31,168,85,.45);} 70%{ box-shadow: 0 0 0 16px rgba(31,168,85,0);} 100%{ box-shadow: 0 0 0 0 rgba(31,168,85,0);} }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .wa-float::after { animation: none; }
}

/* Tweak-driven states */
.no-anim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.no-anim .wa-float::after { animation: none; }
.cards-flat .offre,
.cards-flat .real,
.cards-flat .cle-card,
.cards-flat .form-card { box-shadow: none !important; }
.cards-flat .offre:hover,
.cards-flat .real:hover,
.cards-flat .cle-card:hover { box-shadow: none !important; transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
.mobile-only { display: none; }

@media (max-width: 1080px) {
  .why-points { gap: 26px 40px; }
}
@media (max-width: 940px) {
  .nav, .header-cta-desktop { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .atouts .wrap { grid-template-columns: repeat(2, 1fr); }
  .offres-grid { grid-template-columns: 1fr; }
  .real-grid { grid-template-columns: 1fr; }
  .cle-grid { grid-template-columns: repeat(2, 1fr); }
  .why-points { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }

  /* mobile nav drawer */
  .nav.open {
    display: flex; position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--cream); padding: 96px 32px 32px; z-index: 65;
    box-shadow: -30px 0 60px -30px rgba(0,0,0,.4); overflow-y: auto;
  }
  html[dir="rtl"] .nav.open { inset: 0 auto 0 0; box-shadow: 30px 0 60px -30px rgba(0,0,0,.4); }
  .nav.open a { font-size: 1.5rem; font-family: var(--font-display); color: var(--emerald-deep); padding-block: 10px; }
  .nav.open .btn { margin-top: 18px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(10,30,20,.4); z-index: 64; opacity: 0; visibility: hidden; transition: opacity .35s; }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .atouts .wrap { grid-template-columns: 1fr; }
  .cle-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
  .real-head, .real-body .real-foot { gap: 14px; }
  .hero-badge { inset-inline-start: 12px; bottom: -16px; }
}
