/* ===== Design tokens — neubrutalist / scrapbook style ===== */
:root {
  --cream: #f4efe3;
  --white: #fffdf9;
  --ink: #211c17;
  --body: #4a4038;
  --secondary: #948a7c;

  /* muted, elegant earth-tone family — matching the business card */
  --peach: #cf8f63;    /* terracotta / rust */
  --mint: #a8b0b0;     /* dusty blue-grey */
  --yellow: #cfae76;   /* warm tan / ochre */
  --pink: #e6d2ca;     /* dusty pink / mauve */

  /* alternating rhythm: cream / terracotta-tint, staying in the same warm family */
  --sec-tint: #ecd8c3;
  --sec-home: var(--cream);
  --sec-services: var(--sec-tint);
  --sec-pricing: var(--cream);
  --sec-about: var(--sec-tint);
  --sec-contact: var(--cream);

  --radius: 20px;
  --radius-sm: 14px;
  --border: 2.5px solid var(--ink);
  --shadow-hard: 7px 7px 0 var(--ink);
  --shadow-hard-sm: 4px 4px 0 var(--ink);
  --maxw: 1200px;
  --nav-h: 84px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: Montserrat, system-ui, sans-serif;
  color: var(--body);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  color: var(--ink); margin: 0;
  font-family: "Fredoka", Montserrat, system-ui, sans-serif;
  font-weight: 700;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ===== Typography ===== */
.display-1 {
  font-size: clamp(2rem, 4vw + 1rem, 54px);
  line-height: 1.12; font-weight: 700;
}
.display-2 {
  font-size: clamp(1.85rem, 3vw + 1rem, 48px);
  line-height: 1.15; font-weight: 700; letter-spacing: -.01em;
}
.paragraph-large {
  font-size: clamp(1.02rem, 1vw + .75rem, 20px);
  line-height: 1.6;
  margin: 22px 0 30px;
}
.label {
  display: inline-block;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 30px;
  padding: 9px 22px;
  box-shadow: 4px 4px 0 var(--ink);
  margin: 0 0 18px;
}
/* highlighter chip instead of gradient text — stays legible on any section color */
.text-gradient {
  background: var(--white);
  border: 2px solid var(--ink);
  padding: 1px 10px;
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  display: inline;
}

/* ===== Hero role tiles / signature hard-shadow tag ===== */
.hero-roles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 0;
}
.role-square {
  display: block;
  padding: 18px 20px;
  background: var(--white);
  color: var(--ink);
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1rem, 1vw + .7rem, 1.3rem);
  font-weight: 600;
  line-height: 1.3;
  border: var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hard);
  transition: transform .15s ease, box-shadow .15s ease;
  width: fit-content;
}
.hero-kicker {
  margin-bottom: 22px;
  font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem);
  padding: 22px 30px;
}
.role-square:hover { transform: translate(3px, 3px); box-shadow: 4px 4px 0 var(--ink); }
.hero-roles .role-square:nth-child(1) { margin-left: 40px; }
.hero-roles .role-square:nth-child(2) { margin-left: 96px; }
.role-square--peach    { background: var(--peach); }
.role-square--yellow   { background: var(--yellow); }
.role-square--lavender { background: var(--pink); }
.role-square--mint     { background: var(--mint); }
.role-square--pink     { background: var(--pink); }

/* ===== Sections — one vivid color each, same coherent family ===== */
.section { padding-block: clamp(56px, 8vw, 110px); }
.section--home     { background: var(--sec-home); }
.section--about     { background: var(--sec-about); }
.section--services  { background: var(--sec-services); }
.section--pricing   { background: var(--sec-pricing); }
.section--contact   { background: var(--sec-contact); }

