/* ═══════════════════════════════════════════════
   Proprio Pilote — Feuille de style principale
   Palette : vert foncé professionnel + blanc
═══════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,600;0,9..144,800;0,9..144,900;1,9..144,600;1,9..144,800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ── Variables ── */
:root {
  --green:        #1D5534;
  --green-h:      #266842;
  --green-mid:    #2D7A4F;
  --green-accent: #52A878;
  --green-bg:     #EBF5EE;
  --green-xl:     #F4FAF5;
  --green-border: rgba(29,85,52,.18);

  --text:         #111111;
  --text-2:       #444444;
  --text-3:       #888888;
  --white:        #FFFFFF;
  --bg-alt:       #F7F9F7;
  --border:       #DEE8E0;

  --shadow-sm:    0 1px 4px rgba(0,0,0,.06);
  --shadow:       0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:    0 16px 48px rgba(0,0,0,.12);

  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    32px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 860px; margin: 0 auto; padding: 0 32px; }

/* ── Typography ── */
h1, h2, h3 { font-family: 'Fraunces', serif; letter-spacing: -.03em; line-height: 1.1; }
h1 { font-size: clamp(40px, 5.5vw, 72px); font-weight: 900; }
h2 { font-size: clamp(28px, 3.5vw, 48px); font-weight: 800; }
h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 700; }
p  { line-height: 1.75; }
em.accent { font-style: italic; color: var(--green); }

/* ── Section ── */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section--green { background: var(--green); color: var(--white); }
.section--green-bg { background: var(--green-bg); }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 16px;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--green); }
.section-label--white { color: rgba(255,255,255,.8); }
.section-label--white::before { background: rgba(255,255,255,.6); }

.section-title { margin-bottom: 16px; }
.section-intro {
  font-size: 18px; color: var(--text-2); max-width: 560px;
  line-height: 1.75;
}
.section-intro--center { margin: 0 auto; text-align: center; }
.section-intro--white { color: rgba(255,255,255,.75); }

.section-header { margin-bottom: 64px; }
.section-header--center { text-align: center; }
.section-header--center .section-intro { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 700; border-radius: 100px;
  padding: 13px 28px; border: 2px solid transparent;
  cursor: pointer; transition: all .22s ease; white-space: nowrap;
}
.btn--primary {
  background: var(--green); color: var(--white);
  border-color: var(--green);
}
.btn--primary:hover {
  background: var(--green-h); border-color: var(--green-h);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(29,85,52,.3);
}
.btn--outline {
  background: transparent; color: var(--green);
  border-color: var(--green-border);
}
.btn--outline:hover {
  background: var(--green-bg); border-color: var(--green);
}
.btn--white {
  background: var(--white); color: var(--green);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--green-xl); transform: translateY(-2px);
}
.btn--outline-white {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.1); border-color: var(--white);
}
.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn--sm { padding: 9px 20px; font-size: 13px; }

/* ── Tag / Pill ── */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 5px 12px;
  border-radius: 100px;
}
.tag--green { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.tag--orange { background: #FFF4E5; color: #C05700; border: 1px solid rgba(192,87,0,.2); }
.tag--white { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.25); }

/* ════════════════════════════════════
   NAVIGATION
════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav__logo img { height: 40px; width: auto; object-fit: contain; }
.nav__logo-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800; font-size: 20px; letter-spacing: -.04em;
}
.nav__logo-text .p1 { color: #3EDD4F; }
.nav__logo-text .p2 { color: var(--text); }
.nav__links {
  display: flex; align-items: center; gap: 4px;
}
.nav__links a {
  font-size: 15px; font-weight: 500; color: var(--text-2);
  padding: 8px 16px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--green); background: var(--green-xl); }
.nav__links a.active { color: var(--green); font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__phone {
  font-size: 14px; font-weight: 600; color: var(--text-2);
  display: flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.nav__phone:hover { color: var(--green); }

/* Hamburger */
.nav__hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav__hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all .3s;
}
.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
.nav__mobile {
  display: none; position: fixed; inset: 0; top: 72px;
  background: var(--white); z-index: 899;
  flex-direction: column; padding: 24px 32px; gap: 4px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 18px; font-weight: 600; color: var(--text);
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.nav__mobile .btn { margin-top: 16px; justify-content: center; }

/* ════════════════════════════════════
   PAGE HEADER
════════════════════════════════════ */
.page-header {
  background: var(--green);
  padding: 120px 0 72px;
  margin-top: 72px;
  position: relative; overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.15) 0%, transparent 60%);
  pointer-events: none;
}
.page-header__inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.7); transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.4); }
.page-header h1 { color: var(--white); margin-bottom: 16px; }
.page-header p { font-size: 18px; color: rgba(255,255,255,.75); max-width: 560px; line-height: 1.7; }

