/* === main.css === */
:root {
  --primary-color: #555555;
  --primary-color-darker: #333333;
  --primary-color-lighter: #777777;
  --contrast-text-primary-color: #FFFFFF;
  --contrast-text-primary-color-darker: #CCCCCC;
  --secondary-color: #444444;
  --secondary-color-darker: #222222;
  --secondary-color-lighter: #666666;
  --contrast-text-secondary-color: #FFFFFF;
  --contrast-text-secondary-color-darker: #CCCCCC;
  --text-color: #343a40;
  --text-muted: #6c757d;
  --surface-1: #ffffff;
  --surface-2: #f8f9fa;
  --border-color: #e9ecef;
  --safe-top: 0px;
  --safe-right: 0px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji",
               "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
  --font-headings: var(--font-sans);
  --radius: 4rem;
  --radius-img: 2rem;
  --radius-galery: 0.5rem;
  --radius-none: 0;
  --shadow-1: 0 .25rem .75rem rgba(0,0,0,.08);
  --container-pad: 0 2rem;
  --section-pad: 3rem 0;
}
body[data-style-elements="carre"] {
  --radius: 0.5rem;
  --radius-img: 0.5rem;
  --radius-galery: 0.5rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text-color: #e9ecef;
    --text-muted: #adb5bd;
    --surface-1: #121212;
    --surface-2: #1e1e1e;
    --border-color: #2a2a2a;
  }
}
html[data-theme="dark"] {
  --text-color: #e9ecef;
  --text-muted: #adb5bd;
  --surface-1: #121212;
  --surface-2: #1e1e1e;
  --border-color: #2a2a2a;
}
html[data-theme="light"] {
  --text-color: #343a40;
  --text-muted: #6c757d;
  --surface-1: #ffffff;
  --surface-2: #f8f9fa;
  --border-color: #e9ecef;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-color);
  background-color: var(--surface-1);
  transition: background-color .2s ease, color .2s ease;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
img {
  border-radius: var(--radius-img);
}
.image-sans-arrondi {
  border-radius: var(--radius-none);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .75em;
  color: var(--text-color);
}
h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
}
p { margin: 0 0 1em; color: var(--text-color); }
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--primary-color-darker); }
:focus { outline: none; }
:focus-visible {
  outline-width: 3px;
  outline-style: solid;
  outline-color: var(--primary-color);
  outline-offset: 2px;
  border-radius: 4px;
}
a:focus-visible, .btn:focus-visible { outline-offset: 3px; }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.container {
  width: 100%;
  margin-inline: auto;
  padding: var(--container-pad);
  max-width: 100%;
}
section[id], header[id], footer[id], main[id] { padding: var(--section-pad); }
@media (min-width: 768px) and (max-width: 980px) {
  :root {
    --container-pad: 0 3rem;
    --section-pad: 3rem 0;
  }
  .container { max-width: 720px; }
}
@media (min-width: 981px) {
  :root {
    --container-pad: 0 4rem;
    --section-pad: 4rem 0;
  }
  .container { max-width: 1280px; }
}
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 768px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 981px)  { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.section-bg--primary  { background-color: var(--surface-1); }
.section-bg--secondary{ background-color: var(--surface-2); }
hr { border: 0; height: 1px; background: var(--border-color); margin: 2rem 0; }
.btn {
  display: inline-block;
  padding: 1.5rem 3rem;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  border: 4px solid transparent;
  border-radius: var(--radius);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .06s ease;
  user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; pointer-events: none; }
.btn-primary {
  color: var(--contrast-text-primary-color);
  background-color: var(--primary-color);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--contrast-text-primary-color-hover);
  background-color: var(--primary-color-darker);
  transform: scale(1.03);
}
.btn-secondary {
  color: var(--contrast-text-secondary-color);
  background-color: var(--secondary-color);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--contrast-text-secondary-color-hover);
  background-color: var(--secondary-color-darker);
  transform: scale(1.03);
}
.icon-svg { width: 1.1em; height: 1.1em; vertical-align: -.15em; color: currentColor; }
html[data-theme="dark"] img.icon-svg,
html[data-theme="dark"] .social-icons img {
  filter: brightness(0) invert(1);
}
:root {
  --safe-top: env(safe-area-inset-top);
  --safe-right: env(safe-area-inset-right);
}
.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1050;
  border-radius: 9999px;
  padding: .5rem .65rem;
  line-height: 1;
  background: transparent;
  border: 1px solid var(--text-color);
  color: var(--text-color);
}
@supports (top: calc(1rem + 1px)) {
  .theme-toggle {
    top: calc(1rem + var(--safe-top, 0px));
    right: calc(1rem + var(--safe-right, 0px));
  }
}
.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: var(--surface-2);
}
html[data-theme="dark"] .theme-toggle { border-color: #fff; color: #fff; }
@media print {
  .theme-toggle { display: none !important; }
  a[href]:after { content: " (" attr(href) ")"; font-size: .9em; color: var(--text-muted); }
}
#footer-1 {
  background: #0f1115;
  color: #e9edf1;
  padding: 2.2rem 0 1.2rem;
}
#footer-1 .footer-inner { text-align: center; }
#footer-1 .footer-main {
  color: #ffffff;
  font-weight: 700;
}
#footer-1 .footer-sub {
  color: rgba(255,255,255,.85);
}
.footer-mention {
  color: rgba(255,255,255,.85);
  text-align: center;
}
#footer-1 .footer-legal {
  color: rgba(255,255,255,.85);
}
#footer-1 a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.5);
  font-weight: 600;
}
#footer-1 a:hover {
  border-bottom-color: rgba(255,255,255);
}
#legal-header,
#notfound-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20vh;
  text-align: center;
  margin: 0 auto 1rem;
  background: var(--surface-2);
}
#legal .legal-grid,
#notfound .notfound-grid {
  max-width: 900px;
  margin: 0 auto;
}
#notfound .notfound-grid {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
#notfound .btn-group .btn {
  margin: 0 .5rem;
}

