/* ==========================================================================
   jpcharoy — consultant web & e-commerce
   Feuille de style principale — direction : teal, corail, crème
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables & reset
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs */
  --cream:       #F7F4EF;   /* fond principal */
  --sand:        #EFEAE2;   /* bandeaux et sections alternées */
  --white:       #FFFFFF;

  --teal:        #12707D;   /* couleur de marque : boutons, icônes, surtitres */
  --teal-hover:  #0E5E69;
  --teal-dark:   #0F4F5B;   /* titres */
  --teal-deep:   #0B3A44;   /* pied de page */
  --teal-light:  #3C9AA8;   /* « jp » du logo, accents */
  --teal-tint:   #E3EFF0;   /* fonds d'icônes, badges */

  --coral:       #C4503A;   /* bouton d'appel (contraste AA avec le blanc) */
  --coral-hover: #AD4431;
  --coral-soft:  #E0654A;   /* usage décoratif */
  --coral-tint:  #F8E6E0;

  --text:        #33434A;
  --muted:       #66757B;
  --line:        #DED8CE;

  /* Typographie */
  --font-title: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body:  "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rythme */
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 8vw, 6.5rem);
  --radius: 12px;
  --radius-lg: 18px;

  /* Ombres douces */
  --shadow-sm: 0 1px 2px rgba(15, 79, 91, .05), 0 4px 16px rgba(15, 79, 91, .06);
  --shadow-md: 0 2px 6px rgba(15, 79, 91, .06), 0 16px 40px rgba(15, 79, 91, .10);
  --shadow-lg: 0 4px 10px rgba(15, 79, 91, .07), 0 26px 60px rgba(15, 79, 91, .14);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); text-decoration-color: rgba(18, 112, 125, .35); text-underline-offset: 3px; }
a:hover { color: var(--teal-hover); }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--teal-dark);
  margin: 0 0 .65em;
}
h1 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.18rem); }
h4 { font-size: 1rem; }

/* Mots mis en valeur dans les titres : simple accent de couleur */
h1 em, h2 em { font-style: normal; color: var(--teal); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--teal-dark); }

