/* GÉNÉRÉ — feuille de style sur-mesure. */
:root {
  --ink: #24180f;
  --ink-soft: #5f4a3a;
  --cream: #f6edda;
  --paper: #fffaf0;
  --mustard: #e4aa25;
  --mustard-dark: #946510;
  --tomato: #c8452f;
  --tomato-dark: #922d20;
  --olive: #53613d;
  --olive-dark: #344027;
  --blue: #264b59;
  --white: #ffffff;
  --line: rgba(36, 24, 15, 0.2);
  --shadow: 0.6rem 0.6rem 0 rgba(36, 24, 15, 0.14);
  --shadow-dark: 0.45rem 0.45rem 0 var(--ink);
  --radius-sm: 0.4rem;
  --radius-md: 1rem;
  --radius-lg: 1.6rem;
  --space-1: 0.5rem;
  --space-2: 0.8rem;
  --space-3: 1.25rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;
  --content: 74rem;
  --font-display: Syne, system-ui, sans-serif;
  --font-body: Manrope, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: '';
  pointer-events: none;
  opacity: 0.24;
  background-image: radial-gradient(rgba(36, 24, 15, 0.16) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.2em;
}

p,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  margin-bottom: var(--space-3);
  font-size: clamp(2rem, 4.8rem, 5.5rem);
}

h2 {
  margin-bottom: var(--space-3);
  font-size: clamp(1.9rem, 3.1rem, 3.6rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.25rem, 1.55rem, 1.8rem);
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

section {
  position: relative;
  padding: var(--space-6) max(1.25rem, calc((100% - var(--content)) / 2));
}

.eyebrow,
.ticket-label,
.card-index,
.footer-kicker,
.meta-line {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 0.22rem;
  content: '';
  background: currentColor;
}

.lead {
  font-size: clamp(1.08rem, 1.25rem, 1.35rem);
  line-height: 1.65;
}

.button,
.wp-element-button,
input[type='submit'] {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 0;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0.3rem 0.3rem 0 var(--tomato);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease, background 160ms ease;
}

.button:hover,
.wp-element-button:hover,
input[type='submit']:hover {
  color: var(--ink);
  background: var(--mustard);
  box-shadow: 0.15rem 0.15rem 0 var(--tomato);
  transform: translate(0.15rem, 0.15rem);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0.3rem 0.3rem 0 var(--mustard);
}

.button-light:hover {
  color: var(--paper);
  background: var(--blue);
}

:focus-visible {
  outline: 0.22rem solid var(--mustard);
  outline-offset: 0.25rem;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem max(1.25rem, calc((100% - var(--content)) / 2));
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.site-brand {
  display: inline-flex;
  max-width: 17rem;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
}

.site-brand::before {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--tomato);
  content: 'BT';
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.site-nav ul,
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a,
.footer-nav a {
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.45rem 0;
  border-bottom: 0.2rem solid transparent;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
  border-color: var(--tomato);
}

.media-21x9,
.media-16x9,
.media-4x3,
.media-3x4 {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 2px solid var(--ink);
  background: var(--mustard);
}

.media-21x9 { aspect-ratio: 21 / 9; }
.media-16x9 { aspect-ratio: 16 / 9; }
.media-4x3 { aspect-ratio: 4 / 3; }
.media-3x4 { aspect-ratio: 3 / 4; }

.media-21x9 img,
.media-16x9 img,
.media-4x3 img,
.media-3x4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-home {
  overflow: hidden;
  padding-top: var(--space-5);
  background: var(--mustard);
}

.hero-home::after {
  position: absolute;
  top: 2rem;
  right: -3rem;
  width: 10rem;
  height: 10rem;
  border: 1.4rem solid rgba(146, 45, 32, 0.28);
  border-radius: 50%;
  content: '';
}

.hero-copy {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-4);
}

.hero-copy h1 {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: var(--space-4);
}

.hero-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-home .media-21x9 {
  box-shadow: var(--shadow-dark);
}

.service-stubs {
  background: var(--paper);
}

.section-heading {
  margin-bottom: var(--space-4);
}

.stub-grid,
.service-card-grid,
.info-grid,
.steps-grid,
.faq-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.stub-card {
  min-height: 100%;
  padding: 1.5rem;
  border: 2px solid var(--ink);
  background: var(--cream);
}

.stub-card:nth-child(2) {
  background: #f1c85e;
}

.stub-card:nth-child(3) {
  color: var(--paper);
  background: var(--olive-dark);
}

.stub-card .card-index {
  padding-bottom: 0.4rem;
  border-bottom: 1px solid currentColor;
}

.editorial-split {
  display: grid;
  gap: var(--space-4);
  align-items: center;
  background: var(--cream);
}

.editorial-split .media-4x3 {
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.check-list,
.plain-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 2rem;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--tomato-dark);
  content: '●';
}

.statement-band {
  overflow: hidden;
  color: var(--paper);
  background: var(--tomato-dark);
}

