/* Les Belles Aires : charte guinguette moderne */

@font-face { font-family: "Jost"; src: url("../fonts/jost-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "TAN-BUSTER"; src: url("../fonts/tan-buster.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #F6F1E8;
  --surface: #EAE3D8;
  --sand: #D8D0C9;
  --ink: #14213D;
  --muted: #5C6478;
  --accent: #00308C;
  --accent-hover: #002470;
  --taupe: #89735D;
  --sky: #84C2CB;
  --night: #0B1A3A;
  --line: rgba(20, 33, 61, .14);

  --font-display: "TAN-BUSTER", "Jost", system-ui, sans-serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 6px;
  --r-md: 18px;
  --r-pill: 999px;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 84px;
}

/* Reset (specificite nulle) */
:where(*, *::before, *::after) { box-sizing: border-box; }
:where(html) { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
:where(body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd) { margin: 0; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
:where(img, svg, video) { display: block; max-width: 100%; height: auto; }
:where(a) { color: inherit; }
:where(button) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

body {
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--bg); padding: 10px 16px; border-radius: var(--r-pill); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Typographie */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
  letter-spacing: .04em;
  color: var(--accent);
}
.display--xl { font-size: clamp(2.1rem, 4vw, 3.9rem); }
/* Mobile : les grands titres passent en Jost (TAN-BUSTER reste sur desktop) */
@media (max-width: 600px) {
  .display { font-family: var(--font-body); font-weight: 500; text-transform: none; letter-spacing: -.02em; line-height: 1.05; }
  .display--xl { font-size: clamp(2.2rem, 10vw, 3rem); }
  .display--lg { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .display--md { font-size: clamp(1.6rem, 7vw, 2.1rem); }
}
.display--lg { font-size: clamp(2.2rem, 4.8vw, 4rem); }
.display--md { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.display__accent { display: block; color: var(--taupe); }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.08; font-weight: 500; letter-spacing: -.015em; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; font-weight: 500; letter-spacing: -.01em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 34ch; }
.eyebrow { font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin-bottom: 18px; }
.eyebrow--light { color: var(--sky); }
.section__title { max-width: 18ch; margin-bottom: clamp(32px, 5vw, 56px); }

/* Boutons et liens */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--r-pill);
  font-weight: 500; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 11px 20px; font-size: .95rem; }
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--accent); color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: var(--bg); }
.btn--light { background: var(--bg); color: var(--accent); }
.btn--light:hover { background: var(--surface); }
.btn .icon { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--accent); text-decoration: none; }
.link-arrow .icon { transition: transform .2s ease; }
a:hover > .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(4px); }

/* En-tete */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 232, .9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.site-logo { color: var(--taupe); flex: none; }
.site-logo svg { width: 64px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: clamp(16px, 2.2vw, 30px); }
.site-nav__list a { text-decoration: none; font-weight: 500; font-size: .98rem; padding-block: 8px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .25s ease; }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a, .site-nav__list .current-page-ancestor > a { background-size: 100% 1.5px; }
.site-nav__list .sub-menu { display: none; }
.site-nav__mobile-cta { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1.5px solid var(--line); position: relative; }
.nav-toggle__bar { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .25s ease, top .25s ease; }
.nav-toggle__bar:nth-child(1) { top: 17px; }
.nav-toggle__bar:nth-child(2) { top: 25px; }
.nav-open .nav-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .site-logo svg { width: 52px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg);
    padding: 32px var(--gutter); display: flex; flex-direction: column; gap: 32px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav__list { flex-direction: column; gap: 4px; }
  .site-nav__list a { font-size: 1.6rem; display: block; padding-block: 10px; }
  .site-nav__mobile-cta { display: inline-flex; align-self: flex-start; }
  .site-header__cta { display: none; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Hero */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__text .lead { margin-top: 24px; }
.hero__media { position: relative; }
.hero__photo { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 5 / 4.3; margin-right: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2 + var(--gutter))); border-top-right-radius: 0; border-bottom-right-radius: 0; background: var(--surface); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__inset { position: absolute; left: -48px; bottom: -40px; width: clamp(140px, 17vw, 220px); aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden; border: 6px solid var(--bg); background: var(--surface); }
.hero__inset img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { margin-right: calc(-1 * var(--gutter)); aspect-ratio: 4 / 3; }
  .hero__inset { left: auto; right: 16px; bottom: -32px; width: 120px; }
  .lead { max-width: none; }
}

