/* =========================================================
   YESOA Multi Service — feuille de style
   Couleurs issues du kit logo (LISEZ-MOI.txt)
   ========================================================= */

:root {
  --blue: #1D599E;
  --blue-700: #164a85;
  --teal: #22A3BF;
  --gold: #DBC176;
  --gold-dark: #A68A52;
  --mint: #C2E6DA;

  --ink: #0F2740;
  --text: #3A4A5C;
  --muted: #6B7A8C;
  --line: #E3E9F0;
  --bg: #FFFFFF;
  --bg-soft: #F4F8FB;
  --navy: #0C2340;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(15, 39, 64, .18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 39, 64, .28);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--teal); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--gold); }
.accent {
  background: linear-gradient(100deg, var(--blue) 0%, var(--teal) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .98rem; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff; box-shadow: 0 10px 24px -10px rgba(29, 89, 158, .7);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px -10px rgba(29, 89, 158, .8); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--ink); }
.btn-ghost svg { color: #25D366; }
.btn-sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15, 39, 64, .4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.2rem; font-weight: 800; letter-spacing: .06em; }
.brand-text small { font-size: .72rem; font-weight: 600; color: var(--gold-dark); letter-spacing: .14em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 1.6rem; white-space: nowrap; }
.nav a:not(.btn) { color: var(--ink); font-weight: 600; font-size: .95rem; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--teal); transform: scaleX(0); transition: transform .2s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
  background:
    radial-gradient(60% 70% at 90% 20%, rgba(34, 163, 191, .14), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(219, 193, 118, .16), transparent 70%),
    var(--bg-soft);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--text); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.6rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.hero-points li { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; color: var(--ink); }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D599E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.hero-visual { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.orb {
  position: absolute; inset: 6%;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
  display: grid; place-items: center;
}
.orb::before {
  content: ""; position: absolute; inset: -6%; border-radius: 50%;
  border: 1.5px dashed rgba(166, 138, 82, .45);
  animation: spin 60s linear infinite;
}
.orb img { width: 72%; height: auto; animation: float 6s ease-in-out infinite; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .55rem;
  background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem;
  padding: .65rem 1rem; border-radius: 999px; box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}
.fc-1 { top: 8%; left: -4%; }
.fc-2 { top: 46%; right: -6%; animation-delay: -2s; }
.fc-3 { bottom: 6%; left: 8%; animation-delay: -4s; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-teal { background: var(--teal); }
.dot-gold { background: var(--gold); }
.dot-blue { background: var(--blue); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 340px; order: -1; }
}
@media (max-width: 480px) {
  .hero-visual { max-width: 260px; }
  .float-card { font-size: .78rem; padding: .5rem .8rem; }
  .fc-1 { left: -6%; }
  .fc-2 { right: -8%; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-tint { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head .eyebrow::after { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; }

/* ---------- Services ---------- */
.services-grid {
  display: grid; gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}
.service-card {
  position: relative; padding: 1.75rem 1.5rem 1.6rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.1rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(29, 89, 158, .1), rgba(34, 163, 191, .16));
  color: var(--blue);
}
.icon svg, .contact-list svg {
  width: 26px; height: 26px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); counter-reset: step; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 1.75rem 1.5rem; box-shadow: 0 1px 0 var(--line); }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  margin-bottom: 1rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
}
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pourquoi ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.why-copy p { font-size: 1.05rem; margin-bottom: 1.8rem; }
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.why-list li {
  padding: 1.4rem 1.4rem 1.3rem; border-radius: var(--radius);
  background: var(--bg-soft); border-left: 4px solid var(--teal);
}
.why-list li:nth-child(2n) { border-left-color: var(--gold); }
.why-list p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 920px) { .why { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why-list { grid-template-columns: 1fr; } }

/* ---------- Zone ---------- */
.section-dark {
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(34, 163, 191, .35), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--blue));
  color: rgba(255, 255, 255, .82);
}
.section-dark h2 { color: #fff; }
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.zone-tags { display: flex; flex-wrap: wrap; gap: .7rem; }
.zone-tags li {
  padding: .6rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .95rem; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
}
@media (max-width: 820px) { .zone { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-list { display: grid; gap: 1rem; margin-top: 1.8rem; }
.contact-list li { display: flex; align-items: center; gap: .9rem; color: var(--ink); font-weight: 600; }
.contact-list svg {
  width: 44px; height: 44px; padding: 10px; flex: none; border-radius: 12px;
  background: var(--bg-soft); color: var(--blue);
}
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); width: 100%;
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-soft); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(34, 163, 191, .15);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C2413A; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 1rem 0 0; font-weight: 600; text-align: center; min-height: 1.5em; }
.form-status.ok { color: #1E8A5A; }
.form-status.err { color: #C2413A; }
@media (max-width: 920px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 48px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand strong { color: #fff; font-size: 1.05rem; }
.footer-brand p { margin: 0; font-size: .9rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { color: rgba(255, 255, 255, .8); font-weight: 500; }
.footer-nav a:hover { color: var(--gold); }
.copyright {
  grid-column: 1 / -1; margin: 0; padding-top: 1.5rem; font-size: .85rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .35);
  transition: transform .2s;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* ---------- Apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Pages simples (mentions légales) ---------- */
.page { padding: var(--section-y) 0; }
.page .container { max-width: 800px; }
.page h2 { font-size: 1.4rem; margin-top: 2rem; }

/* ---------- Réalisations : avant / après ---------- */
.ba-grid { display: grid; gap: clamp(24px, 3vw, 40px) clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(2, 1fr); }
.ba-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.ba-featured figcaption { padding: 0; }
.ba.ba-featured figcaption strong { display: block;  font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.2; margin-bottom: .5rem; }
.ba.ba-featured figcaption span:last-child { font-size: 1rem; }
.ba-cat { color: var(--gold-dark) !important; font-size: .75rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .25rem; }
.ba-cta { text-align: center; margin: clamp(32px, 4vw, 48px) 0 0; }
@media (max-width: 920px) { .ba-featured { grid-template-columns: 1fr; } .ba-featured figcaption { padding: 0 .25rem; } }
@media (max-width: 680px) { .ba-grid { grid-template-columns: 1fr; } }
.ba { margin: 0; }
.ba-frame {
  position: relative; aspect-ratio: 1376 / 768; overflow: hidden;
  border-radius: var(--radius); box-shadow: var(--shadow); background: var(--bg-soft);
  user-select: none; touch-action: pan-y;
}
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: #fff; box-shadow: 0 0 0 1px rgba(15, 39, 64, .15); pointer-events: none;
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D599E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: var(--shadow);
}
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.ba-range:focus-visible ~ .ba-handle::after, .ba-frame:has(.ba-range:focus-visible) .ba-handle::after { outline: 3px solid var(--teal); outline-offset: 2px; }
.ba-tag {
  position: absolute; top: 12px; padding: .3rem .75rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; pointer-events: none;
}
.ba-tag-before { left: 12px; background: rgba(15, 39, 64, .75); color: #fff; }
.ba-tag-after { right: 12px; background: var(--gold); color: var(--ink); }
.ba figcaption { display: flex; flex-direction: column; padding: 1rem .25rem 0; }
.ba figcaption strong { color: var(--ink); font-size: 1.05rem; }
.ba figcaption span { color: var(--muted); font-size: .92rem; }
.section-head .ba-note { font-size: .8rem; color: var(--muted); margin: -.5rem 0 0; font-style: italic; }

/* ---------- Témoignages ---------- */
.testimonials { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(3, 1fr); }
.testimonial {
  margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 1.4rem;
  background: #fff; border-radius: var(--radius); padding: 3rem 1.6rem 1.5rem;
  box-shadow: 0 1px 0 var(--line); position: relative;
}
.testimonial::before {
  content: "“"; position: absolute; top: .3rem; left: 1.4rem;
  font-size: 4.5rem; line-height: 1; font-weight: 800; color: var(--mint);
}
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { margin: 0; color: var(--text); font-size: .97rem; line-height: 1.7; }
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.testimonial figcaption strong { display: block; color: var(--ink); font-size: .98rem; }
.testimonial figcaption small { display: block; color: var(--gold-dark); font-size: .82rem; font-weight: 600; line-height: 1.35; }
.avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--blue), var(--teal));
}
.testimonial:nth-child(3n+2) .avatar { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); }
@media (max-width: 1000px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .testimonials { grid-template-columns: 1fr; } }
