/* ============================================
   BAKI Conseils — Feuille de style
   Palette : bleu marine / blanc, accent bronze
   ============================================ */

:root {
  --navy-900: #0b1f3a;
  --navy-800: #12294d;
  --navy-700: #1c3a63;
  --ink: #1b1f27;
  --ink-soft: #4a5262;
  --paper: #ffffff;
  --paper-soft: #f6f7fa;
  --line: #e3e6ec;
  --accent: #b08d57;
  --accent-dark: #8f7143;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-w: 1120px;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 31, 58, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin: 0 0 0.9em;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: 0.85em 1.8em;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--navy-900);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-700);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-ghost:hover {
  background: var(--navy-900);
  color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy-900);
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-link:hover,
.nav-link.active {
  border-color: var(--accent);
  color: var(--navy-900);
}
.nav-cta {
  border: 1px solid var(--navy-900);
  border-radius: var(--radius);
  padding: 8px 16px;
}
.nav-cta:hover {
  background: var(--navy-900);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--paper-soft) 0%, var(--paper) 100%);
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-inner { max-width: 760px; position: relative; z-index: 1; }
.hero-lead {
  font-size: 1.15rem;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 1.6em;
  flex-wrap: wrap;
}

/* ---------- Sections génériques ---------- */
.section {
  padding: 88px 0;
}
.section-alt {
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-lead {
  max-width: 680px;
  font-size: 1.05rem;
}

/* ---------- Portrait / photo ---------- */
.portrait-block {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 40px 0 48px;
  padding: 28px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.portrait-frame {
  flex: 0 0 140px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait-placeholder {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  text-align: center;
  padding: 0 10px;
}
.portrait-text { flex: 1; }
.portrait-text p { margin: 0; }

/* ---------- Grille expertise ---------- */
.expertise-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.expertise-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.expertise-icon {
  width: 38px;
  height: 38px;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.expertise-card-accent .expertise-icon { color: #fff; }
.expertise-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4em;
}
.expertise-card p { margin: 0; font-size: 0.94rem; }
.expertise-card-accent {
  background: var(--navy-900);
  border-color: var(--navy-900);
}
.expertise-card-accent h3,
.expertise-card-accent p { color: #fff; }
.expertise-card-accent p { color: rgba(255,255,255,0.78); }

/* ---------- Offre ---------- */
.offer-card {
  max-width: 620px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-top: 36px;
}
.offer-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.offer-card-header h3 { margin: 0; }
.offer-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0;
}
.offer-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.offer-list li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink);
}
.offer-list li:last-child { border-bottom: none; }
.offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.offer-other {
  max-width: 680px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.offer-other h3 { margin-bottom: 0.4em; }
.offer-other p { margin: 0; }

/* ---------- Contact ---------- */
.form-success {
  background: #eef6ee;
  border: 1px solid #b9dcb9;
  color: #2c5c2c;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-weight: 500;
  margin: 24px 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  margin-top: 36px;
  align-items: start;
}
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--navy-900);
}
.form-row .optional {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper-soft);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  background: var(--paper);
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-info h3 { margin-bottom: 0.6em; }
.contact-info a {
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}
.contact-note { font-size: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.75);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}
.footer-inner a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

/* ---------- Page mentions légales ---------- */
.legal-section h2 {
  font-size: 1.25rem;
  margin-top: 1.6em;
}
.legal-section p { max-width: 720px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav.open { max-height: 320px; }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
  }
  .nav-link { width: 100%; padding: 10px 0; }
  .nav-cta { width: 100%; text-align: center; }

  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  .portrait-block { flex-direction: column; text-align: center; }
  .offer-card { padding: 28px; }
}
