/* DA klindworth : gabarit repris de klindworth (docs/references/batiment-exterieur/releve/klindworth/).
   Structure, grille, proportions et rythme des fonds : repris des regles relevees (home/*.css, contact/03-contact.css).
   Ce qui change par prospect : les variables ci-dessous (couleurs de marque) et le contenu. */

@font-face { font-family: 'Fraunces'; src: url(fonts/fraunces-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(fonts/figtree-latin.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }

:root {
  /* klindworth : encre #24262B, creme #EDE9E2, accent tan #AC9376 */
  --ink: #232427;
  --cream: #EEE8DE;
  --accent: #E8662E;        /* accent sur fond sombre (marque du prospect) */
  --accent-ink: #A9461A;    /* meme teinte, assombrie pour du texte sur creme */
  --rule: #CDBEAB;          /* filets et soulignes sur creme */
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Figtree', Arial, sans-serif;
  --pad: 100px;             /* .pv-large 1367-1800 */
  --edge: 40px;             /* .project-preview--feat padding, marges du header */
}
@media (max-width: 1366px) { :root { --pad: 80px; --edge: 30px; } }
@media (max-width: 670px) { :root { --pad: 60px; --edge: 5vw; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); }
body { font-family: var(--sans); font-size: 16px; color: var(--ink); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--serif); font-weight: 600; text-transform: uppercase; font-variation-settings: 'opsz' 60; letter-spacing: -0.005em; }

/* .section / .site-banner__inner : 90% puis 1200 px a 1440 (calc(100% - 240px)) */
.wrap { width: 90%; margin-inline: auto; }
@media (min-width: 1367px) { .wrap { width: calc(100% - 240px); max-width: 1600px; } }

.bg-dark { background: var(--ink); color: var(--cream); }
.bg-light { background: var(--cream); color: var(--ink); }
.pv-large { padding-block: var(--pad); }

.subtitle { font-family: var(--sans); font-weight: 400; text-transform: uppercase; font-size: 1.25rem; line-height: 150%; letter-spacing: 0.01em; color: var(--accent-ink); }
.bg-dark .subtitle { color: var(--accent); }
@media (max-width: 1366px) { .subtitle { font-size: 1.0625rem; } }

/* .btn : pilule fantome 30px, filet accent, 18px 40px */
.btn { display: inline-block; font: 400 1.125rem/100% var(--sans); padding: 18px 40px; border-radius: 30px; border: 1px solid var(--accent); color: inherit; background: transparent; cursor: pointer; transition: background-color .3s, color .3s; }
.btn:hover { background: var(--accent); color: var(--cream); }
.bg-light .btn { border-color: var(--accent-ink); }
.bg-light .btn:hover { background: var(--accent-ink); }
@media (max-width: 670px) { .btn { padding: 13px 20px; font-size: 1rem; } }
/* .btn--alt : libelle + fleche accent */
.btn-alt { font-size: 1.25rem; line-height: 150%; }
.btn-alt::after { content: '\00a0\2192'; color: var(--accent); }
.bg-light .btn-alt::after { color: var(--accent-ink); }
.footnote { opacity: .6; font-size: 1.25rem; line-height: 150%; }
@media (max-width: 1366px) { .btn-alt, .footnote { font-size: 1.0625rem; } }

/* ---------- HEADER (01-nav) ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: var(--edge); }
.logo { display: flex; align-items: center; gap: 14px; }
.logo img { width: 54px; height: 54px; }
.logo span { font: 500 1.375rem/1.05 var(--sans); letter-spacing: -0.01em; }
.logo small { display: block; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; opacity: .6; margin-top: 3px; }
.menu-pill { display: flex; gap: 34px; background: #fff; border-radius: 30px; padding: 18px 36px; font-size: 1rem; }
.menu-pill a:hover { color: var(--accent-ink); }
.header-tel { justify-self: end; font-size: 1.25rem; font-weight: 500; }
.header-tel::after { content: ' \2192'; color: var(--accent-ink); font-weight: 400; }
@media (max-width: 1000px) { .menu-pill { display: none; } .site-header { grid-template-columns: 1fr auto; } }
@media (max-width: 670px) { .logo img { width: 44px; height: 44px; } .logo span { font-size: 1.125rem; } .header-tel { font-size: 1rem; } .logo small { display: none; } }

/* ---------- HERO (02-hero : site-banner--logo-img) ---------- */
.hero { position: relative; overflow: hidden; }
.hero__inner { display: flex; min-height: 100svh; }
.hero__content { width: 48.75%; margin-right: 2.5%; align-self: center; padding-block: 120px var(--pad); }
.hero__title { font-size: 4.125rem; line-height: 112%; margin-top: 18px; }
.hero__txt { font-size: 1.25rem; line-height: 150%; margin-top: 30px; max-width: 34em; }
.hero__btn { margin-top: 40px; }
.hero__img { width: 48.75%; position: relative; }
.hero__img-inner { position: relative; height: 100%; min-width: calc(100% - 600px + 50vw); }
.hero__img-inner > img { position: absolute; top: 0; left: 0; width: 100%; height: 118%; object-fit: cover; object-position: 50% 0; }
.hero__img-inner::before { content: ''; position: absolute; inset: 0 0 50% 0; background: linear-gradient(to top, transparent, var(--cream)); z-index: 1; }
.hero__graphic { position: absolute; top: 0; left: -2px; width: calc(100% + 4px); height: 100%; z-index: 2; }
.hero__graphic svg { width: 100%; height: 100%; display: block; }
@media (max-width: 1366px) and (min-width: 1001px) { .hero__title { font-size: 3.25rem; } .hero__img-inner { min-width: calc(100% - 520px + 50vw); } }
@media (max-width: 1000px) {
  .hero { padding-top: 112px; }
  .hero__inner { flex-wrap: wrap; min-height: 0; }
  .hero__content { width: 100%; margin: 0; padding-block: 40px var(--pad); }
  .hero__img { width: 100%; }
  .hero__img-inner { min-width: 0; width: 100vw; margin-left: -5.5556vw; aspect-ratio: 4 / 4.6; }
  .hero__img-inner::before { display: none; }
}
@media (max-width: 670px) { .hero { padding-top: 86px; } .hero__content { padding-bottom: 24px; } .hero__title { font-size: 2.125rem; line-height: 120%; } .hero__txt { font-size: 1.0625rem; } }

/* ---------- INTRO (03-confiance : intro, sous-titre vertical + txt-large) ---------- */
.intro { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; }
.intro__sub { display: flex; justify-content: flex-end; padding-right: 9%; }
.intro__sub .subtitle { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 1rem; }
.intro__txt { font-size: 1.75rem; line-height: 136%; max-width: 27em; }
@media (max-width: 1366px) { .intro__txt { font-size: 1.5rem; } }
@media (max-width: 670px) { .intro { grid-template-columns: 1fr; } .intro__sub { justify-content: flex-start; } .intro__sub .subtitle { writing-mode: initial; transform: none; } .intro__txt { font-size: 1.25rem; } }

/* ---------- GRILLE IMAGE + TEXTE (04-services : img-with-txt-grid) ---------- */
.img-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 30px; align-items: start; }
.img-grid__item:first-child { grid-column: 1 / 8; }
.img-grid__item:last-child { grid-column: 9 / 13; }
.img-grid__item img { width: 100%; aspect-ratio: 940 / 639; object-fit: cover; }
.img-grid__item:last-child img { aspect-ratio: 519 / 353; }
.img-grid__caption { margin-top: 40px; }
@media (max-width: 670px) { .img-grid { grid-template-columns: 1fr; row-gap: 60px; } .img-grid__item:first-child, .img-grid__item:last-child { grid-column: auto; } .img-grid__caption { margin-top: 20px; } }

