:root {
  --green: #064b39;
  --green-deep: #073f31;
  --gold: #e0b33e;
  --gold-light: #efc85b;
  --ivory: #fffdf8;
  --ink: #0f1b1a;
  --nav-h: 60px;
  --container: 1500px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--nav-h);
  background: #fffefa;
  border-bottom: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 1px 12px rgba(0,0,0,.05);
}

.nav-shell {
  width: min(1240px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand img {
  display: block;
  width: 128px;
  height: auto;
  object-fit: contain;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #11191e;
  transition: color .2s ease;
}
.desktop-nav a:hover { color: var(--green); }

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: #f1ece0;
  gap: 2px;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  height: 30px;
  padding: 0 10px 0 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4a5257;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.lang-btn:hover { color: #10161a; }
.lang-btn.is-active {
  color: #10161a;
  background: #fffefa;
  box-shadow: 0 1px 4px rgba(0,0,0,.10);
}

.flag {
  display: inline-flex;
  width: 20px;
  height: 14px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.flag-fr i { flex: 1; }
.flag-fr i:nth-child(1) { background: #173ebf; }
.flag-fr i:nth-child(2) { background: #fff; }
.flag-fr i:nth-child(3) { background: #ec2332; }
.flag-ma svg { width: 100%; height: 100%; display: block; }

.nav-divider {
  width: 1px;
  height: 22px;
  background: rgba(18,28,31,.12);
}

.contact-cta {
  height: 38px;
  padding: 0 16px 0 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  background: linear-gradient(180deg, #2fd46b 0%, #1fb757 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 16px rgba(31,183,87,.22);
  transition: transform .18s ease, filter .18s ease;
}
.contact-cta:hover { transform: translateY(-1px); filter: brightness(1.04); }
.whatsapp-icon { flex: 0 0 auto; width: 18px; height: 18px; }

.menu-toggle { display: none; }
.mobile-panel { display: none; }

.hero {
  position: relative;
  height: min(calc(100vh - var(--nav-h)), 720px);
  min-height: 620px;
  overflow: visible;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 0;
  background: #0b2b23;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 68%;
  display: block;
}

/* Darkening close to the reference: enough contrast without flattening the photo. */
.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5,13,13,.21) 0%, rgba(4,13,12,.25) 45%, rgba(2,11,10,.32) 100%),
    radial-gradient(ellipse 58% 62% at 50% 38%, rgba(0,0,0,.03) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.31) 100%);
}

.google-badge {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: max(40px, calc((100vw - 1240px) / 2));
  height: 38px;
  padding: 0 14px 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #202124;
  font-size: 13px;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 6px 18px rgba(0,0,0,.14);
  transition: background .18s ease, transform .18s ease;
}
.google-badge:hover { background: #fff; transform: translateY(-1px); }

.google-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
}
.google-logo svg { width: 20px; height: 20px; }

.google-score {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.stars {
  display: inline-flex;
  gap: 1px;
}
.stars i {
  width: 12px;
  height: 12px;
  background: #fbbc05;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.stars i.half { background: linear-gradient(90deg, #fbbc05 0 60%, #dadce0 60% 100%); }

.google-sep {
  width: 1px;
  height: 16px;
  margin: 0 2px;
  background: rgba(32,33,36,.16);
}
.google-count {
  font-weight: 600;
  color: #3c4043;
  white-space: nowrap;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1050px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: 92px;
  text-align: center;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 2px 9px rgba(0,0,0,.75);
}
.eyebrow span {
  width: 36px;
  height: 2px;
  background: #d6a821;
  box-shadow: 0 1px 5px rgba(0,0,0,.4);
}

h1 {
  margin: 29px auto 19px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(58px, 4.55vw, 76px);
  line-height: .94;
  font-weight: 600;
  letter-spacing: -.025em;
  text-wrap: balance;
  text-shadow:
    0 4px 18px rgba(0,0,0,.92),
    0 1px 3px rgba(0,0,0,.94),
    0 0 1px rgba(0,0,0,.95);
}

h1 span { display: block; }
h1 .line-white { color: #fff; }
h1 .line-gold {
  margin-top: 8px;
  color: #e8ba42;
}

.hero-lead {
  margin: 0 auto;
  max-width: 770px;
  color: rgba(255,255,255,.98);
  font-size: 17px;
  line-height: 1.48;
  font-weight: 400;
  letter-spacing: -.005em;
  text-shadow:
    0 3px 12px rgba(0,0,0,.88),
    0 1px 2px rgba(0,0,0,.85);
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ghost-cta {
  height: 44px;
  padding: 0 18px 0 15px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0,0,0,.14);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.ghost-cta:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.85);
  transform: translateY(-1px);
}
.ghost-cta svg { flex: 0 0 auto; }
.ghost-number {
  font-weight: 700;
  letter-spacing: .02em;
  direction: ltr;
  unicode-bidi: isolate;
}
.ghost-label:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  margin-inline-start: 10px;
  vertical-align: -2px;
  background: rgba(255,255,255,.5);
}

.stats-bar {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: min(1240px, calc(100% - 64px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat {
  padding: 26px 24px 24px;
  border-radius: 22px;
  background: #f7e8c8;
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
  color: #1b1a17;
  display: flex;
  flex-direction: column;
}
.stat .counter {
  font-size: 38px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.03em;
  color: #121512;
}
.stat-title {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2b28;
}
.stat-text {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #4d5552;
}

@media (max-width: 1200px) {
  :root { --nav-h: 58px; }
  .nav-shell {
    width: calc(100% - 48px);
    grid-template-columns: 150px 1fr auto;
  }
  .brand img { width: 120px; }
  .desktop-nav { gap: 24px; }
  .desktop-nav a { font-size: 13.5px; }
  .contact-cta { height: 36px; padding: 0 14px 0 11px; font-size: 13px; }
  .whatsapp-icon { width: 17px; height: 17px; }
  .google-badge { right: 24px; }
  .hero-content { padding-top: 135px; }
  h1 { font-size: clamp(52px, 5.5vw, 70px); }
}

@media (max-width: 900px) {
  :root { --nav-h: 56px; }
  .nav-shell {
    width: calc(100% - 36px);
    display: flex;
    justify-content: space-between;
  }
  .brand img { width: 118px; }
  .desktop-nav, .nav-divider { display: none; }
  .nav-actions { gap: 10px; }
  /* WhatsApp en pastille ronde, icône seule */
  .nav-actions > .contact-cta { width: 40px; height: 40px; padding: 0; border-radius: 50%; }
  .nav-actions > .contact-cta span { display: none; }
  .nav-actions > .contact-cta .whatsapp-icon { width: 21px; height: 21px; }
  .lang-btn { height: 28px; padding: 0 8px 0 6px; font-size: 12px; }
  .menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #f4efe2;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }
  .menu-toggle span { width: 20px; height: 2px; background: var(--green); border-radius: 2px; }
  .mobile-panel {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 50;
    padding: 18px 20px 24px;
    background: #fffefa;
    box-shadow: 0 18px 24px rgba(0,0,0,.08);
  }
  .mobile-panel:not([hidden]) { display: grid; gap: 6px; }
  .mobile-panel a { padding: 14px 12px; border-radius: 10px; font-weight: 600; }
  .mobile-panel .mobile-whatsapp {
    margin-top: 8px;
    text-align: center;
    color: #fff;
    background: linear-gradient(180deg, #2fd46b 0%, #1fb757 100%);
    border-radius: 999px;
  }

  .hero {
    min-height: 760px;
    max-height: none;
    height: calc(100svh - var(--nav-h));
  }
  .hero-video { object-position: 54% center; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(4,14,13,.30), rgba(3,13,12,.42));
  }
  .google-badge {
    height: 34px;
    padding: 0 12px 0 8px;
    font-size: 12px;
    gap: 6px;
  }
  .google-badge .stars { display: none; }
  .google-badge .google-sep { display: none; }
  .google-count::before { content: "· "; }
  html[dir="rtl"] .google-count::before { content: none; }
  html[dir="rtl"] .google-count::after { content: " ·"; }
  .hero-content {
    width: calc(100% - 36px);
    padding-top: 156px;
  }
  .eyebrow { font-size: 11px; gap: 11px; }
  .eyebrow span { width: 22px; }
  h1 {
    margin-top: 20px;
    font-size: clamp(44px, 12vw, 62px);
    line-height: .95;
  }
  h1 .line-gold { margin-top: 6px; }
  .hero-lead { font-size: 16px; line-height: 1.5; max-width: 580px; }
  .desktop-break { display: none; }

  /* Cartes de chiffres : défilement horizontal, une carte à la fois */
  .stats-bar {
    width: 100%;
    left: 0;
    transform: translateY(50%);
    display: flex;
    gap: 12px;
    padding: 0 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .stats-bar::-webkit-scrollbar { display: none; }
  .stat {
    flex: 0 0 76%;
    scroll-snap-align: center;
    padding: 20px 20px 18px;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(0,0,0,.14);
  }
  .stat .counter { font-size: 32px; }
  .stat-title { margin-top: 8px; font-size: 14px; }
  .stat-text { font-size: 12.5px; }
}

@media (max-width: 560px) {
  .brand img { width: 108px; }
  .lang-label { display: none; }
  .lang-btn { padding: 0 6px; gap: 0; }
  .hero { min-height: 690px; }
  .hero-content { padding-top: 134px; }
  h1 { font-size: clamp(40px, 12.3vw, 54px); }
  .hero-lead { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Version arabe (RTL) ---------- */
html[dir="rtl"] body {
  font-family: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
}

/* Structure fixe : la navbar, le badge Google et la barre de chiffres gardent
   leur disposition française ; seuls les textes changent de langue. */
html[dir="rtl"] .site-header,
html[dir="rtl"] .google-badge,
html[dir="rtl"] .stats-bar {
  direction: ltr;
}
html[dir="rtl"] .mobile-panel a { text-align: right; }
html[dir="rtl"] .stats-bar { direction: rtl; }
html[dir="rtl"] .google-count { direction: rtl; unicode-bidi: isolate; }

/* Chiffres, note Google et nom latin : toujours de gauche à droite. */
.counter,
.google-score,
.eyebrow b {
  direction: ltr;
  unicode-bidi: isolate;
}
html[dir="rtl"] .desktop-nav a,
html[dir="rtl"] .contact-cta,
html[dir="rtl"] .mobile-panel a,
html[dir="rtl"] .google-badge,
html[dir="rtl"] .stat-text,
html[dir="rtl"] .hero-lead {
  letter-spacing: 0;
}
html[dir="rtl"] .desktop-nav a { font-size: 15.5px; font-weight: 500; }
html[dir="rtl"] .contact-cta { font-size: 14.5px; padding: 0 13px 0 16px; }
html[dir="rtl"] .eyebrow {
  letter-spacing: .04em;
  font-size: 15px;
  font-weight: 700;
}
html[dir="rtl"] h1 {
  font-family: "Amiri", "Scheherazade New", "Times New Roman", serif;
  font-size: clamp(50px, 4.2vw, 70px);
  line-height: 1.22;
  letter-spacing: 0;
  font-weight: 700;
}
html[dir="rtl"] h1 .line-gold { margin-top: 0; }
html[dir="rtl"] .hero-lead {
  font-size: 18.5px;
  line-height: 1.75;
  max-width: 720px;
}
html[dir="rtl"] .stat-title { font-size: 16px; }
html[dir="rtl"] .stat-text { font-size: 14px; line-height: 1.7; }
html[dir="rtl"] .google-count { font-size: 13.5px; }
html[dir="rtl"] .lang-btn { letter-spacing: 0; }

@media (max-width: 900px) {
  html[dir="rtl"] h1 { font-size: clamp(38px, 10.5vw, 56px); line-height: 1.25; }
  html[dir="rtl"] .hero-lead { font-size: 16.5px; line-height: 1.7; }
  html[dir="rtl"] .stat-text { font-size: 13px; }
}

/* ---------- Section Notre localisation ---------- */
.container {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

.location {
  padding: 84px 0 72px;
  background: var(--ivory);
}
.hero + .agency { padding-top: 150px; }

.section-head {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}
.eyebrow-dark {
  color: #b8891a;
  text-shadow: none;
}
.eyebrow-dark span { background: #d6a821; box-shadow: none; }

.section-head h2 {
  margin: 18px 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(36px, 3.4vw, 48px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--green);
}
.section-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #3f4b48;
}

.location-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: stretch;
}

.location-card {
  background: #fff;
  border: 1px solid rgba(7,75,57,.08);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(7,40,32,.06);
}

.map-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.map-frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 300px;
  background: #e9efec;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.location-info {
  list-style: none;
  margin: 0;
  padding: 18px 24px 6px;
  display: grid;
  gap: 12px;
}
.location-info li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  color: #1f2b28;
}
.location-info svg { flex: 0 0 auto; color: var(--green); }
.location-info a { font-weight: 600; color: var(--green); }
.location-info a:hover { text-decoration: underline; }

.directions {
  margin: 8px 24px 20px;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: #b8891a;
}
.directions::after { content: " →"; }
.directions:hover { text-decoration: underline; }

.contact-form {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form h3 {
  margin: 0 0 4px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: -.01em;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #2c3835;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid rgba(7,75,57,.16);
  border-radius: 12px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(6,75,57,.12);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #9aa5a1; }

.form-submit {
  margin-top: 4px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(180deg, #2fd46b 0%, #1fb757 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 18px rgba(31,183,87,.22);
  transition: transform .18s ease, filter .18s ease;
}
.form-submit:hover { transform: translateY(-1px); filter: brightness(1.04); }
.form-note {
  margin: 0;
  font-size: 12.5px;
  color: #6b7673;
  text-align: center;
}

.site-footer {
  padding: 22px 16px;
  text-align: center;
  font-size: 13px;
  color: #6b7673;
  background: #f6f1e4;
}

@media (max-width: 900px) {
  .hero { min-height: 0; height: auto; max-height: none; padding-bottom: 128px; }
  .hero-content { padding-top: 88px; }
  .hero-actions { margin-top: 20px; gap: 10px; flex-wrap: nowrap; }
  .ghost-cta { flex: 1 1 0; min-width: 0; height: 42px; font-size: 13px; padding: 0 10px; justify-content: center; }
  .ghost-cta svg { width: 16px; height: 16px; }
  .google-badge {
    top: 14px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 28px);
  }
  .container { width: calc(100% - 32px); }
  .location { padding: 56px 0 48px; }
  .hero + .agency { padding-top: 130px; }
  .section-head { margin-bottom: 28px; }
  .location-grid { grid-template-columns: 1fr; gap: 18px; }
  .map-frame { min-height: 260px; }
  .contact-form { padding: 22px 20px 20px; }
}

@media (max-width: 560px) {
  .hero-content { padding-top: 80px; }
}

html[dir="rtl"] .section-head h2 {
  font-family: "Amiri", "Scheherazade New", "Times New Roman", serif;
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 700;
}
html[dir="rtl"] .contact-form h3 {
  font-family: "Amiri", "Scheherazade New", serif;
  font-size: 26px;
  letter-spacing: 0;
}
html[dir="rtl"] .eyebrow-dark { letter-spacing: 0; font-size: 15px; }
html[dir="rtl"] .directions::after { content: " ←"; }

/* ---------- Section Notre agence ---------- */
.agency {
  padding: 84px 0 72px;
  background: #fff;
}
.agency-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.agency-visual {
  position: relative;
  padding: 18px 26px 26px 0;
}
.portrait {
  position: relative;
  height: 500px;
  max-width: 440px;
  margin: 0 auto;
  border-radius: 220px 220px 28px 28px;
  overflow: hidden;
  color: rgba(6,75,57,.16);
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(224,179,62,.28), transparent 70%),
    linear-gradient(180deg, #e9f1ec 0%, #d5e5dc 100%);
  box-shadow: 0 24px 50px rgba(7,40,32,.12);
  display: grid;
  place-items: end center;
}
.portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(6,75,57,.10) 1px, transparent 1.6px);
  background-size: 18px 18px;
  opacity: .5;
}
.portrait-silhouette {
  position: relative;
  width: 72%;
  height: auto;
  display: block;
}

.float-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(7,75,57,.08);
  box-shadow: 0 12px 28px rgba(7,40,32,.14);
}
.float-text { display: flex; flex-direction: column; line-height: 1.15; }
.float-text strong { font-size: 14px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.float-text small { margin-top: 3px; font-size: 12px; color: #6b7673; font-weight: 500; }
.float-icon { width: 34px; height: 34px; border-radius: 10px; background: #f6f4ee; display: grid; place-items: center; }
.float-icon svg { width: 20px; height: 20px; }
.mini-stars {
  display: inline-block;
  width: 62px;
  height: 12px;
  background: #fbbc05;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") left / 12px 12px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") left / 12px 12px repeat-x;
}
.float-google { top: 46px; right: 0; }
.float-brand { bottom: 40px; left: -14px; padding: 12px 20px 12px 12px; border-radius: 18px; }
.float-brand img { width: 52px; height: auto; }
.float-brand small { order: -1; margin: 0 0 3px; font-size: 12px; }
.float-brand strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; letter-spacing: -.01em; color: var(--green); }
.float-gen {
  bottom: 0;
  right: 0;
  padding: 10px 16px;
  background: linear-gradient(180deg, #0c5a45, #064b39);
  border: 0;
}
.float-gen strong { color: #fff; font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; }
.float-gen small { color: rgba(255,255,255,.78); }

.eyebrow-start { justify-content: flex-start; }

.agency-copy h2 {
  margin: 16px 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--green);
  text-wrap: balance;
}
.agency-lead {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.65;
  color: #3f4b48;
}
.agency-subtitle {
  margin: 20px 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #b8891a;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 500;
  color: #1f2b28;
}
.service-list i {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  background: rgba(224,179,62,.22);
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: #1f2b28;
}
.why-list svg { width: 22px; height: 22px; color: var(--green); flex: 0 0 auto; }

.agency-actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.agency-actions .contact-cta { height: 46px; font-size: 15px; padding: 0 22px 0 18px; }
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  unicode-bidi: isolate;
}
.phone-link:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .agency-grid { gap: 40px; }
  .portrait { height: 440px; }
}
@media (max-width: 900px) {
  .agency { padding: 56px 0 48px; }
  .agency-grid { grid-template-columns: 1fr; gap: 36px; }
  .agency-visual { padding: 12px 8px 22px; }
  .portrait { height: 380px; max-width: 340px; }
  .float-google { top: 26px; right: -4px; }
  .float-brand { bottom: 40px; left: -4px; }
  .float-gen { bottom: -6px; right: 6px; }
  .service-list, .why-list { grid-template-columns: 1fr; }
  .agency-actions { gap: 14px; }
}

html[dir="rtl"] .agency-copy h2 {
  font-family: "Amiri", "Scheherazade New", "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 700;
}
html[dir="rtl"] .agency-subtitle { letter-spacing: 0; font-size: 14px; }
html[dir="rtl"] .agency-visual { padding: 18px 0 26px 26px; }
html[dir="rtl"] .float-google { right: auto; left: 0; }
html[dir="rtl"] .float-brand { left: auto; right: -10px; }
html[dir="rtl"] .float-gen { right: auto; left: 0; }
html[dir="rtl"] .float-badge { padding: 10px 10px 10px 16px; }
html[dir="rtl"] .float-brand strong { font-family: "Amiri", serif; font-size: 20px; }
html[dir="rtl"] .agency-actions .contact-cta { padding: 0 18px 0 22px; }
@media (max-width: 900px) {
  html[dir="rtl"] .agency-visual { padding: 12px 8px 22px; }
  html[dir="rtl"] .float-google { left: -4px; }
  html[dir="rtl"] .float-brand { right: -4px; }
  html[dir="rtl"] .float-gen { left: 6px; }
}

/* ---------- Boutons du hero : appel en or brossé, visite en verre, vibration douce de l'icône ---------- */
.hero-actions.v-gold .ghost-cta:first-child {
  color: #1d1706;
  background: linear-gradient(180deg, #f0c552 0%, #d9a11f 100%);
  border-color: rgba(255,232,150,.9);
  box-shadow: 0 8px 22px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.45);
}
.hero-actions.v-gold .ghost-cta:first-child svg { animation: ring 2.6s ease-in-out infinite; }
.hero-actions.v-gold .ghost-cta:last-child {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.85);
}
@keyframes ring {
  0%, 70%, 100% { transform: rotate(0); }
  74% { transform: rotate(-12deg); }
  78% { transform: rotate(10deg); }
  82% { transform: rotate(-8deg); }
  86% { transform: rotate(6deg); }
  90% { transform: rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions.v-gold .ghost-cta:first-child svg { animation: none; }
}

/* ---------- Badge « Facilités de paiement » dans le hero (propositions) ---------- */
.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.pay-badge svg { flex: 0 0 auto; }

/* P1 — sous le badge Google, en haut à droite, ton or */
.hero.pay-p1 .pay-badge {
  position: absolute;
  z-index: 2;
  top: 68px;
  right: max(40px, calc((100vw - 1240px) / 2));
  color: #2a2107;
  background: linear-gradient(180deg, #f3d270 0%, #e0b33e 100%);
  border: 1px solid rgba(255,240,190,.9);
  box-shadow: 0 6px 18px rgba(0,0,0,.16);
}
.hero.pay-p1 .pay-badge svg { color: #4a3a0a; }

/* P2 — sous les boutons, ligne discrète en verre */
.hero.pay-p2 .pay-badge {
  margin-top: 14px;
  height: 32px;
  color: #fff;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.hero.pay-p2 .pay-badge svg { color: var(--gold-light); }
.hero:not(.pay-p1) .pay-badge.pos-top { display: none; }
.hero:not(.pay-p2) .pay-badge.pos-inline { display: none; }

@media (max-width: 900px) {
  .hero.pay-p1 .pay-badge { top: 56px; right: auto; left: 50%; transform: translateX(-50%); height: 32px; font-size: 12px; }
  .hero.pay-p1 .hero-content { padding-top: 118px; }
}
