/* seminaires-pays-basque.com : annuaire B2B. Lisibilité et confiance d'abord.
   Signature : le « linge basque », cinq bandes de couleur qui codent les cinq catégories. */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
:root {
  --bg: #f4f6f5; --surface: #fcfdfc; --ink: #13222e; --muted: #47565f; --line: #d5ddd9; --line-strong: #9fb0aa;
  --accent: #b42318; --accent-ink: #ffffff; --accent-hover: #93190f; --focus: #1f5f99;
  --c-lieu: #b42318; --c-act: #17694b; --c-trait: #9a5b0a; --c-heb: #1f5f99; --c-trans: #3f4a55;
  --radius: 6px; --gut: clamp(16px, 4vw, 32px); --max: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1a22; --surface: #15232d; --ink: #e8eeeb; --muted: #a9b8bf; --line: #2a3b46; --line-strong: #4a5e6a;
    --accent: #ef6a5f; --accent-ink: #13090a; --accent-hover: #ff8a80; --focus: #7fb3e6;
    --c-lieu: #ef6a5f; --c-act: #4fbf8f; --c-trait: #e0a54a; --c-heb: #6fa8e0; --c-trans: #a7b4bf;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; font-stretch: 100%;
  font-size: 1.0625rem; line-height: 1.6; font-variant-numeric: tabular-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-stretch: 112%; font-weight: 760; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap-wide { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 30; }
.skip:focus { left: 8px; }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em; }
.lede { font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.small { font-size: .9rem; color: var(--muted); }
.note { color: var(--muted); max-width: 70ch; }

/* Le linge : cinq bandes, une par catégorie */
.c-lieu-seminaire { --c: var(--c-lieu); } .c-activite-team-building { --c: var(--c-act); }
.c-traiteur { --c: var(--c-trait); } .c-hebergement-groupe { --c: var(--c-heb); } .c-transport { --c: var(--c-trans); }
.linge { display: grid; grid-template-columns: repeat(5, 1fr); height: 4px; }
.linge span { background: var(--c); }

/* En-tête */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { display: grid; grid-template-rows: repeat(5, 3px); gap: 2px; width: 22px; }
.brand-mark i { display: block; }
.brand-mark i:nth-child(1) { background: var(--c-lieu); } .brand-mark i:nth-child(2) { background: var(--c-act); }
.brand-mark i:nth-child(3) { background: var(--c-trait); } .brand-mark i:nth-child(4) { background: var(--c-heb); }
.brand-mark i:nth-child(5) { background: var(--c-trans); }
.brand-name { font-stretch: 115%; font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; margin: 0; }
.brand-name b { font-weight: 780; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { text-decoration: none; font-weight: 520; font-size: .98rem; }
.nav a[aria-current="page"] { color: var(--accent); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--ink); padding: 8px; font-size: 1.25rem; line-height: 1; cursor: pointer; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line);
         flex-direction: column; align-items: stretch; padding: 12px var(--gut) 20px; gap: 12px; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav ul a { display: block; padding: 10px 0; }
  .site-head { position: sticky; }
}

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent);
       border-radius: var(--radius); padding: 13px 20px; font: inherit; font-weight: 650; font-stretch: 105%; text-decoration: none; white-space: nowrap;
       cursor: pointer; transition: background-color .2s, transform .15s; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-sm { padding: 9px 14px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }

/* Fil d'Ariane */
.crumbs { max-width: var(--max); margin: 0 auto; padding: 18px var(--gut) 0; font-size: .92rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }

/* Accueil : hero et ligne de côte */
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: clamp(32px, 6vw, 72px); padding-bottom: 36px; }
.hero h1 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3rem); max-width: 21ch; }
.coast { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 10px; }
.coast-h { font-size: 1.05rem; font-stretch: 100%; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.stations { list-style: none; margin: 0; padding: 0; position: relative; }
.stations::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 30px; width: 2px; background: var(--c-heb); }
.stations a { display: grid; grid-template-columns: 16px 1fr auto; grid-template-rows: auto auto; column-gap: 14px; align-items: baseline; padding: 10px 0 12px; text-decoration: none; }
.stations li + li a { border-top: 1px solid var(--line); }
.st-dot { grid-row: 1 / span 2; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--c-heb); position: relative; z-index: 1; align-self: center; transition: background-color .2s; }
.st-name { font-weight: 720; font-stretch: 108%; font-size: 1.1rem; }
.st-near { grid-column: 2; grid-row: 2; font-size: .9rem; color: var(--muted); }
.st-count { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-size: .92rem; color: var(--muted); white-space: nowrap; }
.stations a:hover .st-dot { background: var(--c-heb); }
.stations a:hover .st-name { color: var(--accent); }
.plate { margin: 0 auto 0; }
.plate img { width: 100%; aspect-ratio: 12 / 4; object-fit: cover; object-position: 50% 58%; border: 1px solid var(--line); border-radius: var(--radius); }
.plate figcaption, .t-plate figcaption { font-size: .85rem; color: var(--muted); padding-top: 8px; }

