/* homepage.css */
/* Accueil Ray&Lan By KDD, commun aux pages française et anglaise. */
.home-page.customer-layout .hero { animation: none; }
html[data-raylan-theme="application-light"] body.home-page.customer-layout .hero {
  --home-overlay-direction: 90deg;
  background: linear-gradient(var(--home-overlay-direction),rgb(7 23 37 / 96%) 0%,rgb(7 23 37 / 85%) 35%,rgb(7 23 37 / 22%) 75%,rgb(7 23 37 / 45%) 100%),
    url('/assets/optimized/home-bg-jpg.b40b01b6c4.webp') center 52% / cover no-repeat, #071725 !important;
}
html[dir="rtl"] body.home-page.customer-layout .hero { --home-overlay-direction: 270deg; }
.home-page.customer-layout .hero .path-hero-inner {
  display: block;
  max-width: 1150px;
  padding: clamp(33px, 6vw, 88px) clamp(18px, 4vw, 46px);
}
.home-page .hero .path-hero-copy { max-width: 655px; }
.home-page .hero .path-hero-copy h1 { max-width: 20ch; }
.home-page .hero .path-hero-copy .home-tagline {
  display: block;
  color: #f3db9a !important;
  font-size: clamp(1rem, 2.25vw, 1.32rem);
  line-height: 1.5;
  font-weight: 650;
  margin: 0 0 10px;
}
.home-page .hero .home-hero-description {
  max-width: 59ch;
  font-size: clamp(.84rem, 1.5vw, 1rem);
  line-height: 1.7;
  margin: 0 0 22px;
}
.home-page .hero .path-hero-copy .home-hero-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.home-page .hero .home-hero-actions :is(.btn-primary,.home-hero-whatsapp) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 45px;
  min-width: 0;
  width: auto !important;
  flex: 0 1 auto;
  padding: 10px 17px;
  font-weight: 650;
}
html[data-raylan-theme="application-light"] body.home-page .hero .home-hero-actions a.home-hero-whatsapp {
  background: rgb(10 24 37 / 56%) !important;
  border: 1px solid rgb(247 236 208 / 58%);
  border-radius: 10px;
  color: #fff !important;
  text-decoration: none;
  font-size: .83rem;
  line-height: 1.4;
}
html[data-raylan-theme="application-light"] body.home-page .hero .home-hero-actions a.home-hero-whatsapp:hover {
  background: #203344 !important;
  color: #fff !important;
}