/* ════════════════════════════════════
   CARDS
════════════════════════════════════ */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 36px;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-4px);
  border-color: var(--green-border);
}
.card__icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--green-bg); display: flex; align-items: center;
  justify-content: center; font-size: 26px; margin-bottom: 20px;
  transition: background .3s;
}
.card:hover .card__icon { background: var(--green); }
.card:hover .card__icon .emoji { filter: brightness(0) invert(1); }
.card__title { margin-bottom: 10px; font-size: 20px; }
.card__desc { font-size: 15px; color: var(--text-2); line-height: 1.75; }
.card__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--green);
  transition: gap .2s;
}
.card__link:hover { gap: 10px; }

/* Image card */
.img-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.img-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.img-card__img {
  width: 100%; height: 220px; object-fit: cover;
  background: var(--green-bg);
}
.img-card__body { padding: 28px; }

/* ════════════════════════════════════
   FORM
════════════════════════════════════ */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--text-2); margin-bottom: 7px; letter-spacing: .01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--text);
  background: var(--white); outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(29,85,52,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 12px; color: var(--text-3); text-align: center;
  margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* ════════════════════════════════════
   TESTIMONIAL
════════════════════════════════════ */
.testi {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 32px;
  transition: border-color .3s, box-shadow .3s;
}
.testi:hover { border-color: var(--green-border); box-shadow: var(--shadow); }
.testi__stars { color: #F59E0B; font-size: 15px; margin-bottom: 16px; letter-spacing: 2px; }
.testi__text { font-size: 15px; color: var(--text-2); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testi__author { display: flex; gap: 12px; align-items: center; }
.testi__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: var(--white);
  font-family: 'Fraunces', serif; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.testi__name { font-size: 15px; font-weight: 700; }
.testi__loc { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ════════════════════════════════════
   FAQ ACCORDION
════════════════════════════════════ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; gap: 16px; text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; font-weight: 600; color: var(--text);
  transition: color .2s;
}
.faq-q:hover { color: var(--green); }
.faq-q__icon {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  background: var(--green-bg); border: 1px solid var(--green-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--green); line-height: 1;
  transition: transform .35s, background .25s;
}
.faq-item.open .faq-q__icon { transform: rotate(45deg); background: var(--green); color: var(--white); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s;
  font-size: 15px; color: var(--text-2); line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 24px; }

/* ════════════════════════════════════
   PROCESS STEPS
════════════════════════════════════ */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.steps::before {
  content: ''; position: absolute;
  top: 28px; left: 12.5%; right: 12.5%; height: 1px;
  background: linear-gradient(90deg, var(--green-border), var(--green-border));
}
.step { text-align: center; padding: 0 24px; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--green); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Fraunces', serif; font-size: 20px; font-weight: 700;
  color: var(--green); position: relative; z-index: 1;
  transition: background .3s, color .3s;
}
.step:hover .step__num { background: var(--green); color: var(--white); }
.step__title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step__desc { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.step__badge {
  display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--green); background: var(--green-bg);
  border: 1px solid var(--green-border); border-radius: 100px; padding: 4px 12px;
}

/* ════════════════════════════════════
   STATS BAND
════════════════════════════════════ */
.stats-band { padding: 72px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat {
  padding: 32px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat:last-child { border-right: none; }
.stat__val {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5vw, 64px); font-weight: 800;
  line-height: 1; color: var(--white); letter-spacing: -.04em; margin-bottom: 8px;
}
.stat__val em { font-style: normal; color: rgba(255,255,255,.55); font-size: .6em; }
.stat__label { font-size: 13px; color: rgba(255,255,255,.65); font-weight: 500; }

/* ════════════════════════════════════
   IMAGE UTILITIES
════════════════════════════════════ */
.img-rounded { border-radius: var(--radius-lg); overflow: hidden; }
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder {
  background: var(--green-bg); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 48px;
}

/* ════════════════════════════════════
   CTA BANNER
════════════════════════════════════ */
.cta-banner {
  background: var(--green); border-radius: var(--radius-xl);
  padding: 72px 64px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(255,255,255,.05), transparent);
  pointer-events: none;
}
.cta-banner__text h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner__text p { color: rgba(255,255,255,.75); font-size: 17px; max-width: 460px; line-height: 1.7; }
.cta-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ════════════════════════════════════
   CHECKLIST
════════════════════════════════════ */
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--text-2); line-height: 1.6;
}
.checklist li::before {
  content: '';
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px;
  border-radius: 50%; background: var(--green-bg);
  border: 1.5px solid var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D5534' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 13px; background-position: center; background-repeat: no-repeat;
}
.checklist--white li { color: rgba(255,255,255,.85); }
.checklist--white li::before {
  background-color: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}

