:root {
    --blue: #059cc7;
    --blue-dark: #023a8f;
    --orange: #ef7d00;
    --text: #3c3c3b;
    --muted: #9298a0;
    --bg: #ffffff;
    --bg-soft: #f7f7f7;
    --card: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
    --radius: 14px;
    --max: 1100px;
}

@font-face {
    font-family: 'NhBold';
    src: url('../fonts/New Hero Bold.otf');
}
@font-face {
    font-family: 'NhBoldItalic';
    src: url('../fonts/New Hero Bold Italic.otf');
}
@font-face {
    font-family: 'Sofia';
    src: url('../fonts/Sofia Pro Regular.ttf');
}
@font-face {
    font-family: 'SofiaSemiBold';
    src: url('../fonts/Sofia Pro SemiBold.ttf');
}

* {
    box-sizing: border-box;
}

.wrap-loader{
    display:none;
}
.wrap-loader.active{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.8);
}
#loader{
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue);
  --_m: 
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
          mask: var(--_m);
  -webkit-mask-composite: source-out;
          mask-composite: subtract;
  animation: l3 1s infinite linear;
}

@keyframes l3 {to{transform: rotate(1turn)}}
}

h1,
h2,
h3,
h4,
#siteHeader a {
    font-family: 'NhBold';
}

#siteHeader.resize{
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#siteHeader.resize .brand{
    width: 200px;
}

body p{
    font-family: 'Sofia';
    margin-bottom: 1rem;
}

html {
    font-size: 100%;
}

html,
body {
    /* height: 100%; */
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.45;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.success{
    text-align: center;
    margin-bottom: 4rem !important;
    display: block;
    color: #7e7e7e;
    font-size: 1.1rem;
}
.icone-mail {
  width: 80px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}
.container {
    /* width: min(var(--max), 92%); */
    margin-inline: auto;
}

/* Header */
header {
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 50;
    background: var(--bg);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

/* .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
} */

#resultats h2{
    color: var(--blue);
    margin-top: 0;
    font-size: 1.20rem;
    text-align: left !important;
    border-bottom: 1px solid gray;
}
#resultats .label{
    display: block;
    font-size: 0.9rem;
    color: var(--blue);
    margin-top: 0.8rem;
}
#resultats .row > div{
    padding: 1rem;
}
#resultats ul{
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

#siteHeader{
    padding-top: 2rem;
    padding-bottom: 2rem;
    transition-duration: 200ms;
}

#siteHeader a{
    font-size: 1rem;
    color: var(--text);
    font-weight: initial;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    transition-duration: 200ms;
}

.brand img {
    width: 100%;
}

.brand .name {
    font-weight: 800;
    letter-spacing: .2px;
    font-size: 15px;
    line-height: 1.1;
}

.brand .tag {
    display: block;
    font-weight: 600;
    color: var(--orange);
    font-size: 12px;
    margin-top: 2px;
}

nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-weight: 600;
    color: #253046;
}

nav a {
    position: relative;
    padding: 8px 6px;
    font-family: 'NhBold';
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width .2s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Mobile menu */
.menu-btn {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #2b364d;
    margin: 5px 0;
    border-radius: 2px;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: right;
    height: 100%;
}
.mobile-nav{
    display:none;
}

/* Hero */
.hero {
    min-height: 340px;
    display: grid;
    place-items: end;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .45)),
        url("../img/hero-flamboyant.jpg") center/cover no-repeat;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: 0% 100%;
    padding: 0;
}

.hero h1 {
    margin: 0;
    padding: 6rem 0;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: .6px;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .70);
}

.hero h1 .thin {
    display: block;
}

/* Section base */
section {
    padding: 6rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.kicker {
    font-weight: 900;
    letter-spacing: .4px;
    text-transform: uppercase;
    font-size: 14px;
    color: var(--blue-dark);
    margin: 0 0 8px 0;
}

.title {
    margin: 0 0 1rem 0;
    font-size: 2.2rem;
    line-height: 1.42;
    text-transform: uppercase;
    color: var(--blue);
}

.title .blue{
    color: var(--blue);
}

.title .orange {
    color: var(--orange);
}

.lead {
    margin: 0;
    color: var(--text);
    font-size: 1.5rem;
    text-align: justify;
}
.page .blue,
.page h2,
.page h3{
    color: var(--blue);
}
.page h2{
    margin-bottom: 1rem;
}
.page h2:not(:first-of-type){
    margin-top: 4rem;
}

.page p{
    margin-bottom: 0.5rem;
}

.page ul li::marker,
.page ul ol::marker{
    color: var(--blue);
}
.tarifs #structure h2{
    text-align: center;
}
.tarifs .lead{
    text-align: center;
}