/* Bandes de catégories */
.cats { padding-top: clamp(48px, 7vw, 88px); }
.bands { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.band a { display: grid; grid-template-columns: 56px minmax(0, 17rem) minmax(0, 1fr) auto 28px; gap: 20px; align-items: center;
          background: var(--surface); border: 1px solid var(--line); border-left: 10px solid var(--c); border-radius: var(--radius);
          padding: 18px 20px; text-decoration: none; transition: transform .2s, border-color .2s; }
.band a:hover { transform: translateX(4px); border-color: var(--c); border-left-color: var(--c); color: inherit; }
.band-ic { color: var(--c); font-size: 1.9rem; display: flex; }
.band-name { font-weight: 760; font-stretch: 110%; font-size: 1.2rem; line-height: 1.2; }
.band-desc { color: var(--muted); font-size: .98rem; }
.band-count { font-stretch: 120%; font-weight: 800; font-size: 2rem; color: var(--c); }
.band-go { color: var(--muted); font-size: 1.2rem; display: flex; }
@media (max-width: 760px) {
  .band a { grid-template-columns: 40px 1fr auto; gap: 6px 14px; padding: 16px; }
  .band-ic { grid-row: 1 / span 2; font-size: 1.6rem; }
  .band-desc { grid-column: 2 / span 2; grid-row: 2; }
  .band-count { grid-column: 3; grid-row: 1; font-size: 1.5rem; }
  .band-go { display: none; }
}

/* Team building */
.tb { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(48px, 7vw, 88px); }
.tb-text p { max-width: 62ch; }
.tally { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 4px solid var(--c-act); }
.tally li { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
.tally b { display: block; font-stretch: 120%; font-weight: 800; font-size: 1.7rem; color: var(--c-act); line-height: 1.1; }

/* Méthode */
.method { padding-top: clamp(48px, 7vw, 88px); }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 16px; }
.method-grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 8px; }
.checks, .crosses { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li, .crosses li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.checks li::before, .crosses li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.checks li::before { content: "✓"; color: var(--c-act); }
.crosses li::before { content: "×"; color: var(--accent); font-size: 1.2em; line-height: 1.2; }

/* FAQ */
.faq { padding-top: clamp(48px, 7vw, 88px); max-width: calc(880px + 2 * var(--gut)); margin-left: max(0px, calc((100% - var(--max)) / 2)); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 680; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq .ans { padding: 0 0 18px; color: var(--muted); max-width: 70ch; }

/* Lettre */
.nl { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; padding-top: clamp(48px, 7vw, 88px); }
.nl-row { display: flex; gap: 10px; }
.nl-row input { flex: 1; min-width: 0; }

/* Bande d'appel */
.cta-band { margin-top: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.cta-inner h2 { margin-bottom: .25em; }
.cta-inner p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .cta-inner { flex-direction: column; align-items: flex-start; } }

/* Territoires et catégories */
.t-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: 24px; }
.t-text p:not(.lede) { max-width: 62ch; }
.t-plate { margin: 0; }
.t-plate img { border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; }
.chips { list-style: none; padding: 0; margin: 32px 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-left: 6px solid var(--c); border-radius: var(--radius);
        padding: 7px 12px; text-decoration: none; font-weight: 600; font-size: .95rem; background: var(--surface); }
.chip .ic { color: var(--c); }
a.chip:hover { border-color: var(--c); }
.cat-sec { padding-top: clamp(32px, 5vw, 56px); }
.cat-sec h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.h-link { font-size: .95rem; font-weight: 550; font-stretch: 100%; letter-spacing: 0; color: var(--muted); }
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: var(--radius); padding: 16px 18px; position: relative; transition: border-color .2s; }
.card:hover { border-color: var(--c); }
.card a { text-decoration: none; }
.card a::after { content: ""; position: absolute; inset: 0; }
.card-name { font-weight: 720; font-stretch: 106%; font-size: 1.08rem; line-height: 1.3; }
.card a:hover .card-name { color: var(--accent); }
.card-meta { color: var(--muted); font-size: .92rem; margin: 4px 0 0; }
.card-cap { font-size: .92rem; margin: 8px 0 0; }
.c-hero { padding-top: 24px; position: relative; }
.c-hero h1 { max-width: 22ch; }
.c-ic { display: inline-flex; font-size: 2.4rem; color: var(--c); border-bottom: 6px solid var(--c); padding-bottom: 6px; margin-bottom: 14px; }
.t-body { padding-bottom: 8px; }