/* === hero-1.css === */
#hero-1 {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
#hero-1 .hero__content {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}
#hero-1 .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
#hero-1 .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / var(--hero-overlay, .8));
  z-index: 1;
}
#hero-1 .hero__container {
  position: relative;
  z-index: 2;
  text-align: center;
}
#hero-1 .hero__logo img  {
  max-height: 160px;
  width: auto;
  margin: 0 auto 1rem;
  border-radius: var(--radius-none);
}
#hero-1 .hero__title {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,.35);
  margin-bottom: 1rem;
}
#hero-1 .hero__lead {
  margin-bottom: 2rem;
  color: #fff;
  font-size: 22px;
}
#hero-1 .hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: 1rem;
}

/* === about-2.css === */
#about-2 .about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  #about-2 .about-grid { grid-template-columns: 1fr 1fr; }
  #about-2 .about-grid > :first-child { grid-column: 1; }
  #about-2 .about-grid > :nth-child(2) { grid-column: 2; }
}
@media (max-width: 767px) {
  #about-2 .about-grid {
    justify-items: center;
    text-align: center;
  }
  #about-2 .about-content {
    display: flex;
    flex-direction: column;
    grid-row: 2;
    align-items: center;
  }
  #about-2 .about-image img {
    margin-left: auto;
    margin-right: auto;
    grid-row: 1;
    display: block;
  }
}

/* === services-1.css === */
#services-1 .section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2rem;
}
#services-1 .section-header h2 { margin-bottom: .5rem; }
#services-1 .section-header .section-intro { color: var(--text-muted); }
#services-1 .services-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
#services-1 .service-card {
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--surface-1);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-1);
}
#services-1 .service-card .service-img {
  width: 100%;
  display: block;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
#services-1 .service-card .card-body {
  padding: 2rem;
  text-align: center;
}
#services-1 .service-card .card-title {
  font-size: 1.125rem;
  margin-bottom: .5rem;
}
#services-1 .service-card .card-text { color: var(--text-muted); }
#services-1 .service-card .card-info {
  margin-top: 1.25rem;
  font-weight: 600;
  text-align: center;
}
@media (min-width: 981px) {
  #services-1 .services-grid.is-n1 {
    grid-template-columns: minmax(260px, 1fr);
  }
  #services-1 .services-grid.is-n2 {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
  #services-1 .services-grid.is-n3 {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
  }
  #services-1 .services-grid.is-n4 {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
  #services-1 .services-grid.is-n5 {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
  }
  #services-1 .services-grid.is-n6 {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
  }
}

