/* ===============================
   Variables & bases
   =============================== */

:root {
  --primary: #8FA7A0;
  --primary-dark: #6E8B84;
  --primary-soft: #D9E3E0;
  --bg: #F8F9FA;
  --text: #222;
  --muted: #556;
  --header-height: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Open Sans, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { text-decoration: none; color: var(--primary-dark); }
img { max-width: 100%; display: block; }
.container { width: min(1100px, 92%); margin-inline: auto; }

/* ===============================
   Header & navigation
   =============================== */

   
header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  color: #fff;
  box-shadow: none;
}

/* calque du header */
header::before{
  content:"";
  position:absolute;
  inset:0;
  background:#fff;
  opacity:0;
  transition: opacity .25s ease;
  z-index:-1;
}

/* état transparent (haut de page) */
header:not(.scrolled):not(.menu-open)::before{
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0));
  opacity:1;
}

/* état blanc (scroll ou menu ouvert) */
header.scrolled::before,
header.menu-open::before{
  background:#fff;
  opacity:1;
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
}


.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 14px; }
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:700;
  font-size:1.2rem ;
  color:#ffffff;
  text-shadow:0 1px 2px rgba(0,0,0,.24);
  margin-left: 0; /* <-- IMPORTANT : supprime le -150px */
}

/* Header transparent (au chargement) */
header:not(.scrolled) .logo{
  color: #ffffff;
}

/* Header blanc après scroll */
header.scrolled .logo{
  color: var(--text); /* noir */
  text-shadow: none;
}

