/* ═══════════════════════════════════════════════
   LE CERCLE PRÉVENTION — v2
   Inspiré des meilleurs sites de service FR
   Hero sombre/impact · Corps clair/épuré
   Typo : Cabinet Grotesk (display) + Satoshi (body)
   ═══════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --green-deep:    #1e3a28;
  --green-mid:     #2d5a3d;
  --green-bright:  #3d6b4a;
  --green-light:   #6da87a;
  --green-pale:    #e8f2eb;
  --green-tint:    #f2f7f3;

  --warm:          #c4783a;
  --warm-pale:     #f7ece0;

  --ink:           #111813;
  --ink-70:        #3a3e36;
  --ink-40:        #7a7e74;
  --ink-15:        #dde0db;

  --bg:            #fafaf8;
  --surface:       #ffffff;
  --surface-2:     #f5f5f2;

  --font-display:  'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body:     'Satoshi', 'Helvetica Neue', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 9999px;

  --shadow-card: 0 2px 12px rgba(17,24,19,0.07);
  --shadow-hover: 0 8px 32px rgba(17,24,19,0.13);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 220ms;

  --content: 1160px;
  --nav-h: 68px;
}

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img, svg { display: block; max-width: 100%; }
ul[role='list'] { list-style: none; }
h1,h2,h3,h4 { line-height: 1.15; text-wrap: balance; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 3px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.section--dark  { background: var(--green-deep); }
.section--contact { background: var(--green-mid); }

/* ── SECTION HEADER ── */
.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 0.75rem;
}
.section__label--light { color: var(--green-light); }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2rem;
}
.section__title em { font-style: italic; color: var(--green-bright); }
.section__title--light { color: #fff; }
.section__title--light em { color: var(--green-light); }
.section__header { margin-bottom: 3.5rem; }
.section__header--light .section__label { color: var(--green-light); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.75em 1.6em;
  font-size: 0.925rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--green-bright);
  color: #fff;
  border-color: var(--green-bright);
}
.btn--primary:hover { background: var(--green-mid); border-color: var(--green-mid); box-shadow: 0 4px 16px rgba(61,107,74,.3); }

.btn--white {
  background: #fff;
  color: var(--green-deep);
  border-color: #fff;
}
.btn--white:hover { background: var(--green-pale); border-color: var(--green-pale); }

.btn--ghost-white {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); color: #fff; }

.btn--full { width: 100%; justify-content: center; }

