/* ==========================================================================
   YAARU — SITE PUBLIC
   ========================================================================== */

.hero { padding: var(--y-sp-10) 0 var(--y-sp-16); position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: var(--y-sp-10); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero h1 { margin-top: var(--y-sp-3); }
.hero-lede { font-size: var(--y-fs-body-lg); color: var(--y-ink-700); max-width: 46ch; margin-top: var(--y-sp-4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--y-sp-3); margin-top: var(--y-sp-8); }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--y-sp-6); margin-top: var(--y-sp-10); }
.hero-trust-item { display: flex; align-items: center; gap: 10px; font-size: var(--y-fs-small); font-weight: 600; color: var(--y-ink-700); }
.hero-trust-item .icon { color: var(--y-green-700); }

.hero-visual { position: relative; aspect-ratio: 4/3.1; border-radius: var(--y-radius-lg); overflow: hidden; background: linear-gradient(155deg, var(--y-green-700), var(--y-green-900)); }
.hero-visual .photo-tag { position: absolute; bottom: var(--y-sp-4); left: var(--y-sp-4); right: var(--y-sp-4); background: rgba(255,255,255,0.94); border-radius: var(--y-radius-md); padding: var(--y-sp-4); box-shadow: var(--y-shadow-md); }

.section { padding: var(--y-sp-16) 0; }
.section-tight { padding: var(--y-sp-12) 0; }
.section-head { max-width: var(--y-maxw-narrow); margin-bottom: var(--y-sp-10); }
.section-head h2 { margin-top: var(--y-sp-2); }
.section-alt { background: var(--y-green-50); }

.levels-grid { display: grid; gap: var(--y-sp-5); grid-template-columns: 1fr; }
@media (min-width: 720px) { .levels-grid { grid-template-columns: repeat(3, 1fr); } }
.level-card { background: var(--y-paper); border-radius: var(--y-radius-lg); padding: var(--y-sp-6); border: 1px solid var(--y-ink-50); box-shadow: var(--y-shadow-sm); }
.level-card .level-icon { width: 48px; height: 48px; border-radius: var(--y-radius-md); background: var(--y-green-100); color: var(--y-green-700); display: flex; align-items: center; justify-content: center; margin-bottom: var(--y-sp-4); }
.level-card ul { margin-top: var(--y-sp-4); display: flex; flex-direction: column; gap: 8px; }
.level-card li { display: flex; gap: 8px; font-size: var(--y-fs-small); color: var(--y-ink-700); }
.level-card li .icon { color: var(--y-green-600); flex-shrink: 0; margin-top: 2px; }