/* ---------- WORK (05-autre : feat-projects + heading-huge) ---------- */
.heading-huge { font-size: min(30vw, 362px); line-height: 100%; text-align: center; font-weight: 600; letter-spacing: -0.02em; font-variation-settings: 'opsz' 110; }
@media (max-width: 1366px) { .heading-huge { font-size: min(30vw, 282px); } }
@media (max-width: 1000px) { .heading-huge { font-size: min(30vw, 202px); } }
@media (max-width: 670px) { .heading-huge { font-size: min(24vw, 112px); } }
.feat-projects__title { padding-bottom: 50px; }
.project { padding: var(--edge); height: min(100lvh, 860px); }
.feat-projects__title + .project { margin-top: calc(-1 * var(--edge)); }
.project + .project { margin-top: calc(-1 * var(--edge)); }
.project__inner { position: relative; height: 100%; display: grid; grid-template: 'p' 100% / 100%; }
.project__img, .project__content { grid-area: p; }
.project__img { position: relative; height: 100%; margin: 0; }
.project__img img { width: 100%; height: 100%; object-fit: cover; }
.project__img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .4), transparent 45%), rgba(0, 0, 0, .2); }
.project__content { position: relative; z-index: 1; padding: 80px; }
.project__title { font-size: 4.75rem; line-height: 113%; color: var(--cream); }
.feat-projects__btn { text-align: center; margin-top: 50px; }
@media (max-width: 1366px) { .project__content { padding: 60px; } .project__title { font-size: 3.875rem; } }
@media (max-width: 670px) { .project { height: auto; aspect-ratio: 1 / 1; } .project__content { padding: 8.5%; } .project__title { font-size: 2.125rem; } .feat-projects__title { padding-bottom: 30px; } }

