/* Entreprise Pezo — direction "Courant d'Azur" */

:root {
  --navy: #0B2545;
  --navy-light: #12315F;
  --azure: #1B98E0;
  --azure-deep: #0F6FB3;
  --amber: #FFB627;
  --mint: #7FE7DD;
  --cream: #FAF6EF;
  --cream-alt: #F4EEDF;
  --ink: #14213D;
  --ink-soft: #4A5A73;
  --border: rgba(11, 37, 69, 0.12);
  --radius: 18px;
  --shadow: 0 18px 40px rgba(11, 37, 69, 0.12);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Work Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--navy);
  margin: 0 0 0.4em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--azure-deep); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section[id] { scroll-margin-top: 90px; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; white-space: nowrap; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(255,182,39,.4); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: var(--cream); background: transparent; }
.btn-ghost { color: var(--navy); font-weight: 600; padding: 10px 14px; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 239, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; padding: 12px 24px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
.main-nav a:hover { color: var(--azure-deep); }
.header-cta { display: flex; align-items: center; gap: 10px; margin-left: 18px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--navy); display: block; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed; top: 71px; left: 0; right: 0; background: var(--cream);
    flex-direction: column; padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--border);
    transform: translateY(-130%); transition: transform .3s ease; z-index: 99;
  }
  .main-nav.is-open { transform: translateY(0); }
  .header-cta .btn-ghost { display: none; }
  .burger { display: flex; }
}

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.chip {
  display: inline-block; background: var(--navy); color: var(--cream); font-size: 0.82rem;
  font-weight: 600; letter-spacing: 0.5px; padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
}
.hero-lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 22px; }
.reviews-badge {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 10px 18px;
  color: var(--ink); font-weight: 600; box-shadow: var(--shadow);
}
.stars { color: var(--amber); letter-spacing: 2px; }
.g-badge {
  display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px;
  border-radius: 50%; background: conic-gradient(#4285F4 0 25%, #34A853 25% 50%, #FBBC05 50% 75%, #EA4335 75% 100%);
  color: #fff; font-size: 0.7rem; font-weight: 700;
}

.hero-visual { display: flex; justify-content: center; }
.carousel { position: relative; width: 100%; max-width: 420px; }
.scene { display: none; }
.scene.is-active { display: block; }
.scene-svg { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); }
.scene-dots { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--border); cursor: pointer; padding: 0; }
.dot.is-active { background: var(--amber); }

.air-waves path { stroke-dasharray: 260; stroke-dashoffset: 0; animation: flow 3s linear infinite; }
@keyframes flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -260; } }
.glow-breaker { animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.pulse-ring { animation: pulse 2.2s ease-out infinite; transform-origin: center; }
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
.ping-dot circle { animation: ping 1.6s ease-in-out infinite; }
@keyframes ping { 0%,100% { opacity: .3; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .air-waves path, .glow-breaker, .pulse-ring, .ping-dot circle { animation: none; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
}

/* Prestations */
.prestations { padding: 70px 0; }
.eyebrow { color: var(--azure-deep); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 6px; }
.eyebrow-light { color: var(--mint); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--border);
  position: relative; box-shadow: var(--shadow);
}
.badge {
  position: absolute; top: -14px; left: 24px; background: var(--amber); color: var(--navy);
  font-size: 0.75rem; font-weight: 700; padding: 5px 14px; border-radius: 999px;
}
.badge-alt { background: var(--mint); }
.check-list { list-style: none; padding: 0; margin: 16px 0 0; }
.check-list li { padding-left: 26px; position: relative; margin-bottom: 8px; color: var(--ink-soft); font-size: 0.94rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--azure-deep); font-weight: 700; }

@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* Clients band */
.clients-band { background: var(--navy); padding: 26px 0; }
.clients-inner { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.client-chip { color: var(--cream); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 8px 20px; font-size: 0.9rem; font-weight: 500; }

/* Avis */
.avis { padding: 70px 0; background: var(--cream-alt); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.review-card { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--border); }
.review-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.review-text { font-style: italic; color: var(--ink); }
.review-author { color: var(--ink-soft); font-size: 0.88rem; font-weight: 600; margin: 0; }
.review-author span { font-weight: 400; }
.link-arrow { display: inline-block; margin-top: 24px; font-weight: 600; text-decoration: none; }

@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }

/* Why */
.why { padding: 56px 0; }
.why-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.why-num { display: block; font-family: 'Fraunces', serif; font-size: 2.2rem; color: var(--azure-deep); font-weight: 600; }
.why-item p { color: var(--ink-soft); margin-top: 6px; }
@media (max-width: 900px) { .why-inner { grid-template-columns: repeat(2, 1fr); } }

/* Galerie */
.galerie { padding: 70px 0; }
.filters { display: flex; gap: 10px; margin: 28px 0 24px; flex-wrap: wrap; }
.chip-filter {
  background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 9px 18px;
  font-weight: 600; font-size: 0.88rem; cursor: pointer; color: var(--ink);
}
.chip-filter.is-active { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.masonry { columns: 3 260px; column-gap: 18px; }
.photo { break-inside: avoid; margin-bottom: 18px; position: relative; border-radius: 14px; overflow: hidden; cursor: pointer; }
.photo[hidden] { display: none; }
.photo img { width: 100%; height: auto; display: block; transition: transform .3s ease; }
.photo:hover img { transform: scale(1.04); }
.photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px;
  background: linear-gradient(to top, rgba(11,37,69,.85), transparent);
  color: #fff; font-size: 0.85rem; font-weight: 500;
}
@media (max-width: 700px) { .masonry { columns: 2 160px; } }

#lightbox { border: none; border-radius: 18px; padding: 0; max-width: 90vw; max-height: 88vh; background: var(--navy); margin: auto; }
#lightbox::backdrop { background: rgba(11,37,69,.85); }
#lightbox img { max-width: 90vw; max-height: 72vh; margin: 0 auto; }
#lightbox-caption { color: var(--cream); text-align: center; padding: 12px 20px 18px; margin: 0; }
#lightbox-close, #lightbox-prev, #lightbox-next {
  position: absolute; background: rgba(255,255,255,.15); border: none; color: #fff; width: 40px; height: 40px;
  border-radius: 50%; font-size: 1.3rem; cursor: pointer;
}
#lightbox-close { top: 12px; right: 12px; }
#lightbox-prev { top: 50%; left: 12px; transform: translateY(-50%); }
#lightbox-next { top: 50%; right: 12px; transform: translateY(-50%); }

/* Zone */
.zone { padding: 70px 0; background: var(--cream-alt); }
.zone-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.zone-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.zone-list li { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px; font-size: 0.88rem; font-weight: 500; }
.zone-map { display: flex; justify-content: center; }
.zone-map svg { width: 100%; max-width: 320px; }
@media (max-width: 900px) { .zone-inner { grid-template-columns: 1fr; } }

/* Contact */
.contact { background: var(--navy); color: var(--cream); padding: 80px 0; }
.contact h2 { color: var(--cream); }
.contact-lead { color: rgba(250,246,239,.8); font-size: 1.05rem; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0; }
.contact-address { color: rgba(250,246,239,.7); font-size: 0.9rem; }

/* Footer */
.site-footer { padding: 40px 0; background: var(--navy-light); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer-logo { height: 40px; filter: brightness(0) invert(1); }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: rgba(250,246,239,.85); text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: #fff; }
.footer-note { color: rgba(250,246,239,.55); font-size: 0.8rem; margin: 0; }

/* Floating WhatsApp */
.float-whatsapp {
  position: fixed; bottom: 22px; right: 22px; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.45); z-index: 200;
}
