/* ============================================================
   PCP — UPGRADE CSS — Conversion & UX améliorés
   ============================================================ */

/* ── Bandeau urgence rouge ──────────────────────────────────── */
.urgence-band {
  background: #c0392b;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-family: var(--fh);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 300;
}
.urgence-band a {
  color: #fff;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .18s;
  white-space: nowrap;
}
.urgence-band a:hover { background: rgba(255,255,255,.28); }
.urgence-pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-ring 1.4s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ── Hero avec formulaire côté droit ────────────────────────── */
.hero {
  grid-template-columns: 1.1fr 0.9fr !important;
}
.hero-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px,5vw,64px) clamp(24px,4vw,56px);
  z-index: 2;
}
.hero-right::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../img/plombier-salle-de-bain.jpg') center/cover;
  filter: brightness(.25) saturate(.5);
}
.hero-contact-box {
  position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 36px 32px;
  width: 100%;
  max-width: 420px;
  animation: fadeUp .7s .3s ease both;
}
.hero-contact-box h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.hero-contact-box p {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-bottom: 22px;
  text-transform: none;
  letter-spacing: 0;
}
.hero-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.hero-form-group input,
.hero-form-group select {
  padding: 13px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  font-family: var(--fb);
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: border-color .2s, background .2s;
  width: 100%;
}
.hero-form-group input:focus,
.hero-form-group select:focus {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.12);
}
.hero-form-group input::placeholder { color: rgba(255,255,255,.3); }
.hero-form-group select { color: rgba(255,255,255,.6); }
.hero-form-group select option { background: var(--navy-dp); color: #fff; }
.btn-urgence {
  width: 100%;
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px 24px;
  font-family: var(--fh);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s, transform .18s;
  text-align: center;
  display: block;
}
.btn-urgence:hover { background: #a93226; transform: translateY(-2px); }
.hero-contact-divider {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,.3);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 14px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-contact-divider::before,
.hero-contact-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.12);
}
.btn-tel-hero {
  width: 100%;
  background: #fff;
  color: var(--navy);
  border-radius: 8px;
  padding: 14px 24px;
  font-family: var(--fh);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  display: block;
  transition: background .18s, transform .18s;
}
.btn-tel-hero:hover { background: var(--silver); transform: translateY(-2px); }
.hero-rgp-note {
  text-align: center;
  font-size: 10px;
  color: rgba(255,255,255,.22);
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Trust bar (RGE, étoiles, etc.) ────────────────────────── */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fh);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
}
.trust-item-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.trust-sep {
  width: 1px; height: 24px;
  background: var(--line);
}
.trust-item .stars { color: #e8b84b; letter-spacing: 1px; }

/* ── Boutons flottants (tel + WhatsApp) ─────────────────────── */
.float-btns {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.float-phone {
  position: static !important;
  background: var(--navy) !important;
  animation: fadeUp .6s 1s ease both !important;
}
.float-wa {
  background: #25D366;
  color: #fff;
  font-family: var(--fh);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 13px 20px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: all .2s;
  animation: fadeUp .6s 1.4s ease both;
  opacity: 0;
  text-decoration: none;
}
.float-wa:hover { background: #1fba59; transform: scale(1.03); }
.float-wa svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* ── Section urgence dédiée ─────────────────────────────────── */
.urgence-section {
  background: linear-gradient(135deg, #c0392b 0%, #8b0000 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.urgence-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
.urgence-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.urgence-text h2 {
  color: #fff;
  font-size: clamp(28px,3.5vw,44px);
  margin-bottom: 16px;
}
.urgence-text p {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  margin-bottom: 28px;
}
.urgence-text .urgence-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.urgence-text .urgence-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255,255,255,.85);
}
.urgence-text .urgence-list li::before {
  content: '⚡';
  font-size: 16px;
}
.urgence-cta-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 36px 32px;
}
.urgence-cta-block .tel-big {
  font-family: var(--fh);
  font-size: clamp(32px,3.5vw,44px);
  font-weight: 700;
  color: #fff;
  letter-spacing: .03em;
  text-align: center;
  display: block;
}
.urgence-cta-block .tel-label {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .1em;
  text-align: center;
  margin-top: -8px;
  margin-bottom: 8px;
}
.btn-wa-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border-radius: 10px;
  padding: 14px 24px;
  font-family: var(--fh);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background .18s, transform .18s;
}
.btn-wa-full:hover { background: #1fba59; transform: translateY(-2px); }
.btn-wa-full svg { width: 20px; height: 20px; fill: currentColor; }

/* ── Section services mobile-visible ────────────────────────── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr !important; }
  .hero-right {
    display: none; /* on montre le formulaire plus bas sur mobile */
  }
  .hero-services { display: flex !important; }
  .mobile-contact-section {
    display: block;
  }
  .urgence-inner { grid-template-columns: 1fr; }
  .urgence-cta-block { padding: 28px 20px; }
  .trust-bar-inner { gap: 16px; }
  .trust-sep { display: none; }
  .float-btns { bottom: 14px; right: 14px; }
  .hero-brand-center img { max-width: 140px !important; }
}

