/* =========================================================
   Go Print It ! — feuille de style unique
   Couleurs et largeur : dans :root
   ========================================================= */

:root {
  --orange: #b83f00;        /* contraste AA sur crème et blanc */
  --orange-dark: #9a3500;
  --orange-light: #ff7922;
  --ink: #1d2226;
  --ink-2: #2b3033;
  --cream: #f7f1e7;
  --cream-2: #f2e8d9;
  --line: #e8dfd3;
  --muted: #5a5d5d;
  --white: #fff;
  --radius: 12px;
  --max: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible { outline: 3px solid #f7a147; outline-offset: 3px; }

.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 10;
}
.skip:focus { left: 10px; top: 10px; }

/* ---------- Typo ---------- */
h1, h2, h3, p, ul, ol { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); margin-bottom: 22px; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
.accent { color: var(--orange); }
.lead { font-size: 1.15rem; max-width: 620px; }
.eyebrow {
  display: block; color: var(--orange); text-transform: uppercase;
  font-weight: 800; font-size: .82rem; letter-spacing: .06em; margin-bottom: 10px;
}
.muted { color: var(--muted); }

/* ---------- Boutons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border: 2px solid var(--orange); border-radius: 8px;
  background: var(--orange); color: #fff !important; text-decoration: none;
  font: inherit; font-weight: 750; line-height: 1.2; cursor: pointer;
}
.button:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.button--secondary { color: var(--ink) !important; background: transparent; border-color: var(--ink); }
.button--secondary:hover { background: var(--ink); color: #fff !important; border-color: var(--ink); }
.button--small { padding: 10px 16px; font-size: .9rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- En-tête ---------- */
.header { background: var(--cream); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.logo { display: inline-block; line-height: 0; text-decoration: none; flex-shrink: 0; }
.logo img { display: block; height: 44px; width: auto; }
.footer .logo img { height: 40px; }
@media (max-width: 600px) { .logo img { height: 38px; } }
.links { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.links a:not(.button) { text-decoration: none; font-size: .95rem; font-weight: 700; }
.links a:not(.button):hover,
.links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 6px; }

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

/* ---------- Hero ---------- */
.hero { background: var(--cream-2); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(30px, 5vw, 70px); padding: clamp(45px, 7vw, 95px) 0;
}
.hero__visual { position: relative; }
.hero__visual::before {
  content: ""; position: absolute; inset: 8% -10% -6% 6%;
  background: radial-gradient(closest-side, rgba(216, 77, 0, .22), transparent);
  z-index: 0;
}
.hero__visual > * { position: relative; z-index: 1; }

/* ---------- Visuels d'autocollants (SVG) ---------- */
/* box-shadow plutôt que filter: drop-shadow, bien moins coûteux à l'affichage sur mobile */
.sticker { width: 100%; height: auto; border-radius: 4.5% / 9%; box-shadow: 0 16px 28px rgba(0, 0, 0, .3), 0 3px 6px rgba(0, 0, 0, .2); }
.sticker--tilt { transform: rotate(-5deg); }
.sticker-stack { display: grid; gap: 22px; }
.sticker-stack .sticker:nth-child(2) { width: 78%; margin-left: auto; transform: rotate(4deg); }
picture { display: block; }
.hero-photo {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius); box-shadow: 0 16px 28px rgba(0, 0, 0, .22), 0 3px 6px rgba(0, 0, 0, .16);
}
.sticker-stack .hero-photo { object-position: center; }

/* ---------- Bandeau atouts ---------- */
.benefits { background: var(--ink); color: #fff; }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit { display: flex; align-items: center; gap: 12px; padding: 22px 16px; font-weight: 750; line-height: 1.3; border-right: 1px solid #45494b; }
.benefit:last-child { border-right: 0; }
.benefit svg { flex: none; width: 30px; height: 30px; color: var(--orange-light); }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section--white { background: #fff; }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .eyebrow,
.quote .eyebrow { color: var(--orange-light); }
.section__intro { max-width: 760px; margin-bottom: 36px; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 6vw, 80px); }
.split--top { align-items: start; }

/* ---------- Cartes ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid #eadfd1; border-radius: var(--radius); padding: 25px; }
.card p:last-child { margin-bottom: 0; color: var(--muted); }
.card__number { display: block; font-size: 1rem; color: var(--orange); font-weight: 850; margin-bottom: 6px; }
.section--dark .card { background: var(--ink-2); border-color: #43494b; }
.section--dark .card p:last-child { color: #dedbd6; }
.section--white .card { background: var(--cream); }

/* Cartes métiers (liens) */
.trade {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none;
  background: #fff; border: 1px solid #eadfd1; border-radius: var(--radius); padding: 22px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.trade__photo { margin: -22px -22px 10px; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.trade__photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s ease; }
.trade--photo:hover .trade__photo img { transform: scale(1.04); }
.trade:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
.trade svg { width: 40px; height: 40px; color: var(--orange); margin-bottom: 6px; }
.trade strong { font-size: 1.15rem; letter-spacing: -.02em; }
.trade span { color: var(--muted); font-size: .95rem; }
.trade em { margin-top: auto; padding-top: 8px; font-style: normal; font-weight: 750; color: var(--orange); font-size: .92rem; }

/* ---------- Listes ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.tag { display: inline-block; background: #f4e3d0; border-radius: 30px; padding: 8px 14px; font-size: .9rem; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.callout {
  border-left: 4px solid var(--orange); background: #fff; padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- Étapes ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { background: #fff; border: 1px solid #eadfd1; border-radius: var(--radius); padding: 25px; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; color: var(--orange); font-weight: 850; margin-bottom: 6px;
}
.steps p { margin: 0; color: var(--muted); }

/* ---------- Schémas ---------- */
.figure { margin: 0; background: #fff; border: 1px solid #eadfd1; border-radius: var(--radius); padding: clamp(16px, 3vw, 30px); }
.figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 12px; text-align: center; }
.figure--photo img { display: block; width: 100%; height: auto; border-radius: calc(var(--radius) - 5px); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid #eadfd1; border-radius: var(--radius); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 750; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 500; color: var(--orange);
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 20px; color: #3b3f41; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Bandeau d'appel ---------- */
.cta-band { background: var(--orange); color: #fff; padding: clamp(40px, 6vw, 70px) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .button { background: var(--ink); border-color: var(--ink); }
.cta-band .button:hover { background: #000; border-color: #000; }

/* ---------- Formulaire ---------- */
.quote { background: var(--ink-2); color: #fff; border-radius: var(--radius); padding: clamp(25px, 4vw, 45px); }
.quote h2 { font-size: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
label { font-size: .9rem; font-weight: 700; }
.req { color: var(--orange-light); }
input, select, textarea {
  font: inherit; width: 100%; border: 1px solid #c6c1b9; background: #fff; color: var(--ink);
  border-radius: 6px; padding: 12px;
}
input[type="file"] { padding: 9px; background: #f7f4ef; }
textarea { min-height: 140px; resize: vertical; }
.hint { font-size: .82rem; color: #cfcac2; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: .85rem; color: #d6d1c9; margin: 16px 0 0; }
.note a { color: #fff; }

/* ---------- Pages de texte (légal) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Pied de page ---------- */
.footer { background: #171b1e; color: #e6e3de; padding: 55px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer .logo { margin-bottom: 16px; }
.footer__title { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-light); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__bottom { border-top: 1px solid #33383b; padding: 18px 0 24px; font-size: .85rem; color: #a9a6a1; }
.footer__bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .nav { padding: 14px 0; flex-wrap: wrap; gap: 12px 20px; min-height: 0; }
  .links { gap: 10px 18px; width: 100%; justify-content: space-between; }
  .links .button { margin-left: auto; }
  .tel span { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .benefit { border-bottom: 1px solid #45494b; }
  .benefit:nth-child(2n) { border-right: 0; }
  .split { grid-template-columns: 1fr; }
  .cards, .cards--2, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 500px) {
  body { font-size: 16px; }
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .cards--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .benefit { font-size: .9rem; padding: 18px 10px; }
  .links a:not(.button) { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .trade { transition: none; }
}

/* Étapes empilées (colonne étroite, ex. page devis) */
.steps--stack { grid-template-columns: 1fr; gap: 12px; }
.steps--stack li { padding: 18px 22px; }

/* Téléphone (en-tête, bandeaux) */
.tel { display: inline-flex; align-items: center; gap: 0; font-weight: 800; text-decoration: none; white-space: nowrap; }
.tel svg { width: 18px; height: 18px; margin-right: 8px; color: var(--orange); flex: none; }
.tel:hover { text-decoration: underline; }
.cta-band .tel { color: #fff; }
.cta-band .tel svg { color: #fff; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__more { margin-top: 6px; color: #a9a6a1; }

/* ---------- Tableau comparatif ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #eadfd1; border-radius: var(--radius); background: #fff; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .97rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid #f0e7dc; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 800; }
.compare tbody th { font-weight: 800; width: 22%; }
.compare td:last-child { background: #fbf6ef; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* Cartes secteur sans lien : pas d'effet au survol */
div.trade:hover { transform: none; border-color: #eadfd1; box-shadow: none; }
@media (max-width: 600px) {
  .compare { min-width: 0; font-size: .82rem; }
  .compare th, .compare td { padding: 10px 8px; }
  .compare tbody th { width: 24%; }
}

/* ---------- Galerie de réalisations ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery .figure { padding: 12px; }
.gallery .figure img { aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }
.gallery--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .gallery--2 { grid-template-columns: 1fr; } }
.gallery__note { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.cards--1 { grid-template-columns: 1fr; }
.gallery .figure--contain img { object-fit: contain; background: #3b3d40; }