.logo img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background-color: var(--primary-soft); }
.brand { font-weight: 600; color: inherit; }
.nav-links { display: flex; gap: clamp(14px, 2.8vw, 24px); margin-left: clamp(20px, 3vw, 48px); margin-right: 0; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { padding: 12px 0; font-size: 1.05rem; font-weight: 600; color: inherit; }
.nav-links a.cta-small { padding: 9px 14px; display: inline-flex; align-items: center; line-height: 1; }
.cta-small { padding: 14px 28px; background: rgba(255,255,255,.14); color: #fff; border-radius: 10px; font-weight: 700; letter-spacing: .02em; border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.5); border-radius: 8px; background: rgba(255,255,255,.12); color: inherit; }
.burger span { width: 22px; height: 2px; background: currentColor; position: relative; display: block; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* État scrolé: fond clair, texte sombre */
header.scrolled { background: #fff; box-shadow: 0 12px 35px rgba(0,0,0,.08); color: var(--text); }
header.scrolled .cta-small { background: var(--primary); border: none; color: #fff; }
header.scrolled .burger { background: #fff; border: 1px solid #ddd; color: var(--text); }
header.scrolled .logo { color: var(--text); text-shadow: none; }

header.menu-open{
  background: #fff;
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
  color: var(--text);
}

/* Quand header blanc, le CTA devient vert */
header.menu-open .cta-small{
  background: var(--primary);
  border: none;
  color: #fff;
}

/* Logo noir quand menu ouvert */
header.menu-open .logo{
  color: var(--text);
  text-shadow: none;
}

/* Animation icône burger -> croix */
.burger span{ transition: transform .2s ease, background .2s ease; }
.burger span::before,
.burger span::after{ transition: transform .2s ease, top .2s ease, opacity .2s ease; }

header.menu-open .burger span{
  background: transparent;
}
header.menu-open .burger span::before{
  top: 0;
  transform: rotate(45deg);
}
header.menu-open .burger span::after{
  top: 0;
  transform: rotate(-45deg);
}


@media (max-width:900px) {
  .nav-links{
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;

    background: #fff;
    border-bottom: 1px solid #eee;

    flex-direction: column;
    padding: 12px 20px;

    /* IMPORTANT : on n'utilise plus display:none */
    display: flex;
    align-items: center;
    text-align: center;

    /* Animation slide-down */
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;

    color: var(--text);
    margin-left: 0;
  }

  .nav-links.open{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a{ color: inherit; }
  .nav-links .cta-small{ width: 100%; justify-content: center; display: inline-flex; }

  .burger{ display: flex; }
}


/* ===============================
   Hero & boutons
   =============================== */

section { scroll-margin-top: calc(var(--header-height) + 16px); }
.hero { padding-top: calc(var(--header-height) + 40px); background: linear-gradient(180deg, var(--primary-soft), #fff 40%); }
.hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
@media (max-width:900px) { .hero-grid { grid-template-columns: 1fr; } }
.h1 { font-size: clamp(1.6rem, 2.2rem, 2.6rem); margin: 0 0 10px; color: var(--text); }
.lead { font-size: 1.05rem; color: var(--muted); margin-bottom: 18px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 18px; border-radius: 10px; font-weight: 500; transition: transform .08s ease, box-shadow .2s ease; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { border: 1px solid var(--primary); color: var(--primary-dark); background: #fff; }
.btn-outline:hover { background: var(--primary-soft); }
.image { background: #f0f5f4; border: 1px solid #e5efec; border-radius: 14px; padding: 18px; }
.trustline { margin-top: 20px; padding: 12px 16px; background: #fff; border: 1px solid #eee; border-radius: 12px; color: #444; }

/* ===============================
   Bannière pleine largeur
   =============================== */

.banner { margin-top: 0; position: relative; overflow: hidden; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.18) 40%, rgba(0,0,0,0) 70%); z-index: 1; pointer-events: none; }
.banner::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.16); z-index: 1; pointer-events: none; }
.banner .full-bleed { width: 100%; height: clamp(560px, 82vh, 980px); object-fit: cover; object-position: center center; display: block; position: relative; z-index: 0; will-change: transform; transform: translate3d(0,0,0) scale(1.12); transform-origin: center; }
.banner-content{position:absolute;inset:0;display:grid;place-items:center;z-index:2;text-align:center;padding:0 20px;color:#fff}
.banner-content .headline{max-width:880px}
.hero-name{font-size:clamp(2rem,3rem,3.2rem);margin:0 0 8px;font-weight:700;color:#ffffff}
.banner-content .h1{color:#fff}
.banner-content .lead{color:#eef2f2;font-weight:700}
.banner-content .btns{justify-content:center}

.banner.small-banner {
  height: 280px;
  background: var(--primary-dark);
}
.banner.small-banner .full-bleed {
  display: none;
}
.banner.small-banner .banner-content {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.banner.small-banner .h1 {
  margin: 0;
  padding: 0;
}


/* ===============================
   Sections & cartes
   =============================== */

.section { padding: 60px 0; }
.section-title { font-size: clamp(1.28rem, 3vw, 1.45rem); margin-bottom: 16px; color: var(--primary-dark); }
.section-intro { color: #555; margin-bottom: 12px; }
.grid { display: grid; }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width:900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 18px; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { margin: 6px 0; }
.notice { background: #fff; border: 1px dashed #ccc; border-radius: 12px; padding: 14px; color: #555; margin-top: 12px; }
.small { font-size: .9rem; color: #666; }

/* ===============================
   Tarifs
   =============================== */

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
@media (max-width:900px) { .pricing { grid-template-columns: 1fr; } }
.price { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 18px; }
.price h3 { margin: 0 0 6px; font-size: 1.1rem; color: #333; }
.amount { font-weight: 600; color: var(--primary-dark); }

/* ===============================
   Accès / Carte
   =============================== */

.map iframe { width: 100%; height: 380px; border: 0; border-radius: 12px; }

/* ===============================
   Avis
   =============================== */

.quote { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 18px; }
.stars { color: #e0a800; }
#google-reviews.reviews-wrapper{position:relative}
.reviews-slider{display:flex;gap:16px;overflow:hidden}
.review{flex:0 0 clamp(260px,28vw,360px);background:#fff;border:1px solid #eee;border-radius:12px;padding:16px}
.review .stars{color:#e0a800;margin-bottom:6px}
.review .author{font-weight:600;color:#333;margin-top:8px}
.review .date{font-size:.9rem;color:#888}
.reviews-link{display:inline-block;margin-top:12px}
.reviews-link img{width:56px;height:56px}

/* ===============================
   FAQ
   =============================== */

.faq .item { border: 1px solid #eee; background: #fff; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq .q { width: 100%; text-align: left; padding: 16px; background: #fff; border: none; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq .a { padding: 0 16px 16px; display: none; color: #444; }
.faq .item.open .a { display: block; }
.faq .item.open .q { background: var(--primary-soft); }

/* ===============================
   Footer
   =============================== */

footer { margin-top: 40px; background: var(--primary-dark); color: #e9f2f0; }
footer .container { padding: 24px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
footer a { color: #e9f2f0; text-decoration: underline; opacity: .95; }
footer .small { opacity: .9; }
.location-hero{margin-bottom:16px}
.location-hero img{width:100%;height:clamp(320px,48vh,560px);object-fit:cover;border-radius:14px}
.location-grid{display:grid;grid-template-columns:1.1fr 0.9fr;gap:20px;align-items:start}
.left-column{display:flex;flex-direction:column;gap:16px}
.location-portrait{display:flex;justify-content:flex-end}
.location-portrait img{width:100%;height:clamp(420px,68vh,820px);object-fit:cover;border-radius:14px}
@media (max-width:900px){.location-grid{grid-template-columns:1fr}.location-portrait img{height:clamp(280px,46vh,520px)}}






#avis {
    display: flex;
    justify-content: center;   /* centre horizontalement */
    align-items: center;       /* centre verticalement */
    min-height: 100px;         /* ou 100vh si tu veux plein écran */
}





/* Bouton standard */
.google-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 18px 26px;
    border-radius: 20px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    justify-content: center;
    align-items: center;
    margin: 0 auto; 
}

/* Hover */
.google-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    border-color: #d1d5db;
}

/* GRAND FORMAT **********************/

.google-review-btn-large {
    padding: 24px 36px;        /* encore plus grand */
    gap: 24px;                 /* espace logo/contenu */
}

/* Logo Google en BIG */
.google-review-btn-large .google-review-btn-icon img {
    width: 48px;
    height: 48px;
}

/* Zone texte */
.google-review-btn-large .google-review-btn-label {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

.google-review-btn-large .google-review-btn-count {
    font-size: 16px;
    margin-top: 4px;
    color: #4b5563;
}

/* ÉTOILES XXL */
.google-review-btn-large .google-review-btn-stars {
    font-size: 26px;      /* plus grosses étoiles */
    margin-top: 6px;
}

.google-review-btn-stars .star {
    color: #d1d5db; /* gris */
    margin-right: 2px;
}

.google-review-btn-stars .star.filled {
    color: #fbbf24; /* jaune */
}


/* ===============================
   Responsive (600px, 430px, 360px)
   =============================== */

@media (max-width: 600px) {
  :root { --header-height: 82px; }
  body { font-size: 0.98rem; }
  .container { width: min(1100px, 94%); }
  .logo img { width: 50px; height: 50px; }
  .nav { gap: 10px; }
  .nav-links { gap: 14px; padding: 12px 18px; }
  .nav-links a { padding: 10px 0; font-size: 1rem; }
  .cta-small { width: 100%; text-align: center; }
  .hero { padding-top: calc(var(--header-height) + 28px); }
  .hero-grid { gap: 22px; }
  .btns { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; text-align: center; }
  .banner .full-bleed { height: clamp(360px, 70vh, 720px); }
  .hero-name { font-size: clamp(1.7rem, 7vw, 2.1rem); }
  .section { padding: 48px 0; }
  .card, .price, .notice, .quote, .review { padding: 16px; }
  .grid-2, .grid-3, .pricing { gap: 16px; }
  .map iframe { height: 320px; }
  .section-title { font-size: 1.22rem; margin-top: 8px; line-height: 1.25; }
}

@media (max-width: 430px) {
  :root { --header-height: 76px; }
  .nav { padding-inline: 6px; }
  .logo { gap: 8px; }
  .logo img { width: 46px; height: 46px; }
  .nav-links { padding: 14px 16px; }
  .nav-links a { font-size: 0.98rem; }
  .h1 { font-size: clamp(1.35rem, 5vw, 1.7rem); }
  .lead { font-size: 1rem; }
  .btn { padding: 11px 16px; }
  .hero-name { font-size: clamp(1.5rem, 7.6vw, 1.9rem); }
  .section { padding: 42px 0; }
  .banner .full-bleed { height: clamp(320px, 68vh, 540px); }
  .card, .price, .notice, .quote, .review { padding: 14px; }
  footer .container { padding: 20px 0; }
  .map iframe { height: 280px; }
  .section-title { font-size: 1.12rem; margin-top: 10px; line-height: 1.25; }
}

@media (max-width: 360px) {
  :root { --header-height: 72px; }
  .logo img { width: 42px; height: 42px; }
  .cta-small { padding: 12px 16px; border-radius: 8px; }
  .nav-links { padding: 12px 14px; gap: 12px; }
  .nav-links a { font-size: 0.95rem; }
  .btn { font-size: 0.98rem; }
  .banner-content .headline { max-width: 96%; }
  .banner-content .lead { font-size: 1rem; }
  .section-title { font-size: 1.04rem; margin-top: 12px; }
  .hero-name { font-size: clamp(1.35rem, 8vw, 1.7rem); }
}

/* Force titres h2 plus petits sur smartphone très étroit */
@media (max-width: 400px) {
  .section-title { font-size: 1.02rem !important; margin-top: 14px !important; line-height: 1.25; }
}


@media (max-width: 600px){
  .nav{ padding-inline: 10px; }
  .logo{ max-width: 70vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
html, body { overflow-x: hidden; }

header.scrolled .logo { color: var(--text); text-shadow: none; }