::selection { background: var(--teal-tint); color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   2. Mise en page
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); position: relative; }
.wrap--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--pb-none { padding-bottom: clamp(1rem, 2vw, 1.6rem); }   /* resserre l'espace avec la section suivante */
.section--pt-sm { padding-top: clamp(1.4rem, 2.6vw, 2.2rem); }
.section--cream { background: var(--sand); }
.section--white { background: var(--white); }
.section--olive { background: var(--teal); color: var(--white); }
.section--olive h2, .section--olive h3, .section--olive h4 { color: var(--white); }
.section--olive p { color: rgba(255, 255, 255, .86); }
.section--olive strong { color: var(--white); }
.section--olive h2 em { color: #BDE3E8; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--teal-dark); color: var(--white); padding: .75rem 1.25rem; z-index: 200; }
.skip-link:focus { left: 1rem; top: 1rem; border-radius: 8px; }

/* Surtitre : capitales teal suivies d'un trait */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-title);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--olive .eyebrow { color: #BDE3E8; }

.lede { font-size: clamp(1rem, 1.3vw, 1.1rem); color: var(--text); line-height: 1.72; max-width: 62ch; }
.section--olive .lede { color: rgba(255, 255, 255, .86); }

.section-head { max-width: 66ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-inline: auto; }

/* --------------------------------------------------------------------------
   3. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 1.55rem;
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  border: 2px solid transparent;
  background: var(--teal);
  color: var(--white);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn::after {
  content: "";
  width: 16px; height: 16px;
  flex: 0 0 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%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' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:hover::after { transform: translateX(3px); }

.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-hover); color: var(--white); }

.btn--terra { background: var(--coral); color: var(--white); }
.btn--terra:hover { background: var(--coral-hover); color: var(--white); }

.btn--ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: var(--white); }

.btn--light { background: var(--white); color: var(--teal-dark); }
.btn--light:hover { background: var(--cream); color: var(--teal-dark); }

.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: var(--white); color: var(--teal-dark); border-color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

/* --------------------------------------------------------------------------
   4. En-tête & logo
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, .94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(222, 216, 206, .7);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 86px; }

.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand__mark { width: 50px; height: 38px; flex: 0 0 50px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--teal-dark);
}
.brand__name span { color: var(--teal-light); }
.brand__tag {
  font-family: var(--font-title);
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-top: .38rem;
  white-space: nowrap;
}
.brand:hover .brand__name { color: var(--teal-dark); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 1.9vw, 1.8rem); }
.nav a {
  position: relative;
  padding: .45rem 0;
  font-family: var(--font-title);
  font-size: .9rem;
  font-weight: 500;
  color: var(--teal-dark);
  text-decoration: none;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover { color: var(--teal); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--teal); font-weight: 600; }

.nav a.btn { padding: .78rem 1.35rem; color: var(--white); font-weight: 600; margin-left: clamp(.2rem, 1vw, 1.2rem); }
.nav a.btn::after { position: static; height: 16px; background-color: currentColor; transform: none; border-radius: 0; }
.nav a.btn:hover::after { transform: translateX(3px); }
.nav a.btn--terra, .nav a.btn--terra:hover { color: var(--white); }

.nav-toggle {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 46px; height: 44px;
  cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--teal-dark); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; inset: 86px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .1rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: .8rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: .85rem .2rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a.btn { margin: 1rem 0 0; border-bottom: 0; }
  .nav a.btn::after { display: block; }
}
@media (max-width: 420px) {
  .brand__name { font-size: 1.45rem; }
  .brand__tag { font-size: .5rem; letter-spacing: .12em; }
  .brand__mark { width: 42px; flex-basis: 42px; }
}

/* --------------------------------------------------------------------------
   5. Hero photo (accueil)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  min-height: clamp(420px, 44vw, 520px);
  display: flex;
  align-items: center;
}
.hero__photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 64%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--cream) 0%, var(--cream) 36%, rgba(247,244,239,.86) 46%, rgba(247,244,239,0) 66%);
}
.hero__content { position: relative; z-index: 2; padding-block: clamp(3rem, 7vw, 5rem); max-width: 560px; }
.hero h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); margin-bottom: 1.1rem; }
.hero .lede { margin-bottom: 2rem; max-width: 46ch; }

@media (max-width: 860px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__photo { position: relative; width: 100%; height: 260px; order: -1; }
  .hero::before { display: none; }
  .hero__content { padding-block: 2.2rem 3rem; }
}

/* Bandeau de titre des pages intérieures */
.pagehead {
  padding-block: clamp(2.75rem, 6vw, 4.25rem) clamp(2.25rem, 4.5vw, 3.25rem);
  background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
}
.pagehead h1 { max-width: 22ch; }
.breadcrumb { font-size: .82rem; font-weight: 500; color: var(--muted); margin-bottom: 1.3rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { margin-inline: .45rem; opacity: .55; }

/* --------------------------------------------------------------------------
   6. Bandeau des 4 services (accueil)
   -------------------------------------------------------------------------- */
.services-strip { background: var(--sand); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.services-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.service {
  text-align: center;
  padding: .5rem clamp(.8rem, 2vw, 1.6rem);
  border-left: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease;
}
.service:first-child { border-left: 0; }
.service:hover { transform: translateY(-3px); color: inherit; }
.service { display: block; }
.service__icon { display: block; width: 48px; height: 48px; margin: 0 auto 1rem; color: var(--teal); }
.service__icon svg { width: 48px; height: 48px; }
.service h3 { font-size: 1.02rem; margin-bottom: .45rem; }
.service p { font-size: .86rem; color: var(--text); line-height: 1.6; margin: 0; }
@media (max-width: 900px) {
  .services-strip__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .service:nth-child(3) { border-left: 0; }
}
@media (max-width: 520px) {
  .services-strip__grid { grid-template-columns: 1fr; row-gap: 1.6rem; }
  .service { border-left: 0; border-top: 1px solid var(--line); padding-top: 1.6rem; }
  .service:first-child { border-top: 0; padding-top: .5rem; }
}

/* --------------------------------------------------------------------------
   7. Bloc à propos (photo + texte)
   -------------------------------------------------------------------------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 362 / 294; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   8. Bandeau d'appel teal
   -------------------------------------------------------------------------- */
.cta-strip { background: var(--teal); color: var(--white); position: relative; overflow: hidden; }
.cta-strip::after {
  content: "";
  position: absolute;
  right: -90px; top: -60px;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 44px solid rgba(255, 255, 255, .05);
  pointer-events: none;
}
.cta-strip__inner {
  display: grid;
  grid-template-columns: auto auto 1fr 1fr auto;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  padding-block: clamp(2.2rem, 4.5vw, 3rem);
  position: relative;
  z-index: 1;
}
.cta-strip__icon { width: 46px; height: 46px; color: var(--white); }
.cta-strip__sep { width: 1px; align-self: stretch; background: rgba(255, 255, 255, .35); }
.cta-strip h2 { color: var(--white); font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 0; line-height: 1.35; }
.cta-strip p { color: rgba(255, 255, 255, .9); font-size: .9rem; margin: 0; line-height: 1.65; }
@media (max-width: 980px) {
  .cta-strip__inner { grid-template-columns: auto 1fr; }
  .cta-strip__sep { display: none; }
  .cta-strip p, .cta-strip .btn { grid-column: 1 / -1; }
  .cta-strip .btn { justify-self: start; }
}

/* --------------------------------------------------------------------------
   9. Réalisations (cartes navigateur inclinées)
   -------------------------------------------------------------------------- */
.works { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.works__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 1.6vw, 1.2rem); align-items: start; }
.work { margin: 0; text-decoration: none; color: inherit; display: block; }
.work__frame {
  display: block;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
}
.work:nth-child(1) .work__frame { transform: rotate(-3deg); }
.work:nth-child(2) .work__frame { transform: translateY(-14px); }
.work:nth-child(3) .work__frame { transform: rotate(3deg); }
.work:hover .work__frame { transform: translateY(-8px) rotate(0); box-shadow: var(--shadow-lg); }
.work__frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.work figcaption, .work__caption { display: block; padding: 1.1rem .2rem 0; }
.work__caption span { display: block; }
.work__caption strong { display: block; font-family: var(--font-title); font-size: .88rem; font-weight: 700; color: var(--teal-dark); }
.work__caption span { font-size: .8rem; color: var(--muted); }
@media (max-width: 980px) { .works { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .works__cards { grid-template-columns: 1fr; gap: 2rem; }
  .work .work__frame { transform: none !important; }
}

/* --------------------------------------------------------------------------
   9 bis. Réalisation mise en avant (accueil)
   -------------------------------------------------------------------------- */
.work-hero { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.work-hero__client { font-family: var(--font-title); font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 700; color: var(--teal); margin-bottom: 1rem; }
.work-hero__visual img { width: 100%; height: auto; }
@media (max-width: 980px) { .work-hero { grid-template-columns: 1fr; } }

/* Trois colonnes de points forts */
.feature-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.feature { padding-left: clamp(0rem, 2vw, 2.4rem); border-left: 1px solid var(--line); }
.feature:first-child { padding-left: 0; border-left: 0; }
.feature__icon {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal);
  display: grid; place-items: center;
  margin-bottom: 1.3rem;
}
.feature__icon svg { width: 36px; height: 36px; }
.feature h3 { font-size: clamp(1.05rem, 1.6vw, 1.22rem); margin-bottom: 1.1rem; }
.feature .checklist { gap: .7rem; }
.feature .checklist li { font-size: .92rem; }
@media (max-width: 900px) {
  .feature-cols { grid-template-columns: 1fr; gap: 2rem; }
  .feature { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 2rem; }
  .feature:first-child { border-top: 0; padding-top: 0; }
}

/* --------------------------------------------------------------------------
   10. Grilles & cartes (pages intérieures)
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.4vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text); font-size: .93rem; margin-bottom: 0; }

.card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--teal-tint);
  color: var(--teal);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 23px; height: 23px; }
.card__icon--terra { background: var(--coral-tint); color: var(--coral); }
/* Pictogrammes sur tache organique (page Réalisations) */
.card__icon--blob { width: 62px; height: 62px; background: none; border-radius: 0; margin-bottom: .9rem; }
.card__icon--blob svg { width: 62px; height: 62px; }

/* Cartes sur fond teal */
.card--olive {
  background: rgba(255, 255, 255, .08) !important;
  border-color: rgba(255, 255, 255, .22) !important;
  color: var(--white);
  box-shadow: none;
}
.card--olive h3 { color: var(--white); }
.card--olive p { color: rgba(255, 255, 255, .85); }
.card--olive .card__icon { background: rgba(255, 255, 255, .14); color: var(--white); }

/* Modules */
.modules { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.modules--2 { grid-template-columns: repeat(2, 1fr); }
.module { background: var(--white); padding: clamp(1.25rem, 2vw, 1.6rem); display: flex; gap: 1rem; align-items: flex-start; }
.module__num {
  flex: 0 0 auto;
  font-family: var(--font-title);
  font-size: .78rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-tint);
  border-radius: 8px;
  padding: .32rem .5rem;
  line-height: 1;
  min-width: 32px;
  text-align: center;
  margin-top: .15rem;
}
.module h3 { font-size: 1rem; margin-bottom: .3rem; }
.module p { font-size: .88rem; color: var(--text); margin: 0; line-height: 1.62; }

/* Liste cochée (pastilles teal pleines, comme sur la maquette) */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.checklist li { position: relative; padding-left: 2rem; font-size: .93rem; color: var(--text); }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: .18em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
}
.section--olive .checklist li, .card--olive .checklist li { color: rgba(255, 255, 255, .9); }
.section--olive .checklist li::before, .card--olive .checklist li::before { background-color: rgba(255, 255, 255, .2); }

/* Étapes */
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.3rem, 2.2vw, 1.8rem) clamp(1.3rem, 2.2vw, 1.9rem) clamp(1.3rem, 2.2vw, 1.8rem) clamp(4.2rem, 7vw, 5.2rem);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: clamp(1.2rem, 2.2vw, 1.7rem);
  top: clamp(1.25rem, 2.2vw, 1.7rem);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
}
.step h3 { margin-bottom: .35rem; }
.step p { margin-bottom: 0; color: var(--text); font-size: .93rem; }
.step__meta { display: inline-block; margin-top: .85rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); background: var(--teal-tint); border-radius: 999px; padding: .25rem .75rem; }