html[data-raylan-theme="application-light"] body.home-page .home-hero-commitments {
  background: transparent !important;
  margin: 24px 0 0;
  padding: 0;
  text-align: start;
}
.home-page .hero .home-hero-commitments h2 {
  color: #f3db9a !important;
  margin: 0 0 10px;
  font-size: .9rem;
  line-height: 1.4;
  text-align: start;
}
html[data-raylan-theme="application-light"] body.home-page :is(.home-hero-commitments,.home-services) > h2::after {
  content: none !important;
}
.home-hero-commitments .why-grid,
.home-onboard .onboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
html[data-raylan-theme="application-light"] body.home-page .home-hero-commitments .why-item {
  background: rgb(14 33 51 / 92%) !important;
  border: 1px solid rgb(243 219 154 / 34%) !important;
  border-radius: 10px;
  box-shadow: none !important;
}
.home-hero-commitments .why-item,
.home-onboard .onboard-item {
  box-sizing: border-box;
  min-width: 0;
  max-width: none;
  padding: 10px 8px;
  opacity: 1;
  animation: none;
}
.home-hero-commitments h2,
.home-onboard h2 {
  opacity: 1;
  animation: none;
}
html[data-raylan-theme="application-light"] body.home-page .home-hero-commitments .why-item i {
  color: #e8c67c !important;
}
.home-hero-commitments .why-item i,
.home-onboard .onboard-item i {
  font-size: 1rem;
  margin: 0 0 6px;
}
.home-hero-commitments .why-item h3,
.home-onboard .onboard-item h3 {
  margin: 0;
  font-size: clamp(.73rem, 1.3vw, .9rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
html[data-raylan-theme="application-light"] body.home-page .home-hero-commitments .why-item h3 { color: #fff !important; }
html[data-raylan-theme="application-light"] body.home-page .home-hero-commitments .why-item p {
  color: #e2e8ed !important;
  margin: 5px 0 0;
  font-size: .76rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.home-page :is(.home-assurances,.home-estimation,.home-onboard,.home-featured,.home-professionals),
.home-page.customer-layout .home-services {
  box-sizing: border-box;
  width: min(calc(100% - 36px), 1120px);
  margin: clamp(31px, 5vw, 58px) auto;
  padding: 0;
}
.home-page .home-assurances { margin-block: clamp(18px, 3vw, 35px) 0; }
.home-assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.home-assurance-grid li {
  display: flex;
  min-width: 0;
  background: #0e2133;
  border: 1px solid #20384d;
  border-radius: 14px;
}
.home-page .home-assurance-grid li > :is(a,div) {
  display: grid;
  align-content: start;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(13px, 2vw, 23px);
  color: #eef3f7 !important;
  text-align: start;
  text-decoration: none;
}
html[data-raylan-theme="application-light"] body.home-page .home-assurance-grid li > a {
  color: #eef3f7 !important;
  text-decoration: none !important;
}
.home-page .home-assurance-grid li strong {
  color: #e8c67c !important;
  font-size: clamp(.85rem, 1.45vw, 1.12rem);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.home-assurance-grid span {
  font-size: .78rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}
.home-assurance-grid a:hover strong { text-decoration: underline; }
.home-assurance-grid .home-review-rating {
  justify-self: start;
  white-space: nowrap;
}
.home-assurance-grid .home-review-stars { color: #e8c67c !important; }

.home-page .home-estimation { max-width: 770px; }
.home-estimation .path-quote { width: 100%; box-sizing: border-box; padding: clamp(18px, 4vw, 30px); }
.home-estimation .path-quote h2 {
  margin: 0 0 12px;
  font-size: clamp(1.14rem, 2.4vw, 1.6rem);
}
.home-estimation .path-quote input { font-size: 16px; }
.home-estimation .path-quote button { justify-self: center; }
.home-payment-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin: 12px auto 0;
  color: #53616e;
  text-align: center;
  font-size: .76rem;
}

html[data-raylan-theme="application-light"] body.home-page .home-onboard {
  max-width: 770px;
  margin-block-start: 24px;
  background: transparent !important;
}
.home-onboard .onboard-grid { grid-auto-rows: 1fr; }
.home-onboard .onboard-item {
  display: grid;
  align-content: center;
  justify-items: center;
  border: 1px solid #d8ddd9;
  text-align: center;
}

.home-page :is(.home-services,.home-featured,.home-professionals,.home-onboard) > h2 {
  font-size: clamp(1.36rem, 2.75vw, 2rem);
  line-height: 1.27;
  margin: 0 0 16px;
  text-align: center;
  overflow-wrap: break-word;
}
.home-page.customer-layout .home-services > h2 { text-align: center; }
.home-page .home-services .enrichment-intro {
  max-width: 720px;
  margin: 0 auto 22px;
  text-align: center;
}
.home-services-grid,
.home-photo-grid,
.home-pro-grid {
  display: grid;
  gap: 14px;
}
.home-services-grid,
.home-pro-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-service-card,
.home-page .home-pro-card {
  min-width: 0;
  display: block;
  background: #fff;
  border: 1px solid #d8ddd9;
  border-radius: 13px;
  padding: clamp(14px, 2.2vw, 22px);
  text-align: start;
}
.home-service-card h3,
.home-page .home-pro-card h3,
.home-photo-card h3 {
  color: #102131;
  font-size: clamp(.94rem, 1.6vw, 1.13rem);
  line-height: 1.38;
  margin: 0 0 10px;
  overflow-wrap: break-word;
}
.home-service-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px 11px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.home-page .home-service-card a {
  color: #715628;
  text-decoration: none;
}
.home-page .home-service-card a:hover {
  color: #503b19;
  background: #f4efe3;
  border-radius: 4px;
  text-decoration: none;
}
.home-service-card li a {
  display: flex;
  align-items: center;
  min-height: 30px;
  font-size: .79rem;
  line-height: 1.48;
  overflow-wrap: anywhere;
}
.home-service-card li:last-child:nth-child(odd) { grid-column: 1 / -1; }

.home-page .home-photo-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8ddd9;
  border-radius: 13px;
  color: #102131 !important;
  text-decoration: none;
  text-align: start;
}
.home-photo-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #e9ebed;
}
.home-photo-caption { padding: 14px; }
.home-photo-caption h3 { margin-block-end: 6px; }
.home-page :is(.home-photo-caption,.home-pro-card) p {
  display: block;
  color: #475563;
  margin: 0;
  font-size: .78rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.home-page :is(.home-photo-card,.home-pro-card):hover {
  border-color: #a98446;
}
.home-page :is(.home-photo-card,.home-pro-card):hover h3 {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home-page .home-section-link {
  display: block;
  width: fit-content;
  margin: 17px auto 0;
  color: #715628 !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: .86rem;
  font-weight: 600;
}
.home-photo-credits {
  margin-block-start: 12px;
  text-align: start;
  font-size: .72rem;
  color: #53616e;
}
.home-photo-credits summary { width: fit-content; cursor: pointer; }
.home-photo-credits ul { padding-inline-start: 20px; }
.home-photo-credits a { color: inherit; text-decoration: underline; }

.home-page .home-pro-card { margin: 0; color: #102131; text-decoration: none; }
.home-page .home-partner-actions {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 11px;
  max-width: 650px;
  margin: 23px auto 0;
}
.home-page .home-partner-actions .acq-primary {
  display: flex;
  min-height: 51px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .83rem;
  line-height: 1.4;
  padding: 10px 12px;
  white-space: normal;
}
.home-page :is(.home-assurances,.home-services,.home-featured,.home-professionals) a:focus-visible {
  outline: 2px solid #a98446;
  outline-offset: 3px;
}

html[data-raylan-theme="application-light"] body.home-page .home-footer-nav { text-align: start; }
html[data-raylan-theme="application-light"] body.home-page .home-footer-nav a { justify-content: flex-start; text-align: start; }

@media (min-width: 680px) {
  .home-onboard .onboard-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .home-estimation .path-quote {
    display: grid;
    column-gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-estimation .path-quote :is(h2,p,button) { grid-column: 1 / -1; }
  .home-estimation .path-quote button { width: min(100%, 320px); }
  .home-estimation label[for="home-pickup"] { grid-column: 1; grid-row: 2; }
  .home-estimation label[for="home-dropoff"] { grid-column: 2; grid-row: 2; }
  .home-estimation #home-pickup { grid-column: 1; grid-row: 3; }
  .home-estimation #home-dropoff { grid-column: 2; grid-row: 3; }
}
@media (max-width: 815px) {
  .home-assurance-grid,
  .home-services-grid,
  .home-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-pro-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  html[data-raylan-theme="application-light"] body.home-page.customer-layout .hero {
    background: linear-gradient(180deg,rgb(7 23 37 / 75%) 0%,rgb(7 23 37 / 78%) 235px,#071725 470px),
      url('/assets/optimized/home-bg-jpg.b40b01b6c4.webp') 64% top / auto 460px no-repeat, #071725 !important;
  }
}
@media (max-width: 540px) {
  .home-service-card ul { grid-template-columns: 1fr; }
  .home-service-card li a { min-height: 36px; }
  .home-page .hero .path-hero-copy h1 { max-width: none; }
  .home-hero-commitments .why-item p { display: none; }
  .home-assurance-grid { gap: 9px; }
  .home-photo-grid,
  .home-services-grid { gap: 10px; }
}
@media (max-width: 360px) {
  .home-photo-grid { grid-template-columns: 1fr; }
}
