/* site-web-v2 — menu, accueil, pages intérieures */

@font-face {
  font-family: 'Bimini';
  src: local('Bimini Wide Normal'),
       local('Bimini Normal'),
       url('/fonts/bimini.woff2') format('woff2'),
       url('/fonts/bimini.woff') format('woff'),
       url('/fonts/bimini.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.site-header {
  background: #222831;
  color: #fff;
  padding: 0.65rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-nav-list a:not(.site-nav-cta),
.site-nav-dropdown-toggle {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  background: none;
  border: 0;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.site-nav-list a.site-nav-cta {
  display: inline-block;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px;
  padding: 0.75rem 1.6rem !important;
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  background-color: #00adb5 !important;
  transition: background-color 0.35s ease;
}

.site-nav-list a.site-nav-cta.is-blink-red {
  background-color: #e63946 !important;
  box-shadow: 0 0 14px rgba(230, 57, 70, 0.55);
}

.site-nav-cta:hover,
.site-nav-cta:focus,
.site-nav-list a.site-nav-cta:hover,
.site-nav-list a.site-nav-cta:focus {
  color: #fff !important;
}

.site-nav-dropdown { position: relative; }

.site-nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #1a1f26;
  border-radius: 8px;
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 1050;
}

.site-nav-dropdown.is-open .site-nav-dropdown-menu { display: block; }

.site-nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #fff;
}

.site-nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

body.page-home #main-content { padding: 0; }

body.page-home #mainMenu {
  padding-bottom: 2rem;
}

.home-intro-block {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem 0.5rem;
  text-align: center;
}

.home-h1 {
  color: #eeeeee;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1.25rem;
}

.home-intro {
  color: rgba(238, 238, 238, 0.92);
  font-size: 1rem;
  line-height: 1.65;
}

.home-intro p {
  margin: 0 0 0.85rem;
}

.home-intro p:last-child {
  margin-bottom: 0;
}

.home-phone {
  margin: 1.25rem 0 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.home-phone a {
  color: #eeeeee;
  text-decoration: none;
}

.home-phone a:hover {
  color: #00adb5;
}

body.page-home .mainMenuContainer {
  padding-top: 1.5rem;
}

body.page-home .tile {
  color: #eeeeee;
}

body.page-home .tile-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.35rem;
  text-align: center;
  gap: 1.5rem;
}

body.page-home .menuTitle {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 !important;
  font-family: 'Bimini', 'Montserrat', sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  text-align: center;
}

body.page-home .tileSubtitle {
  margin: 0;
  padding: 0 0.1rem;
  max-width: 98%;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.72rem, 1.35vw, 0.92rem);
  line-height: 1.4;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: none;
}

body.page-home .tile-inner--spaced {
  gap: 1.5rem;
}

body.page-home .tile-inner--spaced .menuTitle {
  margin-bottom: 0.15rem;
}

.home-cta {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem 1rem;
  color: #eeeeee;
  font-size: 1.05rem;
  line-height: 1.6;
}

.home-cta a {
  color: #00adb5;
  font-weight: 600;
  text-decoration: underline;
}

.home-cta a:hover {
  color: #00c9d4;
}

.site-footer-nap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}

.site-footer-line {
  display: block;
  max-width: 100%;
}

.site-footer-address {
  padding: 0 0.5rem;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
  text-align: center;
}