/* ── Mobile contact section (below hero on mobile) ──────────── */
.mobile-contact-section {
  display: none;
  background: var(--navy-dp);
  padding: 32px 20px;
}
.mobile-contact-section h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
@media (max-width: 768px) {
  .mobile-contact-section { display: block; }
}

/* ── Hero stats correction ────────────────────────────────────── */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1px;
  background: rgba(255,255,255,.06);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 32px;
  animation: fadeUp .6s .5s ease both;
}
.hero-stat {
  background: rgba(255,255,255,.03);
  padding: 16px;
  text-align: center;
  transition: background .2s;
}
.hero-stat:hover { background: rgba(255,255,255,.06); }
@media (max-width: 768px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── Corrections cards ──────────────────────────────────────── */
.card {
  transition: box-shadow .25s, transform .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shM);
}

/* ── Split layout fix ───────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

/* ── Page hero ──────────────────────────────────────────────── */
.page-hero {
  background: var(--navy-dp);
  padding: 72px 0 56px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(30px, 4.5vw, 52px);
  color: #fff;
  margin-bottom: 16px;
}
.page-hero .hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 28px;
}
.page-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: var(--fh);
}
.breadcrumb a { color: rgba(255,255,255,.45); transition: color .18s; }
.breadcrumb a:hover { color: rgba(255,255,255,.8); }

/* ── Card grid ──────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rl);
  padding: 32px 24px;
}
.card-icon {
  font-size: 28px;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 10px; }
.card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}
.card-link {
  font-family: var(--fh);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link::after { content: ' →'; transition: transform .2s; display: inline-block; }
.card:hover .card-link::after { transform: translateX(4px); }
a.card { display: block; text-decoration: none; color: inherit; }

/* ── Check list ─────────────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: 10px; padding: 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--gray); line-height: 1.5;
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%; background: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M7 10.4l2.3 2.3 3.7-4.6' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  margin-top: 2px;
}

/* ── Zones strip ─────────────────────────────────────────────── */
.zones-strip {
  background: var(--silver);
  border-bottom: 1px solid var(--silver-d);
  padding: 10px 0;
}
.zones-strip-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.zones-label {
  font-family: var(--fh);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray);
  flex-shrink: 0;
  margin-right: 4px;
}
.zone-pill {
  font-family: var(--fh);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--silver-d);
  border-radius: 100px;
  padding: 3px 10px;
}
.zone-pill.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ── Hero svc visible desktop ───────────────────────────────── */
.hero-svc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .18s;
}
.hero-svc:last-child { border: none; }
.hero-svc:hover { background: rgba(255,255,255,.04); }
.hero-svc-icon { font-size: 22px; flex-shrink: 0; }
.hero-svc-name {
  font-family: var(--fh);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  margin-bottom: 2px;
}
.hero-svc-desc { font-size: 12px; color: rgba(255,255,255,.45); }

/* ── Hero btns ──────────────────────────────────────────────── */
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
  animation: fadeUp .6s .4s ease both;
}

/* ── Urgence form responsive ────────────────────────────────── */
@media (max-width: 480px) {
  .urgence-inner { gap: 28px; }
  .tel-big { font-size: 28px !important; }
}



/* ── Nav logo: blanc sur fond navy (header scrolled/dark) ───── */
.site-header .nav-logo-img {
  display: flex !important;
}
.site-header .nav-logo-text {
  display: flex !important;
}
.site-header .nav-logo-name {
  color: var(--navy);
}
/* Logo SVG dans le nav: couleur navy (bg blanc) */
.site-header .nav-logo {
  display: flex !important;
}

