/* ROCKS – feuille de style du site
   Couleurs et typographies reprises de la maquette. */

:root {
  --ink: #1A1A1D;
  --night: #0E0D0C;
  --sand: #F4F2EE;
  --line: #E2DED6;
  --muted: #4A4843;
  --muted-light: #D6D2CA;
  --gold: #C9A66B;
  --gold-light: #D9BE8C;
  --bronze: #7A5B2C;
  --bronze-dark: #4F3A1B;
  --white: #FFFFFF;
  --title: 'Jost', sans-serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--bronze); }
a:hover { color: var(--bronze-dark); }
input, select, textarea, button { font: inherit; }
h1, h2, h3 { font-family: var(--title); font-weight: 500; margin: 0; }
p { margin: 0; }

.container { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 10px 16px; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .container { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { height: 40px; width: auto; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-family: var(--title); font-size: 16px; font-weight: 500; }
.main-nav a { color: var(--ink); text-decoration: none; }
.main-nav a:hover { color: var(--bronze); }
.socials { display: flex; align-items: center; gap: 4px; }
.socials a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); }
.btn { display: inline-block; text-decoration: none; font-family: var(--title); border-radius: 2px; cursor: pointer; }
.btn-dark { color: var(--white) !important; background: var(--ink); padding: 12px 22px; }
.btn-dark:hover { background: #33333a; }
.btn-gold { background: var(--gold); color: #141312; font-weight: 600; padding: 16px 30px; border: 0; font-size: 17px; }
.btn-gold:hover { background: var(--gold-light); color: #141312; }
.btn-outline { border: 1px solid var(--white); color: var(--white); font-weight: 500; padding: 15px 30px; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }

/* Bandeau d'accueil */
.hero { position: relative; background: var(--night); color: var(--white); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero .container { position: relative; padding-top: 160px; padding-bottom: 140px; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: 68px; line-height: 1.05; max-width: 820px; }
.hero .lead { font-size: 21px; max-width: 640px; color: #EDE9E2; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }

.eyebrow { font-family: var(--title); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
.eyebrow.on-dark { color: var(--gold-light); }
.hero .eyebrow { font-size: 15px; letter-spacing: .18em; }

/* Engagements */
.values { background: var(--ink); color: var(--white); }
.values .container { padding-top: 44px; padding-bottom: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.values div div { display: flex; flex-direction: column; gap: 4px; }
.values strong { font-family: var(--title); font-size: 26px; font-weight: 500; color: var(--gold-light); }
.values span { color: var(--muted-light); }

/* Sections */
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.section-head h2 { font-size: 44px; line-height: 1.15; }

.expertises { padding-top: 110px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.card { background: var(--white); display: flex; flex-direction: column; }
.card img { width: 100%; height: 240px; object-fit: cover; }
.card div { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 23px; }
.card p, .muted { color: var(--muted); }

.method { padding-top: 70px; padding-bottom: 110px; display: flex; flex-direction: column; gap: 40px; }
.method h2 { font-size: 32px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.steps li { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.steps .num { font-family: var(--title); font-size: 15px; color: var(--bronze); }
.steps strong { font-family: var(--title); font-weight: 500; font-size: 21px; }
.steps span:last-child { color: var(--muted); }

.projects { background: var(--white); }
.projects .container { padding-top: 110px; padding-bottom: 110px; display: flex; flex-direction: column; gap: 48px; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.project { display: flex; flex-direction: column; gap: 14px; }
.project img { width: 100%; height: 280px; object-fit: cover; }
.project .duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.project .tag { font-family: var(--title); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); }
.project h3 { font-size: 23px; line-height: 1.3; }
.project p:last-child { color: var(--muted); }

.about { padding-top: 110px; padding-bottom: 110px; display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.about > img { flex: 1 1 460px; min-width: 0; width: 100%; height: 440px; object-fit: cover; }
.about > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about h2 { font-size: 40px; line-height: 1.15; }
.qualif { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); }
.qualif img { height: 54px; width: auto; }
.qualif p { flex: 1 1 240px; min-width: 0; }
.qualif strong { font-family: var(--title); font-weight: 600; }

/* Contact */
.contact { background: var(--ink); color: var(--white); }
.contact .container { padding-top: 110px; padding-bottom: 110px; display: flex; flex-wrap: wrap; gap: 64px; }
.contact-info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-info h2 { font-size: 40px; line-height: 1.15; }
.contact-info p, .contact-info span { color: var(--muted-light); }
.address { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid #3A3A3F; }
.address strong { font-family: var(--title); font-weight: 500; }
.contact-form { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.contact-form input, .contact-form select, .contact-form textarea { background: var(--white); color: var(--ink); border: 0; padding: 14px; border-radius: 2px; }
.contact-form textarea { resize: vertical; }
.contact-form :focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form .consent { flex-direction: row; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted-light); }
.contact-form .consent input { margin-top: 4px; width: 20px; height: 20px; flex: none; padding: 0; }
.contact-form button { grid-column: 1 / -1; justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-message { grid-column: 1 / -1; padding: 14px 18px; border-radius: 2px; font-weight: 600; }
.form-message.ok { background: #E6F0E1; color: #1F4A17; }
.form-message.ko { background: #F6E1DE; color: #6B1E14; }

/* Pied de page */
.site-footer { background: var(--night); color: var(--muted-light); font-size: 15px; }
.site-footer .container { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: var(--muted-light); }
.site-footer a:hover { color: var(--white); }

/* Pages légales */
.legal { max-width: 820px; margin: 0 auto; padding: 80px 24px 110px; display: flex; flex-direction: column; gap: 40px; line-height: 1.65; }
.legal h1 { font-size: 48px; line-height: 1.1; }
.legal section { display: flex; flex-direction: column; gap: 10px; }
.legal h2 { font-size: 24px; }
.back-link { font-family: var(--title); font-weight: 500; color: var(--ink); }

/* Mobile */
@media (max-width: 760px) {
  .site-header { position: static; }
  html { scroll-padding-top: 0; }
  .main-nav { gap: 14px 20px; font-size: 15px; }
  .hero .container { padding-top: 100px; padding-bottom: 90px; }
  .hero h1 { font-size: 42px; }
  .hero .lead { font-size: 18px; }
  .section-head h2 { font-size: 32px; }
  .about h2, .contact-info h2 { font-size: 30px; }
  .legal h1 { font-size: 34px; }
  .expertises, .about { padding-top: 70px; }
  .projects .container, .contact .container, .about { padding-top: 70px; padding-bottom: 70px; }
  .project-grid { grid-template-columns: 1fr; }
  .about > img { height: 300px; }
}