/* ---------- SERVICES (06-realisations : section-intro + elements du curseur) ---------- */
.section-intro { text-align: center; max-width: 760px; margin: 0 auto 80px; }
.section-intro h2 { font-size: 2.25rem; line-height: 128%; margin-top: 20px; text-transform: none; font-weight: 500; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px 30px; }
.service { border-top: 1px solid var(--rule); padding-top: 24px; }
.service p { margin-top: 8px; font-size: 1rem; line-height: 150%; opacity: .7; max-width: 22em; }
.services-btn { text-align: center; margin-top: 80px; }
@media (max-width: 1366px) { .section-intro h2 { font-size: 2rem; } }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 670px) { .services { grid-template-columns: 1fr; gap: 36px; } .section-intro { margin-bottom: 50px; } .section-intro h2 { font-size: 1.625rem; } .services-btn { margin-top: 50px; } }

/* ---------- AVIS + KUDOS (08-autre : flickity--testimonial) ---------- */
.testimonials { display: grid; grid-template-columns: 1fr 483px 72px; column-gap: 30px; align-items: start; }
.quotes { display: flex; gap: 60px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.quotes::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 100%; scroll-snap-align: start; padding-right: 60px; }
.quote blockquote { margin: 0; font: 500 2rem/128% var(--serif); font-variation-settings: 'opsz' 72; max-width: 15em; }
.quote cite { display: block; margin-top: 40px; font-style: normal; opacity: .6; font-size: 1.125rem; }
.testimonials__img img { width: 100%; aspect-ratio: 483 / 556; object-fit: cover; }
.arrows { display: flex; flex-direction: column; gap: 10px; }
.arrows a { width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; font-size: 1.25rem; transition: background-color .3s; }
.arrows a:hover { background: var(--accent); }
.kudos { margin-top: -6px; position: relative; }
@media (max-width: 1366px) { .testimonials { grid-template-columns: 1fr 40% 72px; } .quote blockquote { font-size: 1.75rem; } }
@media (max-width: 670px) {
  .testimonials { grid-template-columns: 1fr; row-gap: 40px; }
  .quote { padding-right: 20px; }
  .quote blockquote { font-size: 1.375rem; }
  .arrows { flex-direction: row; order: 3; }
  .arrows a { width: 56px; height: 56px; }
  .kudos { margin-top: 30px; }
}