.feature-grid { display: grid; gap: var(--y-sp-6); grid-template-columns: 1fr; }
@media (min-width: 720px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-item .icon-wrap { width: 44px; height: 44px; border-radius: var(--y-radius-sm); background: var(--y-gold-100); color: var(--y-gold-700); display: flex; align-items: center; justify-content: center; margin-bottom: var(--y-sp-3); }

.pricing-grid { display: grid; gap: var(--y-sp-5); grid-template-columns: 1fr; }
@media (min-width: 780px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { background: var(--y-paper); border: 1.5px solid var(--y-ink-100); border-radius: var(--y-radius-lg); padding: var(--y-sp-6); display: flex; flex-direction: column; gap: var(--y-sp-4); }
.price-card.is-highlight { border-color: var(--y-green-700); box-shadow: var(--y-shadow-md); position: relative; }
.price-card .price { font-family: var(--y-font-display); font-size: 1.9rem; color: var(--y-green-900); }
.price-card .price small { font-family: var(--y-font-body); font-size: var(--y-fs-small); font-weight: 600; color: var(--y-ink-500); }
.price-card .includes { display: flex; flex-direction: column; gap: 7px; font-size: var(--y-fs-small); }
.price-card .includes li { display: flex; gap: 8px; align-items: flex-start; }
.price-card .includes .icon { color: var(--y-success-700); margin-top: 2px; }
.price-note { display: flex; gap: 10px; align-items: flex-start; background: var(--y-info-100); color: var(--y-info-700); padding: var(--y-sp-4); border-radius: var(--y-radius-md); font-size: var(--y-fs-small); margin-top: var(--y-sp-6); }

.testimonial-grid { display: grid; gap: var(--y-sp-5); grid-template-columns: 1fr; }
@media (min-width: 780px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { background: var(--y-paper); border-radius: var(--y-radius-lg); padding: var(--y-sp-6); border: 1px solid var(--y-ink-50); }
.testimonial-card p { font-style: italic; color: var(--y-ink-700); }
.testimonial-card .who { display: flex; align-items: center; gap: 10px; margin-top: var(--y-sp-4); font-weight: 700; font-size: var(--y-fs-small); }

.cta-band { background: var(--y-green-900); color: #fff; border-radius: var(--y-radius-lg); padding: var(--y-sp-10); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 50ch; margin: var(--y-sp-3) auto 0; }
.cta-band .hero-actions { justify-content: center; }

.contact-grid { display: grid; gap: var(--y-sp-6); grid-template-columns: 1fr; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-item { display: flex; gap: var(--y-sp-3); align-items: flex-start; padding: var(--y-sp-4) 0; border-bottom: 1px solid var(--y-ink-100); }
.contact-item .icon { color: var(--y-green-700); }
.map-placeholder { border-radius: var(--y-radius-lg); background: var(--y-green-100); aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; color: var(--y-green-700); }

.y-footer { background: var(--y-green-900); color: rgba(255,255,255,0.85); padding: var(--y-sp-16) 0 var(--y-sp-8); margin-top: var(--y-sp-16); }
.y-footer .y-logo { color: #fff; }
.y-footer-grid { display: grid; gap: var(--y-sp-8); grid-template-columns: 1fr; }
@media (min-width: 780px) { .y-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.y-footer a { color: rgba(255,255,255,0.72); font-size: var(--y-fs-small); }
.y-footer a:hover { color: #fff; }
.y-footer h4 { color: #fff; font-size: var(--y-fs-small); text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--y-font-body); margin-bottom: var(--y-sp-3); }
.y-footer-links { display: flex; flex-direction: column; gap: 10px; }
.y-footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: var(--y-sp-10); padding-top: var(--y-sp-5); display: flex; flex-wrap: wrap; gap: var(--y-sp-3); justify-content: space-between; font-size: var(--y-fs-micro); color: rgba(255,255,255,0.55); }

.whatsapp-fab {
  position: fixed; bottom: calc(var(--y-sp-6) + env(safe-area-inset-bottom)); right: var(--y-sp-5); z-index: 80;
  width: 54px; height: 54px; border-radius: 50%; background: var(--y-success-700); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--y-shadow-lg);
}


/* ==========================================================================
   YAARU OFFICIEL V2 — ACCUEIL PLUS VIVANT, SANS EFFET CATALOGUE
   ========================================================================== */
.hero { padding-top: clamp(54px, 7vw, 96px); }
.hero-grid { gap: clamp(36px, 6vw, 78px); }
.hero-platform { overflow: visible; min-height: 410px; background: var(--y-green-900); box-shadow: var(--y-shadow-lg); }
.hero-photo-frame { position: absolute; inset: 18px; border-radius: calc(var(--y-radius-lg) - 8px); background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; }
.hero-photo-copy { color: rgba(255,255,255,.9); text-align: center; display: grid; gap: 6px; }
.hero-photo-copy span { font-family: var(--y-font-display); font-size: 1.2rem; }
.hero-photo-copy small { color: rgba(255,255,255,.58); }
.platform-float { position: absolute; background: rgba(255,255,255,.97); border: 1px solid rgba(17,66,54,.08); box-shadow: var(--y-shadow-lg); border-radius: 16px; padding: 13px 15px; display: flex; align-items: center; gap: 11px; min-width: 205px; }
.platform-float strong, .platform-float small { display: block; }
.platform-float strong { color: var(--y-green-900); font-size: .88rem; }
.platform-float small { color: var(--y-ink-500); margin-top: 2px; }
.platform-float-a { top: 30px; left: -34px; }
.platform-float-b { right: -24px; top: 47%; }
.platform-float-c { bottom: 26px; left: 30px; }
.platform-icon, .platform-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--y-gold-100); color: var(--y-gold-700); font-weight: 800; }
.platform-avatar { border-radius: 50%; background: var(--y-green-100); color: var(--y-green-700); }
.digital-panel { background: var(--y-green-900); color: #fff; border-radius: 30px; padding: clamp(28px, 5vw, 64px); display: grid; gap: 42px; align-items: center; overflow: hidden; }
@media (min-width: 920px) { .digital-panel { grid-template-columns: .9fr 1.1fr; } }
.digital-copy h2 { color: #fff; margin: 10px 0 14px; }
.digital-copy > p { color: rgba(255,255,255,.72); max-width: 58ch; }
.digital-points { display: grid; gap: 13px; margin-top: 26px; }
.digital-points > div { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; }
.digital-points strong { color: var(--y-gold-400); font-family: var(--y-font-mono); }
.digital-points span { color: rgba(255,255,255,.84); }
.digital-copy .btn-ghost { color: #fff; }
.digital-preview { min-width: 0; }
.mini-window { background: #fff; color: var(--y-ink-700); border-radius: 20px; padding: 18px; box-shadow: 0 28px 60px rgba(0,0,0,.22); transform: rotate(1.2deg); }
.mini-window-top { display: flex; gap: 6px; align-items: center; border-bottom: 1px solid var(--y-ink-50); padding-bottom: 13px; }
.mini-window-top span { width: 8px; height: 8px; border-radius: 50%; background: var(--y-ink-100); }
.mini-window-top b { margin-left: auto; color: var(--y-green-900); }
.mini-profile { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 22px 0 13px; }
.mini-profile strong, .mini-profile small { display: block; }
.mini-profile small { color: var(--y-ink-500); margin-top: 3px; }
.mini-profile em { font-style: normal; color: var(--y-green-700); font-weight: 800; }
.mini-progress { height: 8px; background: var(--y-ink-50); border-radius: 99px; overflow: hidden; margin-bottom: 12px; }
.mini-progress span { display: block; height: 100%; background: var(--y-green-600); }
.mini-row { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--y-ink-50); font-size: .82rem; }
.mini-row b { color: var(--y-success-700); }
.mini-row b.pending { color: var(--y-gold-700); }
.formula-card .price { display:none; }
.formula-time { display: inline-flex; align-self: flex-start; padding: 6px 10px; border-radius: 999px; background: var(--y-green-50); color: var(--y-green-700); font-size: .78rem; font-weight: 700; }
.formula-actions { display: grid; gap: 8px; margin-top: auto; }
@media (max-width: 780px) {
  .hero-platform { min-height: 340px; margin-inline: 6px; }
  .platform-float { min-width: 170px; padding: 10px 11px; }
  .platform-float-a { left: -5px; top: 18px; }
  .platform-float-b { right: -5px; }
  .platform-float-c { left: 15px; bottom: 16px; }
  .digital-panel { border-radius: 22px; }
}

.contact-intro { max-width: 760px; margin-top: -20px; margin-bottom: 34px; }
.contact-intro > p { font-size: 1.05rem; line-height: 1.75; color: var(--y-ink-700); }
.contact-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }
.contact-grid-refined { align-items: stretch; }
.contact-card, .contact-form-card { background: var(--y-paper); border: 1px solid var(--y-ink-50); border-radius: 22px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--y-shadow-sm); }
.contact-form-card h3 { margin-top: 8px; }
.contact-hours { margin-top: 26px; padding: 16px; border-radius: 14px; background: var(--y-green-50); }
.map-refined { grid-column: 1 / -1; aspect-ratio: auto; min-height: 280px; }
.map-refined > div { text-align:center; display:grid; justify-items:center; gap:8px; }
.map-refined strong { color: var(--y-green-900); font-family: var(--y-font-display); font-size:1.25rem; }
.map-refined span { color:var(--y-ink-500); font-size:.85rem; }
@media (min-width: 1000px) {
  .contact-grid-refined { grid-template-columns: .8fr 1.2fr; }
}

/* Galerie */
.gallery-grid { display: grid; gap: var(--y-sp-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-slot { aspect-ratio: 4/3; border-radius: var(--y-radius-md); background: var(--y-green-100); color: var(--y-green-700); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1.5px dashed var(--y-green-500); }

.mini-row span { display: flex; align-items: center; gap: 8px; }

/* Hero officiel : photo réelle configurable, sans compteur global de places. */
.hero-platform.has-photo .hero-photo-frame {
  background-image: linear-gradient(180deg, rgba(9,45,38,.06), rgba(9,45,38,.24)), var(--yaaru-hero-image);
  background-size: cover;
  background-position: center;
  border-color: rgba(255,255,255,.24);
}
.platform-float-b .platform-icon {
  min-width: 42px;
  width: auto;
  padding-inline: 9px;
  font-size: .78rem;
  letter-spacing: -.01em;
}
@media (max-width: 959px) {
  .hero-platform { min-height: 320px; }
  .platform-float { max-width: min(78vw, 260px); }
}
@media (max-width: 480px) {
  .hero { padding-top: 36px; }
  .hero-trust { gap: 14px; margin-top: 28px; }
  .hero-trust-item { width: 100%; }
  .hero-platform { min-height: 290px; margin-top: 8px; }
  .platform-float-a { left: 12px; top: 18px; }
  .platform-float-b { right: 12px; bottom: 18px; }
}

/* v3.1.4 — hero photo par défaut et badge compact. */
.hero-photo-frame .hero-default-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
}
.hero-platform:not(.has-photo) .hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(8, 47, 40, .02), rgba(8, 47, 40, .18));
  pointer-events: none;
}
.platform-float-b {
  max-width: 260px;
  right: -10px;
}
.platform-float-b small {
  white-space: nowrap;
}
@media (max-width: 1180px) {
  .platform-float-b { right: 10px; max-width: 240px; }
}
@media (max-width: 640px) {
  .platform-float-b { right: 8px; left: auto; max-width: calc(100% - 28px); }
  .platform-float-b small { white-space: normal; }
}

/* YAARU 3.3.13 — real logo + gallery polish */
.y-topbar .y-logo-img{max-width:132px;max-height:44px}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.gallery-photo{margin:0;position:relative;overflow:hidden;border-radius:20px;aspect-ratio:4/3;background:var(--y-green-100);box-shadow:var(--y-shadow-sm)}
.gallery-photo img{width:100%;height:100%;object-fit:cover;display:block}
.gallery-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(8,38,31,.7))}
.gallery-photo figcaption{position:absolute;left:14px;right:14px;bottom:12px;z-index:2;color:#fff;font-weight:700;font-size:.9rem}
@media(max-width:760px){
  .gallery-grid{grid-template-columns:1fr 1fr;gap:10px}
  .gallery-photo{border-radius:16px}
  .gallery-photo figcaption{font-size:.76rem;left:10px;bottom:9px}
  .y-topbar .y-logo-img{max-width:108px;max-height:38px}
}

/* YAARU 3.3.18 — logo HD lisible + largeur mobile utile sur les pages publiques */
.y-logo-img{image-rendering:auto!important;transform:none!important;filter:none!important;opacity:1!important}
@media(max-width:760px){
  .container{width:calc(100% - 20px)!important;max-width:none!important}
  .y-topbar .y-logo-img{width:116px!important;max-width:116px!important;max-height:50px!important;height:auto!important;object-fit:contain!important}
  .y-footer .y-logo-img{width:132px!important;max-width:132px!important;max-height:58px!important;height:auto!important}
  .gallery-grid,.gallery-photo,.section-head,.contact-grid,.pricing-grid{width:100%!important;max-width:none!important}
}
@media(max-width:390px){.container{width:calc(100% - 18px)!important}}
@media(max-width:360px){.container{width:calc(100% - 16px)!important}}
