/* Galeries Sédunoises. CSS natif, sans framework ni dépendance JavaScript. */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800&display=swap');
:root { --ink: #1a171b; --tile: #cadfe4; --tile-border: #97c2ca; --gap: 10px; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #006d81 url('../images/bg-body.jpg') repeat-x top left; font: 300 14px/1.5 'Open Sans', sans-serif; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #007e96; outline-offset: 3px; }
.container { width: 100%; margin: 0 auto; padding: 0 15px; }
.site-header { padding-top: 20px; padding-bottom: 20px; position: relative; }
.brand { display: block; position: relative; width: 719px; max-width: 100%; }
.brand img { display: block; width: 719px; }
.menu { padding: 0; margin: 0; display: flex; list-style: none; border: 1px solid #c6c5c6; background: var(--ink); }
.menu a { display: block; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; line-height: 40px; padding: 0 15px; }
.menu a:hover { background: #373338; }
.menu-home, .menu-toggle { display: none; }
.gallery { padding-top: 30px; }
.gallery-row, .gallery-middle, .gallery-pair { display: grid; gap: var(--gap); }
.gallery-six { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: var(--gap); }
.gallery-middle { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: var(--gap); align-items: start; }
.gallery-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.commerce { min-width: 0; }
.commerce-text { height: 82px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--tile); border: 1px solid var(--tile-border); font-size: 16px; line-height: 18px; }
.commerce-text strong { font-size: 18px; font-weight: 800; }
.commerce-text p { margin: 0; }
.commerce-text > a, .commerce-text > .card-content { width: 100%; }
.commerce-image { background: #fff; border: 1px solid #c2c2c4; align-self: start; }
.commerce-image img { width: 100%; display: block; }
.gallery-pair .commerce { height: 80px; min-height: 80px; }
.gallery-pair .commerce-image { display: flex; align-items: center; }
.gallery-pair .commerce-image > * { width: 100%; }
.gallery-pair .commerce-text { line-height: 20px; }
.gallery-pair .commerce-text { font-weight: 400; }
@media (min-width: 1200px) {
  .gallery-row .commerce-text { font-size: 14px; }
  .gallery-row .linked-text { font-size: 16px; font-weight: 400; }
  .gallery-row strong .linked-text { font-weight: 800; }
}
.building-photo img { width: 100%; display: block; }
.site-footer { padding-top: 0; }
.footer-inner { background: var(--ink); color: #fff; padding: 0 15px; display: flex; justify-content: space-between; gap: 15px; font-weight: 400; font-size: 12px; line-height: 40px; }
.footer-inner p { margin: 0; white-space: nowrap; }
.footer-inner a { color: #52a1ac; }
.footer-inner a:hover { color: #fff; }
.contact-page { margin-top: 30px; padding: 20px 30px 0; display: grid; grid-template-columns: 1fr 1fr; background: #fff url('../images/bg-contact.jpg') repeat-x bottom left; }
.contact-map { padding: 0 6px; margin-bottom: 30px; }
.contact-map iframe { width: 100%; border: 0; display: block; }
.contact-page .article-content { padding: 0 6px 30px 26px; font-weight: 400; font-size: 14px; line-height: 26px; }
.article-page { background: #fff; padding: 30px; margin-top: 30px; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; z-index: 10; background: #fff; padding: 12px; }
@media (min-width: 768px) { .container { max-width: 750px; } }
@media (min-width: 992px) { .container { max-width: 970px; } body { padding-bottom: 142px; } .brand { left: -80px; } }
@media (min-width: 1200px) { .container { max-width: 1170px; } }
@media (min-width: 768px) and (max-width: 1199px) {
  .commerce-text, .gallery-pair .commerce { height: 65px; min-height: 65px; }
  .commerce-text, .commerce-text strong, .gallery-pair .commerce-text { font-size: 12px; line-height: 12px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .brand { left: -40px; max-width: 360px; }
  .commerce-text, .gallery-pair .commerce { height: 50px; min-height: 50px; }
  .commerce-text, .commerce-text strong, .gallery-pair .commerce-text { font-size: 8px; line-height: 10px; }
}
@media (max-width: 991px) { .footer-inner { line-height: 20px; padding-top: 10px; padding-bottom: 10px; } }
@media (max-width: 767px) {
  .brand { left: -10px; width: min(300px, 80%); }
  .site-header { padding-bottom: 20px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; position: absolute; right: 15px; top: 35px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { height: 2px; width: 24px; background: var(--ink); }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; margin-bottom: 15px; }
  .menu { display: block; }
  .menu-home { display: block; }
  .gallery { padding-top: 0; }
  .gallery-six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-middle { grid-template-columns: 1fr; }
  .gallery-photo { margin-bottom: 10px; }
  .commerce-text, .gallery-pair .commerce { height: 160px; min-height: 160px; }
  .commerce-text, .commerce-text strong, .gallery-pair .commerce-text { font-size: 16px; line-height: 22px; }
  .commerce-text { padding: 0 5px; }
  .footer-inner { display: block; text-align: center; }
  .contact-page { grid-template-columns: 1fr; padding: 0 15px; margin-top: 0; }
  .contact-page .article-content { padding: 15px 6px 20px 26px; }
}
@media (max-width: 576px) {
  .commerce-text, .gallery-pair .commerce { height: 95px; min-height: 95px; }
  .commerce-text, .commerce-text strong, .gallery-pair .commerce-text { font-size: 14px; line-height: 20px; }
}