/* === contact-1.css === */
#contact-1 .section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2rem;
}
#contact-1 .section-header h2 { margin-bottom: .5rem; }
#contact-1 .section-header .section-intro { color: var(--text-muted); }
#contact-1 .contact-flash {
  display: inline-block;
  background: var(--secondary-color-darker);
  color: var(--contrast-text-secondary-color-hover);
  padding: 1rem 2rem;
  border-radius: var(--radius-img);
  text-align: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-1);
  font-weight: 600;
}
#contact-1 .contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 981px) {
  #contact-1 .contact-grid { grid-template-columns: 1fr 1fr; }
}
#contact-1 .contact-card {
  background: var(--surface-1);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-img);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  text-align: center;
}
#contact-1 .contact-card h3{
  margin: 0 auto 1.75rem;
  display: inline-grid;
  grid-auto-flow: column;
  gap: .75rem;
  justify-content: center;
  justify-items: center;
  align-items: center;
  font-size: 1.125rem;
  text-align: center;
}
#contact-1 .contact-card h3 .icon-svg{
  width: 1.25rem; height: 1.25rem;
}
#contact-1 .card-content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#contact-1 .horaire-table {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-collapse: collapse;
  text-align: left;
}
#contact-1 .horaire-table td {
  padding: .7rem .25rem;
  border-bottom: 1px solid var(--border-color);
}
#contact-1 .horaire-table td:last-child { text-align: right; }
#contact-1 .horaire-table tr:last-child td { border-bottom: 0; }
#contact-1 .contact-info {
  list-style: none;
  padding: 0; margin: 0;
}
#contact-1 .contact-info li {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}
#contact-1 .contact-info a{
  color: var(--text-color);
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  justify-items: center;
  column-gap: .75rem;
  text-decoration: none;
  text-align: center;
  max-width: 38ch;
}
#contact-1 .contact-info a:hover { color: var(--primary-color); }
#contact-1 .contact-info a .icon-svg{
  width: 1.25rem; height: 1.25rem;
  flex: 0 0 auto;
}
#contact-1 .social-icons {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
#contact-1 .social-icons img { width: 28px; height: 28px; }
@media (max-width: 599px) {
  #contact-1 .contact-info a .icon-svg {
    display: none;
  }
}
@media (max-width: 399px) {
  #contact-1 .contact-card h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    text-align: center;
  }
  #contact-1 .contact-card h3 .icon-svg {
    width: 28px;
    height: 28px;
  }
  #contact-1 .horaire-table td {
    display: block;
    text-align: center;
    padding: .25rem 0;
    border-bottom: none;
  }
  #contact-1 .horaire-table tr {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: .5rem;
  }
  #contact-1 .horaire-table tr:not(:last-child) td:last-child {
    border-bottom: 1px solid var(--border-color);
  }
}

/* === carte-1.css === */
#carte-1{
  margin-top: 0rem;
  padding: 0;
  overflow: visible;
}
#carte-1 .container{
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
#carte-1 .map-wrapper{
  width: 100%;
  margin: 0;
}
#carte-1 .map-image{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}


/* === overrides.css === */


/* === theme variables (primary from contenu.json) === */
:root{--primary-color: #138275;--primary-color-darker: color-mix(in srgb, #138275 85%, black);--primary-color-lighter: color-mix(in srgb, #138275 85%, white);--contrast-text-primary-color: #ffffff;--contrast-text-primary-color-hover: #ffffff;}

/* === theme variables (secondary from contenu.json) === */
:root{--secondary-color: #eeeeee;--secondary-color-darker: color-mix(in srgb, #eeeeee 85%, black);--secondary-color-lighter: color-mix(in srgb, #eeeeee 85%, white);--contrast-text-secondary-color: #000000;--contrast-text-secondary-color-hover: #000000;}

