/* ==========================================================================
   Nova Sud Livraison — feuille de style
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700;800&display=swap');

:root {
  --stone:        #F6F3EE;
  --stone-deep:   #EDE7DC;
  --ink:          #1C2321;
  --ink-soft:     #4A5250;
  --navy:         #16324F;
  --navy-deep:    #0F2338;
  --brass:        #A9793C;
  --brass-light:  #C79A5E;
  --line:         rgba(28, 35, 33, 0.12);

  --font-display: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1120px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

a {
  color: inherit;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- En-tête ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--stone);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
}

.brand-mark circle {
  fill: var(--brass);
}

.brand-mark rect {
  fill: var(--stone);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: 'Jost', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-deep);
}

.brand-tagline {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}

.site-nav {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--navy-deep);
  border-bottom-color: var(--brass);
}

.site-nav a[aria-current="page"] {
  color: var(--navy-deep);
  border-bottom-color: var(--brass);
}

.nav-toggle {
  display: none;
}

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

.hero {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: block;
  max-width: 62ch;
}

.hero-eyebrow {
  font-size: 0.95rem;
  color: var(--brass);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  color: var(--navy-deep);
  max-width: 15ch;
}

.hero p.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 1.6rem;
  border-radius: 2px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--navy-deep);
  color: var(--stone);
  border: 1px solid var(--navy-deep);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--navy);
}

.btn-secondary {
  background: transparent;
  color: var(--navy-deep);
  border: 1px solid var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--navy-deep);
}


/* ---------- Bandeau de confiance ---------- */

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--stone-deep);
}

.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2.5rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.trust-strip strong {
  color: var(--navy-deep);
  font-weight: 600;
}

/* ---------- Parcours en trois temps (accueil) ---------- */

.journey {
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.section-head {
  max-width: 56ch;
  margin-bottom: clamp(2.4rem, 5vw, 3.2rem);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--navy-deep);
  margin: 0 0 0.75rem;
}

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

.journey-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.journey-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.6rem, 3vw, 2.2rem) 0;
  border-bottom: 1px solid var(--line);
}

.journey-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brass);
  line-height: 1;
}

.journey-item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--navy-deep);
}

.journey-item p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ---------- Bloc citation / réassurance ---------- */

.reassurance {
  background: var(--navy-deep);
  color: var(--stone);
}

.reassurance .wrap {
  padding-top: clamp(3.2rem, 6vw, 4.5rem);
  padding-bottom: clamp(3.2rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.reassurance blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.35;
}

.reassurance blockquote cite {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.92rem;
  color: var(--brass-light);
}

.reassurance-points {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border-left: 1px solid rgba(246, 243, 238, 0.2);
  padding-left: clamp(1.5rem, 3vw, 2rem);
}

.reassurance-points p {
  margin: 0;
  color: rgba(246, 243, 238, 0.85);
  font-size: 0.98rem;
}

/* ---------- Appel à l'action final ---------- */

.cta-band {
  padding-top: clamp(3.5rem, 7vw, 5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy-deep);
  margin: 0 0 1rem;
}

.cta-band p {
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto 1.8rem;
}

/* ---------- Pied de page ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--stone-deep);
}

.site-footer .wrap {
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h4 {
  font-size: 0.85rem;
  text-transform: none;
  color: var(--navy-deep);
  margin: 0 0 0.8rem;
}

.site-footer p,
.site-footer a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0 0 0.4rem;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--navy-deep);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding-top: 1.4rem;
  margin-top: 1.6rem;
  grid-column: 1 / -1;
}

/* ---------- Page Services ---------- */

.page-header {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.page-header .hero-eyebrow {
  margin-bottom: 0.9rem;
}

.page-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--navy-deep);
  margin: 0 0 1rem;
  max-width: 22ch;
}

.page-header p.lede {
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0;
  font-size: 1.05rem;
}

.service-block {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}

.service-block .wrap {
  display: grid;
  grid-template-columns: 5rem 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.service-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--brass);
  line-height: 1;
}

.service-block h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--navy-deep);
  margin: 0 0 1rem;
  max-width: 16ch;
}

.service-detail p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.service-detail ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-detail li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
}

.service-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 1px;
  background: var(--brass);
}

/* ---------- Page Contact ---------- */

.contact-section {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.contact-section .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.contact-info h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  color: var(--navy-deep);
  margin: 0 0 1rem;
  max-width: 16ch;
}

.contact-info p.lede {
  color: var(--ink-soft);
  margin: 0 0 2rem;
  max-width: 40ch;
}

.contact-detail {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  margin-bottom: 1.2rem;
}

.contact-detail h3 {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0 0 0.35rem;
  font-weight: 500;
}

.contact-detail p,
.contact-detail a {
  margin: 0;
  color: var(--navy-deep);
  text-decoration: none;
  font-size: 1.02rem;
}

.contact-detail a:hover,
.contact-detail a:focus-visible {
  color: var(--brass);
}

form.contact-form {
  background: var(--stone-deep);
  border: 1px solid var(--line);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.form-row {
  margin-bottom: 1.3rem;
}

.form-row label {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--stone);
  color: var(--ink);
  border-radius: 2px;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--brass);
}

.form-row textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: -0.4rem;
  margin-bottom: 1.4rem;
}

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

@media (max-width: 820px) {
  .hero .wrap,
  .reassurance .wrap,
  .contact-section .wrap {
    grid-template-columns: 1fr;
  }

  .journey-item,
  .service-block .wrap {
    grid-template-columns: 3rem 1fr;
  }

  .service-block .wrap {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  .service-num {
    grid-column: 1;
  }

  .site-footer .wrap {
    grid-template-columns: 1fr 1fr;
  }

  .form-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-nav {
    gap: 1rem;
  }

  .site-footer .wrap {
    grid-template-columns: 1fr;
  }
}
