/* Nantes Agencement — feuille de style unique */
@font-face { font-family: Satoshi; src: url(/assets/fonts/satoshi-var.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --orange: #ff6600;          /* couleur de marque */
  --orange-btn: #e35300;      /* orange des boutons (contraste texte blanc) */
  --orange-ink: #b84300;      /* orange pour le texte sur fond clair */
  --orange-soft: #fff1e8;
  --ink: #1d2023;
  --muted: #5a6066;
  --line: #e7e3de;
  --soft: #f7f5f2;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 8px 24px rgb(0 0 0 / .06);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: Satoshi, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
mark { background: #fff3b0; padding: 0 .2em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 14px 26px; border: 2px solid var(--orange-btn); border-radius: var(--radius); background: var(--orange-btn); color: #fff; font-weight: 700; font-size: 1.05rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; font-family: inherit; }
.btn:hover { background: #c74800; border-color: #c74800; transform: translateY(-1px); }
.btn--sm { padding: 10px 18px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }
.actions--center { justify-content: center; }
.more { display: inline-block; margin-top: .6em; font-weight: 700; color: var(--orange-ink); font-size: .95rem; }
.more::after { content: " →"; transition: margin .2s; }
a:hover .more::after { margin-left: 4px; }

/* Équerre orange (motif du site d'origine) */
.bracket { display: block; width: 56px; height: 22px; border: 8px solid var(--orange); border-bottom: 0; margin-bottom: 18px; }
.center .bracket, .shead .bracket { margin-left: auto; margin-right: auto; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.header__logo { color: #2b2e31; display: block; }
.header__logo .logo { width: 170px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: var(--radius); }
.nav > a:not(.btn):hover { color: var(--orange-ink); }
.nav a[aria-current="page"] { color: var(--orange-ink); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.nav__tel { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav__tel svg { width: 18px; height: 18px; fill: var(--orange); }
.nav__cta { margin-left: 8px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.burger span, .burger span::before, .burger span::after { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .js .burger { display: block; }
  .js .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .js .nav.is-open { display: flex; }
  .nav { flex-wrap: wrap; }
  .nav a { padding: 12px 8px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); padding-left: 14px; }
  .nav__cta { margin: 8px 0 0; }
  .header__logo .logo { width: 150px; }
}

/* Fil d'Ariane */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 0 0; margin: 0; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #bbb; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Sections */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding-top: 28px; }
.section--soft { background: var(--soft); }
.shead { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); }
.shead p { color: var(--muted); }
.shead a { text-decoration: none; }
.shead a:hover { color: var(--orange-ink); }

/* Hero accueil */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; background: #333; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__in { position: relative; width: 100%; padding-top: 48px; padding-bottom: 48px; }
.hero__card { background: rgb(255 255 255 / .94); max-width: 600px; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); border-bottom: 5px solid var(--orange); box-shadow: var(--shadow); }
.hero h1 span { color: var(--orange-ink); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--muted); }

/* Hero pages intérieures */
.phero { padding: 28px 0 clamp(40px, 6vw, 72px); }
.phero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.phero__in:has(> :only-child) { grid-template-columns: 1fr; max-width: 820px; }
.phero__img img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
@media (max-width: 860px) { .phero__in { grid-template-columns: 1fr; } .phero__img { order: -1; } }

/* Cartes services */
.scards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.scard a, .pcard > a, .pcard > div, .rcard a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border-bottom: 3px solid var(--orange); transition: transform .25s, box-shadow .25s; }
.scard a:hover, .pcard > a:hover, .rcard a:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgb(0 0 0 / .06), 0 16px 40px rgb(0 0 0 / .1); }
.scard__img img, .pcard__img img, .rcard__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.scard__img, .pcard__img, .rcard__img { overflow: hidden; }
a:hover .scard__img img, a:hover .pcard__img img, a:hover .rcard__img img { transform: scale(1.04); }
.scard__body, .pcard__body, .rcard__body { padding: 22px 24px 26px; flex: 1; }
.scard__body h3 { font-size: 1.5rem; }
.scard__body p, .pcard__body p, .rcard__body p { color: var(--muted); font-size: .97rem; }
.chips { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .82rem; background: var(--orange-soft); color: var(--orange-ink); padding: 3px 10px; border-radius: 99px; font-weight: 600; }
@media (max-width: 760px) { .scards { grid-template-columns: 1fr; } }

/* Grilles */
.pgrid, .rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .pgrid, .rgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pgrid, .rgrid { grid-template-columns: 1fr; } }
.rgrid + .center, .pgrid + .center { margin-top: 36px; }
.tag { display: inline-block; text-transform: uppercase; font-size: .75rem; letter-spacing: .1em; font-weight: 700; color: var(--orange-ink); }
.rcard__title { margin: .3em 0 .2em; font-size: 1.15rem; }
.rcard[hidden] { display: none; }

/* Liens spécialités */
.links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.links a { display: inline-block; padding: 12px 20px; border: 1.5px solid var(--line); border-radius: 99px; text-decoration: none; font-weight: 600; background: #fff; transition: border-color .2s, color .2s; }
.links a:hover { border-color: var(--orange); color: var(--orange-ink); }

/* Pourquoi nous */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why > div { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); border-top: 4px solid var(--orange); }
.why p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

/* À propos / zone */
.about__grid { display: grid; grid-template-columns: 1fr 1.3fr; padding: 0; max-width: none; }
.about__dark, .about__orange { padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); }
.about__dark { background: var(--ink); color: #fff; }
.about__orange { background: var(--orange); color: #1a1a1a; }
.about h2 { font-size: 1.6rem; }
.about address { font-style: normal; margin-bottom: 1em; }
.about a { color: inherit; }
.zones { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; font-weight: 600; }
.zones li { padding: 4px 0 4px 22px; position: relative; break-inside: avoid; }
.zones li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 10px; background: #1a1a1a; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }

/* Bandeau CTA */
.cta { background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 64px) 0; }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin-bottom: .2em; }
.cta p { margin: 0; color: #cfd2d5; max-width: 560px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contenu éditorial */
.prose { font-size: 1.07rem; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose a { color: var(--orange-ink); }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.box { background: var(--soft); border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--orange); position: sticky; top: 100px; }
.box h2 { font-size: 1.3rem; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.checks li { position: relative; padding: 6px 0 6px 30px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }

/* Étapes */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding-top: 8px; }
.steps__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #1a1a1a; font-weight: 800; margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; color: var(--orange-ink); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* Réalisation */
.split--real { grid-template-columns: 1.5fr 1fr; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.gallery__main img { max-height: 78vh; object-fit: contain; background: var(--soft); }
.gallery__more { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.gallery__more img { aspect-ratio: 4 / 3; }
.real__text { position: sticky; top: 100px; }
.real__text h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-top: .2em; }
.real__links { font-size: .95rem; color: var(--muted); }
.real__links a { color: var(--orange-ink); font-weight: 600; }
@media (max-width: 860px) { .split--real { grid-template-columns: 1fr; } .real__text { position: static; } }

/* Filtres */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters button { font: inherit; font-weight: 600; padding: 9px 20px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.coords { margin: 28px 0 0; display: grid; gap: 18px; }
.coords dt { text-transform: uppercase; font-size: .78rem; letter-spacing: .1em; font-weight: 700; color: var(--orange-ink); }
.coords dd { margin: 2px 0 0; font-size: 1.1rem; font-weight: 600; }
.coords a { text-decoration: none; }
.coords a:hover { color: var(--orange-ink); }
.form { background: var(--ink); color: #fff; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); border-bottom: 5px solid var(--orange); }
.form h2 { font-size: 1.5rem; }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 16px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 2px solid transparent; border-radius: var(--radius); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); }
.form [aria-invalid="true"] { border-color: #ff8a80; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }
.form__legal { font-size: .85rem; color: #c3c6c9; }
.form__legal a { color: #fff; }
.form__status { margin: 14px 0 0; font-weight: 600; min-height: 1.4em; }
.form__status.is-ok { color: #9be7a8; }
.form__status.is-err { color: #ffb4a8; }
.hp { position: absolute !important; left: -9999px !important; }

/* Pied de page */
.footer { background: #121416; color: #c9ccd0; padding-top: 64px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer__logo { color: #fff; display: inline-block; margin-bottom: 16px; }
.footer__logo .logo { width: 170px; }
.footer__title { color: #fff; font-weight: 700; margin-bottom: .6em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; }
.footer a { color: #e6e7e9; text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer address { font-style: normal; margin-bottom: 1em; }
.footer .btn { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid #2a2d31; margin-top: 48px; padding-top: 20px; padding-bottom: 24px; font-size: .88rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* Apparition douce */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Liens légaux du pied de page + bouton « lien » */
.footer__legal { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: #e6e7e9; cursor: pointer; text-decoration: none; }
.linklike:hover { color: var(--orange); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.muted-small { font-size: .9rem; color: var(--muted); }
