/*
 * Le Pavillon — Styles principaux
 * Version : 1.0.0
 */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --primary:#1E3A5F;
  --primary-dark:#152A45;
  --primary-light:#2D4F7A;
  --accent:#D69E3D;
  --accent-light:#E5B85F;
  --accent-dark:#B8862E;
  --bg:#FFFFFF;
  --bg-alt:#F7F8FA;
  --bg-card:#FAFAFA;
  --text:#1A2332;
  --text-mid:#4A5568;
  --text-light:#6B7280;
  --border:#E2E5EA;
  --border-light:#EEF0F3;
}

html{scroll-behavior:smooth}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-weight:400;background:var(--bg);color:var(--text);
  line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden;
}

a{color:var(--primary);text-decoration:none;transition:color .2s}
a:hover{color:var(--primary-dark)}

img{max-width:100%;height:auto;display:block}

/* Accessibilité */
.screen-reader-text{
  border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);
  height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal !important;
}
.skip-link:focus{
  background-color:#fff;clip:auto !important;clip-path:none;
  color:var(--primary);display:block;font-size:0.875rem;font-weight:700;
  line-height:normal;padding:15px 23px 14px;position:absolute;left:6px;top:7px;
  text-decoration:none;width:auto;z-index:100000;
}

/* ─── TOP BAR ─── */
.topbar{
  background:var(--primary);color:#FFF;
  padding:0.55rem 0;font-size:0.82rem;
  border-bottom:1px solid rgba(255,255,255,0.1);
}
.topbar-inner{
  max-width:1280px;margin:0 auto;padding:0 2rem;
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;
}
.topbar-left,.topbar-right{display:flex;gap:1.8rem;align-items:center;flex-wrap:wrap}
.topbar a,.topbar-hours{color:#FFF;text-decoration:none;display:inline-flex;align-items:center;gap:0.45rem;opacity:0.9;transition:opacity .2s}
.topbar a:hover{opacity:1;color:#FFF}
.topbar svg{width:14px;height:14px}

/* ─── NAVIGATION ─── */
.site-nav{
  background:#FFF;border-bottom:1px solid var(--border);
  position:sticky;top:0;z-index:100;
}
.nav-inner{
  max-width:1280px;margin:0 auto;padding:0 2rem;
  display:flex;justify-content:space-between;align-items:center;height:80px;
}
.logo{display:flex;align-items:center;gap:0.7rem;text-decoration:none}
.logo:hover{color:inherit}
.lepavillon-logo{max-height:48px;width:auto;display:block}
.lepavillon-logo-footer{max-height:56px;width:auto;display:block;filter:brightness(0) invert(1)}
.logo-mark{
  width:42px;height:42px;background:var(--primary);
  display:flex;align-items:center;justify-content:center;
  color:#FFF;font-weight:700;font-size:1.1rem;letter-spacing:-0.02em;
  border-radius:4px;
}
.logo-text{display:flex;flex-direction:column;line-height:1.1}
.logo-name{font-size:1.15rem;font-weight:600;color:var(--primary);letter-spacing:-0.02em}
.logo-sub{font-size:0.7rem;color:var(--text-light);letter-spacing:0.05em}
.custom-logo-link img{max-height:50px;width:auto}

.nav-links{display:flex;list-style:none;gap:2.2rem;align-items:center;margin:0;padding:0}
.nav-links li{list-style:none}
.nav-links a{
  font-size:0.93rem;font-weight:500;color:var(--text);
  text-decoration:none;transition:color .2s;position:relative;padding:0.4rem 0;
}
.nav-links a:hover{color:var(--primary)}
.nav-links a::after{
  content:'';position:absolute;left:0;right:0;bottom:0;
  height:2px;background:var(--accent);
  transform:scaleX(0);transform-origin:left;transition:transform .3s;
}
.nav-links a:hover::after,.nav-links .current-menu-item a::after{transform:scaleX(1)}

.nav-cta{
  background:var(--primary);color:#FFF;
  font-family:'Inter',sans-serif;font-size:0.88rem;font-weight:500;
  padding:0.7rem 1.5rem;border:none;border-radius:4px;
  cursor:pointer;transition:background .2s;
  display:inline-flex;align-items:center;gap:0.4rem;text-decoration:none;
}
.nav-cta:hover{background:var(--primary-dark);color:#FFF}

.nav-toggle{
  display:none;background:transparent;border:none;cursor:pointer;
  padding:0.5rem;width:38px;height:38px;flex-direction:column;justify-content:center;gap:5px;
}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--text);transition:transform .25s,opacity .25s}
.nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ─── HERO ─── */
.hero{
  background:linear-gradient(rgba(30,58,95,0.78),rgba(30,58,95,0.78)),center/cover no-repeat;
  color:#FFF;padding:6rem 0 5rem;
}
.hero-inner{
  max-width:1280px;margin:0 auto;padding:0 2rem;
  display:grid;grid-template-columns:1.3fr 1fr;gap:4rem;align-items:center;
}
.hero-badge{
  display:inline-flex;align-items:center;gap:0.5rem;
  background:rgba(255,255,255,0.12);backdrop-filter:blur(8px);
  padding:0.45rem 1rem;border-radius:100px;
  font-size:0.78rem;font-weight:500;letter-spacing:0.04em;
  margin-bottom:1.5rem;border:1px solid rgba(255,255,255,0.18);
}
.hero-badge-dot{width:8px;height:8px;background:#22C55E;border-radius:50%;display:inline-block}
.hero h1{
  font-size:clamp(2.2rem,4.2vw,3.6rem);font-weight:700;
  line-height:1.15;letter-spacing:-0.02em;margin-bottom:1.5rem;color:#FFF;
}
.hero h1 span{color:var(--accent)}
.hero-desc{
  font-size:1.08rem;line-height:1.7;color:rgba(255,255,255,0.85);
  margin-bottom:2.5rem;max-width:48ch;
}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;align-items:center}

.btn{
  font-family:'Inter',sans-serif;font-size:0.92rem;font-weight:500;
  padding:0.95rem 1.7rem;border-radius:4px;cursor:pointer;
  display:inline-flex;align-items:center;gap:0.5rem;
  text-decoration:none;transition:all .2s;border:none;
}
.btn-primary{background:var(--accent);color:var(--primary-dark)}
.btn-primary:hover{background:var(--accent-light);transform:translateY(-1px);color:var(--primary-dark)}
.btn-secondary{background:transparent;color:#FFF;border:1.5px solid rgba(255,255,255,0.4)}
.btn-secondary:hover{background:rgba(255,255,255,0.1);border-color:rgba(255,255,255,0.7);color:#FFF}

.hero-card{
  background:#FFF;color:var(--text);
  padding:2.2rem;border-radius:8px;
  box-shadow:0 20px 60px rgba(0,0,0,0.25);
}
.hero-card-label{font-size:0.7rem;font-weight:600;letter-spacing:0.14em;text-transform:uppercase;color:var(--text-light);margin-bottom:1.5rem}
.hero-stats{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:1.8rem}
.hero-stat{padding-bottom:1.2rem;border-bottom:1px solid var(--border-light)}
.hero-stat:nth-child(3),.hero-stat:nth-child(4){border-bottom:none;padding-bottom:0}
.hero-stat-n{font-size:1.8rem;font-weight:700;color:var(--primary);line-height:1;margin-bottom:0.3rem;letter-spacing:-0.02em}
.hero-stat-l{font-size:0.82rem;color:var(--text-mid)}
.hero-card-cta{
  width:100%;background:var(--primary);color:#FFF;
  padding:0.85rem;border:none;border-radius:4px;
  font-family:'Inter',sans-serif;font-size:0.88rem;font-weight:500;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:0.4rem;
  transition:background .2s;text-decoration:none;
}
.hero-card-cta:hover{background:var(--primary-dark);color:#FFF}

/* ─── TRUST BAR ─── */
.trust{background:var(--bg-alt);padding:2.5rem 0;border-bottom:1px solid var(--border)}
.trust-inner{
  max-width:1280px;margin:0 auto;padding:0 2rem;
  display:flex;justify-content:space-between;align-items:center;gap:2rem;flex-wrap:wrap;
}
.trust-label{font-size:0.78rem;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;color:var(--text-light)}
.trust-items{display:flex;gap:3rem;align-items:center;flex-wrap:wrap}
.trust-item{display:flex;align-items:center;gap:0.6rem;font-size:0.92rem;color:var(--text-mid);font-weight:500}
.trust-item svg{width:18px;height:18px;color:var(--accent)}

/* ─── SECTIONS GÉNÉRALES ─── */
.section{padding:6rem 0}
.section-alt{background:var(--bg-alt)}
.section-inner{max-width:1280px;margin:0 auto;padding:0 2rem}
.section-head{text-align:center;max-width:680px;margin:0 auto 4rem}
.section-tag{
  display:inline-block;
  font-size:0.78rem;font-weight:600;letter-spacing:0.12em;
  text-transform:uppercase;color:var(--accent);margin-bottom:1rem;
}
h2{
  font-size:clamp(1.8rem,3vw,2.5rem);font-weight:700;
  color:var(--text);line-height:1.2;letter-spacing:-0.02em;margin-bottom:1rem;
}
.section-intro{font-size:1.05rem;color:var(--text-mid);line-height:1.7}
.section-intro a{font-weight:500}

/* ─── ABOUT ─── */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.about-image{border-radius:8px;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,0.08);position:relative;aspect-ratio:4/5}
.about-image img{width:100%;height:100%;object-fit:cover}
.about-image-badge{
  position:absolute;bottom:1.5rem;left:1.5rem;right:1.5rem;
  background:rgba(255,255,255,0.95);backdrop-filter:blur(8px);
  padding:1rem 1.2rem;border-radius:6px;
  display:flex;justify-content:space-between;align-items:center;
}
.about-image-badge-label{font-size:0.78rem;font-weight:500;color:var(--text-mid)}
.about-image-badge-val{font-size:1rem;font-weight:700;color:var(--primary)}
.about-content h2{text-align:left}
.about-text{font-size:1rem;line-height:1.75;color:var(--text-mid);margin-bottom:1.2rem}
.about-features{list-style:none;margin-top:2rem;display:grid;grid-template-columns:1fr 1fr;gap:0.9rem;padding:0}
.about-features li{display:flex;align-items:flex-start;gap:0.7rem;font-size:0.92rem;color:var(--text)}
.about-features svg{flex-shrink:0;width:20px;height:20px;color:#22C55E;margin-top:1px}

/* ─── EVENT TABS (Particuliers / Entreprises) ─── */
.event-tabs{
  display:flex;justify-content:center;gap:0.5rem;
  margin-bottom:3rem;flex-wrap:wrap;
  padding:0.4rem;background:#FFF;border:1px solid var(--border);
  border-radius:100px;max-width:fit-content;margin-left:auto;margin-right:auto;
  box-shadow:0 4px 16px rgba(0,0,0,0.04);
}
.event-tab{
  background:transparent;border:none;cursor:pointer;
  font-family:'Inter',sans-serif;font-size:0.92rem;font-weight:500;
  color:var(--text-mid);
  padding:0.7rem 1.5rem;border-radius:100px;
  display:inline-flex;align-items:center;gap:0.5rem;
  transition:all .25s;
}
.event-tab svg{width:16px;height:16px}
.event-tab:hover{color:var(--primary)}
.event-tab.active{background:var(--primary);color:#FFF}
.event-tab.active svg{color:var(--accent)}

.event-tab-panel{display:none;animation:fadeIn .4s ease}
.event-tab-panel.active{display:block}
@keyframes fadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* ─── CONTACT FORM — Radio buttons profil ─── */
.lp-radio-group{display:flex;gap:0.6rem;flex-wrap:wrap}
.lp-radio{
  flex:1;min-width:140px;cursor:pointer;
  position:relative;
}
.lp-radio input[type="radio"]{
  position:absolute;opacity:0;pointer-events:none;
}
.lp-radio span{
  display:flex;align-items:center;justify-content:center;gap:0.5rem;
  padding:0.85rem 1rem;
  border:1.5px solid var(--border);border-radius:6px;
  font-size:0.9rem;font-weight:500;color:var(--text-mid);
  transition:all .2s;background:#FFF;
}
.lp-radio span svg{width:18px;height:18px;color:var(--text-light);transition:color .2s}
.lp-radio:hover span{border-color:var(--primary-light);color:var(--text)}
.lp-radio input[type="radio"]:checked + span{
  border-color:var(--primary);background:rgba(30,58,95,0.04);color:var(--primary);
}
.lp-radio input[type="radio"]:checked + span svg{color:var(--accent)}

/* ─── EVENTS ─── */
.events-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.event-card{
  background:#FFF;border:1px solid var(--border);border-radius:8px;
  padding:2rem;transition:all .25s;
}
.event-card:hover{border-color:var(--primary);transform:translateY(-4px);box-shadow:0 12px 30px rgba(30,58,95,0.1)}
.event-icon{
  width:48px;height:48px;border-radius:8px;background:rgba(201,169,97,0.15);
  display:flex;align-items:center;justify-content:center;margin-bottom:1.4rem;
}
.event-icon svg{width:22px;height:22px;color:var(--accent)}
.event-card h3{font-size:1.15rem;font-weight:600;color:var(--text);margin-bottom:0.6rem;letter-spacing:-0.01em}
.event-card h3 a{color:inherit;text-decoration:none}
.event-card p{font-size:0.92rem;line-height:1.65;color:var(--text-mid);margin-bottom:1.2rem}
.event-meta{
  display:flex;gap:1rem;padding-top:1rem;border-top:1px solid var(--border-light);
  font-size:0.78rem;color:var(--text-light);
}
.event-meta span{display:inline-flex;align-items:center;gap:0.35rem}
.event-meta svg{width:13px;height:13px}

.post-thumb{display:block;margin:-2rem -2rem 1.5rem;overflow:hidden;border-radius:8px 8px 0 0;aspect-ratio:4/3}
.post-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.event-card:hover .post-thumb img{transform:scale(1.04)}

/* ─── GALLERY ─── */
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.gallery-item{position:relative;overflow:hidden;border-radius:8px;aspect-ratio:4/3;cursor:pointer}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.gallery-item:hover img{transform:scale(1.06)}
.gallery-item::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(to top,rgba(30,58,95,0.7),transparent 50%);
  opacity:0;transition:opacity .3s;
}
.gallery-item:hover::after{opacity:1}
.gallery-label{
  position:absolute;bottom:1rem;left:1rem;
  color:#FFF;font-size:0.85rem;font-weight:500;z-index:1;
  opacity:0;transform:translateY(6px);transition:all .3s;
}
.gallery-item:hover .gallery-label{opacity:1;transform:none}
.gallery-large{grid-column:span 2;grid-row:span 2;aspect-ratio:auto}

/* ─── PRICING ─── */
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.price-card{
  background:#FFF;border:1px solid var(--border);border-radius:8px;
  padding:2.2rem;transition:all .25s;position:relative;
  display:flex;flex-direction:column;
}
.price-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(0,0,0,0.08)}
.price-card.featured{background:var(--primary);color:#FFF;border-color:var(--primary)}
.price-card.featured:hover{background:var(--primary-dark)}
.price-badge{
  position:absolute;top:-12px;left:50%;transform:translateX(-50%);
  background:var(--accent);color:var(--primary-dark);
  padding:0.32rem 0.9rem;border-radius:100px;
  font-size:0.7rem;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;white-space:nowrap;
}
.price-name{font-size:1.1rem;font-weight:600;margin-bottom:0.4rem;letter-spacing:-0.01em}
.price-tagline{font-size:0.88rem;color:var(--text-mid);margin-bottom:1.8rem;line-height:1.5}
.price-card.featured .price-tagline{color:rgba(255,255,255,0.8)}
.price-amount{font-size:2.5rem;font-weight:700;line-height:1;margin-bottom:0.3rem;letter-spacing:-0.025em;color:var(--primary)}
.price-card.featured .price-amount{color:#FFF}
.price-amount .price-currency{font-size:0.55em;font-weight:500;color:var(--text-mid);margin-right:0.15em}
.price-card.featured .price-currency{color:rgba(255,255,255,0.7)}
.price-period{
  font-size:0.85rem;color:var(--text-light);margin-bottom:1.8rem;
  padding-bottom:1.5rem;border-bottom:1px solid var(--border-light);
}
.price-card.featured .price-period{color:rgba(255,255,255,0.7);border-color:rgba(255,255,255,0.15)}
.price-features{list-style:none;flex:1;margin-bottom:2rem;padding:0}
.price-features li{padding:0.5rem 0;font-size:0.9rem;display:flex;align-items:flex-start;gap:0.6rem;color:var(--text)}
.price-card.featured .price-features li{color:rgba(255,255,255,0.92)}
.price-features svg{width:16px;height:16px;color:#22C55E;flex-shrink:0;margin-top:3px}
.price-card.featured .price-features svg{color:var(--accent)}
.price-cta{
  width:100%;padding:0.85rem;border:none;border-radius:4px;
  font-family:'Inter',sans-serif;font-size:0.88rem;font-weight:500;cursor:pointer;
  transition:background .2s;
  display:inline-flex;align-items:center;justify-content:center;gap:0.4rem;
  text-decoration:none;background:var(--primary);color:#FFF;
}
.price-card .price-cta:hover{background:var(--primary-dark);color:#FFF}
.price-card.featured .price-cta{background:var(--accent);color:var(--primary-dark)}
.price-card.featured .price-cta:hover{background:var(--accent-light);color:var(--primary-dark)}
.price-note{text-align:center;color:var(--text-light);font-size:0.85rem;margin-top:2.5rem;font-style:italic}

/* ─── FEATURES ─── */
.features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
.feature{background:#FFF;padding:1.8rem 1.5rem;border-radius:8px;border:1px solid var(--border);transition:all .25s}
.feature:hover{border-color:var(--primary);transform:translateY(-2px)}
.feature-icon{
  width:42px;height:42px;border-radius:8px;background:var(--bg-alt);
  display:flex;align-items:center;justify-content:center;margin-bottom:1.2rem;
}
.feature-icon svg{width:20px;height:20px;color:var(--primary)}
.feature h4{font-size:0.98rem;font-weight:600;color:var(--text);margin-bottom:0.4rem}
.feature p{font-size:0.85rem;line-height:1.6;color:var(--text-mid)}

/* ─── TESTIMONIALS ─── */
.testimonials{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.testimonial{background:#FFF;padding:2rem;border-radius:8px;border:1px solid var(--border)}
.testimonial-stars{color:var(--accent);font-size:0.95rem;margin-bottom:1rem;letter-spacing:0.1em}
.testimonial-quote{font-size:0.95rem;line-height:1.7;color:var(--text);margin-bottom:1.5rem}
.testimonial-author{display:flex;align-items:center;gap:0.8rem;padding-top:1.2rem;border-top:1px solid var(--border-light)}
.testimonial-avatar{
  width:42px;height:42px;border-radius:50%;background:var(--primary);
  display:flex;align-items:center;justify-content:center;
  color:#FFF;font-weight:600;font-size:0.92rem;flex-shrink:0;
}
.testimonial-name{font-size:0.88rem;font-weight:600;color:var(--text);line-height:1.3}
.testimonial-role{font-size:0.78rem;color:var(--text-light);margin-top:0.15rem}

/* ─── FAQ ─── */
.faq-grid{max-width:840px;margin:0 auto}
.faq-item{
  background:#FFF;border:1px solid var(--border);
  border-radius:8px;margin-bottom:0.8rem;overflow:hidden;transition:border-color .2s;
}
.faq-item:hover{border-color:var(--primary-light)}
.faq-q{
  padding:1.2rem 1.5rem;cursor:pointer;
  display:flex;justify-content:space-between;align-items:center;gap:1.5rem;
  font-size:1rem;font-weight:500;color:var(--text);
}
.faq-toggle{
  width:28px;height:28px;border-radius:50%;background:var(--bg-alt);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  transition:all .3s;color:var(--primary);font-size:1.1rem;
}
.faq-item.open .faq-toggle{background:var(--primary);color:#FFF;transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .4s ease,padding .3s;padding:0 1.5rem}
.faq-item.open .faq-a{max-height:300px;padding:0 1.5rem 1.4rem}
.faq-a p{font-size:0.92rem;line-height:1.7;color:var(--text-mid)}

/* ─── CONTACT ─── */
.contact-grid{
  display:grid;grid-template-columns:1fr 1.3fr;
  background:#FFF;border:1px solid var(--border);border-radius:8px;overflow:hidden;
  box-shadow:0 8px 30px rgba(0,0,0,0.04);
}
.contact-info{background:var(--primary);color:#FFF;padding:3rem}
.contact-info .section-tag{color:var(--accent);margin-bottom:0.8rem}
.contact-info h3{font-size:1.7rem;font-weight:700;margin-bottom:1rem;letter-spacing:-0.02em;color:#FFF}
.contact-info-desc{font-size:0.92rem;line-height:1.65;color:rgba(255,255,255,0.8);margin-bottom:2.5rem}
.contact-detail{display:flex;gap:1rem;margin-bottom:1.5rem;align-items:flex-start}
.contact-icon{
  width:36px;height:36px;border-radius:8px;background:rgba(255,255,255,0.1);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.contact-icon svg{width:16px;height:16px;color:var(--accent)}
.contact-label{font-size:0.72rem;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;color:rgba(255,255,255,0.7);margin-bottom:0.25rem}
.contact-value{font-size:0.92rem;color:#FFF;line-height:1.5}
.contact-value a{color:#FFF}
.contact-value a:hover{color:var(--accent)}

.contact-form{padding:3rem}
.contact-form h3{font-size:1.4rem;font-weight:700;color:var(--text);margin-bottom:0.5rem;letter-spacing:-0.015em}
.contact-form-sub{font-size:0.92rem;color:var(--text-mid);margin-bottom:2rem}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}
.field{margin-bottom:1rem}
.field label{display:block;font-size:0.82rem;font-weight:500;color:var(--text);margin-bottom:0.5rem}
.field .req{color:#DC2626;margin-left:0.15em}
.field input,.field select,.field textarea{
  width:100%;padding:0.75rem 0.9rem;
  font-family:'Inter',sans-serif;font-size:0.92rem;color:var(--text);
  background:#FFF;border:1px solid var(--border);border-radius:4px;
  transition:border-color .2s,box-shadow .2s;
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(30,58,95,0.1);
}
.field textarea{resize:vertical;min-height:100px;font-family:'Inter',sans-serif}
.field select{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%234A5568' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 0.9rem center;padding-right:2.5rem}
.form-cta{
  width:100%;padding:0.95rem;
  background:var(--primary);color:#FFF;border:none;border-radius:4px;
  font-family:'Inter',sans-serif;font-size:0.92rem;font-weight:500;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;
  transition:background .2s;margin-top:0.5rem;
}
.form-cta:hover{background:var(--primary-dark)}
.form-note{font-size:0.78rem;color:var(--text-light);text-align:center;margin-top:0.8rem}

.form-alert{
  max-width:840px;margin:0 auto 2.5rem;padding:1rem 1.5rem;border-radius:8px;
  font-size:0.95rem;border:1px solid;
}
.form-alert-success{background:#F0FDF4;color:#15803D;border-color:#86EFAC}
.form-alert-error{background:#FEF2F2;color:#B91C1C;border-color:#FCA5A5}

/* ─── MAP ─── */
.map-section{padding:0;background:var(--bg-alt)}
.map-grid{
  max-width:1280px;margin:0 auto;
  display:grid;grid-template-columns:1fr 1.3fr;
  background:#FFF;border-radius:8px;overflow:hidden;
  border:1px solid var(--border);min-height:440px;
}
.map-info{padding:3rem;display:flex;flex-direction:column;justify-content:center}
.map-info h3{font-size:1.5rem;font-weight:700;color:var(--text);margin-bottom:1rem;letter-spacing:-0.02em}
.map-info p{font-size:0.95rem;line-height:1.7;color:var(--text-mid);margin-bottom:2rem}
.map-tags{display:flex;gap:0.7rem;flex-wrap:wrap}
.map-tag{
  display:inline-flex;align-items:center;gap:0.4rem;
  background:var(--bg-alt);padding:0.45rem 0.85rem;border-radius:100px;
  font-size:0.82rem;color:var(--text);font-weight:500;
}
.map-tag svg{width:14px;height:14px;color:var(--accent)}
.map-frame iframe{width:100%;height:100%;border:none;display:block;min-height:440px}

/* ─── FOOTER ─── */
.site-footer{background:var(--primary-dark);color:#FFF;padding:4rem 0 2rem}
.footer-inner{max-width:1280px;margin:0 auto;padding:0 2rem}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:3rem;margin-bottom:3rem}
.footer-brand .logo-mark{background:var(--accent);color:var(--primary-dark)}
.footer-brand .logo-name{color:#FFF}
.footer-brand .logo-sub{color:rgba(255,255,255,0.6)}
.footer-tagline{font-size:0.9rem;color:rgba(255,255,255,0.7);line-height:1.65;margin-top:1.2rem;max-width:32ch}
.footer-col h4{font-size:0.82rem;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;color:#FFF;margin-bottom:1.2rem}
.footer-col ul,.footer-col .menu{list-style:none;padding:0;margin:0}
.footer-col li{margin-bottom:0.65rem}
.footer-col a{font-size:0.92rem;color:rgba(255,255,255,0.7);text-decoration:none;transition:color .2s}
.footer-col a:hover{color:#FFF}
.footer-contact-item{display:flex;gap:0.6rem;align-items:flex-start;margin-bottom:0.8rem;color:rgba(255,255,255,0.85);font-size:0.92rem}
.footer-contact-item svg{width:16px;height:16px;color:var(--accent);flex-shrink:0;margin-top:3px}
.footer-contact-item a{color:rgba(255,255,255,0.85)}
.footer-bottom{
  padding-top:2rem;border-top:1px solid rgba(255,255,255,0.1);
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;
  font-size:0.85rem;color:rgba(255,255,255,0.6);
}
.footer-legal{display:flex;gap:1.5rem;list-style:none;padding:0;margin:0}
.footer-legal a{color:rgba(255,255,255,0.6);text-decoration:none;transition:color .2s}
.footer-legal a:hover{color:#FFF}

/* ─── POSTS / BLOG ─── */
.posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-bottom:3rem}
.post-content,.page-content{font-size:1.05rem;line-height:1.75;color:var(--text-mid)}
.post-content p,.page-content p{margin-bottom:1.5rem}
.post-content h2,.post-content h3,.page-content h2,.page-content h3{margin:2rem 0 1rem;color:var(--text)}
.post-content a,.page-content a{color:var(--primary);text-decoration:underline}
.posts-navigation{margin-top:3rem;display:flex;justify-content:center;gap:1rem}
.posts-navigation a{padding:0.7rem 1.2rem;background:var(--bg-alt);border-radius:4px;text-decoration:none;color:var(--text)}

/* ─── ANIMATIONS ─── */
.rv{opacity:0;transform:translateY(20px);transition:opacity .7s ease,transform .7s ease}
.rv.in{opacity:1;transform:none}
.d1{transition-delay:.08s}.d2{transition-delay:.16s}.d3{transition-delay:.24s}.d4{transition-delay:.32s}.d5{transition-delay:.4s}.d6{transition-delay:.48s}

/* ─── RESPONSIVE ─── */

/* TABLET LARGE (1024px et moins) */
@media(max-width:1024px){
  .nav-links{gap:1.5rem}
  .nav-inner{padding:0 1.5rem}
  .topbar-inner,.section-inner,.hero-inner,.footer-inner,.trust-inner{padding-left:1.5rem;padding-right:1.5rem}
  .footer-grid{gap:2.5rem}
  .features-grid{grid-template-columns:repeat(3,1fr)}
}

/* TABLET (900px et moins) */
@media(max-width:900px){
  /* Topbar */
  .topbar{padding:0.4rem 0;font-size:0.75rem}
  .topbar-inner{flex-direction:column;align-items:flex-start;gap:0.5rem;padding:0 1.2rem}
  .topbar-left,.topbar-right{gap:1.2rem;width:100%;justify-content:flex-start;flex-wrap:wrap}

  /* Navigation */
  .nav-inner{padding:0 1.2rem;height:68px}
  .nav-toggle{display:flex}
  .nav-links{
    display:none;position:absolute;top:68px;left:0;right:0;
    flex-direction:column;background:#FFF;border-bottom:1px solid var(--border);
    padding:1.2rem 1.2rem;gap:0.2rem;align-items:stretch;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);max-height:calc(100vh - 68px);overflow-y:auto;
  }
  .nav-links.open{display:flex}
  .nav-links li{margin:0}
  .nav-links a{padding:0.9rem 0.5rem;font-size:1rem;border-bottom:1px solid var(--border-light)}
  .nav-links li:last-child a{border-bottom:none}
  .nav-links a::after{display:none}
  .nav-cta{padding:0.6rem 1.1rem;font-size:0.82rem}
  .lepavillon-logo{max-height:40px}

  /* Hero */
  .hero{padding:3rem 0 3.5rem}
  .hero-inner{grid-template-columns:1fr;gap:2.5rem;padding:0 1.2rem;align-items:flex-start}
  .hero h1{font-size:clamp(1.9rem,7vw,2.6rem);line-height:1.2}
  .hero-desc{font-size:1rem;margin-bottom:2rem}
  .hero-badge{font-size:0.72rem;padding:0.4rem 0.85rem}
  .hero-actions{flex-direction:column;gap:0.7rem;align-items:stretch}
  .btn{justify-content:center;padding:0.9rem 1.4rem;font-size:0.9rem;width:100%}
  .hero-card{padding:1.7rem}
  .hero-stats{gap:1.2rem;margin-bottom:1.5rem}
  .hero-stat-n{font-size:1.6rem}
  .hero-stat-l{font-size:0.78rem}

  /* Trust bar */
  .trust{padding:1.8rem 0}
  .trust-inner{flex-direction:column;align-items:flex-start;padding:0 1.2rem;gap:1rem}
  .trust-items{gap:0.9rem 1.5rem;width:100%}
  .trust-item{font-size:0.85rem;gap:0.5rem}
  .trust-item svg{width:16px;height:16px}

  /* Sections */
  .section{padding:3.5rem 0}
  .section-inner{padding:0 1.2rem}
  .section-head{margin-bottom:2.5rem}
  h2{font-size:clamp(1.6rem,5vw,2rem)}
  .section-intro{font-size:0.98rem}

  /* About */
  .about-grid{grid-template-columns:1fr;gap:2rem}
  .about-image{aspect-ratio:4/3;max-height:400px}
  .about-features{grid-template-columns:1fr;gap:0.6rem}

  /* Events tabs */
  .event-tabs{margin-bottom:2rem;padding:0.3rem;width:100%;max-width:100%}
  .event-tab{flex:1;padding:0.7rem 0.8rem;font-size:0.85rem;justify-content:center}
  .event-tab svg{width:14px;height:14px}

  /* Grids — all to single column */
  .events-grid,.gallery,.pricing-grid,.testimonials,.posts-grid{grid-template-columns:1fr;gap:1rem}
  .event-card,.price-card,.testimonial{padding:1.6rem}
  .gallery-large{grid-column:span 1;grid-row:span 1;aspect-ratio:4/3}

  /* Pricing - the featured card had a badge that overflows */
  .price-badge{font-size:0.62rem;padding:0.28rem 0.75rem;top:-10px}
  .price-amount{font-size:2.1rem}
  .price-card.featured{margin-top:0.5rem}

  /* Features */
  .features-grid{grid-template-columns:repeat(2,1fr);gap:1rem}
  .feature{padding:1.4rem 1.2rem}

  /* FAQ */
  .faq-q{font-size:0.95rem;padding:1rem 1.2rem;gap:1rem}
  .faq-toggle{width:26px;height:26px}
  .faq-item.open .faq-a{max-height:400px;padding:0 1.2rem 1.2rem}

  /* Contact */
  .contact-grid,.map-grid{grid-template-columns:1fr}
  .contact-info,.contact-form{padding:2rem 1.5rem}
  .contact-info h3{font-size:1.4rem}
  .map-info{padding:2rem 1.5rem}
  .map-frame iframe{min-height:300px}
  .form-row{grid-template-columns:1fr;gap:0}
  .lp-radio-group{flex-direction:row}
  .lp-radio{min-width:0}

  /* Footer */
  .site-footer{padding:3rem 0 1.5rem}
  .footer-inner{padding:0 1.2rem}
  .footer-grid{grid-template-columns:1fr 1fr;gap:2rem 1.5rem;margin-bottom:2.5rem}
  .footer-grid > div:first-child{grid-column:span 2}
  .footer-bottom{flex-direction:column;text-align:center;gap:0.8rem}
  .footer-legal{justify-content:center;flex-wrap:wrap;gap:1rem}
  .lepavillon-logo-footer{max-height:44px}
}

/* MOBILE (560px et moins) */
@media(max-width:560px){
  /* Topbar simplifié */
  .topbar{font-size:0.72rem}
  .topbar-inner{padding:0 0.9rem;gap:0.35rem}
  .topbar-left,.topbar-right{gap:0.8rem}
  .topbar a span,.topbar-hours{display:inline-flex}

  /* Nav */
  .nav-inner{padding:0 0.9rem;height:62px}
  .nav-links{top:62px;padding:0.9rem 0.9rem}
  .nav-cta{padding:0.55rem 0.9rem;font-size:0.78rem}
  .lepavillon-logo{max-height:36px}

  /* Hero */
  .hero{padding:2.5rem 0 3rem}
  .hero-inner{padding:0 0.9rem;gap:2rem}
  .hero h1{font-size:1.7rem;line-height:1.25}
  .hero-desc{font-size:0.95rem;line-height:1.65}
  .hero-card{padding:1.4rem}
  .hero-stats{grid-template-columns:1fr 1fr;gap:1rem}
  .hero-stat-n{font-size:1.4rem}
  .hero-card-label{font-size:0.65rem;margin-bottom:1rem}

  /* Trust */
  .trust{padding:1.4rem 0}
  .trust-inner{padding:0 0.9rem}
  .trust-items{gap:0.7rem 1.2rem}
  .trust-label{font-size:0.7rem}

  /* Sections */
  .section{padding:2.8rem 0}
  .section-inner{padding:0 0.9rem}
  .section-head{margin-bottom:2rem}
  h2{font-size:1.5rem;line-height:1.25}
  .section-tag{font-size:0.7rem;letter-spacing:0.1em}

  /* About */
  .about-image{aspect-ratio:4/3;max-height:280px}
  .about-image-badge{padding:0.7rem 0.9rem;bottom:1rem;left:1rem;right:1rem}
  .about-image-badge-label{font-size:0.7rem}
  .about-image-badge-val{font-size:0.9rem}
  .about-text{font-size:0.95rem}

  /* Events tabs — version compacte mobile */
  .event-tabs{border-radius:8px;padding:0.3rem}
  .event-tab{padding:0.6rem 0.5rem;font-size:0.8rem;border-radius:6px;gap:0.35rem}
  .event-tab svg{width:13px;height:13px}

  /* Cards */
  .event-card,.price-card,.testimonial{padding:1.4rem 1.2rem;border-radius:6px}
  .event-card h3{font-size:1.05rem}
  .event-card p{font-size:0.88rem}
  .event-meta{font-size:0.74rem;gap:0.6rem}

  /* Pricing mobile */
  .price-name{font-size:1.05rem}
  .price-amount{font-size:1.9rem}
  .price-tagline{font-size:0.85rem;margin-bottom:1.4rem}
  .price-period{margin-bottom:1.4rem;padding-bottom:1.2rem}
  .price-features li{font-size:0.86rem;padding:0.45rem 0}
  .price-cta{padding:0.8rem;font-size:0.85rem}

  /* Features */
  .features-grid{grid-template-columns:1fr;gap:0.8rem}
  .feature{padding:1.3rem 1.2rem;display:flex;align-items:flex-start;gap:1rem}
  .feature-icon{margin-bottom:0;width:38px;height:38px;flex-shrink:0}
  .feature-icon svg{width:18px;height:18px}
  .feature > div{flex:1}
  .feature h4{margin-bottom:0.25rem;font-size:0.95rem}
  .feature p{font-size:0.83rem}

  /* Testimonials */
  .testimonial-quote{font-size:0.9rem;line-height:1.65;margin-bottom:1.2rem}
  .testimonial-avatar{width:38px;height:38px;font-size:0.85rem}
  .testimonial-name{font-size:0.85rem}
  .testimonial-role{font-size:0.74rem}

  /* FAQ */
  .faq-q{font-size:0.9rem;padding:0.95rem 1rem;gap:0.8rem}
  .faq-toggle{width:24px;height:24px;font-size:1rem}
  .faq-a p{font-size:0.88rem}

  /* Contact */
  .contact-info,.contact-form{padding:1.6rem 1.2rem}
  .contact-info h3{font-size:1.3rem}
  .contact-info-desc{font-size:0.88rem;margin-bottom:1.8rem}
  .contact-form h3{font-size:1.2rem}
  .contact-detail{gap:0.8rem;margin-bottom:1.2rem}
  .contact-icon{width:32px;height:32px}
  .contact-icon svg{width:14px;height:14px}
  .contact-label{font-size:0.66rem}
  .contact-value{font-size:0.88rem}
  .field input,.field select,.field textarea{font-size:16px;padding:0.7rem 0.85rem} /* 16px évite le zoom iOS */
  .field textarea{min-height:90px}
  .field label{font-size:0.78rem}
  .lp-radio span{padding:0.7rem 0.5rem;font-size:0.82rem;gap:0.35rem}
  .lp-radio span svg{width:15px;height:15px}
  .form-cta{padding:0.9rem;font-size:0.88rem}

  /* Map */
  .map-info{padding:1.6rem 1.2rem}
  .map-info h3{font-size:1.3rem}
  .map-frame iframe{min-height:280px}
  .map-tag{font-size:0.78rem;padding:0.4rem 0.75rem}

  /* Footer */
  .site-footer{padding:2.5rem 0 1.2rem}
  .footer-inner{padding:0 0.9rem}
  .footer-grid{grid-template-columns:1fr;gap:2rem;margin-bottom:2rem}
  .footer-grid > div:first-child{grid-column:span 1}
  .footer-tagline{font-size:0.85rem;max-width:100%}
  .footer-col h4{font-size:0.78rem;margin-bottom:1rem}
  .footer-col a{font-size:0.88rem}
  .footer-bottom{font-size:0.78rem}
  .footer-legal{gap:0.8rem;font-size:0.78rem}

  /* Form alerts */
  .form-alert{margin:0 0.9rem 2rem;padding:0.9rem 1.1rem;font-size:0.88rem}
}

/* MOBILE SMALL (380px et moins) */
@media(max-width:380px){
  .topbar-left,.topbar-right{gap:0.6rem;font-size:0.7rem}
  .hero h1{font-size:1.55rem}
  .hero-stats{grid-template-columns:1fr 1fr;gap:0.8rem}
  .hero-stat-n{font-size:1.3rem}
  .event-tab{font-size:0.74rem;padding:0.55rem 0.4rem}
  .event-tab svg{width:12px;height:12px}
  h2{font-size:1.35rem}
  .lp-radio-group{flex-direction:column}
  .lp-radio span{justify-content:flex-start;padding:0.75rem 1rem}
}