/* ── Hero logo: agrandi + en négatif blanc ──────────────────── */
.hero-logo-big {
  display: flex !important;
}
.hero-logo-big svg {
  width: 260px !important;
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}
.hero-logo-big-text {
  display: flex !important;
}
.hero-logo-big-name {
  display: flex !important;
  font-size: clamp(36px, 5vw, 64px) !important;
}
.hero-logo-big-sub {
  display: block !important;
}
/* Hide the separate img logo since we use the SVG above */
.hero-brand-center {
  display: none !important;
}

/* ── Service pages: .desc text white on dark hero ───────────── */
.page-hero .desc {
  color: rgba(255,255,255,.75) !important;
  font-size: 17px;
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 28px;
}
/* Also fix hero-desc if used */
.page-hero .hero-desc {
  color: rgba(255,255,255,.75) !important;
}
/* Fix breadcrumb links too */
.page-hero .bc a,
.page-hero .breadcrumb a {
  color: rgba(255,255,255,.5) !important;
}
.page-hero .bc span,
.page-hero .breadcrumb span {
  color: rgba(255,255,255,.3) !important;
}
.page-hero .bc {
  color: rgba(255,255,255,.35);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--fh);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
/* Ensure page-hero h1 is white */
.page-hero h1 {
  color: #fff !important;
}

/* ── Cookie banner ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  background: var(--navy-dp);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 16px 18px;
  max-width: 320px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  animation: slideInLeft .4s .8s ease both;
  opacity: 0;
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: none; }
}
.cookie-banner p {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  margin: 0 0 12px;
}
.cookie-banner p a {
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.cookie-banner-btns {
  display: flex;
  gap: 8px;
}
.cookie-accept {
  flex: 1;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  font-family: var(--fh);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s;
}
.cookie-accept:hover { background: var(--accent); }
.cookie-close {
  background: transparent;
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.4);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 16px;
  cursor: pointer;
  transition: all .18s;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-close:hover { border-color: rgba(255,255,255,.3); color: #fff; }
.cookie-banner.hidden { display: none; }

@media (max-width: 480px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 80px;
    max-width: none;
  }
}

/* ════════════════════════════════════════════════════════════
   MAQUETTE HERO — logo svg blanc grand format + texte camion
   ════════════════════════════════════════════════════════════ */

