/* boutons, titres de section, cartes, actualités, carrousel de logos */

.cta-row{display:flex;flex-wrap:wrap;gap:14px}
.btn{display:inline-block;padding:15px 30px;font-size:15px;font-weight:600;border:1px solid transparent}
.btn-solid{background:var(--crimson);color:#fff}
.btn-solid:hover{background:var(--crimson-dark)}
.btn-ghost{border-color:rgba(255,255,255,.55);color:#fff}
.btn-ghost:hover{background:#fff;color:var(--ink);border-color:#fff}

/* ---------- titres de section ---------- */
.sec{padding:104px 0}
.sec-head{margin-bottom:56px;max-width:none}
.sec-head h2{font-size:clamp(30px,3.6vw,44px);margin:0 0 14px;font-weight:300;line-height:1.15}
.sec-head p{margin:0;color:var(--muted);font-size:17px;max-width:none}

/* ---------- atouts ---------- */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.card{background:#fff;padding:40px 34px 42px}
.card h3{font-size:21px;margin:0 0 12px;font-weight:600;color:var(--ink)}
.card h3::before{content:"";display:block;width:34px;height:2px;background:var(--crimson);margin-bottom:18px}
/* Photo en tête de carte : elle déborde de la marge pour coiffer l'encart,
   et le filet rouge du titre passe dessous plutôt que de flotter au-dessus. */
.card-vue{width:calc(100% + 68px);max-width:none;margin:-40px -34px 26px;aspect-ratio:4/3;object-fit:cover}
.card-vue + h3::before{margin-bottom:16px}
@media (max-width:680px){.card-vue{width:calc(100% + 48px);margin:-32px -24px 22px}}
.card p{margin:0;font-size:15.3px;color:var(--muted);line-height:1.68;text-align:justify;hyphens:auto}

/* ---------- actualités ---------- */
.news{display:grid;grid-template-columns:repeat(3,1fr);gap:34px}
.news article{border-top:2px solid var(--crimson);padding-top:22px}
.news time{font-size:12.5px;letter-spacing:.09em;color:var(--muted)}
.news h3{font-size:20.5px;margin:12px 0 12px;font-weight:400;line-height:1.35}
.news p{margin:0;font-size:14.8px;color:var(--muted)}
.sec-foot{margin-top:46px}
.sec-foot a{font-size:14.5px;font-weight:600;color:var(--crimson);border-bottom:1px solid currentColor;padding-bottom:2px}


/* ---------- publication en une ---------- */
.pub-cover{display:block;box-shadow:0 12px 34px rgba(28,28,28,.16);transition:transform .3s ease}
.pub-legende{margin:16px 0 0;font-size:14.8px;line-height:1.65;color:var(--muted);
  text-align:justify;hyphens:auto}
.pub h3{margin:20px 0 0;font-size:19px;font-weight:400;line-height:1.35;min-height:2.7em}
.pub h3 + .pub-legende{margin-top:10px}
.pub-cover:hover{transform:translateY(-4px)}
.pub-cover img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}
.pub-cover.gazette img{object-position:center 58%}

.marquee{position:relative;overflow:hidden;padding:4px 0;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%)}
.marquee-track{display:flex;width:max-content;animation:slide 70s linear infinite}
.logo-tile{flex:none;width:212px;height:96px;margin-right:14px;
  display:flex;align-items:center;justify-content:center;text-align:center;padding:0 20px;
  font-size:12.5px;font-weight:600;letter-spacing:.045em;color:#4A4A4A;line-height:1.35}
.logo-tile img{max-height:58px;max-width:168px;width:auto;height:auto;object-fit:contain}
@keyframes slide{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.marquee{overflow-x:auto;mask-image:none;-webkit-mask-image:none}}

/* Une carte peut être un lien entier : tout le bloc devient cliquable,
   et le survol reprend le vocabulaire des autres éléments cliquables du site. */
a.card{display:block;transition:background .25s ease}
a.card:hover{background:var(--stone-soft)}
a.card:hover h3{color:var(--crimson)}
