/* Talenti Provence — feuille de style */
:root {
  --ink: #222;
  --text: #444;
  --muted: #8a8580;
  --line: #e7e3de;
  --sand: #f6f3ef;
  --taupe: #524f4d;
  --taupe-dark: #3f3c3a;
  --white: #fff;
  --head: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Sarabun', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1200px;
  --header: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 16px/1.75 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
strong, b { font-weight: 700; color: var(--ink); }
h1, h2, h3 { font-family: var(--head); font-weight: 300; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); line-height: 1.25; margin: 0; }
h1 { font-size: clamp(26px, 3.4vw, 44px); }
h2 { font-size: clamp(20px, 2.2vw, 28px); }
h3 { font-size: 17px; letter-spacing: .14em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.eyebrow { font: 500 11px/1.4 var(--head); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-title { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.lead { font-size: 18px; color: var(--text); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* Boutons */
.btn { display: inline-block; font: 500 11px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; padding: 16px 30px; border: 1px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; transition: background .25s, color .25s; }
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--white); }
.btn-light { border-color: var(--white); color: var(--white); }
.btn-light:hover, .btn-light:focus-visible { background: var(--white); color: var(--ink); }
.btn-solid { background: var(--taupe); border-color: var(--taupe); color: var(--white); }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--taupe-dark); border-color: var(--taupe-dark); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header); background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: baseline; gap: 10px; color: var(--ink); }
.logo .mark { font: 300 28px/1 var(--head); letter-spacing: .06em; }
.logo .sub { font: 500 10px/1 var(--head); letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font: 500 11px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); padding: 8px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 24px; height: 24px; }
@media (max-width: 860px) { .main-nav .nav-link { display: none; } }

/* Menu plein écran */
.overlay { position: fixed; inset: 0; z-index: 60; background: var(--white); display: none; overflow-y: auto; }
.overlay.open { display: block; }
.overlay .bar { height: var(--header); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.overlay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding: 56px 0; }
.overlay h3 { margin-bottom: 18px; font-size: 13px; color: var(--muted); }
.overlay ul { list-style: none; margin: 0; padding: 0; }
.overlay li a { display: inline-block; font: 300 20px/1.9 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.overlay li a:hover { color: var(--muted); }

/* Hero */
.hero { position: relative; height: calc(100vh - var(--header)); min-height: 460px; max-height: 900px; overflow: hidden; background: var(--taupe); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.08) 45%, rgba(0,0,0,.42) 100%); }
.hero .caption { position: absolute; inset: auto 0 12%; z-index: 1; text-align: center; color: var(--white); padding: 0 16px; }
.hero h1 { color: var(--white); font-weight: 200; letter-spacing: .14em; }
.hero p { margin: 18px 0 30px; font: 400 12px/1.6 var(--head); letter-spacing: .3em; text-transform: uppercase; }
.page-hero { height: clamp(320px, 56vh, 620px); }
.page-hero .caption { bottom: 14%; }

/* Introduction */
.intro p { font-size: 17px; }
.intro h2 { margin-bottom: 26px; }

/* Bandeaux collections (style Talenti) */
.banners { display: grid; gap: 14px; }
.banner { position: relative; display: block; overflow: hidden; aspect-ratio: 21 / 8; background: var(--sand); }
.banner img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.banner::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); transition: background .4s; }
.banner:hover img { transform: scale(1.04); }
.banner:hover::after { background: rgba(0,0,0,.3); }
.banner .label { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center; color: var(--white); }
.banner .name { font: 300 clamp(22px, 3.6vw, 44px)/1.1 var(--head); letter-spacing: .1em; text-transform: uppercase; }
.banner .name b { color: var(--white); font-weight: 400; }
.banner .more { margin-top: 12px; font: 400 13px/1 var(--body); letter-spacing: .06em; }
@media (max-width: 640px) { .banner { aspect-ratio: 4 / 3; } }

/* Tuiles catalogues */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%); }
.tile:hover img { transform: scale(1.04); }
.tile .label { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; color: var(--white); }
.tile .label small { display: block; font: 500 10px/1.4 var(--head); letter-spacing: .26em; text-transform: uppercase; opacity: .85; }
.tile .label span { display: block; margin-top: 6px; font: 300 24px/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 4 / 3; } }

