/*
 * Accueil 2027 (maquette-accueil-2027.md, 30/11/2026). Téléphone d'abord : rien ne déborde à 390 px,
 * cibles de 44 px au moins. Polices du site (Instrument Serif, Instrument Sans), vert #11534A, fond #FBF6EC,
 * jaune #F2C14E.
 */
:root { --vert: #11534A; --vert-fonce: #0a3a33; --fond: #FBF6EC; --sable: #F2E8D5; --jaune: #F2C14E; --encre: #1d2b28; --filet: #d9cfbc; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.ac { margin: 0; background: var(--fond); color: var(--encre); font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 17px; line-height: 1.6; overflow-x: hidden; }
.ac img { display: block; max-width: 100%; }
.ac a { color: var(--vert); }
.ac a:hover { color: var(--vert-fonce); }
.ac p { margin: 0; }
.ac-evitement { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 8px 16px; background: #fff; }
.ac-evitement:focus { left: 8px; }
.ac-invisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ac-largeur { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.ac-titre { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; line-height: 1.08; font-size: clamp(36px, 8vw, 56px); }
.ac-colonne { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ac-boutons { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* Boutons */
.ac-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; text-align: center; line-height: 1.2; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.ac .ac-btn-plein { background: var(--vert); color: #fff; }
.ac .ac-btn-plein:hover { background: var(--vert-fonce); color: #fff; }
.ac .ac-btn-clair { background: #fff; color: var(--vert); }
.ac .ac-btn-clair:hover { background: var(--sable); color: var(--vert-fonce); }
.ac .ac-btn-trait { border-color: var(--vert); color: var(--vert); }
.ac .ac-btn-trait:hover { background: var(--vert); color: #fff; }
.ac .ac-btn-trait-blanc { border-color: #fff; color: #fff; }
.ac .ac-btn-trait-blanc:hover { background: #fff; color: var(--vert); }

/* En-tête : au téléphone, logo, « Devenir exposant » et un menu replié. */
.ac-entete { max-width: 1280px; margin: 0 auto; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ac-logo { display: flex; align-items: center; min-height: 44px; margin-right: auto; }
.ac-logo img { height: 40px; width: auto; }
.ac-entete-exposer { min-height: 44px; padding: 0 16px; font-size: 15px; }
.ac-menu { display: none; }
.ac-menu-tel > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--vert); border-radius: 999px; color: var(--vert); font-weight: 700; cursor: pointer; list-style: none; }
.ac-menu-tel > summary::-webkit-details-marker { display: none; }
.ac-menu-tel[open] { flex-basis: 100%; order: 3; }
.ac-menu-tel[open] > summary { margin-left: auto; display: flex; width: max-content; }
.ac-menu-tel nav { display: flex; flex-direction: column; padding: 8px 0; }
.ac-menu-tel nav a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--filet); color: var(--encre); text-decoration: none; font-weight: 500; font-size: 18px; }

/* Grande photo du haut : voile sombre à gauche, le texte reste lisible sur toute photo. */
.ac-heros { position: relative; border-radius: 20px; overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; background: #0a2823; }
.ac-heros > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ac-voile { position: absolute; inset: 0; background: linear-gradient(90deg, #0a2823e6 0%, #0a2823b3 45%, #0a282326 80%), linear-gradient(180deg, #0a282300 30%, #0a2823d9 100%); }
.ac-heros-texte { position: relative; padding: 32px 20px; display: flex; flex-direction: column; gap: 16px; max-width: 760px; text-shadow: 0 1px 2px #00000066; }
.ac-pastille { align-self: flex-start; background: var(--jaune); color: var(--encre); font-weight: 700; padding: 8px 16px; border-radius: 999px; font-size: 15px; text-shadow: none; }
.ac-heros h1 { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(42px, 10vw, 72px); line-height: 1.02; color: #fff; }
.ac-heros-chapo { font-size: clamp(17px, 2.4vw, 20px); line-height: 1.55; color: #fff; }

/* Chiffres */
.ac-chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-top: 40px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); background-clip: content-box; }
.ac-chiffre { font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(40px, 9vw, 56px); line-height: 1.1; color: var(--vert); }

/* Bienvenue */
.ac-bienvenue { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 72px; align-items: flex-start; }
.ac-bienvenue > .ac-colonne { flex: 1 1 400px; font-size: 18px; line-height: 1.65; }
.ac-avis { padding: 16px 20px; border-radius: 12px; background: var(--sable); font-size: 17px; }
/* Rangées de hauteur fixe tirées de --h : une photo en portrait ne peut plus agrandir sa rangée ni passer sous le bloc suivant. */
.ac-mosaique { --h: 420px; flex: 1.2 1 460px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, calc((var(--h) - 12px) / 2)); gap: 12px; height: var(--h); min-width: 0; }
.ac-colonne > .ac-mosaique { flex: none; }
.ac-mosaique img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 16px; }
.ac-mosaique img:first-child { grid-row: span 2; }
.ac-mosaique-basse { --h: 340px; }

/* Exposer */
#exposer { margin-top: 72px; }
.ac-exposer { background: var(--vert); color: #fff; border-radius: 20px; padding: 32px 20px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.ac-exposer > .ac-colonne { flex: 1 1 420px; gap: 16px; }
.ac-surtitre { font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--jaune); }
.ac-clair { color: #F4F1EA; font-size: 18px; line-height: 1.65; }
.ac-paves { flex: 1 1 300px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ac-pave { border-radius: 16px; padding: 20px; background: #ffffff1f; color: #F4F1EA; }
.ac-pave-large { grid-column: span 2; }
.ac-pave-chiffre { font-family: 'Instrument Serif', Georgia, serif; font-size: 44px; line-height: 1.1; color: #fff; }
.ac-pave-date { font-family: 'Instrument Serif', Georgia, serif; font-size: 34px; line-height: 1.1; color: #fff; }

/* Des Artistes, des Jardins */
.ac-deux { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 72px; }
.ac-deux > .ac-colonne { flex: 1 1 420px; gap: 16px; }
.ac-deux h3.ac-titre { font-size: clamp(34px, 7vw, 48px); }

/* Les fondateurs */
#association { margin-top: 72px; }
.ac-fondateurs { background: var(--sable); border-radius: 20px; padding: 32px 20px; display: flex; flex-wrap: wrap; gap: 32px; }
.ac-fondateurs > .ac-titre { flex: 1 1 360px; color: var(--vert); font-size: clamp(32px, 7vw, 52px); }
.ac-fondateurs > .ac-colonne { flex: 1.3 1 460px; gap: 16px; font-size: 18px; line-height: 1.65; }
.ac-signature-nom { font-family: 'Instrument Serif', Georgia, serif; font-size: 30px; color: var(--vert); }

/* Lettre */
#lettre { margin-top: 72px; }
.ac-lettre { border-radius: 20px; border: 1px solid var(--filet); padding: 32px 20px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.ac-lettre > .ac-colonne { flex: 1 1 380px; gap: 8px; }
.ac-lettre .ac-titre { font-size: clamp(30px, 6vw, 40px); }
.ac-lettre-formulaire { flex: 1 1 380px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ac-lettre-ligne { display: flex; flex-wrap: wrap; gap: 12px; }
.ac-lettre-ligne input { flex: 1 1 220px; min-width: 0; min-height: 52px; border-radius: 999px; border: 1px solid #b9ab90; background: #fff; padding: 0 20px; font: inherit; font-size: 17px; color: var(--encre); }
.ac-lettre-ligne button { border: 0; }
.ac-petit { font-size: 15px; color: #3d4a46; }
.ac-lettre-message { padding: 8px 16px; border-radius: 12px; font-weight: 600; }
.ac-lettre-ok { background: #e3efe9; color: #0a3a33; }
.ac-lettre-erreur { background: #f6e3e1; color: #7a2a22; }

/* Pied de page */
.ac-pied { margin-top: 72px; background: #0d3f38; color: #F4F1EA; padding: 48px 0 24px; }
.ac-pied a { color: #fff; }
.ac-pied a:hover { color: var(--jaune); }
.ac-pied-haut { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.ac-pied-marque { flex: 1.4 1 300px; display: flex; flex-direction: column; gap: 16px; max-width: 420px; font-size: 18px; }
.ac-pied-nom { font-family: 'Instrument Serif', Georgia, serif; font-size: 44px; line-height: 1.05; color: #fff; }
.ac-pied-liens { flex: 1 1 160px; display: flex; flex-direction: column; gap: 4px; }
.ac-pied-liens > a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.ac-pied-titre { margin-bottom: 4px !important; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--jaune); }
.ac .ac-pied-espace { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 20px; margin-bottom: 8px; border-radius: 16px; text-decoration: none; }
.ac-pied-espace span:first-child { font-weight: 700; }
.ac-pied-espace span:last-child { font-size: 15px; color: #E4DDD0; }
.ac-pied-bas { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 16px; border-top: 1px solid #2f5f57; font-size: 15px; color: #E4DDD0; }
.ac-pied-bas div { display: flex; flex-wrap: wrap; gap: 0 24px; }
.ac-pied-bas a { display: inline-flex; align-items: center; min-height: 44px; color: #E4DDD0; }

@media (max-width: 559px) {
  .ac-mosaique { --h: 300px; }
  .ac-mosaique-basse { --h: 260px; }
  .ac-boutons .ac-btn { flex: 1 1 100%; }
  .ac-pave-chiffre { font-size: 36px; }
  .ac-pave-date { font-size: 28px; }
}
@media (min-width: 900px) {
  .ac-largeur { padding: 0 32px; }
  .ac-entete { padding: 20px 32px; }
  .ac-logo img { height: 44px; }
  .ac-menu-tel, .ac-entete-exposer { display: none; }
  .ac-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 17px; }
  .ac-menu a:not(.ac-btn) { display: inline-flex; align-items: center; min-height: 44px; color: var(--encre); text-decoration: none; font-weight: 500; }
  .ac-menu a:not(.ac-btn):hover { color: var(--vert); }
  .ac-heros { min-height: 600px; border-radius: 24px; }
  .ac-heros-texte { padding: 56px; gap: 20px; }
  .ac-chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; padding-top: 32px; padding-bottom: 32px; }
  .ac-bienvenue, .ac-deux { padding-top: 96px; }
  .ac-mosaique { --h: 560px; }
  .ac-mosaique-basse { --h: 420px; }
  #exposer, #association, #lettre { margin-top: 96px; }
  .ac-exposer { padding: 56px; gap: 48px; border-radius: 24px; }
  .ac-fondateurs { padding: 64px 56px; gap: 48px; border-radius: 24px; }
  .ac-lettre { padding: 48px 56px; gap: 32px; border-radius: 24px; }
  .ac-pied { margin-top: 96px; padding-top: 72px; }
}