/* ════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════ */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-reveal].visible { opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }
[data-reveal][data-delay="5"] { transition-delay: .5s; }

/* ════════════════════════════════════
   FLOATING CTA
════════════════════════════════════ */
.float-cta {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  opacity: 0; transform: translateY(16px) scale(.95);
  pointer-events: none;
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
}
.float-cta.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.footer {
  background: var(--green);
  padding: 72px 0 32px;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer__brand .footer__logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; margin-bottom: 16px;
}
.footer__brand .footer__logo img { height: 36px; filter: brightness(0) invert(1); }
.footer__logo-text { font-family: 'DM Sans', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -.04em; }
.footer__logo-text .p1 { color: #6EF07E; }
.footer__logo-text .p2 { color: rgba(255,255,255,.9); }
.footer__brand p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.75; max-width: 260px; }
.footer__socials { display: flex; gap: 10px; margin-top: 20px; }
.footer__soc {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: 15px; font-weight: 700;
  transition: background .2s, border-color .2s, color .2s;
}
.footer__soc:hover { background: rgba(255,255,255,.2); color: var(--white); }
.footer__col h6 {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 14px; color: rgba(255,255,255,.65); transition: color .2s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer__bottom p { font-size: 13px; color: rgba(255,255,255,.4); }
.footer__bottom a { font-size: 13px; color: rgba(255,255,255,.4); margin-left: 20px; transition: color .2s; }
.footer__bottom a:hover { color: rgba(255,255,255,.8); }

/* ════════════════════════════════════
   MARQUEE
════════════════════════════════════ */
.marquee {
  overflow: hidden; padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.marquee__track {
  display: flex; gap: 0;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee__track:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  display: flex; align-items: center; gap: 28px;
  padding: 0 28px; white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-3);
}
.marquee__item .sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid .stat:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .container, .container--narrow { padding: 0 20px; }
  .section { padding: 72px 0; }
  .nav__links, .nav__phone, .nav__actions .btn { display: none; }
  .nav__hamburger { display: flex; }
  .nav__actions .btn--primary { display: none; }
  .page-header { padding: 100px 0 56px; }
  .form-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 48px 32px; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 36px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat:last-child { border-bottom: none; }
}
