@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --paper: #f8f7f0;
  --ink: #222b1c;
  --muted: #515648;
  --green: #435d3b;
  --lime: #e3ed99;
  --line: #d9dbcc;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper) url("paper.png") repeat; color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #88652a; outline-offset: 4px; }
.skip { position: absolute; top: .45rem; left: .45rem; z-index: 5; padding: .7rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 6rem, 1160px); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; column-gap: 1.5rem; min-height: 5rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; text-decoration: none; font-weight: 800; letter-spacing: -.035em; font-size: 1.2rem; white-space: nowrap; }
.mark { display: grid; place-items: center; background: var(--ink); color: var(--lime); border-radius: .7rem; width: 2.1rem; height: 2.1rem; font-size: 1.35rem; line-height: 1; }
nav, .header-actions, .hero-actions { display: flex; align-items: center; gap: 1.5rem; }
nav a { text-decoration: none; font-size: .95rem; font-weight: 700; }
nav a:hover { text-decoration: underline; text-underline-offset: .3rem; }
.languages { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 2rem; }
.languages button { background: transparent; color: var(--muted); border: 0; border-radius: 2rem; font-weight: 800; font-size: .875rem; min-height: 2rem; min-width: 2.25rem; }
.languages [aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.button { background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: .65rem; padding: .9rem 1.35rem; min-height: 3.25rem; display: inline-flex; justify-content: center; align-items: center; text-decoration: none; font-weight: 800; text-align: center; }
.button:hover { background: var(--green); border-color: var(--green); }
.button:disabled { opacity: .65; cursor: default; }
.button-small { font-size: .9rem; padding: .6rem .92rem; min-height: 2.7rem; }
.button-outline { background: transparent; color: var(--ink); }
.button-outline:hover { color: #fff; }
.text-link { font-weight: 800; text-decoration: underline; text-underline-offset: .23em; text-decoration-color: #788968; text-decoration-thickness: 2px; }
.text-link:hover { color: var(--green); }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.4rem, 6vw, 5rem); }
.eyebrow { margin: 0 0 .8rem; color: var(--green); font-size: .875rem; font-weight: 800; letter-spacing: .12em; }
.location { display: flex; align-items: center; gap: .55rem; }
.location > span:first-child { font-size: .65rem; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -.055em; text-wrap: balance; }
h1 { font-size: clamp(3.5rem, 7.35vw, 7rem); line-height: .99; }
html[lang="fr"] h1 { font-size: clamp(3.15rem, 6.35vw, 6.2rem); }
h1 em { color: var(--green); }
h2 { font-size: clamp(2.55rem, 4.8vw, 4.3rem); line-height: 1.06; }
.intro { margin: 1.65rem 0 1.65rem; color: var(--muted); font-size: clamp(1.04rem, 1.65vw, 1.22rem); max-width: 38ch; }
.hero-actions { flex-wrap: wrap; gap: .9rem 1.4rem; }
.hero-photo { position: relative; margin: 0; border-radius: .25rem; overflow: hidden; height: clamp(330px, 40vw, 510px); background: #bec39c; border: .55rem solid #fffdf6; box-shadow: 0 2px 5px #292d2438, 0 12px 24px #292d241e; transform: rotate(1deg); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-photo figcaption { position: absolute; bottom: 1rem; left: 1rem; max-width: calc(100% - 2rem); display: flex; align-items: center; gap: .55rem; background: var(--lime); color: var(--ink); font-weight: 800; padding: .57rem .83rem; border-radius: .53rem; }
.hero-photo figcaption span:first-child { font-size: 1.1rem; }
.strip { background: var(--lime) url("paper.png") repeat; border-block: 1px solid #cbd77e; }
.strip-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: .6rem 1.3rem; padding-block: .92rem; font-weight: 800; }
.strip-inner > span { display: inline-flex; align-items: center; gap: .57rem; }
.strip b { font-size: 1.17rem; color: var(--green); }
.section { padding-block: clamp(3.6rem, 8vw, 6.6rem); }
.section-head { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: .85rem 2rem; margin-bottom: 1.7rem; }
.section-head > p, .request-copy > p:not(.eyebrow), .about-intro { color: var(--muted); margin: 0; max-width: 45ch; }
.section-head > p { justify-self: end; }
.levels { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 1.05rem; }
.levels button { border: 1px solid #bcbfad; border-radius: 2rem; background: transparent; color: var(--ink); padding: .56rem 1rem; font-size: .95rem; font-weight: 800; min-height: 2.75rem; }
.levels [aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.levels button:not([aria-pressed="true"]):hover { background: #ecf0d6; }
.subject-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.subject { display: flex; flex-direction: column; align-items: flex-start; background: #f1f1e5 url("paper.png") repeat; border: 1px solid var(--line); border-radius: .85rem; padding: 1.15rem; }
.subject:nth-child(2) { background-color: #f4ebdd; }
.subject:nth-child(3) { background-color: #eaf0df; }
.subject:nth-child(4) { background-color: #f1ece2; }
.subject-icon { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; color: var(--green); background: #fff9; border-radius: .65rem; font-size: 1.25rem; font-weight: 800; }
.subject h3 { margin: .85rem 0 .3rem; font-size: 1.08rem; line-height: 1.25; }
.subject p { color: var(--muted); margin: 0 0 1.05rem; }
.subject a { display: inline-block; margin-top: auto; font-size: .9rem; }
.about { background: #e8ebdb url("paper.png") repeat; border-block: 1px solid var(--line); }
.about-grid, .request { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(2rem, 8vw, 7rem); }
.about-intro, .request-copy > p:not(.eyebrow) { margin-top: 1rem; }
.about-degree { margin: 1rem 0 0; color: var(--green); font-weight: 800; }
.how-title { margin: 0; font-size: 1.28rem; }
.steps { padding-left: 1.6rem; margin: 0; }
.steps li { padding: .8rem 0 .8rem .4rem; border-bottom: 1px solid #cbd0bd; }
.steps li::marker { color: var(--green); font-weight: 800; }
.steps li span { display: block; color: var(--muted); }
.request-copy .form-note { font-size: .95rem; padding-left: .75rem; border-left: 3px solid #adb95c; }
.rates { max-width: 25rem; margin: 1.25rem 0; border-block: 1px solid var(--line); }
.rates > div { display: flex; justify-content: space-between; gap: .75rem; padding: .55rem .2rem; }
.rates > div + div { border-top: 1px solid var(--line); }
.rates dd { margin: 0; font-weight: 800; white-space: nowrap; }
form { border: 1px solid var(--line); border-radius: 1rem; background: #fffdf7; padding: clamp(1rem, 3vw, 1.8rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem .85rem; margin: 0 0 1.1rem; border: 0; padding: 0; min-inline-size: 0; }
.form-grid > label { min-width: 0; }
label { display: block; font-weight: 800; font-size: .95rem; }
label small { font-size: .875rem; font-weight: 500; color: var(--muted); }
select, textarea, input[type="email"], input[type="tel"] { margin-top: .3rem; width: 100%; color: var(--ink); border: 1px solid #bcbfad; border-radius: .45rem; background-color: #fff; padding: .58rem .65rem; }
select { appearance: none; padding-right: 1.8rem; min-height: 2.85rem; background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%); background-position: right .95rem center, right .65rem center; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; }
.full { grid-column: 1 / -1; }
.contact-hint { margin: 0; color: var(--muted); }
.delivery-note { font-size: .875rem; color: var(--muted); margin: 0 0 .85rem; }
.whatsapp-link { display: inline-block; margin: .6rem 0 .6rem .75rem; }
#form-status { font-size: .93rem; color: var(--green); margin: .65rem 0 0; }
#form-status[data-error] { color: #873724; }
#form-status:empty { margin: 0; }
footer { background: #e8ebdb url("paper.png") repeat; border-top: 1px solid var(--line); }
footer p { color: var(--muted); }
@media (max-width: 950px) {
  .wrap { width: min(100% - 3rem, 1160px); }
  .subject-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 730px) {
  .header-inner { min-height: 4.1rem; }
  nav, .header-cta { display: none; }
  .hero, .section-head, .about-grid, .request { grid-template-columns: 1fr; }
  .hero { gap: 1.65rem; }
  .hero-photo { height: clamp(265px, 66vw, 415px); transform: none; }
  .section-head > p { justify-self: start; }
  .footer-inner { flex-wrap: wrap; padding-block: 1.2rem; gap: .65rem 1.1rem; }
  footer p { margin: 0; }
}
@media (max-width: 400px) {
  .wrap { width: calc(100% - 2rem); }
  .subject-grid, .form-grid { grid-template-columns: 1fr; }
  .hero-actions { align-items: flex-start; }
  .strip-inner { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
