/* Trust Your Skills — feuille de style
   Polices auto-hébergées (aucun appel à Google Fonts). */

@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #f8f4ee;
  --paper-2: #f0e9df;
  --ink: #2b2420;
  --ink-soft: #5e534c;
  --line: #e2d8cb;
  --accent: #a8441c;        /* terre cuite, reprise de la couleur de l'ancien site */
  --accent-dark: #85330f;
  --night: #221d1a;
  --night-ink: #efe7dc;
  --serif: "Cormorant", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --radius: 4px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 1.0625rem/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
strong { font-weight: 500; color: var(--ink); }
p { margin: 0 0 1.1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { left: -9999px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Typo ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.005em; }
h2 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: .6em; }
h3 { font-size: 1.55rem; }
.kicker { font: 500 .75rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; }
.lead { font-family: var(--serif); font-size: 1.5rem; line-height: 1.45; color: var(--ink); font-weight: 500; }
.lead strong { font-weight: 600; }

/* ---------- Boutons ---------- */
.btn { text-shadow: none; display: inline-block; font: 500 .9rem/1 var(--sans); letter-spacing: .04em; padding: 16px 26px; border-radius: var(--radius); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ---------- En-tête ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(248,244,238,.94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.scrolled .brand { color: var(--ink); }
.brand-mark { position: relative; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--accent); display: grid; place-items: center; flex: none; }
.brand-mark span { font: 600 .8rem/1 var(--sans); letter-spacing: .06em; color: #fff; }
.brand-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.brand-mark img.missing { display: none; }
.brand-text { font: 500 1.35rem/1 var(--serif); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: rgba(255,255,255,.9); text-decoration: none; font-size: .88rem; font-weight: 400; letter-spacing: .02em; }
.nav a:hover { color: #fff; }
.scrolled .nav a { color: var(--ink-soft); }
.scrolled .nav a:hover, .scrolled .nav a.active { color: var(--accent); }
.nav a.nav-cta { border: 1px solid rgba(255,255,255,.6); padding: 9px 16px; border-radius: var(--radius); }
.scrolled .nav a.nav-cta { border-color: var(--accent); color: var(--accent); }
.scrolled .nav a.nav-cta:hover { background: var(--accent); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle .bar { display: block; height: 1.5px; background: #fff; margin: 6px 0; transition: transform .25s; }
.scrolled .nav-toggle .bar, .menu-open .nav-toggle .bar { background: var(--ink); }
.menu-open .nav-toggle .bar:nth-child(2) { transform: translateY(3.75px) rotate(45deg); }
.menu-open .nav-toggle .bar:nth-child(3) { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,14,.78) 0%, rgba(20,16,14,.35) 14%, rgba(20,16,14,.12) 42%, rgba(20,16,14,.55) 70%, rgba(20,16,14,.85) 100%),
    url("img/hero.jpg") center 30% / cover no-repeat,
    radial-gradient(ellipse at 70% 30%, #4a3a30 0%, #221d1a 70%);
  background:
    linear-gradient(180deg, rgba(20,16,14,.78) 0%, rgba(20,16,14,.35) 14%, rgba(20,16,14,.12) 42%, rgba(20,16,14,.55) 70%, rgba(20,16,14,.85) 100%),
    image-set(url("img/hero.webp") type("image/webp"), url("img/hero.jpg") type("image/jpeg")) center 30% / cover no-repeat,
    radial-gradient(ellipse at 70% 30%, #4a3a30 0%, #221d1a 70%);
  transform: scale(1.03);
}
.hero-inner, .site-header:not(.scrolled) .brand, .site-header:not(.scrolled) .nav a { text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.hero-inner { position: relative; width: 100%; padding-top: 140px; padding-bottom: 9vh; }
@media (max-width: 900px) { .site-header:not(.scrolled) { background: linear-gradient(180deg, rgba(20,16,14,.7), rgba(20,16,14,0)); } }
.hero .eyebrow { font: 500 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .85; margin-bottom: 1.4rem; }
.hero h1 { color: #fff; font-size: clamp(3.4rem, 10vw, 7.5rem); line-height: .95; margin: 0 0 .2em; font-weight: 500; }
.hero-sub { font: italic 500 clamp(1.5rem, 3vw, 2.2rem)/1.2 var(--serif); margin-bottom: 2.4rem; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 1.4rem; font-size: .88rem; opacity: .75; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--night); color: var(--night-ink); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .kicker { color: #e08a5f; }

.needs { list-style: none; padding: 0; margin: 0 0 1.6em; }
.needs li { position: relative; padding-left: 28px; margin-bottom: .9em; }
.needs li::before { content: ""; position: absolute; left: 0; top: .78em; width: 14px; height: 1px; background: var(--accent); }

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 88px); align-items: start; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 40px); }
.card-feature { box-shadow: 0 20px 50px -30px rgba(60,40,25,.35); }
.card-feature h3 { font-size: 1.7rem; margin-bottom: 1.2rem; }
.facts { margin: 0 0 1.8rem; }
.facts div { padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { font: 500 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.facts dd { margin: 0; font-size: .97rem; line-height: 1.6; }

/* Axes d'intervention */
.axes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 3rem; }
.axe { background: var(--paper); padding: 34px 26px 30px; transition: background .25s; }
.axe:hover { background: #fff; }
.axe-num { font: italic 500 1.3rem/1 var(--serif); color: var(--accent); display: block; margin-bottom: 1.6rem; }
.axe h3 { font-size: 1.4rem; margin-bottom: .55em; }
.axe p { font-size: .93rem; color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* Bénéfices */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); margin-top: 1rem; }
.benefit-col h3 { font-size: 1.9rem; padding-bottom: .7rem; border-bottom: 1px solid rgba(239,231,220,.2); margin-bottom: .4rem; }
.benefit-col ul { list-style: none; margin: 0; padding: 0; }
.benefit-col li { padding: 14px 0 14px 30px; border-bottom: 1px solid rgba(239,231,220,.1); position: relative; }
.benefit-col li::before { content: "→"; position: absolute; left: 0; color: #e08a5f; font-family: var(--sans); }

/* Qui suis-je */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.portrait { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.portrait-frame { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #d9c8b6, #b89a80); border-radius: var(--radius); overflow: hidden; }
.portrait-frame::after { content: "MP"; position: absolute; inset: 0; display: grid; place-items: center; font: 500 4rem/1 var(--serif); color: rgba(255,255,255,.7); }
.portrait-frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.portrait-frame img.missing { display: none; }
.portrait figcaption { margin-top: 18px; font: 500 1.4rem/1.2 var(--serif); }
.portrait figcaption span { font: 400 .8rem/1.8 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* Témoignages */
.quotes { columns: 3 300px; column-gap: 24px; margin-top: 1rem; }
.quote { break-inside: avoid; margin: 0 0 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px 28px; position: relative; }
.quote::before { content: "\201C"; position: absolute; top: 6px; left: 24px; font: 500 4.4rem/1 var(--serif); color: var(--accent); opacity: .35; }
.quote blockquote { margin: 0 0 1.4rem; }
.quote blockquote p { font: 500 1.2rem/1.5 var(--serif); margin: 0; }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); padding-top: 14px; font-size: .9rem; }
.quote figcaption span { color: var(--ink-soft); font-size: .82rem; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { display: flex; flex-direction: column; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list span { font: 500 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.contact-list a { font: 500 1.35rem/1.3 var(--serif); color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--accent); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: 0 20px 50px -34px rgba(60,40,25,.35); }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label, .form legend { display: block; font-size: .82rem; font-weight: 500; margin-bottom: 8px; color: var(--ink); padding: 0; }
.opt { font-weight: 300; color: var(--ink-soft); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea {
  width: 100%; font: 400 1rem/1.5 var(--sans); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px;
  transition: border-color .2s, background .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.form textarea { resize: vertical; min-height: 140px; }
.form [aria-invalid="true"] { border-color: #b3261e; }
.choices { display: flex; gap: 24px; flex-wrap: wrap; }
.choices label { display: flex; align-items: center; gap: 8px; font-weight: 300; font-size: .95rem; margin: 0; cursor: pointer; }
.choices input { accent-color: var(--accent); width: 16px; height: 16px; }
.privacy { font-size: .8rem; color: var(--ink-soft); line-height: 1.55; margin: 4px 0 20px; }
.form .btn { width: 100%; padding: 18px; font-size: .95rem; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.form-status { margin: 16px 0 0; font-size: .92rem; min-height: 1.4em; }
.form-status.ok { color: #2f6b3a; }
.form-status.err { color: #b3261e; }

/* Pied de page */
.site-footer { background: var(--night); color: rgba(239,231,220,.7); font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 28px; padding-bottom: 28px; }
.footer-inner p { margin: 0; }
.site-footer strong { color: #fff; font-weight: 500; }
.site-footer a { color: rgba(239,231,220,.85); }

/* Apparition douce au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .axes { grid-template-columns: 1fr 1fr; }
  .nav { gap: 18px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; position: relative; z-index: 60; }
  .nav {
    position: fixed; inset: 0; background: var(--paper); flex-direction: column; justify-content: center; gap: 6px;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav a, .scrolled .nav a { color: var(--ink); font: 500 1.9rem/1.6 var(--serif); }
  .nav a.nav-cta, .scrolled .nav a.nav-cta { border: 0; padding: 0; color: var(--accent); }
  .menu-open .brand { color: var(--ink); position: relative; z-index: 60; }
  .split, .about, .contact { grid-template-columns: 1fr; }
  .portrait { position: static; max-width: 380px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 20px; }
  .axes, .benefits, .field-row { grid-template-columns: 1fr; }
  .lead { font-size: 1.3rem; }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; }
  .footer-inner { flex-direction: column; }
}

/* Photos de Maud (format d'origine ~500 px : affichées à taille modérée) */
.photos { display: grid; gap: 16px; margin-top: 2.6rem; }
.photos img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); filter: saturate(.9); }
.photos-1 img { aspect-ratio: 5 / 2; }
.photos-2 { grid-template-columns: 1fr 1fr; max-width: 720px; }
.photos-3 { grid-template-columns: repeat(3, 1fr); }
.section-dark .photos img { filter: saturate(.85) brightness(.92); }
@media (max-width: 600px) { .photos-3 { grid-template-columns: 1fr 1fr; } .photos-3 img:last-child { grid-column: 1 / -1; } }
