/* Styles spécifiques à la page d'accueil */
.hero{padding:72px 24px;text-align:center}
.hero h1{font-size:clamp(1.6rem,3vw,2.4rem);color:var(--primary);margin-bottom:6px}
.hero .subtitle{font-size:18px;color:var(--muted);margin:14px 0 24px}
.hero p a{color:var(--primary);text-decoration:underline}
.hero-ctas{margin-top:26px;display:flex;flex-wrap:wrap;justify-content:center;gap:16px;align-items:center}
.cta-pill{display:inline-block;border:2px solid var(--primary);padding:10px 18px;border-radius:24px;color:var(--primary);background:#fff;text-decoration:none}
.cta-pill:hover{background:var(--light)}
.phone-pill{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:24px;background:#fff;color:var(--primary);font-weight:700;text-decoration:none;border:2px solid var(--primary);font-size:14px}
.large-image{height:320px;background:#f5f8fb;border:2px dashed rgba(10,42,76,0.06);margin:56px 0 16px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--muted)}
.large-image img{width:100%;height:100%;object-fit:cover;border-radius:6px}
.section-text{max-width:1100px;margin:0 auto;padding:42px 28px;text-align:center;background:var(--primary);color:var(--light);border-radius:10px}
.section-text h2{color:var(--light)}
.section-text p{color:var(--light)}
.bottom-image{height:180px;background:#f5f8fb;border-radius:8px;margin:56px 0 0;display:flex;align-items:center;justify-content:center;color:var(--muted)}

/* Brief about card */
.about-brief{display:flex;gap:32px;align-items:center;max-width:1200px;margin:0 auto;padding:28px;border-radius:12px;background:#fff;border:1px solid rgba(10,42,76,0.08)}
.about-photo{width:160px;height:160px;border-radius:8px;background:#eef6fb;display:flex;align-items:center;justify-content:center;color:var(--muted);font-weight:700;overflow:hidden;opacity:0;transform:translateX(-60px) rotateY(18deg);transition:transform .9s cubic-bezier(.2,.8,.2,1), opacity .7s ease, box-shadow .35s ease;}
.about-photo.is-visible{opacity:1;transform:translateX(0) rotateY(0deg);box-shadow:0 12px 30px rgba(10,42,76,.12)}
.about-photo img{width:100%;height:100%;object-fit:cover;display:block}
.about-text h2{margin:0 0 16px;color:var(--primary)}
.about-text p{margin:0;color:var(--muted)}
.about-more{display:inline-flex;align-items:center;gap:8px;margin-top:18px;padding:9px 16px;border-radius:4px;background:var(--primary);color:#fff;font-weight:700;text-decoration:none;transition:background-color .2s ease,transform .2s ease}
.about-more:hover,.about-more:focus-visible{background:#164b76;transform:translateY(-1px)}

@media (max-width:800px){
	.about-brief{flex-direction:column;align-items:center}
	.about-photo{width:220px;height:140px}
}

/* Accessibility: ensure large clickable targets on mobile */
@media (max-width:480px){
 	.cta-pill{padding:12px 20px;font-size:16px}
	.phone-pill{position:static;display:inline-flex;flex-basis:100%;max-width:none;margin-top:12px}
	.hero h1{font-size:30px}
}

/* Pourquoi me choisir */
.main > section.why-section{width:calc(100% + 2 * clamp(20px,6vw,96px));margin-left:calc(-1 * clamp(20px,6vw,96px));box-sizing:border-box;padding:64px 24px;background:var(--soft)}
.why-section h2{max-width:1728px;margin:0 auto 24px;text-align:center;color:#302719}
.why-reasons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;max-width:1728px;margin:0 auto;padding:0 clamp(24px,5vw,96px);list-style:none}
.why-card{min-height:218px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 20px;border-radius:20px;background:#f8f5ef;color:#302719;text-align:center}
.why-card-icon{width:38px;height:38px;margin-bottom:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.why-card h3{margin:0 0 6px;color:#302719;font-size:20px}
.why-card p{max-width:320px;margin:0;color:#51483c;font-size:16px;line-height:1.5}

@media (max-width:900px){
  .why-reasons{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:24px}
}

@media (max-width:520px){
  .main > section.why-section{padding:48px 16px}
  .why-reasons{grid-template-columns:1fr;padding-inline:8px;gap:14px}
  .why-card{min-height:190px}
}

/* FAQ / Questions fréquentes */
.faq-section{padding:68px 24px;background:var(--primary);color:var(--light);margin-top:0}
.faq-section h2{color:var(--light);margin-bottom:30px}
.faq-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;max-width:1200px;margin:0 auto}
.faq-item{background:#fff;border-radius:10px;padding:20px;border:1px solid rgba(10,42,76,0.06);color:var(--primary)}
.faq-item summary{font-weight:700;cursor:pointer;color:var(--primary);outline:none}
.faq-item p{margin-top:8px;color:var(--muted);line-height:1.5}

.back-to-top{
  position:fixed;
  right:24px;
  bottom:88px;
  width:52px;
  height:52px;
  border:none;
  border-radius:50%;
  background:linear-gradient(135deg, var(--accent), var(--light));
  color:var(--primary);
  font-size:28px;
  font-weight:700;
  line-height:1;
  box-shadow:0 12px 24px rgba(10,42,76,0.16);
  cursor:pointer;
  opacity:0;
  transform:translateY(14px) scale(0.9);
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease, box-shadow .25s ease;
  z-index:9999;
}
.back-to-top.is-visible{
  opacity:1;
  transform:translateY(0) scale(1);
  pointer-events:auto;
}
.back-to-top:hover,
.back-to-top:focus-visible{
  transform:translateY(-2px) scale(1.04);
  box-shadow:0 16px 30px rgba(156,203,234,0.45);
}

@media (max-width:700px){
	.faq-grid{grid-template-columns:1fr}
	.back-to-top{right:16px;bottom:72px;width:48px;height:48px;font-size:24px}
}