/* ── NAVIGATION ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-15);
  height: var(--nav-h);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink);
  flex-shrink: 0;
}
.nav__logo span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.nav__logo:hover { color: var(--green-bright); }

.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
@media (min-width: 768px) { .nav__links { display: flex; } }
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-70);
  transition: color var(--dur);
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  background: var(--green-bright) !important;
  color: #fff !important;
  padding: 0.5em 1.2em;
  border-radius: var(--radius-pill);
  font-weight: 700 !important;
  transition: background var(--dur) !important;
}
.nav__cta:hover { background: var(--green-mid) !important; }

.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur); }
.nav__burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 768px) { .nav__burger { display: none; } }

.nav__mobile {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--ink-15);
  padding: 1.25rem clamp(1.25rem, 5vw, 3rem);
}
.nav__mobile.open { display: block; }
.nav__mobile ul { display: flex; flex-direction: column; gap: 1rem; list-style: none; }
.nav__mobile a { font-size: 1rem; font-weight: 600; color: var(--ink); }

/* ── HERO ── */
.hero {
  background: var(--green-deep);
  padding-block: clamp(5rem, 12vw, 9rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(61,107,74,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1fr 380px; gap: 5rem; }
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1.25rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero__title-accent {
  color: var(--green-light);
  display: block;
}
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  max-width: 48ch;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero__actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* Hero cards */
.hero__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}
.hero__card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  backdrop-filter: blur(6px);
  transition: background var(--dur), border-color var(--dur);
}
.hero__card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
}
.hero__card-icon { font-size: 1.75rem; margin-bottom: 0.5rem; }
.hero__card p { font-size: 0.875rem; font-weight: 700; color: #fff; margin-bottom: 0.25rem; line-height: 1.3; }
.hero__card span { font-size: 0.725rem; color: rgba(255,255,255,0.55); font-weight: 500; }

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero__scroll span { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse { 0%,100% { opacity: 0.3; } 50% { opacity: 0.8; } }
@media (max-width: 767px) { .hero__scroll { display: none; } }

/* ── TICKER ── */
.ticker {
  overflow: hidden;
  padding-block: 1rem;
  background: var(--green-bright);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker__track span { font-size: 0.825rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.ticker__dot { color: rgba(255,255,255,0.4); font-size: 0.5rem; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SERVICES ── */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--ink-15);
  border: 1px solid var(--ink-15);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
@media (min-width: 640px) {
  .services { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(3, 1fr); }
}

.service {
  background: var(--surface);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: background var(--dur);
}
.service:hover { background: var(--green-tint); }

.service--featured {
  background: var(--ink);
  color: #fff;
}
.service--featured:hover { background: var(--ink-70); }
.service--featured .service__name { color: #fff; }
.service--featured .service__desc { color: rgba(255,255,255,0.65); }
.service--featured .service__num { color: var(--green-light); }
.service--featured .service__tags li { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }

.service--cta {
  background: var(--green-pale);
  align-items: flex-start;
  justify-content: center;
  gap: 1.25rem;
}
.service--cta:hover { background: #ddeee2; }
.service__cta-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green-deep);
  line-height: 1.3;
}

.service__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.service__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink-40);
}
.service__badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--green-pale);
  color: var(--green-bright);
  padding: 0.2em 0.65em;
  border-radius: var(--radius-pill);
}
.service__badge--warm { background: var(--warm-pale); color: var(--warm); }

.service__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}
.service__desc {
  font-size: 0.875rem;
  color: var(--ink-70);
  line-height: 1.6;
  flex: 1;
}
.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  list-style: none;
  margin-top: auto;
}
.service__tags li {
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--surface-2);
  color: var(--ink-70);
  padding: 0.2em 0.6em;
  border-radius: var(--radius-pill);
}

/* ── ÉQUIPE ── */
.team {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .team { grid-template-columns: 1fr 1fr; } }

.team__card {
  display: flex;
  gap: 1.25rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  transition: background var(--dur), border-color var(--dur);
}
.team__card:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }

.team__avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
}
.team__avatar--louiza   { background: var(--green-bright); }
.team__avatar--aurelia  { background: #5a8a6a; }
.team__avatar--nathalie { background: #4a7fa5; }
.team__avatar--maimouna { background: var(--warm); }
.team__avatar--lina      { background: #7a6abf; }

.team__body { display: flex; flex-direction: column; gap: 0.4rem; }
.team__body h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: #fff; }
.team__role { font-size: 0.75rem; font-weight: 600; color: var(--green-light); text-transform: uppercase; letter-spacing: 0.06em; }
.team__bio { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.team__chips { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.25rem; }
.team__chips span { font-size: 0.7rem; font-weight: 600; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); padding: 0.2em 0.6em; border-radius: var(--radius-pill); }

.team__footer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .team__footer { flex-direction: row; align-items: center; justify-content: space-between; }
}

.team__associate {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  flex: 1;
}
.team__associate-dot {
  width: 28px; height: 28px;
  background: var(--green-light);
  color: var(--green-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}
.team__associate p { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.55; }
.team__associate strong { color: #fff; }

.team__langs { display: flex; flex-direction: column; gap: 0.625rem; align-items: flex-end; flex-shrink: 0; }
.team__langs-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); }
.team__langs-list { display: flex; gap: 0.875rem; flex-wrap: wrap; justify-content: flex-end; }
.team__langs-list span { font-size: 0.825rem; font-weight: 600; color: rgba(255,255,255,0.7); }

/* ── APPROCHE ── */
.approche {
  display: grid;
  gap: 4rem;
  align-items: start;
}
@media (min-width: 900px) {
  .approche { grid-template-columns: 1fr 1.3fr; }
}

.approche__intro {
  font-size: 1.05rem;
  color: var(--ink-70);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 46ch;
}

.approche__right { display: flex; flex-direction: column; gap: 1.75rem; }
.approche__item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--ink-15);
}
.approche__item:last-child { border-bottom: none; padding-bottom: 0; }
.approche__icon {
  width: 32px; height: 32px;
  background: var(--green-pale);
  color: var(--green-bright);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.approche__item strong { display: block; font-size: 0.925rem; font-weight: 700; color: var(--ink); margin-bottom: 0.25rem; }
.approche__item p { font-size: 0.875rem; color: var(--ink-70); line-height: 1.6; }

/* Stats strip */
.stats {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--ink-15);
  border-bottom: 1px solid var(--ink-15);
  padding-block: 2rem;
  background: var(--surface);
}
.stats__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}
.stats__item { text-align: center; flex: 1; min-width: 100px; }
.stats__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--green-bright);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stats__label { font-size: 0.8rem; color: var(--ink-70); font-weight: 500; }
.stats__divider { width: 1px; height: 40px; background: var(--ink-15); }
@media (max-width: 640px) { .stats__divider { display: none; } }

