/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 68px;
  background: var(--blanc);
  border-bottom: 1px solid var(--gris-mid);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.08); }

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--bleu); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap; z-index: 1001;
}
.nav-logo span {
  color: var(--texte);
}
.nav-logo svg { height: 32px; width: auto; flex-shrink: 0; }
.nav-logo em { color: var(--ocre); font-style: normal; }

/* Desktop links */
.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  text-decoration: none; font-size: 0.86rem; font-weight: 500;
  color: var(--texte); padding: 6px 10px; border-radius: 6px;
  transition: color .2s, background .2s; white-space: nowrap;
}
.nav-links a:hover  { color: var(--bleu); background: var(--bleu-clair); }
.nav-links a.active { color: var(--bleu); font-weight: 600; }
.nav-cta {
  background: var(--bleu) !important; color: var(--blanc) !important;
  padding: 9px 16px !important; border-radius: 7px !important;
  font-weight: 600 !important; margin-left: 4px;
}
.nav-cta:hover { background: var(--bleu-fonce) !important; }

/* Burger — caché sur desktop */
.burger {
  display: none;
  flex-direction: column; justify-content: center;
  gap: 5px; cursor: pointer;
  width: 40px; height: 40px;
  border-radius: 8px; border: none;
  background: transparent; padding: 8px;
  z-index: 1001;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--texte); border-radius: 2px;
  transition: all .25s ease;
  transform-origin: center;
}

/* ── SECTIONS ── *//* ================================================================
   LES SECRETS DU PEINTRE — Style global partagé
   ================================================================ */

:root {
  --bleu:       #2D6B7F;
  --bleu-fonce: #1E4D5C;
  --bleu-clair: #EAF3F6;
  --ocre:       #C8A96E;
  --ocre-fonce: #B8955A;
  --gris-fond:  #fff8f0;
  --gris-mid:   #DDE5E8;
  --gris-texte: #4A5568;
  --gris-light: #8A9AA0;
  --texte:      #2C3338;
  --blanc:      #FFFFFF;
  --radius:     12px;
  --shadow:     0 4px 28px rgba(45,107,127,0.10);
  --shadow-sm:  0 2px 12px rgba(45,107,127,0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p  { line-height: 1.75; color: var(--gris-texte); }
a  { color: inherit; }

/* ── SECTIONS ── */
.section { padding: 90px 5%; }
.section-gray { background: var(--gris-fond); }

.section-label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--ocre); margin-bottom: 12px;
}
.section-header { max-width: 640px; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p  { font-size: 1.05rem; }
.section-header.center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ── BOUTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; text-decoration: none; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 0.9rem; border-radius: 8px;
  padding: 13px 26px; transition: all .2s; line-height: 1;
}
.btn-primary { background: var(--bleu); color: var(--blanc); }
.btn-primary:hover { background: var(--bleu-fonce); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(45,107,127,.3); }
.btn-loading { opacity: .75; cursor: not-allowed; pointer-events: none; }
.btn-loading::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin .7s linear infinite;
  flex-shrink: 0;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