.lead .blue{
    font-family: 'SofiaSemiBold';
    color: var(--blue);
}

.panel {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panel.photo {
    /* aspect-ratio: 4/3; */
    height: 100%;
}

.text-col p {
    margin: 0 0 1rem 0;
}

.text-col p:last-child {
    margin-bottom: 0;
}

/* Services grid */
.services {
    background-color: var(--bg-soft);
    background-image: url('../img/sigle.svg');
    background-repeat: no-repeat;
    background-position: 0% 50%;
    background-size: 580px;
    /* background-attachment: fixed; */
}

.services-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
    height: 100%;
    margin-right: 2rem;
}

.services-head .subtitle {
    font-family: 'NhBoldItalic';
    font-size: 1.6rem;
    color: var(--orange);
    font-style: italic;
    margin: 10px 0 0 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    /* min-height: 148px; */
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .0) 35%, rgba(0, 0, 0, .55)),
        url("img/service-placeholder.jpg") center/cover no-repeat;
    box-shadow: var(--shadow);
    transform: translateY(0);
    transition: transform .15s ease, box-shadow .15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    margin-bottom: 1.5rem;
    border: none !important;
    padding: 1.5rem;
}

.card:before{
    content:"";
    width:100%;
    height:100%;
    position: absolute;
    top:0;
    left:0;
    background-color: #3c3c3b65;
    z-index:-1;
}


.card .label {
    color: white;
    text-transform: uppercase;
    letter-spacing: .4px;
    font-size: 13px;
    text-shadow: 0 10px 25px rgba(0, 0, 0, .35);
    font-family: 'NhBold';
    font-size:1.625rem;
    text-align: center;
}

.card .sub {
    display: block;
    text-transform: none;
    letter-spacing: 0;
    font-size: 20px;
    opacity: .92;
}

.card .go {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(24, 167, 200, .92);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}

.card .go svg {
    width: 16px;
    height: 16px;
    fill: white;
}

/* Per-card background images */
.card.menage {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55)), url("../img/service-menage.webp");
}

.card.repassage {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55)), url("../img/service-repassage.webp");
}

.card.jardinage {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55)), url("../img/service-jardinage.webp");
}

.card.bricolage {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55)), url("../img/service-bricolage.webp");
}

.card.garde {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55)), url("../img/service-garde-enfants.webp");
}

.card.aide {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55)), url("../img/service-aide-domicile.webp");
}



/* 50% section */
.promo {
    background: #fff;
}

.cta {
    display: inline-flex;
    /* display: none; */
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--orange);
    color: white;
    font-family: 'sofiaSemiBold';
    font-size:1.125rem;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(240, 138, 36, .25);
    margin-top: 14px;
    border:none;
}

.cta:hover {
    filter: brightness(.98);
    color: #fff;
}

.promo .panel.photo {
    /* aspect-ratio: 4/3; */
}

/* Testimonials */
.testimonials {
    padding: 0;
    background:
    linear-gradient(rgba(0, 105, 130, 0.7), rgba(0, 105, 130, 0.7)),
    url("../img/testimonials-bg.webp") no-repeat center / cover;
    color: white;
    display:none;
}

.testimonials .container {
    padding: 6rem 0;
    text-align: center;
}

.testimonials h2 {
    margin: 0 0 16px 0;
    text-transform: uppercase;
}

.quote {
    max-width: 820px;
    margin: 0 auto;
    font-family: 'Sofia';
    font-style: italic;
    color: rgba(255, 255, 255, .95);
    line-height: 1.7;
    text-shadow: 1px 1px 4px black;
}

.testimonials .splide__pagination{
    position: relative;
    bottom:0px;
}
.testimonials .splide__pagination li{
    margin-right: 6px;
    margin-left: 6px;
}
.splide__pagination__page{
    opacity:1 !important;
}
.quote .who {
    display: block;
    margin-top: 14px;
    font-style: normal;
    font-weight: 900;
    opacity: .95;
    text-align: right;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
}

