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

:root {
  --vert: #2b3a2f;
  --vert-2: #3d5143;
  --pierre: #f4f1ea;
  --sable: #e7e0d2;
  --encre: #1f2420;
  --gris: #6b6f68;
  --or: #b08d57;
  --serif: "Cormorant", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 300; color: var(--encre); background: var(--pierre); line-height: 1.7; font-size: 17px; }
img { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.surtitre { font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: var(--or); margin-bottom: 1rem; display: block; }
.conteneur { width: min(1180px, 90vw); margin: 0 auto; }
section { padding: clamp(4.5rem, 9vw, 8rem) 0; }

/* En-tête */
.entete { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 5vw; transition: background .4s, padding .4s; }
.entete.plein { background: rgba(43, 58, 47, .96); padding: .7rem 5vw; }
.entete .marque { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; }
.entete .marque img { height: 38px; width: auto; }
.entete .marque span { font-family: var(--sans); letter-spacing: .3em; font-size: .95rem; font-weight: 400; }
.entete nav { display: flex; gap: 2rem; }
.entete nav a { color: #fff; text-decoration: none; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.entete nav a:hover { opacity: 1; }
.entete nav a.cta { border: 1px solid rgba(255,255,255,.6); padding: .45rem 1rem; }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* Accueil */
.hero { position: relative; height: 100vh; min-height: 620px; color: #fff; display: flex; align-items: flex-end; padding: 0 0 11vh; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,28,22,.45) 0%, rgba(20,28,22,.1) 40%, rgba(20,28,22,.65) 100%); }
.hero .conteneur { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); font-style: italic; max-width: 14ch; }
.hero p { max-width: 46ch; font-size: 1.15rem; margin: 1.4rem 0 2.2rem; opacity: .92; }
.boutons { display: flex; gap: 1rem; flex-wrap: wrap; }
.bouton { display: inline-block; padding: .95rem 1.7rem; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border: 1px solid currentColor; transition: background .3s, color .3s; }
.bouton.plein { background: #fff; color: var(--vert); border-color: #fff; }
.bouton:hover { background: var(--vert); color: #fff; border-color: var(--vert); }

/* Introduction */
.intro { text-align: center; }
.intro p.grand { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.45; max-width: 30ch; margin: 0 auto; }

/* Deux entrées */
.entrees { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 0; }
.entree { position: relative; min-height: 520px; color: #fff; display: flex; align-items: flex-end; padding: 3rem; text-decoration: none; overflow: hidden; }
.entree img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.entree::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20,28,22,.8)); }
.entree:hover img { transform: scale(1.04); }
.entree div { position: relative; z-index: 1; max-width: 36ch; }
.entree h3 { font-size: 2.2rem; }

/* Métiers */
.metier { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.metier.inverse { grid-template-columns: 1fr 1.1fr; }
.metier.inverse .visuel { order: 2; }
.metier .visuel img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.etapes { list-style: none; margin-top: 2rem; counter-reset: e; }
.etapes li { counter-increment: e; padding: 1rem 0 1rem 3.2rem; border-top: 1px solid var(--sable); position: relative; }
.etapes li::before { content: "0" counter(e); position: absolute; left: 0; top: .9rem; font-family: var(--serif); font-size: 1.5rem; color: var(--or); }
.etapes strong { font-weight: 500; display: block; }
.liste { list-style: none; margin-top: 1.5rem; }
.liste li { padding: .55rem 0 .55rem 1.6rem; position: relative; border-top: 1px solid var(--sable); }
.liste li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: .7rem; height: 1px; background: var(--or); }

/* Copropriétés */
.copro { background: var(--vert); color: #fff; }
.copro .surtitre { color: #d8bd8c; }
.copro .entete-section { max-width: 60ch; margin-bottom: 3.5rem; }
.copro .entete-section p { opacity: .85; }
.formules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.formule { border: 1px solid rgba(255,255,255,.2); padding: 2.2rem; display: flex; flex-direction: column; }
.formule.phare { background: var(--vert-2); border-color: #d8bd8c; }
.formule h3 { font-size: 1.9rem; }
.formule .delai { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #d8bd8c; margin-bottom: 1.2rem; }
.formule ul { list-style: none; flex: 1; }
.formule li { padding: .5rem 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.engagements { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 4rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,.2); }
.engagements strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; display: block; margin-bottom: .3rem; }
.engagements p { font-size: .92rem; opacity: .8; }
.copro .boutons { margin-top: 3rem; }

/* Réalisations */
.galerie { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 260px; gap: 12px; margin-top: 3rem; }
.galerie figure { position: relative; overflow: hidden; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.galerie figure:hover img { transform: scale(1.04); }
.galerie figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.2rem 1rem; color: #fff; background: linear-gradient(transparent, rgba(20,28,22,.75)); font-size: .9rem; }
.galerie figcaption em { font-family: var(--serif); font-size: 1.3rem; display: block; font-style: normal; }
.g-a { grid-column: span 7; grid-row: span 2; }
.g-b { grid-column: span 5; }
.g-c { grid-column: span 5; }
.g-d { grid-column: span 4; grid-row: span 2; }
.g-e { grid-column: span 4; }
.g-f { grid-column: span 4; }
.g-g { grid-column: span 8; }

/* Avant / après */
.avap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4rem; }
.avap figure { position: relative; }
.avap img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.avap span { position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,.92); padding: .3rem .8rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.avap-legende { grid-column: 1 / -1; color: var(--gris); font-size: .95rem; }

/* Atelier */
.atelier { background: var(--sable); }
.equipe { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; margin-top: 3rem; }
.personne .photo { aspect-ratio: 4/5; background: #d6cebd; display: flex; align-items: center; justify-content: center; color: var(--gris); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.2rem; }
.personne .role { color: var(--or); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.equipe-suite { margin-top: 3rem; max-width: 70ch; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.coordonnees p { margin-bottom: 1rem; }
.coordonnees strong { font-weight: 500; display: block; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gris); }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
form .plein-largeur { grid-column: 1 / -1; }
label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); display: block; margin-bottom: .35rem; }
input, select, textarea { width: 100%; padding: .85rem 1rem; border: 1px solid #cfc7b6; background: #fff; font: inherit; color: inherit; }
textarea { min-height: 140px; resize: vertical; }
form button { background: var(--vert); color: #fff; border: 0; padding: 1rem 2rem; font: inherit; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; justify-self: start; }
.a-completer { background: #fff4c2; padding: 0 .3rem; }

/* Pied de page */
footer { background: var(--encre); color: rgba(255,255,255,.7); padding: 4rem 0 2rem; font-size: .9rem; }
footer .colonnes { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
footer img { height: 110px; width: auto; margin-bottom: 1rem; }
footer h4 { color: #fff; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; margin-bottom: 1rem; }
footer ul { list-style: none; }
footer li { margin-bottom: .4rem; }
footer a { text-decoration: none; }
footer .legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; }

/* Apparition au défilement */
.apparait { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.apparait.vu { opacity: 1; transform: none; }

@media (max-width: 900px) {
  body { font-size: 16px; }
  .entete nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--vert); padding: 1.5rem 5vw; gap: 1.2rem; }
  .entete nav.ouvert { display: flex; }
  .burger { display: block; }
  .entrees, .metier, .metier.inverse, .contact, .equipe, footer .colonnes, .avap { grid-template-columns: 1fr; }
  .metier.inverse .visuel { order: 0; }
  .entree { min-height: 400px; padding: 2rem; }
  .formules, .engagements { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .galerie figure { grid-column: span 1 !important; grid-row: span 1 !important; }
  .galerie .g-a { grid-column: span 2 !important; grid-row: span 2 !important; }
  form { grid-template-columns: 1fr; }
}