/* Hero logo: utilise le SVG fichier logo-pcp-white.svg */
.hero-logo-svg {
  width: clamp(140px, 22vw, 260px);
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* Bloc logo hero revu: SVG en haut, texte en dessous comme la maquette */
.hero-logo-big {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  animation: fadeUp .6s .1s ease both;
}

/* Texte hero logo désactivé — logo SVG seul */
.hero-logo-big-name,
.hero-logo-big-sub,
.hero-logo-big-text {
  display: none !important;
}

/* ── Nav logo: uniquement le SVG PCP, sans texte ───────────── */
.nav-logo-text,
.nav-logo-sub,
.nav-logo-tagline,
.nav-logo-name {
  display: none !important;
}

/* Le SVG nav devient blanc sur background blanc → on le garde navy */
.site-header .nav-logo-img {
  display: flex !important;
  color: var(--navy) !important;
}

/* ── Trust bar: cachée sur mobile ───────────────────────────── */
@media (max-width: 768px) {
  .trust-bar { display: none !important; }
  .zones-strip { display: none !important; }
  
  /* Hero logo plus compact sur mobile */
  .hero-logo-svg {
    width: clamp(100px, 35vw, 160px);
  }
  .hero-logo-big-name {
    font-size: clamp(30px, 9vw, 46px) !important;
  }
  .hero-logo-big {
    gap: 12px;
    margin-bottom: 20px;
  }
}

/* ════════════════════════════════════════════════════════════
   FORMULAIRE CONTACT — RESPONSIVE MOBILE FIX
   ════════════════════════════════════════════════════════════ */

/* Hero contact box: full width sur mobile */
@media (max-width: 768px) {
  .hero-contact-box {
    padding: 24px 18px !important;
    border-radius: 12px;
  }
  .hero-form-group {
    gap: 8px;
  }
  .hero-form-group input,
  .hero-form-group select {
    font-size: 16px !important; /* évite zoom iOS */
    padding: 14px 12px;
  }
  .btn-urgence {
    padding: 16px 20px;
    font-size: 15px;
  }
  .btn-tel-hero {
    font-size: 16px;
    padding: 14px 20px;
  }
}

/* Contact page form: responsive */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  .form-group.full {
    grid-column: 1 !important;
  }
  /* Contact page split: stacked */
  .contact-split {
    grid-template-columns: 1fr !important;
  }
  /* Le formulaire de devis prend toute la largeur */
  .contact-form-box {
    padding: 28px 18px !important;
    border-radius: 12px !important;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important; /* évite zoom iOS sur Safari */
    padding: 14px 12px;
  }
  .form-group label {
    font-size: 11px;
  }
  /* Section contact page: supprimer le padding excessif */
  .section .split {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* Force le formulaire dans le split à être responsive */
@media (max-width: 768px) {
  /* La div avec style="background:var(--navy)..." sur la page contact */
  div[style*="background:var(--navy)"][style*="border-radius"] {
    margin-top: 0 !important;
  }
  .split {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    direction: ltr !important;
  }
}

/* ════════════════════════════════════════════════════════════
   TOPBAR — supprimé (display:none sécurité)
   ════════════════════════════════════════════════════════════ */
.topbar { display: none !important; }

/* ════════════════════════════════════════════════════════════
   WHATSAPP — supprimé partout
   ════════════════════════════════════════════════════════════ */
.float-wa,
.btn-wa-full,
.float-btns { display: none !important; }

/* ════════════════════════════════════════════════════════════
   BOUTON TÉLÉPHONE FLOTTANT — seul, bottom-right
   ════════════════════════════════════════════════════════════ */
.float-phone {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  left: auto !important;
  z-index: 999;
  background: var(--navy) !important;
  color: #fff;
  padding: 13px 22px;
  border-radius: 100px;
  font-family: var(--fh);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(12,21,136,.3);
  display: flex !important;
  align-items: center;
  gap: 8px;
  animation: fadeUp .6s 1.2s ease both;
  text-decoration: none;
}
.float-phone:hover { background: var(--accent) !important; }

/* ════════════════════════════════════════════════════════════
   MENU BURGER MOBILE — burger à droite, menu plein écran
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Nav: logo à gauche, CTA + burger à droite, flex bien aligné */
  .nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 62px !important;
    padding: 0 16px !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Logo: reste à gauche */
  .nav-logo {
    margin-right: auto !important;
    flex-shrink: 0;
  }

  /* Masquer téléphone + CTA desktop */
  .nav-phone-block { display: none !important; }
  .btn-nav-cta { display: none !important; }

  /* Burger: fixé à droite, taille confortable */
  .menu-toggle {
    display: flex !important;
    margin-left: auto;
    flex-shrink: 0;
    width: 44px !important;
    height: 44px !important;
    border-radius: 8px !important;
    border: 1.5px solid var(--line) !important;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    order: 10; /* toujours en dernier = à droite */
  }

  /* Menu ouvert: plein écran, liens très lisibles */
  .nav-links {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: var(--navy-dp) !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 0 !important;
    z-index: 9998 !important;
    box-shadow: none !important;
    border: none !important;
  }

  .nav-links.open {
    display: flex !important;
  }

  /* Liens: très grands, toute la largeur */
  .nav-links a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 22px 32px !important;
    font-family: var(--fh) !important;
    font-size: clamp(22px, 6vw, 30px) !important;
    font-weight: 600 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
    transition: background .15s !important;
  }
  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255,255,255,.06) !important;
    color: #fff !important;
  }

  /* Bouton fermer en haut à droite du menu plein écran */
  .nav-links::before {
    content: '✕';
    position: fixed;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: rgba(255,255,255,.5);
    cursor: pointer;
    z-index: 9999;
    pointer-events: none; /* géré par le burger toggle */
  }

  /* Téléphone + CTA dans le menu mobile */
  .nav-links::after {
    content: '📞 04 12 05 03 03';
    display: block;
    margin-top: 32px;
    padding: 18px 32px;
    font-family: var(--fh);
    font-size: 18px;
    font-weight: 700;
    color: rgba(255,255,255,.4);
    letter-spacing: .06em;
    text-align: center;
  }

  /* Burger spans: blancs quand menu ouvert */
  .menu-toggle[aria-expanded="true"] {
    background: transparent !important;
    border-color: rgba(255,255,255,.2) !important;
    position: fixed !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 9999 !important;
  }
  .menu-toggle[aria-expanded="true"] span {
    background: #fff !important;
  }

  /* Float phone: remonter au-dessus du menu */
  .float-phone {
    bottom: 14px !important;
    right: 14px !important;
    font-size: 14px !important;
    padding: 11px 18px !important;
  }
}