/* ===== Navbar ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--sec-tint);
  border-bottom: var(--border);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
.brand {
  display: inline-flex; align-items: center;
  font-family: "Fredoka", sans-serif;
  font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); color: var(--ink); letter-spacing: -.01em;
  background: var(--yellow);
  border: var(--border);
  border-radius: 12px;
  padding: 8px 18px;
  box-shadow: var(--shadow-hard-sm);
  transform: rotate(-1.5deg);
  transition: transform .15s ease, box-shadow .15s ease;
}
.brand:hover { transform: rotate(0deg) translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

/* same nameplate treatment as the navbar brand, sized for inline text */
.name-chip {
  display: inline-block;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0 9px;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-1.5deg);
}
.nav-desktop { display: flex; align-items: center; gap: 36px; }
.nav-desktop ul { display: flex; gap: 28px; }
.nav-desktop a { font-weight: 600; transition: color .2s; }
.nav-desktop a:hover { color: var(--peach); }
.nav-contact { display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; text-align: right; font-weight: 600; }
.nav-contact a:hover { color: var(--peach); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; border-radius: 2px; background: var(--ink); transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-mobile { border-top: var(--border); background: var(--sec-tint); padding: 20px 24px; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile a { display: block; padding: 12px 0; font-weight: 600; font-size: 18px; }
.nav-mobile .nav-contact { text-align: left; margin-top: 16px; font-size: 15px; }

/* ===== Hero ===== */
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 56px; align-items: center;
}
.hero-image { border-radius: var(--radius); border: var(--border); box-shadow: var(--shadow-hard); width: 100%; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Fredoka", sans-serif;
  font-weight: 600; font-size: 16px;
  padding: 14px 28px; border-radius: 40px;
  border: var(--border);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-icon { font-size: 11px; }
.btn--primary { background: var(--white); color: var(--ink); box-shadow: var(--shadow-hard-sm); }
.btn--dark    { background: var(--ink); color: var(--white); box-shadow: 4px 4px 0 var(--peach); }
.btn--light   { background: var(--white); color: var(--ink); box-shadow: var(--shadow-hard-sm); }
.btn:hover { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--dark:hover { box-shadow: 1px 1px 0 var(--peach); }

/* ===== Headline ===== */
.headline { max-width: 760px; margin-bottom: 48px; }
.headline .paragraph-large { margin-bottom: 0; }

/* ===== Service cards ===== */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-hard); border: var(--border);
  padding: 24px 36px 36px;
}
.card--peach, .card--lavender { }
.card--peach    { background: var(--mint); }
.card--lavender { background: var(--yellow); }
.card-icon { display: flex; justify-content: center; margin-bottom: 8px; }
.card-icon img { height: 64px; width: auto; }
.card-title { font-size: 28px; text-align: center; margin: 0 0 24px; }
.card ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--ink);
}
.card strong { color: var(--ink); display: block; margin-bottom: 10px; }
.card-list-detailed li { line-height: 1.5; margin-bottom: 12px; }
.card-list-detailed strong { display: inline; margin: 0; }
.card-tagline {
  text-align: center; font-weight: 700; color: var(--ink);
  font-family: "Fredoka", sans-serif;
  margin: 24px 0 0; padding-top: 20px; border-top: 2px dashed var(--ink);
}

/* ===== À propos ===== */
.about-grid {
  display: grid; grid-template-columns: 1.2fr .8fr;
  gap: 56px; align-items: center;
}
.about-facts { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.about-facts .role-square { font-size: 1rem; padding: 14px 18px; }

/* ===== Tarifs / devis sur mesure ===== */
.quote-grid {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: 40px; align-items: center;
}
.quote-factors { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.quote-factors .role-square { font-size: 1rem; padding: 14px 18px; }
.pricing-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-hard); border: var(--border);
  padding: 44px;
}
.pricing-card--feature { background: var(--yellow); }
.price { font-family: "Fredoka", sans-serif; font-size: clamp(2rem, 3.5vw, 40px); font-weight: 700; line-height: 1; margin-bottom: 12px; }
.price span { font-size: .45em; font-weight: 500; color: var(--secondary); }
.pricing-card h4 { font-weight: 500; font-family: Montserrat, sans-serif; color: var(--body); margin-bottom: 26px; }
.bullet-list { margin-bottom: 32px; }
.bullet-list li { position: relative; padding-left: 30px; margin-bottom: 14px; font-weight: 600; }
.bullet-list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700;
  border-radius: 50%;
}

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  display: block; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-hard); border: var(--border);
  padding: 34px 26px; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.contact-card:hover { transform: translate(3px, 3px); box-shadow: var(--shadow-hard-sm); }
.contact-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; border: var(--border);
  font-size: 24px; margin-bottom: 16px;
}
.contact-card--yellow   { background: var(--yellow); }
.contact-card--mint     { background: var(--mint); }
.contact-card--lavender { background: var(--peach); }
.contact-icon--peach, .contact-icon--yellow, .contact-icon--mint { background: var(--white); }
.contact-card h3 { font-size: 17px; margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--body); font-weight: 600; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #e7e2d8; padding-block: 56px; border-top: var(--border); }
.footer .divider { height: 2px; background: rgba(255,255,255,.14); margin-bottom: 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; margin-bottom: 12px; font-family: "Fredoka", sans-serif; }
.footer-brand { color: #fff; font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 22px; margin: 0 0 6px; }
.footer-muted { color: var(--secondary); margin: 0 0 6px; }
.footer a:hover { color: var(--peach); }

/* ===== Scroll reveal ===== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-factors { flex-direction: row; flex-wrap: wrap; }
  .hero-roles .role-square:nth-child(1) { margin-left: 14px; }
  .hero-roles .role-square:nth-child(2) { margin-left: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { transition: none; opacity: 1; transform: none; }
  .role-square, .btn, .contact-card { transition: none; }
}