/* Badges & étiquettes */
.badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.badge { display: inline-flex; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .38rem .9rem; font-size: .8rem; font-weight: 500; color: var(--teal-dark); }
.section--olive .badge { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: var(--white); }

.mini-tag { display: inline-block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--teal); background: var(--teal-tint); border-radius: 999px; padding: .22rem .7rem; margin-bottom: .85rem; }
.section--olive .mini-tag, .card--olive .mini-tag { background: rgba(255, 255, 255, .16); color: var(--white); }

.price-tag { align-self: flex-start; display: inline-block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--teal); background: var(--teal-tint); border-radius: 999px; padding: .26rem .75rem; margin-bottom: 1rem; }
.price-card--olive .price-tag { background: rgba(255, 255, 255, .18); color: var(--white); }

/* Problème → solution */
.fix p { font-size: .92rem; }
.fix__sep { display: block; width: 30px; height: 2px; border-radius: 2px; background: var(--coral-soft); margin: .9rem 0; }

/* Bloc de code */
.snippet {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: .82rem; line-height: 1.75;
  background: var(--teal-deep); color: rgba(255, 255, 255, .9);
  border-radius: var(--radius); padding: 1.2rem 1.4rem;
  overflow-x: auto; margin: 0; box-shadow: var(--shadow-md);
}
.snippet b { color: #9FD5DC; font-weight: 600; }

/* Tarifs */
.price-card { display: flex; flex-direction: column; }
.card .price-card__price { font-family: var(--font-title); font-size: 1.85rem; font-weight: 700; color: var(--teal); line-height: 1.1; margin: .2rem 0 .15rem; }
.price-card--olive { background: var(--teal) !important; border-color: var(--teal) !important; box-shadow: var(--shadow-md); }
.card.price-card--olive .price-card__price { color: var(--white); }
.price-card__unit { font-size: .82rem; color: var(--muted); margin-bottom: 1.3rem; display: block; }
.price-card--olive .price-card__unit { color: rgba(255, 255, 255, .7); }
.price-card .checklist { margin-bottom: 1.7rem; }
.price-card .btn { margin-top: auto; align-self: flex-start; }

/* Grille tarifaire : colonnes légèrement élargies pour que les prix tiennent sur une ligne */
.wrap--pricing { max-width: 1240px; }
.wrap--pricing .grid--3 { gap: clamp(1rem, 1.6vw, 1.2rem); }
.wrap--pricing .price-card { padding: clamp(1.3rem, 2.2vw, 1.75rem); }
.wrap--pricing .card .price-card__price { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }

/* Citation */
.quote {
  background: var(--white);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.4rem, 3vw, 2rem);
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  font-weight: 500; line-height: 1.6; color: var(--teal-dark);
}
.quote em { color: var(--teal); }
.quote footer { font-size: .84rem; font-weight: 500; color: var(--muted); margin-top: .9rem; }