/* Chiffres */
.facts { border-block: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: clamp(24px, 3vw, 36px) 24px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__num { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 500; line-height: 1; letter-spacing: -.02em; color: var(--accent); }
.fact__label { color: var(--muted); font-size: .95rem; line-height: 1.4; max-width: 22ch; }
@media (max-width: 800px) {
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding-left: 20px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Bento ambiances */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 20px; }
.bento__cell { position: relative; display: flex; flex-direction: column; text-decoration: none; border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.bento__cell--wide { grid-column: span 8; }
.bento__cell--tall { grid-column: span 4; grid-row: span 2; }
.bento__cell--night { grid-column: span 8; background: var(--night); color: var(--bg); }
.bento__media { overflow: hidden; }
.bento__cell--wide .bento__media { aspect-ratio: 16 / 8; }
.bento__cell--tall .bento__media { flex: 1; min-height: 320px; }
.bento__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bento__cell:hover .bento__media img { transform: scale(1.03); }
.bento__body { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.bento__body p { color: var(--muted); max-width: 52ch; }
.bento__cell--night .bento__body { padding: clamp(32px, 4vw, 56px); justify-content: center; min-height: 300px; background: radial-gradient(120% 140% at 100% 0%, rgba(132, 194, 203, .22), transparent 55%); }
.bento__cell--night .display { color: var(--bg); }
.bento__cell--night p { color: rgba(246, 241, 232, .78); }
.bento__cell--night .link-arrow { color: var(--sky); }
.bento__kicker { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sky) !important; }
@media (max-width: 900px) {
  .bento__cell--wide, .bento__cell--tall, .bento__cell--night { grid-column: 1 / -1; grid-row: auto; }
  .bento__cell--tall .bento__media { aspect-ratio: 4 / 3; min-height: 0; flex: none; }
}

/* Histoire */
.story { background: var(--surface); }
.story__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.story__media { position: relative; padding-bottom: 80px; }
.story__photo { border-radius: var(--r-md); overflow: hidden; background: var(--sand); }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__photo--a { width: 66%; aspect-ratio: 3 / 4; }
.story__photo--b { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; border: 6px solid var(--surface); }
.story__text { display: flex; flex-direction: column; gap: 20px; }
.story__text p { color: var(--muted); max-width: 60ch; }
@media (max-width: 900px) { .story__grid { grid-template-columns: 1fr; } }

/* Privatisation */
.privat { background: var(--night); color: var(--bg); padding-block: var(--section); }
.privat__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.privat__intro { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; position: sticky; top: calc(var(--header-h) + 32px); }
.privat .display { color: var(--bg); }
.privat__intro > p { color: rgba(246, 241, 232, .78); max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid rgba(246, 241, 232, .28); text-decoration: none; font-size: .95rem; transition: border-color .2s ease, background-color .2s ease; }
.chips a:hover { border-color: var(--sky); background: rgba(132, 194, 203, .12); }
.spaces { border-top: 1px solid rgba(246, 241, 232, .18); }
.space { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding-block: 22px; border-bottom: 1px solid rgba(246, 241, 232, .18); }
.space__media { width: 88px; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: rgba(246, 241, 232, .08); }
.space__media img { width: 100%; height: 100%; object-fit: cover; }
.space__name { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 500; line-height: 1.2; }
.space__cap { display: flex; gap: 18px; color: rgba(246, 241, 232, .7); font-size: .95rem; text-align: right; }
.space__cap strong { display: block; font-size: 1.6rem; font-weight: 500; color: var(--sky); line-height: 1.1; }
@media (max-width: 900px) {
  .privat__grid { grid-template-columns: 1fr; }
  .privat__intro { position: static; }
}
@media (max-width: 520px) {
  .space { grid-template-columns: 64px minmax(0, 1fr); }
  .space__media { width: 64px; }
  .space__cap { grid-column: 2; text-align: left; }
}

/* Avis */
.reviews__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.reviews__head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.rating { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.rating .icon { color: var(--taupe); fill: var(--taupe); }
.rating strong { color: var(--ink); font-weight: 500; }
.quote { grid-column: span 4; padding: 28px; border-radius: var(--r-md); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quote blockquote { margin: 0; padding: 0; border: 0; }
.quote blockquote p { font-size: 1.1rem; line-height: 1.5; }
.quote figcaption { color: var(--muted); font-size: .92rem; }
.quote--lead { grid-column: 1 / -1; background: var(--accent); color: var(--bg); border-color: var(--accent); padding: clamp(32px, 5vw, 64px); }
.quote--lead blockquote p { font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.3; font-weight: 400; max-width: 34ch; }
.quote--lead figcaption { color: rgba(246, 241, 232, .75); }
.reviews__grid .quote:not(.quote--lead) { grid-column: span 6; }
@media (max-width: 760px) { .reviews__grid .quote:not(.quote--lead) { grid-column: 1 / -1; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.faq__title { max-width: 12ch; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 22px; cursor: pointer; font-size: 1.12rem; font-weight: 500; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; color: var(--accent); transition: transform .25s ease; }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__answer { padding-bottom: 24px; color: var(--muted); max-width: 64ch; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

/* Bandeau CTA */
.cta-band { background: var(--accent); color: var(--bg); padding-block: clamp(56px, 8vw, 96px); }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: end; }
.cta-band .display { color: var(--bg); }
.cta-band__side { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cta-band__side p { color: rgba(246, 241, 232, .82); }
@media (max-width: 800px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* Pages internes */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 48px); }
.page-hero .lead { margin-top: 20px; max-width: 52ch; }
.breadcrumb { display: inline-block; margin-bottom: 16px; color: var(--taupe); text-decoration: none; font-weight: 500; }
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.15; margin-top: 1.8em; }
.prose h3 { font-size: 1.3rem; font-weight: 500; margin-top: 1.5em; }
.prose a { color: var(--accent); }
.prose ul { padding-left: 1.2em; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 24px; }
.post-card { display: flex; flex-direction: column; gap: 10px; }
.post-card__media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card time { color: var(--taupe); font-size: .9rem; }
.post-card h2 a { text-decoration: none; }

/* Pied de page */
.site-footer { background: var(--night); color: rgba(246, 241, 232, .8); padding-top: clamp(56px, 7vw, 88px); font-size: .97rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--bg); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: 40px; padding-bottom: 56px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 20px; max-width: 30ch; }
.site-logo--footer { color: var(--sand); }
.site-logo--footer svg { width: 80px; }
.site-footer__title { font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); margin-bottom: 16px; }
.site-footer__col p + p { margin-top: 12px; }
.site-footer__col strong { color: var(--bg); font-weight: 500; }
.site-footer .link-arrow { color: var(--sky); }
.site-footer__bottom { border-top: 1px solid rgba(246, 241, 232, .14); padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .88rem; color: rgba(246, 241, 232, .6); }
.site-footer__menu { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__top { grid-template-columns: 1fr; } }

/* Apparition au scroll (visible sans JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
