:root {
  --white: #FFFFFF;
  --paper: #F6F7FA;
  --ink: #0F2C4C;
  --teal: #0E7DA0;
  --teal-light: #17B5D0;
  --coral: #E15A2E;
  --coral-light: #FC7C4C;
  --purple: #7A3F86;
  --line: #E2E5EA;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* Navigation */

nav.site-nav {
  border-bottom: 1px solid var(--line);
  position: relative;
}

nav.site-nav::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, #0768B0, #17B5D0, #7A3F86, #FC7C4C);
}

nav.site-nav .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

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

.nav-brand img {
  height: 34px;
  width: auto;
  display: block;
}

.nav-brand span {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}

.nav-links a:hover { border-bottom-color: var(--line); }
.nav-links a.active { border-bottom-color: var(--coral); }
.nav-links a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Hero (home page) */

header.hero {
  padding: 72px 0 64px;
  opacity: 0;
  animation: rise 0.9s ease-out forwards;
}

.hero-icon {
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: 28px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

h1 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(32px, 5.2vw, 48px);
  line-height: 1.18;
  margin: 0 0 24px;
  max-width: 22ch;
}

.lede {
  font-size: 19px;
  max-width: 46ch;
  color: #3C4A43;
  font-style: italic;
  margin: 0;
}

/* Interior page headers */

header.page-header {
  padding: 56px 0 40px;
}

header.page-header h1 { font-size: clamp(28px, 4.4vw, 40px); }

/* Quote block */

.quote-block {
  padding: 48px 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(23, 181, 208, 0.07), rgba(122, 63, 134, 0.07));
  border-radius: 4px;
}

.quote-block p {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(24px, 3.8vw, 34px);
  line-height: 1.35;
  color: var(--coral);
  margin: 0;
  max-width: 30ch;
}

/* Sections */

section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }

h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 32px;
}

.service {
  margin: 0 0 32px;
  padding-left: 20px;
  border-left: 2px solid var(--teal-light);
}

.service:last-child { margin-bottom: 0; }

.service h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 6px;
}

.service p {
  margin: 0;
  color: #445048;
  max-width: 54ch;
}

.approche p { max-width: 58ch; margin: 0 0 20px; }
.approche p:last-child { margin-bottom: 0; }

.values {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
}

.values li {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--purple);
  font-size: 17px;
}

.text-link {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

.text-link:hover { text-decoration-color: var(--teal); }

/* Contact */

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.contact-links a {
  display: inline-block;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 3px;
  font-weight: 500;
  font-size: 15px;
  transition: opacity 0.15s ease;
}

.contact-links a:hover { opacity: 0.85; }
.contact-links a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.btn-primary { background: var(--ink); color: var(--white); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

/* Footer */

footer.site-footer {
  padding: 40px 0 64px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.fine-print { font-size: 13px; color: #7A7264; margin: 0; }

.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 14px; color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--coral); }

@media (prefers-reduced-motion: reduce) {
  header.hero { animation: none; opacity: 1; }
}

@media (max-width: 560px) {
  header.hero { padding: 56px 0 40px; }
  header.page-header { padding: 40px 0 32px; }
  section { padding: 48px 0; }
}