/* ── CONTACT ── */
.contact {
  display: grid;
  gap: 4rem;
  align-items: start;
}
@media (min-width: 900px) {
  .contact { grid-template-columns: 1fr 1.3fr; }
}

.contact__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
  max-width: 42ch;
  line-height: 1.7;
}
.contact__infos { display: flex; flex-direction: column; gap: 1.25rem; }
.contact__info-item { display: flex; align-items: center; gap: 0.875rem; }
.contact__info-icon { font-size: 1rem; width: 32px; text-align: center; opacity: 0.6; }
.contact__info-item a { color: var(--green-light); font-size: 0.9rem; font-weight: 500; }
.contact__info-item a:hover { text-decoration: underline; }
.contact__info-item span { color: rgba(255,255,255,0.65); font-size: 0.875rem; }

.contact__form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 24px 60px rgba(17,24,19,0.25);
}
.contact__form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group label { font-size: 0.75rem; font-weight: 700; color: var(--ink-70); text-transform: uppercase; letter-spacing: 0.07em; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7em 1em;
  background: var(--surface-2);
  border: 1.5px solid var(--ink-15);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color var(--dur), box-shadow var(--dur);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px var(--green-pale);
  background: #fff;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-40); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.75rem; color: var(--ink-40); text-align: center; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem 2rem;
}
.form-success[hidden] { display: none; }
.form-success__icon {
  width: 56px; height: 56px;
  background: var(--green-pale);
  color: var(--green-bright);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 900;
}
.form-success h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.form-success p { font-size: 0.875rem; color: var(--ink-70); }

/* ── FOOTER ── */
.footer { background: var(--ink); }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 3.5rem;
}
@media (min-width: 768px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr; } }

.footer__logo { color: #fff; }
.footer__logo:hover { color: var(--green-light); }
.footer__brand p { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin-top: 1rem; max-width: 36ch; line-height: 1.6; }

.footer__nav h4, .footer__contact h4 {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35); margin-bottom: 1.25rem;
}
.footer__nav ul { display: flex; flex-direction: column; gap: 0.75rem; list-style: none; }
.footer__nav a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color var(--dur); }
.footer__nav a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__contact a { font-size: 0.875rem; color: var(--green-light); }
.footer__contact a:hover { text-decoration: underline; }
.footer__contact p { font-size: 0.825rem; color: rgba(255,255,255,0.4); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 1.25rem;
}
.footer__bottom .container { display: flex; justify-content: space-between; align-items: center; }
.footer__bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.theme-btn { opacity: 0.3; transition: opacity var(--dur); color: #fff; padding: 6px; }
.theme-btn:hover { opacity: 0.7; }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
