/* Le Fournil d'Augustine — Démo Agence IA Web
   Ardoise froide · blé · four — identité distincte garage/fromagerie */

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

html {
  scroll-behavior: smooth;
}

:root {
  --ink: #141820;
  --ink-soft: #222833;
  --slate: #5a6472;
  --flour: #eef1f4;
  --flour-deep: #e2e6eb;
  --wheat: #b8952c;
  --wheat-deep: #8f7220;
  --crust: #5c3d28;
  --surface: #ffffff;
  --border: #d0d5dc;
  --text: #141820;
  --text-body: #3a424e;
  --text-muted: #6b7380;
  --radius: 6px;
  --shadow: 0 14px 44px rgba(20, 24, 32, 0.1);
  --container: 1080px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Bitter", "Georgia", serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(184, 149, 44, 0.08), transparent 55%),
    linear-gradient(165deg, #f7f8fa 0%, var(--flour) 45%, var(--flour-deep) 100%);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  z-index: 10000;
}
.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--wheat);
  outline-offset: 3px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
summary:focus:not(:focus-visible) {
  outline: none;
}

.btn:focus-visible,
.menu a:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid var(--wheat-deep);
  outline-offset: 3px;
}

.section-inner,
.nav-inner,
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

section {
  padding: clamp(52px, 7.5vw, 92px) 0;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

p {
  margin-bottom: 12px;
}

.lead {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 40ch;
}

.demo-banner {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  font-size: 0.82rem;
  padding: 9px 16px;
  letter-spacing: 0.01em;
}
.demo-banner a {
  color: var(--wheat);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 250, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo span {
  color: var(--wheat-deep);
  font-weight: 600;
}

.menu {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}
.menu a {
  display: block;
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate);
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.menu a:hover,
.menu a[aria-current="page"] {
  color: var(--ink);
  background: var(--flour-deep);
}

.header-cta {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 12px;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--wheat);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--wheat-deep);
  color: #fff;
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--ink-soft);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--wheat);
  color: var(--wheat-deep);
}

.hero {
  position: relative;
  min-height: min(88vh, 740px);
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20, 24, 32, 0.88) 0%, rgba(20, 24, 32, 0.55) 48%, rgba(20, 24, 32, 0.28) 100%),
    linear-gradient(0deg, rgba(20, 24, 32, 0.55) 0%, transparent 42%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: clamp(48px, 10vw, 96px) 20px clamp(56px, 8vw, 88px);
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--wheat);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.hero-brand span {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.hero h1 {
  max-width: 16ch;
  margin-bottom: 16px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crust);
  margin-bottom: 10px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 32px;
}
.section-head .lead {
  color: var(--text-muted);
}

.cite-ready {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 68ch;
}

.answer-block {
  max-width: 720px;
  padding: 28px 28px 24px;
  background: var(--surface);
  border-left: 3px solid var(--wheat);
  box-shadow: var(--shadow);
}

.entity-card {
  background: var(--surface);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--ink);
}
.entity-meta {
  display: grid;
  grid-template-columns: minmax(110px, 160px) 1fr;
  gap: 10px 20px;
  margin-top: 22px;
  font-size: 0.95rem;
}
.entity-meta dt {
  font-weight: 700;
  color: var(--slate);
}
.entity-meta dd {
  color: var(--text);
}
.entity-meta a {
  color: var(--wheat-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.note-fictive {
  font-size: 0.9rem;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.55);
}

.grid-2,
.grid-2-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.grid-2-equal {
  align-items: stretch;
}

.topic {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.topic:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.topic picture,
.topic img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.topic h3,
.topic p,
.topic a {
  padding-left: 20px;
  padding-right: 20px;
}
.topic h3 {
  margin-top: 18px;
}
.topic p {
  flex: 1;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.topic a {
  display: inline-block;
  padding-bottom: 20px;
  font-weight: 700;
  color: var(--wheat-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.media-frame {
  overflow: hidden;
  box-shadow: var(--shadow);
}
.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.photo-credit {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 8px 4px 0;
}

.split-section {
  background: rgba(255, 255, 255, 0.45);
}

.faq-list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 18px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  padding: 14px 0;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list details[open] summary {
  color: var(--wheat-deep);
}
.faq-list details p {
  padding-bottom: 16px;
  color: var(--text-muted);
}

.cta-band {
  background: var(--ink);
  color: #fff;
  padding: clamp(48px, 7vw, 72px) 0;
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 48ch;
  margin-bottom: 22px;
}

.site-footer {
  background: var(--ink-soft);
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 28px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.site-footer .logo {
  color: #fff;
  display: inline-block;
  margin-bottom: 12px;
}
.site-footer a:hover {
  color: var(--wheat);
}
.site-footer h3,
.site-footer .footer-label {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer ul li {
  margin-bottom: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.prose {
  max-width: 68ch;
}
.prose a,
.geo-qa a,
.section-head a {
  color: var(--wheat-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose h2 {
  margin-top: 2rem;
}
.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 16px;
}
.prose li {
  margin-bottom: 6px;
}

.page-hero {
  background: var(--ink);
  color: #fff;
  padding: clamp(40px, 6vw, 64px) 0;
}
.page-hero h1 {
  max-width: 28ch;
  margin-bottom: 12px;
}
.page-hero .eyebrow {
  color: var(--wheat);
}
.page-hero .lead {
  color: rgba(255, 255, 255, 0.8);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.prose ul,
.prose-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 12px 0 16px;
}
.prose li,
.prose-list li {
  margin-bottom: 8px;
}

.form-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.geo-qa + .geo-qa {
  margin-top: 8px;
}

.geo-q {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 8px;
}
.geo-q.is-lead {
  font-size: 1.35rem;
}

.form-card {
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--wheat);
}
.form-card label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 6px;
  margin-top: 14px;
}
.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font: inherit;
  background: #fff;
}
.form-card textarea {
  min-height: 140px;
  resize: vertical;
}
.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
}
.form-status.ok {
  color: #166534;
}
.form-status.err {
  color: #b91c1c;
}

.product-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.product-block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.product-block.reverse {
  direction: rtl;
}
.product-block.reverse > * {
  direction: ltr;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: flex;
  }
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px;
    margin: 0;
  }
  .menu.open {
    display: flex;
  }
  .header-cta {
    display: none;
  }
  .grid-2,
  .grid-2-equal,
  .footer-grid,
  .contact-layout,
  .product-block,
  .product-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .entity-meta {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .entity-meta dt {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