.form-msg {
  border-radius: 10px; padding: 14px 18px;
  font-size: 0.92rem; margin-bottom: 20px;
  animation: fadeIn .3s ease;
}
.form-msg--ok  { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-msg--err { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.btn-outline { background: transparent; color: var(--bleu); border: 2px solid var(--bleu); }
.btn-outline:hover { background: var(--bleu); color: var(--blanc); }
.btn-white { background: var(--blanc); color: var(--bleu); }
.btn-white:hover { background: var(--bleu-clair); }
.btn-ocre { background: var(--ocre); color: var(--blanc); }
.btn-ocre:hover { background: var(--ocre-fonce); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 0.83rem; }
.btn-block { width: 100%; text-align: center; display: block; }

/* ── PAGE HERO ── */
.page-hero {
  margin-top: 68px;
  background: linear-gradient(135deg, var(--bleu-fonce) 0%, var(--bleu) 100%);
  padding: 72px 5%;
}
.page-hero .section-label { color: rgba(200,169,110,.9); }
.page-hero h1 { color: var(--blanc); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 560px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; margin-bottom: 20px; color: rgba(255,255,255,.5);
}
.breadcrumb a { text-decoration: none; color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: var(--blanc); }

/* ── FORMULAIRES ── */
.form-wrap {
  background: var(--blanc); border-radius: 16px; padding: 48px;
  border: 1px solid var(--gris-mid); box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.84rem; font-weight: 600; color: var(--texte); }
input, select, textarea {
  border: 1.5px solid var(--gris-mid); border-radius: 8px;
  padding: 11px 14px; font-family: 'Inter', sans-serif;
  font-size: 0.9rem; color: var(--texte); background: var(--blanc);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--bleu);
  box-shadow: 0 0 0 3px rgba(45,107,127,.1);
}
textarea { resize: vertical; min-height: 130px; }
.form-submit { text-align: center; margin-top: 16px; }

/* ── ÉTAPES ── */
.steps { list-style: none; display: flex; flex-direction: column; }
.step { display: flex; align-items: flex-start; gap: 18px; padding-bottom: 28px; position: relative; }
.step:not(:last-child)::after {
  content: ''; position: absolute;
  left: 15px; top: 34px; bottom: 0; width: 2px;
  background: var(--bleu-clair);
}
.step-num {
  flex-shrink: 0; width: 32px; height: 32px;
  background: var(--bleu); color: var(--blanc);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; z-index: 1;
}
.step-body strong { display: block; font-size: 0.95rem; margin-bottom: 4px; color: var(--texte); }
.step-body p { font-size: 0.87rem; }

/* ── AVIS ── */
.avis-stars { color: var(--ocre); font-size: 0.95rem; margin-bottom: 12px; }
.avis-text  { font-size: 0.92rem; line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.avis-author { display: flex; align-items: center; gap: 12px; }
.avis-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff8f0; color: var(--bleu);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem; flex-shrink: 0;
}
.avis-name     { font-weight: 600; font-size: 0.88rem; }
.avis-location { font-size: 0.77rem; color: var(--gris-light); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
footer { background: var(--texte); color: rgba(255,255,255,.65); padding: 64px 5% 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h3 { font-family: 'Playfair Display', serif; color: var(--blanc); font-size: 1.15rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.87rem; line-height: 1.7; color: rgba(255,255,255,.5); max-width: 280px; }
.footer-col h4 { color: var(--blanc); font-size: 0.88rem; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li { font-size: 0.87rem; color: rgba(255,255,255,.5); }
.footer-col ul li a { text-decoration: none; color: rgba(255,255,255,.5); font-size: 0.87rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--ocre); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.79rem; flex-wrap: wrap; gap: 8px; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-link { width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--blanc); font-size: 0.78rem; font-weight: 700; transition: background .2s; }
.social-link:hover { background: var(--bleu); }

/* ── CTA FIXE ── */
.cta-fixe {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  background: var(--ocre); color: var(--blanc);
  padding: 13px 22px; border-radius: 50px;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.88rem;
  text-decoration: none; box-shadow: 0 6px 28px rgba(200,169,110,.45);
  display: flex; align-items: center; gap: 7px; transition: all .25s;
}
.cta-fixe:hover { background: var(--ocre-fonce); transform: translateY(-2px); }



/* ── NOS VALEURS (section 3 grandes cartes) ── */
.nosvaleurs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 8px;
}
.nosvaleur-card {
  background: var(--blanc); border-radius: 16px;
  padding: 40px 32px; border: 1px solid var(--gris-mid);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.nosvaleur-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.nosvaleur-icon {
  width: 96px; height: 96px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
}
.nosvaleur-icon img { width: 80px; height: 80px; object-fit: contain; }
.nosvaleur-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 400;
  color: var(--texte); margin-bottom: 14px; line-height: 1.4;
}
.nosvaleur-body h3 strong { font-weight: 700; color: var(--bleu); }
.nosvaleur-body p { font-size: 0.88rem; line-height: 1.75; color: var(--gris-texte); }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {

  .burger { display: flex; }

  /* Cache les liens desktop */
  .nav-links {
    /* Reset desktop styles */
    display: block;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--blanc);
    border-bottom: 3px solid var(--bleu);
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
    padding: 8px 0 16px;
    z-index: 999;
    /* Caché par défaut */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }

  /* Ouvert */
  .nav-links.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links li {
    display: block;
    border-bottom: 1px solid var(--gris-mid);
    margin: 0;
  }
  .nav-links li:last-child { border-bottom: none; padding: 12px 20px 0; }

  .nav-links a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px;
    font-size: 1rem; font-weight: 500;
    color: var(--texte);
    border-radius: 0;
    white-space: normal;
    background: transparent !important;
  }
  .nav-links a:hover { color: var(--bleu); background: var(--bleu-clair) !important; }
  .nav-links a.active { color: var(--bleu); font-weight: 600; background: var(--bleu-clair) !important; }
  .nav-links a::after {
    content: '›'; font-size: 1.2rem; color: var(--gris-light);
  }

  /* CTA */
  .nav-cta {
    display: block !important;
    background: var(--bleu) !important; color: var(--blanc) !important;
    padding: 14px 20px !important; border-radius: 8px !important;
    font-weight: 700 !important; text-align: center; margin: 0 !important;
  }
  .nav-cta::after { display: none !important; }
  .nav-cta:hover { background: var(--bleu-fonce) !important; }

  /* Burger animé en ✕ */
  .burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  /* Overlay */
  .nav-overlay {
    display: none;
    position: fixed; inset: 0; top: 68px;
    background: rgba(0,0,0,.4);
    z-index: 998;
  }
  .nav-overlay.open { display: block; }

  .nosvaleurs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  .section { padding: 64px 5%; }
  .form-wrap { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 56px 5%; }
  .cta-fixe { bottom: 16px; right: 16px; padding: 11px 17px; font-size: 0.82rem; }
}
