/*
Theme Name: Réservation Québec Portail
Theme URI: https://reservationquebec.net/
Description: Thème enfant de Hello Elementor pour le portail Réservation Québec et son intégration RéservPro.
Author: Création Wizard inc.
Template: hello-elementor
Version: 1.0.0
Text Domain: reservation-quebec-portal
*/

:root {
  --rq-shell: #f5f8f7;
  --rq-header: rgba(255, 255, 255, .96);
  --rq-deep: #123f47;
  --rq-outline: #b7d1d4;
}

html { scroll-behavior: smooth; }

body {
  background: var(--rq-shell);
  color: #18323a;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #e5a719;
  outline-offset: 3px;
}

.site-header {
  background: var(--rq-header);
  border-bottom: 1px solid rgba(15, 107, 120, .12);
  box-shadow: 0 7px 24px rgba(24, 50, 58, .06);
  position: sticky;
  top: 0;
  z-index: 1200;
}

.site-header .header-inner {
  gap: 2rem;
  max-width: 1280px;
  min-height: 78px;
  padding: .8rem 1.5rem;
}

.site-header .site-title a {
  color: #0f6b78;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -.025em;
  text-decoration: none;
}

.site-header .site-description { display: none; }

.site-navigation ul.menu {
  align-items: center;
  gap: .25rem;
}

.site-navigation ul.menu > li > a {
  border-radius: 999px;
  color: #28484f;
  font-weight: 700;
  padding: .65rem .9rem;
}

.site-navigation ul.menu > li > a:hover,
.site-navigation ul.menu > li.current-menu-item > a {
  background: #eaf3f3;
  color: #0f6b78;
}

.site-navigation ul.menu > li:last-child > a {
  background: #0f6b78;
  color: #fff;
}

main.site-main {
  margin-inline: auto;
  max-width: 1280px;
  padding: clamp(1.25rem, 3vw, 2.5rem) 1.5rem clamp(3rem, 7vw, 6rem);
  width: 100%;
}

body.home main.site-main { padding-top: 0; }
body.home .page-header { display: none; }

.page-header .entry-title {
  color: #18323a;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -.04em;
  margin-bottom: 1.5rem;
}

.site-footer {
  background: var(--rq-deep);
  color: rgba(255, 255, 255, .82);
}

.site-footer .footer-inner {
  max-width: 1280px;
  min-height: 120px;
  padding: 2rem 1.5rem;
}

.site-footer .site-description,
.site-footer .copyright p { color: inherit; }

.site-footer a { color: #fff; }

@media (max-width: 767px) {
  .site-header .header-inner { min-height: 68px; padding-inline: 1rem; }
  main.site-main { padding-inline: 1rem; }
  .site-navigation-dropdown ul.menu { background: #fff; border: 1px solid var(--rq-outline); border-radius: 16px; box-shadow: 0 16px 40px rgba(24, 50, 58, .14); padding: .65rem; }
  .site-navigation-dropdown ul.menu li a { border-radius: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