.dot.active {
    background: white;
}

/* Contact */
.contact {
    background: var(--bg-soft);
}

.contact a:hover{
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.map {
    background: #e8f4fb;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: 260px;
    display: grid;
    place-items: center;
    position: relative;
}

.map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-card h2 {
    margin: 0 0 1.875rem 0;
    text-transform: uppercase;
    color: var(--blue);
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 3.75rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    color: white;
    font-size: 1.125rem;
    background: var(--orange);
    box-shadow: 0 12px 26px rgba(240, 138, 36, .18);
    font-family: 'NhBold';
}
.pill,
.cta{
    transition-duration: 250ms;
}
a.pill:hover,
a.cta:hover,
button.cta:hover{
    background: #ef5a00;
}
.pill.blue {
    background: var(--blue);
    box-shadow: 0 12px 26px rgba(24, 167, 200, .18);
}
a.pill.blue:hover {
    background: #057ec7;
}

.pill svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: white;
}

.pill span{
    position: relative;
    top: 2px;
}

.label2 {
    margin: 14px 0 6px 0;
    color: var(--blue);
    font-size: 1.5rem;
    font-family:'NhBold';
}

.small {
    margin: 0;
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1.45;
}
.small.horaire{
    margin-bottom: 3.75rem;
}
.gras{
    font-family: 'SofiaSemiBold';
}

/* Footer */
footer {
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, .06);
    padding: 22px 0;
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    align-items: center;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.footer-links a:hover {
    color: #2b364d;
    text-decoration: underline;
}

.madeby {
    opacity: .9;
}

/* Bouton toggle */ 
.hk-toggle {
  display: flex;
  flex-direction: row;
  /* align-items: center; */
  gap: 10px;
}
.hk-toggle span {
  font-size: 1rem;

}

.hk-toggle input {
  display: none;
}
.hk-toggle label {
  width: 48px;
  min-width: 48px;
  height: 24px;
  border-radius: 40px;
  position: relative;
  cursor: pointer;
}
.hk-toggle label::after {
  content: "";
    width: 16px;
  height: 16px;
  position: absolute;
  top: 4px;
  left: 4px;
  border-radius: 50%;
  transition: 0.35s;
}

.hk-tg-3 label {
  background: #1f232b;
}
.hk-tg-3 label::after {
  background: #9aa0a6;
}
.hk-tg-3 input:checked + label {
  background: var(--blue);
}
.hk-tg-3 input:checked + label::after {
  transform: translateX(24px);
  background: #fff;
}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .quote{
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .hk-toggle label {
        width: 35px;
        min-width: 35px;
        height: 20px;
        border-radius: 40px;
        position: relative;
        cursor: pointer;
        
    }
    .hk-toggle label::after {
        width: 12px;
        height: 12px;
    }  
    .hk-tg-3 input:checked + label::after {
        transform: translateX(15px);
        background: #fff;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {

}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap:2rem;
    }

    .map {
        min-height: 220px;
        order:2;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    #structure .panel.photo{
        order:2;
    }
    #structure .grid-2{
        gap:2rem;
    }
    .panel.photo {
        margin-inline: auto;
    }

      nav {
        display: none;
    }

    .menu-btn {
        display: inline-block;
    }

    .mobile-nav {
        display: none;
        padding: 32px 0 14px 0;
    }

    .mobile-nav a {
        display: block;
        padding: 10px 0;
        font-weight: 700;
        border-top: 1px solid rgba(0, 0, 0, .06);
    }

    header[data-open="true"] .mobile-nav {
        display: block;
    }

    .brand{
        position: relative;
    }

    .brand img{
        width: 200px;
        position: absolute;
        left: 0;
        top: 0;
    }

    .services-head{
        margin-bottom: 1rem; 
    }

    .list-services{
        margin-top: 2rem;
    }

    #tarifs .panel.photo{
        display:none;
    }

    .quote{
        font-size: 1.3rem;
    }

    .footer-links{
        flex-direction: column;
    }

    .footer-grid{
        flex-direction: column;
        font-size: 1.2rem;
        align-items: start;
    }

    footer{
        padding-bottom: 14px;
    }

    .madeby{
        opacity: .7;
        width: 100%;
        text-align: center;
        border-top: 1px solid gray;
        padding-top: 10px;
        margin-top: 16px;
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {

}

/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {

}