/* Fiche */
.fiche { padding-top: 24px; }
.f-head { border-left: 10px solid var(--c); padding-left: clamp(14px, 2.5vw, 24px); margin-bottom: 32px; }
.f-head h1 { max-width: 24ch; margin-bottom: .3em; }
.f-cat { margin: 0 0 14px; }
.f-meta { font-size: 1.15rem; color: var(--muted); margin-bottom: 10px; }
.verified { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--c-act); margin: 0; }
.f-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.facts { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.facts .row { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 16px; padding: 14px 20px; }
.facts .row + .row { border-top: 1px solid var(--line); }
.facts dt { font-weight: 680; color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts ul { margin: 0; padding-left: 1.1em; }
.source { font-size: .92rem; color: var(--muted); margin-top: 16px; max-width: 75ch; }
.f-side { position: sticky; top: 92px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 20px; }
.side-h { font-weight: 760; font-stretch: 108%; font-size: 1.15rem; line-height: 1.25; }
.side-card p:not(.side-h) { color: var(--muted); font-size: .95rem; }
.side-claim { font-size: .92rem; color: var(--muted); margin-top: 14px; }
.related { padding-top: clamp(40px, 6vw, 72px); }
.related .link { margin-top: 16px; }

/* Formulaires */
.form-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: 24px; }
.fp-intro h1 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.6rem); }
.fp-intro h2 { font-size: 1.2rem; margin-top: 1.4em; }
fieldset.field { padding: 0; margin-inline: 0; }
.quote { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); }
.req-note { font-size: .9rem; color: var(--muted); }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
label, legend { display: block; font-weight: 650; margin-bottom: 6px; }
input[type=text], input:not([type]), input[type=email], input[type=tel], input[type=number], input[type=url], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 12px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
input[aria-invalid=true], select[aria-invalid=true] { border-color: var(--accent); }
.help { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 450; margin-bottom: 12px; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--accent); }
.checks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.consent { font-weight: 600; margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts { margin: 14px 0; min-height: 0; }
.form-msg { margin: 14px 0 0; font-weight: 600; min-height: 1.4em; }
.form-msg.ok { color: var(--c-act); }
.form-msg.err { color: var(--accent); }
.nl-form label { font-weight: 600; }

/* Pages de texte */
.prose { max-width: calc(800px + 2 * var(--gut)); margin-left: max(0px, calc((100% - var(--max)) / 2)); padding-top: 24px; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.aij-metrics-notice { margin-top: 2em; }

/* Pied de page */
.site-foot { margin-top: clamp(56px, 8vw, 104px); background: var(--surface); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; padding-top: 40px; padding-bottom: 48px; font-size: .95rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--muted); }
.foot-h { font-weight: 720; margin-bottom: 10px; }
.foot-about p:not(.brand-name) { color: var(--muted); max-width: 46ch; }
.cta-band + .site-foot { margin-top: 0; }

@media (max-width: 900px) {
  .hero, .tb, .nl, .t-hero, .form-page, .f-grid { grid-template-columns: 1fr; }
  .f-side { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
  .method-grid { grid-template-columns: 1fr; }
  .plate img { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .field-row, .checks-grid { grid-template-columns: 1fr; }
  .facts .row { grid-template-columns: 1fr; gap: 2px; }
  .tally { grid-template-columns: 1fr 1fr; }
  .nl-row { flex-direction: column; }
  .foot-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: .98rem; }
  .actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-text, .coast { animation: rise .6s cubic-bezier(.16, 1, .3, 1) both; }
  .coast { animation-delay: .12s; }
  .stations li { animation: rise .5s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.2s + var(--i, 0) * .06s); }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