/* Bloc éditorial image + texte */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split.reverse > :first-child { order: 2; }
.split h2 { margin-bottom: 22px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.band { background: var(--sand); }

/* Page collection */
.cat-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cat-nav a { font: 500 11px/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; }
.cat-nav a:hover, .cat-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.col-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.col-index a { font: 500 11px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--line); padding: 10px 16px; }
.col-index a:hover { border-color: var(--ink); }
.collection { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header) + 12px); }
.collection header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.collection h2 b { font-weight: 400; }
.collection .count { font: 500 11px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery button { padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.gallery button:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.cta-line { margin-top: 26px; }

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(20,19,18,.94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; width: 52px; height: 52px; font: 300 30px/1 var(--head); }
.lightbox .close { top: 8px; right: 8px; }
.lightbox .prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 4px; top: 50%; transform: translateY(-50%); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 88px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info dt { font: 500 11px/1.4 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 22px; }
.info dd { margin: 6px 0 0; color: var(--ink); }
.todo { background: #fff6d6; padding: 0 4px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font: 500 11px/1.4 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; font: 400 16px/1.5 var(--body); color: var(--ink); background: var(--white); border: 1px solid #cfc9c2; border-radius: 0; padding: 12px 14px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #a4322a; }
.field .err { color: #a4322a; font-size: 14px; margin: 6px 0 0; }
.field .help { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--taupe); }
.check label { text-transform: none; letter-spacing: 0; font: 400 15px/1.6 var(--body); color: var(--text); margin: 0; }
.form-error { color: #a4322a; }
.thanks { padding: 40px; background: var(--sand); text-align: center; }
.thanks h2 { margin-bottom: 14px; }

/* Pied de page */
.site-footer { background: var(--taupe); color: #ddd7d1; padding: 64px 0 28px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h3 { color: var(--white); font-size: 12px; letter-spacing: .24em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a:hover { color: var(--white); }
.site-footer .logo .mark, .site-footer .logo .sub { color: var(--white); }
.site-footer .legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #b9b2ab; }

/* Pages de texte */
.prose h2 { margin: 40px 0 16px; font-size: 18px; }
.prose p, .prose li { color: var(--text); }

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

/* Équipe */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; margin-top: 40px; }
.team article { border-top: 1px solid var(--line); padding-top: 22px; }
.team h3 { font: 500 18px/1.3 var(--head); color: var(--ink); margin: 0; }
.team .role { font: 500 11px/1.4 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 8px 0 14px; }
.team p { margin: 0; }
@media (max-width: 860px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; gap: 28px; } }
.info dd a, .site-footer li a[href^="tel"], .site-footer li a[href^="mailto"] { overflow-wrap: anywhere; }

/* Logo officiel */
.logo-svg { display: block; height: 40px; width: auto; aspect-ratio: 493 / 196; fill: currentColor; }
.site-footer .logo { color: var(--white); }
.site-footer .logo-svg { height: 72px; }
@media (max-width: 560px) { .logo-svg { height: 34px; } }

/* Galeries : photos entières, rangées justifiées (aucun rognage) */
.gallery { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery::after { content: ""; flex: 999 1 0; }
.gallery button { flex: var(--r) 1 calc(var(--r) * 260px); aspect-ratio: var(--r); grid-column: auto; grid-row: auto; }
.gallery button:first-child { grid-column: auto; grid-row: auto; }
.gallery img { object-fit: contain; }
@media (max-width: 760px) { .gallery button { flex-basis: calc(var(--r) * 150px); } }

/* Vidéo d'accueil (Vimeo, mode arrière-plan) : couvre la grande image, la photo reste visible pendant le chargement */
.hero-video { container-type: size; }
.hero-video iframe { position: absolute; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw);
  transform: translate(-50%, -50%); border: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hero-video iframe { display: none; } }

/* Sélecteur de langue */
.langs { display: flex; gap: 2px; margin-left: 8px; }
.langs a { font: 500 11px/1 var(--head); letter-spacing: .12em; padding: 8px 6px; color: var(--muted); }
.langs a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.langs a:hover { color: var(--ink); }
@media (max-width: 860px) { .langs { margin-left: 0; } .langs a { padding: 8px 4px; } }

/* Présentation de chaque collection */
.collection .col-desc { max-width: 72ch; margin: -6px 0 22px; color: var(--text); font-size: 15px; line-height: 1.65; }

/* Questions fréquentes */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 22px/1 var(--head); color: var(--muted); }
.qa[open] summary::after { content: "–"; }
.qa h2 { font: 400 17px/1.4 var(--head); letter-spacing: .02em; text-transform: none; margin: 0; }
.qa p { margin: 0 0 22px; max-width: 70ch; }
