:root{
  --green:#1f5148;
  --green-2:#6f8d63;
  --cream:#fbf7ee;
  --cream-2:#f1eadc;
  --brown:#3a2a21;
  --line:#d8c9ac;
  --shadow:0 20px 55px rgba(48,60,42,.16);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Segoe UI", Arial, sans-serif;
  color:var(--brown);
  background:
    radial-gradient(circle at 4% 5%, rgba(219,229,205,.85), transparent 22%),
    radial-gradient(circle at 96% 18%, rgba(225,231,211,.65), transparent 24%),
    radial-gradient(circle at 5% 93%, rgba(222,230,207,.65), transparent 28%),
    linear-gradient(180deg,#fbf6eb 0%,#f5efe4 100%);
  line-height:1.65;
}
.wrapper{width:min(1120px,92%);margin:0 auto}
.site-header{padding:20px 0 24px}.menu-only{padding-top:24px}
.main-nav{
  background:rgba(255,252,245,.9);
  border:1px solid rgba(85,117,69,.22);
  border-radius:999px;
  box-shadow:0 12px 34px rgba(55,68,46,.12);
  padding:10px;
}
.main-nav ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.main-nav a{display:block;text-decoration:none;color:var(--green);padding:11px 17px;border-radius:999px;font-weight:700;white-space:nowrap}
.main-nav a:hover,.main-nav a.active{background:var(--green);color:#fff}
.page-card{
  background:rgba(255,252,245,.88);
  border:1px solid var(--line);
  border-radius:34px;
  padding:clamp(28px,4.5vw,52px);
  box-shadow:var(--shadow);
  margin:22px auto 36px;
}
.home-hero{display:grid;grid-template-columns:400px 1fr;gap:44px;align-items:center;background:transparent;border:0;box-shadow:none;padding-top:8px;margin-bottom:20px}
.rounded-logo-card{
  aspect-ratio:1/1;
  border-radius:34px;
  border:1px solid #d8c9ac;
  background:linear-gradient(140deg,#f7f0df,#fffaf1 55%,#ececdd);
  box-shadow:0 18px 48px rgba(60,70,48,.16), inset 0 0 45px rgba(214,202,169,.28);
  display:grid;place-items:center;
  overflow:hidden;
  padding:26px;
  transform: translateY(-40px);
}
.rounded-logo-card img{width:100%;height:100%;object-fit:contain;border-radius:50%}
.home-title .script{display:block;font-family:Georgia,"Times New Roman",serif;font-weight:700;font-size:clamp(3.2rem,7vw,5.5rem);line-height:.95;color:var(--brown);letter-spacing:.01em}
.home-title .subtitle{display:block;margin-top:18px;color:var(--green-2);font-size:clamp(1.6rem,3.2vw,2.35rem);letter-spacing:.15em;font-weight:500}
.info-list{margin-top:32px;display:grid;gap:14px;max-width:560px}


.info-row{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:rgba(255,255,255,.82);
    border-radius:16px;
    padding:14px 18px;
    color:var(--brown);
    text-decoration:none;
    box-shadow:0 12px 28px rgba(76,86,58,.08);
    width:fit-content;
}

.info-list{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}

.info-list iframe,
.info-list .gorendezvous-button{
    width:100%;
}

.info-icon{font-weight:700;color:#2b443c;width:20px;text-align:center}
h1,h2{color:var(--brown);line-height:1.15;margin:0 0 22px;font-family:Georgia,"Times New Roman",serif;font-weight:700}h1{font-size:clamp(2.7rem,5.5vw,4.2rem)}h2{font-size:clamp(2rem,4vw,3rem)}.eyebrow{letter-spacing:.28em;text-transform:uppercase;color:#40584f;font-weight:800;margin-bottom:8px}.lead,.text-block p{font-size:1.14rem;color:#3e544b}.text-block p{margin:0 0 18px}.page-title{text-align:center}.page-title:after{content:"";display:block;width:min(520px,90%);height:68px;margin:8px auto 0;background:url('assets/separateur.png') center/contain no-repeat}.care-list-large{display:grid;grid-template-columns:1fr;gap:6px;max-width:880px;margin:0 auto}.care-item-large{text-align:center;padding:5px 0 14px}.separator-large{width:min(720px,96%);height:76px;object-fit:contain;display:block;margin:0 auto -6px}.care-name{display:inline-flex;align-items:center;gap:14px;min-width:min(620px,100%);justify-content:center;background:rgba(255,250,240,.86);border:1px solid rgba(216,201,172,.92);border-radius:26px;padding:18px 30px;color:var(--green);font-size:1.34rem;box-shadow:0 14px 32px rgba(67,76,55,.1)}.leaf{font-size:1.15rem;color:var(--green)}.placeholder-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.small-card{background:rgba(255,250,240,.76);border-radius:26px;padding:24px;border:1px solid rgba(216,201,172,.92)}.small-card h3{margin-top:0;color:var(--green)}.site-footer{margin-top:42px;padding:32px 0;background:rgba(31,81,72,.96);color:#fff}.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.footer-item strong{display:block;color:#dde8d5}.footer-item a{color:#fff;text-decoration:none}.address{margin:0}
@media(max-width:850px){.home-hero{grid-template-columns:1fr;text-align:center}.rounded-logo-card{max-width:360px;margin:auto}.info-list{margin-left:auto;margin-right:auto}.main-nav{border-radius:28px}.main-nav ul{display:grid;grid-template-columns:1fr 1fr}.main-nav a{text-align:center;padding:11px 9px}.placeholder-grid,.footer-grid{grid-template-columns:1fr}.page-card{border-radius:28px}.care-name{font-size:1.15rem;min-width:100%;padding:16px 18px}.separator-large{height:60px}}
@media(max-width:470px){.main-nav ul{grid-template-columns:1fr}.rounded-logo-card{padding:18px;border-radius:28px}.home-title .subtitle{letter-spacing:.07em}.info-row{font-size:.95rem}.page-card{padding:24px 18px}.page-title:after{height:52px}.separator-large{height:50px}}


/* Mobile hamburger menu */
.menu-toggle{
  display:none;
}
.menu-toggle span{
  display:block;
  width:24px;
  height:3px;
  background:var(--green);
  border-radius:4px;
  margin:4px 0;
}
@media(max-width:850px){
  .site-header.menu-only{
    padding:14px 0 8px;
  }
  .menu-toggle{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    width:46px;
    height:46px;
    margin:0 auto;
    padding:0;
    background:rgba(255,252,245,.96);
    border:1px solid rgba(85,117,69,.28);
    border-radius:12px;
    box-shadow:0 8px 22px rgba(55,68,46,.12);
    cursor:pointer;
    appearance:none;
    -webkit-appearance:none;
  }
  .main-nav{
    display:none;
    margin-top:12px;
    border-radius:24px;
    padding:8px;
  }
  .main-nav.mobile-open{
    display:block;
  }
  .main-nav ul{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }
  .main-nav a{
    text-align:center;
    padding:12px 10px;
  }
}


/* Correction finale mobile : bouton à gauche + aucune barre blanche quand le menu est fermé */
@media(max-width:850px){
  .site-header.menu-only{
    padding:14px 0 8px !important;
  }
  .site-header.menu-only .menu-toggle{
    display:flex !important;
    margin:0 0 0 18px !important;
  }
  .site-header.menu-only .main-nav{
    display:none !important;
    width:auto !important;
    height:0 !important;
    min-height:0 !important;
    max-height:0 !important;
    overflow:hidden !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  .site-header.menu-only .main-nav.mobile-open{
    display:block !important;
    height:auto !important;
    max-height:none !important;
    overflow:visible !important;
    width:min(92%,1120px) !important;
    margin:12px auto 0 !important;
    padding:8px !important;
    background:rgba(255,252,245,.96) !important;
    border:1px solid rgba(85,117,69,.28) !important;
    border-radius:24px !important;
    box-shadow:0 12px 34px rgba(55,68,46,.12) !important;
  }












}
@media(min-width:851px){
  .site-header.menu-only .menu-toggle{display:none !important;}
  .site-header.menu-only .main-nav{display:block !important;}
}

.home-title{
    text-align:center;
    transform: translateY(-30px);
}

.home-title .script img{
    display:block;
    margin:0 auto;
}

.info-list{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:14px;
    width:100%;
}

.info-row{
    width:auto;
}

.info-list iframe,
.info-list .gorendezvous-button{
    flex-basis:100%;
    margin-left:auto !important;
    margin-right:auto !important;
}

.info-list iframe{
    display:block;
    width:430px !important;
}

.info-list .gorendezvous-button{
    display:flex !important;
    justify-content:center !important;
    width:280px !important;
}

/* Correction largeur carte Google + bouton GoRendezVous */
.info-list iframe{
    flex:0 0 430px !important;
    width:430px !important;
    max-width:430px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    display:block !important;
}

.info-list .gorendezvous-button{
    flex:0 0 430px !important;
    width:430px !important;
    max-width:430px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    display:block !important;
}

.info-list .gorendezvous-button a{
    width:430px !important;
    max-width:430px !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
}

@media(max-width:470px){
    .info-list iframe,
    .info-list .gorendezvous-button,
    .info-list .gorendezvous-button a{
        width:100% !important;
        max-width:100% !important;
        flex-basis:100% !important;
    }
}


/* Ajustements mobile : tout centré + carte et bouton moins larges */
@media(max-width:850px){
    .home-title{
        text-align:center !important;
    }

    .home-title .script img{
        margin:0 auto !important;
        display:block !important;
    }

    .info-list{
        justify-content:center !important;
        align-items:center !important;
    }

    .info-row{
        margin-left:auto !important;
        margin-right:auto !important;
    }

    .info-list iframe{
        width:280px !important;
        max-width:280px !important;
        flex-basis:280px !important;
    }

    .info-list .gorendezvous-button,
    .info-list .gorendezvous-button a{
        width:280px !important;
        max-width:280px !important;
        flex-basis:280px !important;
    }
}


/* V5 - Ajustements mobile */
@media(max-width:850px){

    /* Espace entre le bouton menu et le logo */
    .home-hero{
        padding-top:40px !important;
    }

    .rounded-logo-card{
        margin-top:20px !important;
    }

    /* Empêche Diane Audet d'être coupé */
    .home-title .script img{
        max-width:90% !important;
        height:auto !important;
        margin:0 auto !important;
        display:block !important;
    }

    .home-title{
        text-align:center !important;
    }
}


/* V6 - Corrections demandées */
@media(max-width:850px){

    /* Réduit d'environ 50% l'espace entre le logo et Diane Audet */
    .home-hero{
        gap:22px !important;
    }

    .rounded-logo-card{
        margin-bottom:0 !important;
    }

    /* Centre uniquement l'image Bienvenue */
    h1 img{
        display:block !important;
        margin:0 auto !important;
    }
}


/* Bouton Retour en haut */
.back-to-top-container{
    text-align:center;
    margin:30px 0 10px;
}

.back-to-top-btn{
    display:inline-block;
    background:var(--green);
    color:#fff;
    text-decoration:none;
    padding:12px 28px;
    border-radius:999px;
    font-weight:700;
    box-shadow:0 12px 28px rgba(55,68,46,.12);
    transition:all .2s ease;
}

.back-to-top-btn:hover{
    background:var(--green-2);
    transform:translateY(-2px);
}