/* Illustration encadrée */
.visual-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(.8rem, 1.6vw, 1.1rem); box-shadow: var(--shadow-md); }
.visual-card img { border-radius: 8px; }
.visual-card figcaption { font-size: .82rem; color: var(--muted); padding: .9rem .4rem .2rem; text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--wide-left { grid-template-columns: 1.12fr .88fr; }

/* Statistiques */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.stat { padding: clamp(1.3rem, 2.4vw, 1.9rem) 1rem; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--font-title); font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 700; color: var(--teal); line-height: 1.1; }
.stat span { font-size: .82rem; color: var(--muted); display: block; margin-top: .35rem; line-height: 1.45; }

.stack-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.stack-list span { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace; font-size: .78rem; background: var(--teal-tint); border-radius: 6px; padding: .3rem .65rem; color: var(--teal-dark); }

/* FAQ */
.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.15rem clamp(1.1rem, 2.4vw, 1.6rem); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-title); font-size: 1rem; font-weight: 600; color: var(--teal-dark);
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 auto;
  width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; background: var(--teal-tint); color: var(--teal); font-size: 1.1rem; line-height: 1;
}
.faq details[open] summary::after { content: "–"; background: var(--teal); color: var(--white); }
.faq details p { margin: .85rem 0 0; color: var(--text); font-size: .93rem; max-width: 72ch; }

