@font-face {
  font-family: "Adventor";
  src: url("fonts/texgyreadventor-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --olive: #898d46;
  --brown: #89513a;
  --ink: #222;
  --accent: #f05f40;
  --accent-dark: #eb3812;
  --btn-olive: #404417;
  --btn-olive-hover: #555a1f;
  --faded: rgba(255, 255, 255, 0.7);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Adventor, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { font-weight: normal; line-height: 1.2; margin: 0 0 0.5em; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }
h2 small { display: block; font-size: 18px; line-height: 26px; }
p { margin: 0 0 20px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); transition: color 0.35s; }
a:hover, a:focus { color: var(--accent-dark); }

hr {
  max-width: 50px;
  margin: 20px auto;
  border: 0;
  border-top: 3px solid var(--ink);
}
hr.light { border-color: #fff; margin-bottom: 50px; }

section { padding: 100px 0; }
section[id] { scroll-margin-top: 50px; }

.container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.narrow { max-width: 800px; }
.center { text-align: center; }
.faded { color: var(--faded); }

.bg-olive { background: var(--olive); color: #fff; }
.bg-brown { background: var(--brown); color: #fff; }
.bg-olive hr, .bg-brown hr { border-color: #fff; }
.bg-olive a, .bg-brown a { color: #fff; }
.bg-olive a:hover, .bg-brown a:hover { color: var(--faded); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border: 0;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.35s;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-olive { background: var(--btn-olive); color: #fff; }
.btn-dark:hover, .btn-dark:focus,
.btn-olive:hover, .btn-olive:focus { background: var(--btn-olive-hover); color: #fff; }

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 15px;
  min-height: 50px;
  background: #fff;
  border-bottom: 1px solid rgba(34, 34, 34, 0.05);
  text-transform: uppercase;
  transition: background-color 0.35s;
}
.nav a { text-decoration: none; }
.nav-brand { font-size: 17px; color: var(--accent); padding: 12px 0; }
.nav-brand:hover { color: var(--accent-dark); }
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  width: 100%;
}
.nav-menu a { display: block; padding: 10px 15px; font-size: 13px; color: var(--ink); }
.nav-menu a:hover { color: var(--accent); }
.nav.open .nav-menu { display: block; }
.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 36px;
  padding: 8px 10px;
  background: #ddd;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: #888;
}

@media (min-width: 768px) {
  .nav { background: transparent; border-color: transparent; flex-wrap: nowrap; }
  .nav-brand { color: var(--faded); }
  .nav-brand:hover { color: #fff; }
  .nav-toggle { display: none; }
  .nav-menu { display: flex; width: auto; margin-left: auto; }
  .nav-menu a { padding: 15px; color: var(--faded); }
  .nav-menu a:hover { color: #fff; }
  .nav.scrolled { background: #fff; border-color: rgba(34, 34, 34, 0.05); }
  .nav.scrolled .nav-brand { font-size: 14px; color: var(--ink); }
  .nav.scrolled .nav-brand:hover { color: var(--accent-dark); }
  .nav.scrolled .nav-menu a { color: var(--ink); }
  .nav.scrolled .nav-menu a:hover { color: var(--accent); }
}

/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 100px 15px;
  text-align: center;
  color: #fff;
  background: url("img/header.webp") center / cover no-repeat #2b3a2a;
}
.hero-inner { max-width: 1000px; }
.hero h1 {
  margin: 0 0 60px;
  text-transform: uppercase;
  font-size: clamp(35px, 6vw, 65px);
  font-weight: bold;
}
.hero p {
  max-width: 80%;
  margin: 0 auto 50px;
  font-size: 18px;
  color: var(--faded);
}

/* Two-column image + text */
.split { display: grid; gap: 30px; align-items: start; }
.split img { width: 100%; max-width: 420px; margin: 0 auto; }
.split .portrait { max-width: 218px; }
.contact .portrait { margin-top: 20px; }
@media (min-width: 992px) {
  .split { grid-template-columns: 1fr 2fr; }
  .contact { grid-template-columns: 1fr 1.5fr; max-width: 970px; }
}

.grid-2 { display: grid; gap: 30px; }
@media (min-width: 992px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

blockquote {
  margin: 0 0 20px;
  padding: 10px 20px;
  border-left: 5px solid #eee;
  font-size: 17.5px;
}

/* Massages: photo + text */
.massages { display: grid; padding: 0; }
.massages-photo {
  min-height: 300px;
  background: url("img/bg-1.webp") center / cover no-repeat;
}
.massages-text { padding: 50px; text-align: center; }
@media (min-width: 992px) {
  .massages { grid-template-columns: 5fr 7fr; }
  .massages-photo { min-height: 100%; }
  .massages-text { padding: 60px 50px; }
}

.banner { width: 100%; background: var(--olive); }

/* Call to action */
.cta {
  padding: 100px 15px;
  text-align: center;
  color: #fff;
  background: url("img/bg-2.webp") center / cover no-repeat var(--olive);
}
.cta h2 { margin-bottom: 40px; }

/* Ateliers */
.card {
  background: #fff;
  color: var(--ink);
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 20px 25px;
}
.card h3 { font-size: 18px; }
.card p { margin: 0; }

/* Témoignages */
.quotes figure { margin: 0; padding: 20px; text-align: center; }
.quotes blockquote { border: 0; padding: 0; font-size: 16px; }
.quotes figcaption { font-size: 85%; color: var(--faded); }

/* Contact */
address { font-style: normal; margin-bottom: 20px; line-height: 1.6; }
.tel { font-size: 20px; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.social { display: flex; gap: 20px; }
.social a:hover { color: var(--faded); }

/* Footer */
.footer {
  padding: 40px 15px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  color: var(--faded);
  background: var(--btn-olive);
}
.footer p { margin: 0; }
.footer strong { color: #fff; }
.footer a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); }
.footer a:hover { text-decoration-color: #fff; }
.footer .copyright { margin-top: 14px; font-size: 12px; }