.site-footer-copy {
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer-nap {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0;
  }

  .site-footer-line {
    display: inline;
  }

  .site-footer-line + .site-footer-line::before {
    content: '·';
    margin: 0 0.55rem;
    opacity: 0.6;
  }

  .site-footer-address {
    padding: 0;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .site-footer-links {
    flex-direction: column;
    gap: 0.45rem;
  }

  .site-footer-sep {
    display: none !important;
  }

  .site-footer-copy {
    padding: 0 0.25rem;
    line-height: 1.55;
  }
}

.site-footer-link { color: #fff; text-decoration: underline; }

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1020;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

#backToTop.show { opacity: 1; visibility: visible; }

@media (max-width: 991px) {
  .site-nav { width: 100%; }
  .site-nav-list { justify-content: center; }

  body.page-home .menuTitle {
    font-size: clamp(1rem, 3vw, 1.32rem) !important;
  }

  body.page-home .tileSubtitle {
    font-size: clamp(0.68rem, 1.5vw, 0.86rem) !important;
  }
}

@media (max-width: 767px) {
  body.page-home .menuTitle {
    font-size: clamp(0.9rem, 3.8vw, 1.15rem) !important;
    line-height: 1.14;
  }

  body.page-home .tileSubtitle {
    font-size: clamp(0.58rem, 3.4vw, 0.72rem) !important;
    line-height: 1.35;
  }

  body.page-home .tile-inner {
    padding: 0.3rem 0.25rem;
    gap: 1.1rem;
  }

  body.page-home .tile-inner--spaced {
    gap: 1.1rem;
  }
}

@media (max-width: 576px) {
  body.page-home .menuTitle {
    font-size: clamp(0.85rem, 4vw, 1.05rem) !important;
  }

  body.page-home .tileSubtitle {
    font-size: clamp(0.55rem, 3.5vw, 0.68rem) !important;
    line-height: 1.32;
  }
}

.page-section h1.contact-page-title,
.page-section > h4,
.page-section h4.p-5 {
  background: linear-gradient(135deg, #222831 0%, #2d3748 100%);
  color: #fff !important;
  padding: 2.5rem 1rem !important;
  margin: 0 !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
}

.contact-page-links a {
  color: #00adb5;
  font-weight: 600;
}

.service-page-intro {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
}

.page-coming-soon {
  display: inline-block;
  margin: 0 auto 1.5rem;
  padding: 0.35rem 1.1rem;
  background: #00adb5;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  text-align: center;
}

.page-section > .page-coming-soon {
  display: table;
}

.service-page-intro p:last-child {
  margin-bottom: 0;
}

.service-page-cta {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.service-page-cta a {
  color: #00adb5;
  font-weight: 600;
}

/* Numéro de téléphone toujours sur une seule ligne */
a[href^="tel:"],
.phoneNumber,
.apx-about-section .apx-phone,
.phone-nowrap {
  white-space: nowrap;
}

.service-page-related a {
  color: #00adb5;
  font-weight: 600;
}

.service-included-list {
  max-width: 640px;
  margin: 0 auto;
  padding-left: 1.25rem;
  line-height: 1.65;
}

.service-included-list li {
  margin-bottom: 0.5rem;
}

.service-included-list li:last-child {
  margin-bottom: 0;
}

.page-section .serviceList h2 {
  margin-bottom: 0.75rem;
}

.page-section .serviceList p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.page-section .serviceList p:last-child {
  margin-bottom: 0;
}

.legal-page-toolbar-wrap {
  background: #222831;
  color: #fff;
}

.legal-page-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.85rem 0;
}

@media (max-width: 620px) {
  .page-legal-doc .legal-page-toolbar .legal-modal-pdf-label {
    display: none;
  }
}

@media print {
  body.legal-print-mode.page-legal-doc .site-header,
  body.legal-print-mode.page-legal-doc #backToTop,
  body.legal-print-mode.page-legal-doc .site-footer,
  body.legal-print-mode.page-legal-doc #cookieConsentBanner,
  body.legal-print-mode.page-legal-doc .legal-page-toolbar-wrap {
    display: none !important;
  }

  body.legal-print-mode.page-legal-doc .content-wrapper {
    display: block !important;
  }

  body.legal-print-mode.page-legal-doc .legal-page-body {
    display: block !important;
    max-width: none;
  }

  body.legal-print-mode.page-legal-doc .policy-toc a {
    color: inherit !important;
    text-decoration: none !important;
  }

  body.legal-print-mode.page-legal-doc .policy-toc {
    break-inside: avoid;
  }

  body.legal-print-mode.page-legal-doc h2,
  body.legal-print-mode.page-legal-doc h3 {
    break-after: avoid-page;
  }
}