/* ---------- ACCREDITATIONS (09-autre : section-logos) ---------- */
.badges { display: flex; justify-content: center; gap: 60px; padding-top: 40px; }
.badge { width: 150px; height: 150px; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; text-align: center; padding: 18px; font: 500 1.0625rem/125% var(--serif); font-variation-settings: 'opsz' 24; }
@media (max-width: 670px) { .badges { gap: 24px; } .badge { width: 132px; height: 132px; font-size: .9375rem; } }

/* ---------- NUMERO GEANT (10-autre : global-cta) ---------- */
.cta { text-align: center; }
.cta h2 { font-size: 5.75rem; line-height: 111%; margin: 24px 0 40px; letter-spacing: -0.01em; }
@media (max-width: 1366px) { .cta h2 { font-size: 4.5rem; } }
@media (max-width: 670px) { .cta h2 { font-size: 2.625rem; margin: 16px 0 30px; } }

/* ---------- CONTACT (contact/03-contact : formulaire a champs soulignes + photo) ---------- */
.contact-top { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 30px; }
.contact-top a { display: block; }
.contact-top .label { font-size: 1.25rem; }
.contact-top .label::after { content: ' \2192'; color: var(--accent-ink); }
.contact-top .value { font-size: 1.25rem; opacity: .6; margin-top: 6px; }
.contact-main { display: grid; grid-template-columns: 380px 1fr; column-gap: 133px; margin-top: 100px; align-items: start; }
.contact-main > img { width: 100%; aspect-ratio: 380 / 438; object-fit: cover; }
.contact-form h2 { font-size: 2.5rem; line-height: 118%; margin-bottom: 50px; }
.field { display: block; margin-top: 40px; }
.field span { display: block; font-size: 1.25rem; }
.field input, .field select { width: 100%; border: 0; border-bottom: 1px solid var(--rule); background: transparent; font: 400 1.125rem var(--sans); color: var(--ink); padding: 16px 0 14px; border-radius: 0; appearance: none; }
.field select { background: linear-gradient(45deg, transparent 50%, var(--accent-ink) 50%) calc(100% - 12px) 50% / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, var(--accent-ink) 50%) calc(100% - 6px) 50% / 6px 6px no-repeat; }
.field textarea { width: 100%; height: 240px; margin-top: 20px; border: 1px solid var(--rule); background: transparent; font: 400 1.125rem/150% var(--sans); padding: 14px; resize: vertical; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-ink); }
.contact-form .btn { margin-top: 40px; font-family: var(--sans); }
@media (max-width: 1000px) { .contact-main { grid-template-columns: 1fr; row-gap: 60px; } .contact-main > img { max-width: 420px; } }
@media (max-width: 670px) { .contact-top { grid-template-columns: 1fr; } .contact-main { margin-top: 50px; } .contact-form h2 { font-size: 1.875rem; margin-bottom: 20px; } .field span, .contact-top .label, .contact-top .value { font-size: 1.0625rem; } }

/* ---------- FOOTER (11-footer) ---------- */
.site-footer { padding-block: 60px; border-top: 1px solid var(--rule); }
.footer-row { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 30px; }
.footer-row + .footer-row { margin-top: 100px; }
.footer-list { list-style: none; margin: 0; padding: 0; font-size: 1.25rem; line-height: 150%; }
.footer-list .faded { opacity: .6; }
.footer-small { font-size: 1.125rem; line-height: 155%; opacity: .6; }
@media (max-width: 670px) { .footer-row { grid-template-columns: 1fr; } .footer-row + .footer-row { margin-top: 50px; } .footer-list { font-size: 1.0625rem; } }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
