/* Aube Bureautique Conseil — feuille de style
   Palette dérivée du logo : marine, taupe, orange lever-de-soleil */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,400;0,500;0,600;1,500&family=Inter:wght@400;500;600&display=swap');

:root{
  --navy: #0B2A4A;
  --navy-deep: #081D34;
  --taupe: #8F8377;
  --taupe-light: #D8D2CB;
  --orange: #F2953F;
  --paper: #FBFAF8;
  --panel: #F1EFEA;
  --ink: #1B2129;
  --ink-soft: #4A5058;
  --rule: rgba(11,42,74,0.14);

  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --measure: 62ch;
}

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

html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

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

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

:focus-visible{
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header ---------- */

.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251,250,248,0.92);
  backdrop-filter: saturate(160%) blur(6px);
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  padding-bottom: 6px;
  gap: 24px;
}

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

.brand img{ height: clamp(76px, 9vw, 132px); width: auto; }

nav.main-nav{
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.main-nav a{
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
nav.main-nav a:hover{ color: var(--navy); }

.nav-cta{
  border: 1px solid var(--navy);
  border-radius: 4px;
  padding: 8px 16px;
  color: var(--navy) !important;
  font-weight: 500;
}
.nav-cta:hover{ background: var(--navy); color: var(--paper) !important; }

.nav-toggle{ display: none; }

/* ---------- Hero ---------- */

.hero{
  background: var(--navy);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.hero .wrap{
  padding-top: 92px;
  padding-bottom: 104px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-arc{
  position: absolute;
  right: -160px;
  bottom: -200px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(242,149,63,0.32), rgba(242,149,63,0) 65%);
  z-index: 0;
}

.hero-intro{
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.hero-photo{
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--orange);
  box-shadow: 0 0 0 8px rgba(242,149,63,0.14);
  flex-shrink: 0;
  margin-top: 6px;
}

.hero-copy{ min-width: 0; }

.hero-tag{
  color: var(--orange);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  margin: 0 0 18px;
  padding-left: 16px;
  border-left: 1px solid var(--orange);
}

.hero h1{
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3.05rem);
  line-height: 1.2;
  margin: 0 0 22px;
  max-width: 17ch;
}

.hero p.lede{
  font-size: 1.08rem;
  color: #D9DFE6;
  max-width: 46ch;
  margin: 0 0 32px;
}

.btn-row{ display: flex; gap: 16px; flex-wrap: wrap; }

.btn{
  display: inline-block;
  padding: 13px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary{ background: var(--orange); color: var(--navy-deep); }
.btn-primary:hover{ background: #ffab5f; }

.btn-ghost{ border: 1px solid rgba(251,250,248,0.4); color: var(--paper); }
.btn-ghost:hover{ border-color: var(--paper); }

.hero-panel{
  border: 1px solid rgba(251,250,248,0.22);
  border-radius: 6px;
  padding: 26px 28px;
  background: rgba(251,250,248,0.05);
}

.hero-panel dt{
  font-size: 0.82rem;
  color: var(--taupe-light);
  margin-top: 16px;
}
.hero-panel dt:first-child{ margin-top: 0; }
.hero-panel dd{
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 1.15rem;
}
.hero-panel dl{ margin: 0; }

/* ---------- Sections ---------- */

section{ padding: 84px 0; }

.section-head{
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 44px;
  border-left: 2px solid var(--orange);
  padding-left: 18px;
}

.section-head h2{
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  margin: 0;
  color: var(--navy);
}

.section-head p{
  margin: 0;
  color: var(--ink-soft);
  max-width: 40ch;
}

.panel-bg{ background: var(--panel); }

/* Services */

.services-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}

.service{ background: var(--paper); padding: 32px 28px; flex: 1 1 260px; }

.service-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--panel);
  color: var(--navy);
  margin-bottom: 14px;
}

.service-icon svg{ width: 15px; height: 15px; }

.service h3{
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 12px;
}

.service p{ margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* Approche */

.approche .wrap{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.approche p{ max-width: var(--measure); color: var(--ink-soft); }
.approche p + p{ margin-top: 16px; }

.stat-list{ list-style: none; margin: 0; padding: 0; }
.stat-list li{
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  font-size: 0.98rem;
}
.stat-list li:last-child{ border-bottom: 1px solid var(--rule); }
.stat-list span.figure{ font-family: var(--serif); color: var(--navy); font-size: 1.05rem; }

/* Étapes (séquence -> numérotation justifiée) */

.steps{ display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; }
.step{ position: relative; padding-top: 8px; }
.step .num{
  font-family: var(--serif);
  font-style: italic;
  color: var(--orange);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 10px;
}
.step h3{ font-size: 1.05rem; margin: 0 0 8px; color: var(--navy); font-weight: 600; }
.step p{ margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* Contact */

.contact .wrap{ display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }

.contact-card{
  background: var(--navy);
  color: var(--paper);
  border-radius: 6px;
  padding: 36px 34px;
}

.contact-card h3{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 24px;
}

.contact-line{ display: flex; flex-direction: column; gap: 3px; margin-bottom: 20px; }
.contact-line span.label{ font-size: 0.78rem; color: var(--taupe-light); }
.contact-line a, .contact-line span.value{
  font-family: var(--serif);
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--paper);
}
.contact-line a:hover{ color: var(--orange); }

.contact-note p{ color: var(--ink-soft); max-width: 42ch; }
.contact-note p + p{ margin-top: 14px; }

/* ---------- Footer ---------- */

footer{ border-top: 1px solid var(--rule); padding: 32px 0; }
footer .wrap{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
footer a{ text-decoration: none; color: var(--ink-soft); }
footer a:hover{ color: var(--navy); }

/* ---------- Mentions légales ---------- */

.legal .wrap{ max-width: 760px; padding-top: 64px; padding-bottom: 80px; }
.legal h1{ font-family: var(--serif); color: var(--navy); font-weight: 500; }
.legal h2{ font-family: var(--serif); color: var(--navy); font-size: 1.15rem; margin-top: 36px; }
.legal p{ color: var(--ink-soft); }
.legal a{ color: var(--navy); }
.back-link{ display: inline-block; margin-bottom: 28px; font-size: 0.9rem; color: var(--ink-soft); text-decoration: none; }
.back-link:hover{ color: var(--navy); }

/* ---------- Responsive ---------- */

@media (max-width: 860px){
  nav.main-nav{
    position: fixed;
    top: var(--header-h, 88px);
    left: 0; right: 0; bottom: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.2s ease;
  }
  nav.main-nav.open{ transform: translateX(0); }
  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--rule);
    border-radius: 4px;
    background: none;
    font-size: 1.1rem;
    cursor: pointer;
  }
  .hero .wrap{ grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 60px; }
  .hero-panel{ order: -1; }
  .hero-intro{ flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero-photo{ width: 150px; height: 150px; }
  .services-grid .service{ flex-basis: 100%; }
  .approche .wrap{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; gap: 28px; }
  .contact .wrap{ grid-template-columns: 1fr; }
  section{ padding: 56px 0; }
}
