/* Nouvelle mise en page : accueil et page conciergerie.
   Les autres pages gardent styles.css. */

:root {
  color-scheme: light;
  --bg: #fafaf8;
  --surface: #ffffff;
  --soft: #f1f0ec;
  --line: #e4e3de;
  --text: #22262d;
  --muted: #3f444c;
  --primary: #2e3440;
  --primary-strong: #1d222b;
  --accent: #8a7f72;
  --accent-strong: #6e6356;
  --shadow: 0 10px 28px rgba(20, 24, 30, 0.07);
  --radius: 16px;
}

[hidden] { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  font-size: 19px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
section { padding: 80px 0; }
h1, h2, h3 { font-family: "Playfair Display", "Times New Roman", serif; line-height: 1.15; margin: 0 0 14px; font-weight: 700; }
h1 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.01em; line-height: 1.2; }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 14px; }
.eyebrow { display: block; margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); }
.lead { font-size: 21px; color: var(--muted); max-width: 600px; }
.muted { color: var(--muted); }
.head { max-width: 640px; margin-bottom: 44px; }
.head p { color: var(--muted); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 11px 24px; border-radius: 999px;
  font-weight: 800; font-size: 16px; text-decoration: none;
  border: 2px solid var(--primary); background: transparent; color: var(--primary);
  cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-strong); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.link { font-weight: 800; color: var(--primary); text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }

/* Bandeau et en-tête */
.top-info { font-size: 15px; color: var(--muted); text-align: center; padding: 10px 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.top-info strong { color: var(--text); }
.site-header { background: var(--bg); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--primary); }
.brand img { width: 40px; height: 40px; }
.brand strong { display: block; font-size: 16px; }
.brand small { display: block; color: var(--muted); font-size: 13px; }
.main-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.main-nav a { text-decoration: none; font-size: 17px; font-weight: 700; color: var(--text); }
.main-nav a:hover { color: var(--accent-strong); }
.main-nav a.btn, .main-nav a.btn-primary { min-height: 48px; padding: 10px 20px; font-size: 16px; color: #fff; }
.nav-toggle { display: none; background: var(--surface); border: 1.5px solid var(--primary); border-radius: 999px; min-height: 48px; padding: 8px 20px; font: inherit; font-size: 17px; font-weight: 800; color: var(--primary); cursor: pointer; }

/* Accueil */
.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 64px; align-items: center; }
.hero-facts { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-facts strong { display: block; font-family: "Playfair Display", serif; font-size: 24px; }
.hero-facts span { font-size: 15px; color: var(--muted); }
.hero-photo { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.phone-box { display: inline-flex; flex-direction: column; gap: 2px; margin-top: 34px; padding: 18px 24px; border: 2px solid var(--primary); border-radius: 18px; text-decoration: none; color: var(--primary-strong); background: var(--surface); }
.phone-box span { font-size: 16px; font-weight: 700; }
.phone-box strong { font-size: 30px; font-family: "Playfair Display", serif; letter-spacing: .01em; }
.phone-box small { font-size: 15px; color: var(--muted); }

/* Conciergerie */
#conciergerie { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.split > img.photo { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.formulas { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; margin-top: 30px; }
.formula { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.formula.is-featured { background: var(--surface); border: 1.5px solid var(--accent); box-shadow: var(--shadow); }
.formula .tag { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-strong); margin-bottom: 10px; }
.formula h3 { margin-bottom: 6px; }
.formula .price { font-size: 15px; font-weight: 800; color: var(--primary); margin-bottom: 14px; }
.formula ul { margin: 0; padding-left: 18px; font-size: 17px; color: var(--muted); }
.formula li { margin-bottom: 5px; }
.formula .fine { font-size: 14px; color: var(--muted); font-style: italic; margin: 14px 0 0; }
.keybox { display: flex; gap: 18px; align-items: center; margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.keybox img { width: 120px; height: 84px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; }
.keybox p { margin: 0; font-size: 17px; color: var(--muted); }
.keybox strong { color: var(--text); }

/* Prestations : liste + détail (rempli par app.js) */
.services-head { margin-bottom: 36px; }
.services-head p { color: var(--muted); max-width: 600px; }
.services-showcase { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 28px; align-items: start; }
.service-list-panel { position: sticky; top: 110px; }
.service-list-panel h3 { font-size: 18px; margin: 0 0 12px; padding-left: 12px; }
.service-buttons { display: grid; gap: 2px; }
.service-button {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center;
  padding: 11px 12px; border-radius: 10px; font-size: 16px; font-weight: 700; color: var(--text);
}
.service-button:hover { background: var(--soft); }
.service-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.service-button.is-active { background: var(--surface); box-shadow: inset 3px 0 0 var(--accent); color: var(--primary-strong); }
.service-detail-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.service-detail-media { position: relative; height: 360px; background: var(--soft); }
.service-detail-media > img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-overlay { position: absolute; left: 20px; bottom: 58px; right: 20px; }
.service-detail-overlay h3 { display: inline-block; background: rgba(255,255,255,.94); color: var(--primary-strong); padding: 10px 16px; border-radius: 12px; font-size: 22px; margin: 0; }
.carousel-counter { position: absolute; right: 20px; bottom: 16px; background: rgba(255,255,255,.94); color: var(--primary); font-weight: 800; font-size: 14px; padding: 7px 12px; border-radius: 999px; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--primary); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.carousel-arrow.prev { left: 14px; }
.carousel-arrow.next { right: 14px; }
.carousel-dots { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.6); cursor: pointer; }
.carousel-dots button.is-active, .carousel-dots button.active, .carousel-dots button[aria-pressed="true"] { width: 22px; background: #fff; }
.service-detail-content { padding: 30px 34px 34px; }
.service-detail-headline { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.service-detail-headline .eyebrow { margin: 0; }
.service-badge { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-strong); background: var(--soft); padding: 5px 11px; border-radius: 999px; }
#serviceTitle { font-size: 26px; margin: 8px 0 6px; }
#serviceSummary { font-size: 18px; color: var(--muted); margin-bottom: 18px; }
.service-bullets { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.service-bullets li { position: relative; padding-left: 26px; }
.service-bullets li::before { content: ""; position: absolute; left: 0; top: 11px; width: 12px; height: 2px; background: var(--accent); }
.service-pricing { border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 22px; }
.service-pricing h4 { margin: 0 0 10px; font-size: 16px; }
.pricing-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.pricing-table th, .pricing-table td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); }
.pricing-table th { color: var(--muted); font-size: 14px; }
.pricing-table td + td { text-align: right; color: var(--muted); white-space: nowrap; padding-left: 12px; }
.pricing-note { font-size: 15px; color: var(--muted); margin-top: 10px; font-style: italic; }
.service-detail-actions { margin-top: 0; }
.service-detail-actions .btn { margin-top: 0; }

/* Qui sommes-nous */
.about-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 56px; align-items: center; }
.about-media img { width: 100%; height: 420px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.founder-box { display: flex; gap: 14px; align-items: center; margin: 22px 0; }
.founder-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.founder-name { display: block; font-family: "Playfair Display", serif; font-size: 19px; font-weight: 700; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-strong); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); font-size: 17px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 56px; }
.contact-info p { margin-bottom: 18px; }
.contact-info a { color: var(--text); font-weight: 800; }
.review-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 12px 20px; border: 1.5px solid var(--primary); border-radius: 999px; font-size: 16px; font-weight: 800; color: var(--primary); text-decoration: none; }
.review-link:hover { background: var(--primary); color: #fff; }
.contact-form { display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.contact-form label { font-weight: 700; font-size: 16px; margin-top: 6px; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: 17px; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); width: 100%; background: var(--bg); color: var(--text); }
.contact-form .btn { margin-top: 8px; justify-self: start; }
.contact-form .note { font-size: 15px; color: var(--muted); margin: 6px 0 0; }
.contact-form .form-status { font-weight: 700; }
.contact-form .form-status.is-success { color: #2f6b3a; }
.contact-form .form-status.is-error { color: #8a2d2d; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

footer.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 15px; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-row p { margin: 0; }
.footer-row a { color: var(--text); }

/* Barre de contact mobile (ajoutée par app.js) */
.mobile-contact-bar { display: none; }

/* Révélation douce (app.js) */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .split, .about-layout, .contact-layout { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .services-showcase { grid-template-columns: minmax(0,1fr); }
  .service-list-panel { position: static; }
  .service-buttons { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; margin-bottom: 22px; }
  .service-button { display: flex; align-items: center; min-height: 62px; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 10px 14px; font-size: 16px; line-height: 1.3; }
  .service-button:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .service-button.is-active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: none; }
  .service-list-panel h3 { display: none; }
  .about-media img { height: 300px; }
  .split > img.photo, .hero-photo { aspect-ratio: 4 / 3; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 50px; height: 50px; min-height: 0; padding: 0; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(20,24,30,.10); }
  .site-header.is-open .main-nav { display: flex; }
  .main-nav a { padding: 16px 4px; font-size: 19px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a.btn, .main-nav a.btn-primary { margin-top: 16px; justify-content: center; border-bottom: 0; color: #fff; }
}

@media (max-width: 600px) {
  body { font-size: 18px; }
  section { padding: 56px 0; }
  .hero { padding: 44px 0 56px; }
  .formulas { grid-template-columns: minmax(0,1fr); }
  .service-detail-media { height: 240px; }
  .service-detail-content { padding: 22px; }
  .keybox { flex-direction: column; align-items: flex-start; }
  .keybox img { width: 100%; height: 150px; }
  .contact-form { padding: 22px; }
  .about-media img { height: 240px; }
  .phone-box { width: 100%; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .mobile-contact-bar { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); box-shadow: 0 -6px 18px rgba(20,24,30,.08); }
  .mobile-contact-bar a { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 14px; font-weight: 800; font-size: 17px; text-decoration: none; border: 2px solid var(--primary); color: var(--primary); }
  .mobile-contact-bar a.mobile-contact-quote { background: var(--primary); color: #fff; }
}

/* Lien d'évitement : visible seulement au clavier */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--surface); color: var(--primary); padding: 10px 16px; border-radius: 8px; font-weight: 800; z-index: 100; }
.skip-link:focus { left: 16px; top: 12px; }

/* Aucune image ne doit dépasser sa colonne */
img { height: auto; }
.split > *, .hero-grid > *, .about-layout > *, .contact-layout > *, .services-showcase > * { min-width: 0; }

/* Mentions du crédit d'impôt */
.tax-note { font-size: 15px; color: var(--muted); margin: 14px 0 0; padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--soft); border-radius: 0 10px 10px 0; }
.tax-note[hidden] { display: none; }

/* Boutons d'appel à l'action du hero */
.hero .actions .btn { min-width: 180px; }
.hero .actions .btn-primary::after { content: "→"; margin-left: 10px; font-size: 20px; line-height: 1; }
@media (max-width: 600px) {
  .hero .actions { flex-direction: column; gap: 12px; }
  .hero .actions .btn { width: 100%; min-width: 0; min-height: 50px; padding: 12px 20px; font-size: 17px; }
  .btn { min-height: 50px; padding: 12px 22px; font-size: 17px; }
}

/* Avis Google */
.google-rating-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.google-rating-label { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); }
.google-rating-value { margin: 0; font-family: "Playfair Display", serif; font-size: 30px; font-weight: 700; line-height: 1; }
.google-rating-count { margin: 0; color: var(--muted); font-size: 14px; }
.google-status { min-height: 0; margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.google-status.is-error { color: #8a2d2d; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.reviews-grid .review { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); margin: 0; }
.google-review-head { display: flex; gap: 12px; align-items: center; }
.google-review-avatar-wrap { position: relative; width: 40px; height: 40px; flex: 0 0 40px; }
.google-review-avatar, .google-review-avatar-fallback { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--soft); color: var(--primary); font-weight: 800; font-size: 16px; margin: 0; }
.google-review-badge { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 800; display: grid; place-items: center; color: #4285f4; }
.google-review-head-text { min-width: 0; }
.google-review-name-row { display: flex; gap: 6px; align-items: center; }
.google-review-name { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.google-review-verified { color: #2f6b3a; font-size: 14px; font-weight: 800; }
.google-review-date { margin: 0; font-size: 14px; color: var(--muted); }
.google-review-meta { margin-top: 12px; }
.google-review-stars { color: #b8912f; letter-spacing: 1px; font-size: 14px; }
.google-review-text { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--text); }
.google-actions { margin-top: 16px; }
@media (max-width: 960px) { .reviews-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
@media (max-width: 600px) { .reviews-grid { grid-template-columns: minmax(0,1fr); } }

/* Badge de disponibilité */
.soon-badge { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 18px; padding: 8px 14px; border-radius: 12px; background: #fbf5e2; border: 1px solid #e3cf8f; color: #5b4a12; font-size: 16px; font-weight: 800; }
.soon-icon { display: inline-grid; place-items: end center; width: 22px; height: 20px; padding-bottom: 1px; background: #d19a1a; color: #fff; font-size: 13px; font-weight: 800; line-height: 1; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