/* Bandeau d'appel (pages intérieures) */
.cta-band {
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.4rem);
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .05); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); max-width: 24ch; margin-inline: auto; }
.cta-band h2 em { color: #BDE3E8; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 58ch; margin-inline: auto; margin-bottom: 1.8rem; }
.cta-band .btn-row { justify-content: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.contact-item:first-of-type { border-top: 1px solid var(--line); }
.contact-item__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-tint); color: var(--teal); display: grid; place-items: center; }
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item h3 { font-size: .95rem; margin: 0 0 .15rem; }
.contact-item a { font-size: 1rem; font-weight: 600; text-decoration: none; }
.contact-item p { font-size: .86rem; color: var(--muted); margin: .25rem 0 0; }

/* --------------------------------------------------------------------------
   11. Pied de page
   -------------------------------------------------------------------------- */
.site-footer { background: var(--teal-deep); color: rgba(255, 255, 255, .78); padding-block: clamp(2.5rem, 5vw, 3.2rem) 1.8rem; }
.footer-top { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.footer-brand .brand__name { color: var(--white); font-size: 1.55rem; }
.footer-brand .brand__name span { color: #7CC3CD; }
.footer-brand .brand__tag { color: rgba(255, 255, 255, .8); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; }
.footer-nav a { color: rgba(255, 255, 255, .85); text-decoration: none; font-size: .84rem; font-weight: 500; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; }
.footer-social { display: flex; gap: .8rem; }
.footer-social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 10px; color: var(--white);
  background: rgba(255, 255, 255, .08);
  transition: background-color .18s ease;
}
.footer-social a:hover { background: rgba(255, 255, 255, .2); color: var(--white); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem;
  font-size: .78rem; color: rgba(255, 255, 255, .6);
}
.footer-bottom a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* --------------------------------------------------------------------------
   12. Responsive général
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split, .split--wide-left { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .grid--2, .grid--3, .grid--4, .modules--2 { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   13. Animation d'apparition
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .work .work__frame { transition: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .cta-strip { display: none; }
}