.statement-band blockquote {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3rem, 3.4rem);
  font-weight: 750;
  line-height: 1.15;
  text-wrap: balance;
}

.statement-band cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-band {
  display: grid;
  gap: var(--space-3);
  align-items: center;
  color: var(--paper);
  background: var(--blue);
}

.cta-band h2,
.cta-band p {
  margin-bottom: 0;
}

.page-hero {
  border-bottom: 2px solid var(--ink);
  background: var(--mustard);
}

.page-hero-olive {
  color: var(--paper);
  background: var(--olive-dark);
}

.page-hero-tomato {
  color: var(--paper);
  background: var(--tomato-dark);
}

.page-hero .lead {
  margin-bottom: 0;
}

.service-showcase {
  background: var(--paper);
}

.service-card {
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.service-card-copy {
  padding: 1.5rem;
}

.service-card .media-4x3 {
  border: 0;
  border-bottom: 2px solid var(--ink);
}

.service-card:nth-child(2) .service-card-copy {
  background: #f2cf76;
}

.service-card:nth-child(3) .service-card-copy {
  color: var(--paper);
  background: var(--blue);
}

.responsible-section {
  display: grid;
  gap: var(--space-4);
  color: var(--paper);
  background: var(--olive-dark);
}

.responsible-note {
  padding: 1.5rem;
  border: 2px solid var(--mustard);
  color: var(--ink);
  background: var(--mustard);
  box-shadow: 0.45rem 0.45rem 0 var(--paper);
}

.responsible-note strong {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.info-hero {
  display: grid;
  gap: var(--space-4);
  align-items: center;
  background: var(--cream);
}

.info-hero .media-16x9 {
  box-shadow: var(--shadow-dark);
}

.info-cards {
  background: var(--paper);
}

.info-card {
  padding: 1.5rem;
  border-top: 0.6rem solid var(--tomato);
  background: var(--cream);
}

.info-card:nth-child(2),
.info-card:nth-child(4) {
  border-color: var(--olive);
}

.steps-section {
  background: var(--mustard);
}

.step-card {
  padding: 1.5rem;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.step-number {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1.25rem;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--tomato-dark);
  font-family: var(--font-mono);
  font-weight: 800;
}

.contact-hero {
  display: grid;
  gap: var(--space-4);
  align-items: center;
  background: var(--mustard);
}

.contact-hero .media-3x4 {
  box-shadow: var(--shadow-dark);
}

.contact-section {
  display: grid;
  gap: var(--space-4);
  background: var(--paper);
}

.contact-form-shell {
  padding: clamp(1.25rem, 2rem, 2.5rem);
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.contact-aside {
  padding: 1.5rem;
  color: var(--paper);
  background: var(--blue);
}

.contact-aside a {
  color: var(--white);
}

input,
textarea,
select {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 750;
}

.faq-section {
  background: var(--cream);
}

.faq-card {
  padding: 1.5rem;
  border-left: 0.5rem solid var(--mustard-dark);
  background: var(--paper);
}

.legal-band {
  color: var(--paper);
  background: var(--tomato-dark);
}

.legal-band strong {
  color: #ffdd85;
}

.site-footer {
  padding: var(--space-5) max(1.25rem, calc((100% - var(--content)) / 2));
  color: var(--paper);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  gap: var(--space-4);
}

.footer-title {
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
}

.footer-nav a:hover {
  color: #ffcf5c;
}

.footer-bottom {
  margin-top: var(--space-4);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

@media (min-width: 42rem) {
  section {
    padding-top: var(--space-7);
    padding-bottom: var(--space-7);
  }

  h1 {
    font-size: 4.4rem;
  }

  .stub-grid,
  .steps-grid,
  .faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band {
    grid-template-columns: minmax(0, 2fr) auto;
  }

  .cta-band .button {
    justify-self: end;
  }

  .footer-grid {
    grid-template-columns: 1.25fr 1fr;
    align-items: end;
  }

  .footer-nav ul {
    justify-content: flex-end;
  }
}

@media (min-width: 58rem) {
  .hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(18rem, 0.8fr);
    gap: var(--space-5);
    align-items: end;
  }

  .hero-copy h1 {
    margin-bottom: 0;
    font-size: 5.5rem;
  }

  .hero-side {
    padding-left: 1.5rem;
    border-left: 2px solid var(--ink);
  }

  .editorial-split,
  .info-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }

  .editorial-split .media-4x3 {
    order: 2;
  }

  .service-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .responsible-section {
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
    align-items: center;
  }

  .contact-hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.55fr);
  }

  .contact-hero h1 {
    font-size: 4.4rem;
  }

  .contact-section {
    grid-template-columns: minmax(0, 1.5fr) minmax(17rem, 0.5fr);
    align-items: start;
  }
}

@media (max-width: 48rem) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .site-nav ul {
    width: max-content;
    flex-wrap: nowrap;
  }

  .hero-home .media-21x9 {
    box-shadow: 0.35rem 0.35rem 0 var(--ink);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
