/* =============================== */
/* ✨ PREMIUM TYPOGRAPHY — ToutouPunaise.fr */
/* =============================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@500;600;700&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0f172a;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn {
  font-family: 'Poppins', 'Inter', sans-serif;
  letter-spacing: 0.3px;
}

h1, h2, h3 {
  font-weight: 700;
  color: var(--primary);
}

p, li {
  font-weight: 400;
  opacity: 0.9;
}

.subtext {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
  color: var(--text, #0f172a);
}

.fs-7 {
  font-size: 1.1rem !important;
}

/* ========================================= */
/* 🧩 BOOTSTRAP + CUSTOM LINE-HEIGHT CLASSES */
/* ========================================= */

/* Bootstrap defaults */
.lh-1 {
  line-height: 1 !important;
}

.lh-sm {
  line-height: 1.25 !important;
}

.lh-base {
  line-height: 1.5 !important;
}

.lh-lg {
  line-height: 2 !important;
}

/* Custom extensions for fine-tuning */
.lh-12 {
  line-height: 1.2 !important;
}

.lh-14 {
  line-height: 1.4 !important;
}

.lh-16 {
  line-height: 1.6 !important;
}

.lh-18 {
  line-height: 1.8 !important;
}

.lh-20 {
  line-height: 2 !important; /* alias for .lh-lg */
}

/* Optional: ultra-tight and ultra-loose */
.lh-tight {
  line-height: 1.1 !important;
}

.lh-loose {
  line-height: 2.2 !important;
}


/* =============================== */
/* 🎨 BRAND VARIABLES              */
/* =============================== */
:root {
  --primary: #0d47a1;
  --accent: #00bfa6;
}

/* ========================= */
/* 🎨 Custom Button Sizes */
/* ========================= */
.btn-xs { 
  font-size: 0.8rem; 
  padding: 0.3rem 0.8rem; 
  border-radius: 0.4rem;
}

.btn-md { 
  font-size: 1rem; 
  padding: 0.55rem 1.25rem; 
  border-radius: 0.6rem;
}

.btn-lgx { 
  font-size: 1.15rem; 
  padding: 0.9rem 2rem; 
  border-radius: 2rem;
}

.btn-xl { 
  font-size: 1.25rem; 
  padding: 1.1rem 2.4rem; 
  border-radius: 2.5rem;
}


/* 🔹 Navigation Links */
.nav-link {
  font-weight: 500;
  color: #0f172a;
  transition: color 0.2s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
}

/* 🔹 Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 191, 166, 0.2);
  transition: all 0.2s ease;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* =============================== */
/* ✨ TEXT & BACKGROUND UTILITIES  */
/* =============================== */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bg-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.bg-primary-soft { background: rgba(13,71,161,0.1); }
.bg-success-soft { background: rgba(16,185,129,0.1); }
.bg-warning-soft { background: rgba(251,191,36,0.1); }
.bg-accent-soft  { background: rgba(0,191,166,0.1); }

.bg-glass {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  color: var(--primary);
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #0d47a1, #00bfa6);
}
.bg-gradient-success {
  background: linear-gradient(135deg, #009688, #00bfa6);
}
.bg-gradient-accent {
  background: linear-gradient(135deg, #00bfa6, #00c9b7);
}
.bg-gradient-warning {
  background: linear-gradient(135deg, #f9a826, #f6c77b);
}

.text-gradient-cool {
  background: linear-gradient(90deg, #3a7bd5, #3a6073);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-soft {
  background: linear-gradient(90deg, rgba(13,71,161,0.85), rgba(0,191,166,0.85));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
}

/* =============================== */
/* 🎬 ANIMATIONS                  */
/* =============================== */
.animate-slideup {
  animation: slideUp 0.7s ease-out;
}
.animate-fadein-delayed {
  animation: fadeIn 1s ease-in 0.3s forwards;
  opacity: 0;
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =============================== */
/* 🐾 SPLIT HERO STYLING — ToutouPunaise.fr */
/* =============================== */
.hero {
  background-color: #f8fafc;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle at center, rgba(0, 82, 204, 0.25) 0%, transparent 70%);
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.hero-img-wrapper {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.hero-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 1.25rem;
  box-shadow: 0 12px 28px rgba(13,71,161,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-img:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(13,71,161,0.2);
}

@media (max-width: 768px) {
  .hero-img-wrapper {
    max-width: 90%;
  }
}

.text-gradient-hero {
  background: linear-gradient(90deg, #0d47a1, #00bfa6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.pt-5-pb-0 {
  padding-top: 3rem !important;
  padding-bottom: 0 !important;
}

@media (max-width: 991.98px) { /* Bootstrap breakpoint for mobile/tablet */
  .pt-5-pb-0-m {
    padding-top: 3rem !important;
    padding-bottom: 0 !important;
  }
}


.gradient-btn {
  background: linear-gradient(90deg, #0d47a1, #00bfa6);
  border: none;
  color: #fff !important;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.gradient-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 82, 204, 0.25);
}

.hero-img {
  transition: transform 0.5s ease, filter 0.5s ease;
}

.hero-img:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
}

.btn-outline-primary:hover {
  color: #fff !important;
  background: linear-gradient(90deg, #0d47a1, #00bfa6);
  border-color: transparent;
  box-shadow: 0 8px 16px rgba(0, 82, 204, 0.15);
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .hero-img-wrapper {
    text-align: center;
  }
  .hero-bg {
    width: 700px;
    height: 700px;
    filter: blur(80px);
  }
}


/* =============================== */
/* 📍 FLOATING CTA BUTTON          */
/* =============================== */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #0d47a1, #00bfa6);
  color: #fff;
  border-radius: 50px;
  padding: 14px 22px;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: all 0.3s ease;
  animation: pulseGlow 2.5s infinite;
}
.floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  opacity: 0.95;
}
.floating-cta i {
  font-size: 20px;
}
@keyframes pulseGlow {
  0%   { box-shadow: 0 0 0 0 rgba(0, 191, 166, 0.6); }
  70%  { box-shadow: 0 0 0 15px rgba(0, 191, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 191, 166, 0); }
}
@media (max-width: 576px) {
  .floating-cta {
    padding: 12px 18px;
    font-size: 14px;
    bottom: 16px;
    right: 16px;
  }
  .floating-cta i {
    font-size: 18px;
  }
}

/* ============================== */
/* 🦴 SUPER ELEGANT FOOTER STYLING — UPDATED FOR 5 COLUMNS */
/* ============================== */

.footer-premium {
  background: #0f172a; /* Deep navy for contrast */
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.footer-bg {
  background: radial-gradient(circle at 70% 20%, rgba(0,191,166,0.08), transparent 70%),
              radial-gradient(circle at 20% 80%, rgba(13,71,161,0.08), transparent 70%);
  z-index: 0;
}

/* Titles */
.footer-premium .footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.4px;
  margin-bottom: 1rem;
  position: relative;
}

.footer-premium .footer-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

/* Brand */
.footer-brand {
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 0.3px;
}

.brand-accent {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-icon {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 3px rgba(0,191,166,0.3));
}

/* Links */
.footer-premium .footer-link {
  color: #ffffff;
  text-decoration: none;
  display: block;
  padding: 4px 0;
  transition: all 0.3s ease;
}

.footer-premium .footer-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* Contact */
.footer-contact {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-contact:hover {
  color: var(--accent);
}

/* Paragraph text */
.footer-premium p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Separator line */
.gradient-line {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
  margin: 2rem 0;
}

/* Bottom text */
.footer-premium .footer-bottom {
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  opacity: 0.8;
}

/* Responsive Layout */
@media (max-width: 991.98px) {
  .footer-premium {
    text-align: center;
  }
  .footer-premium .footer-title::after {
    margin: 0.5rem auto 0;
  }
  .footer-premium .footer-certif {
    justify-content: center;
    display: flex;
  }
  .footer-premium .row > div {
    margin-bottom: 2rem;
  }
}

/* Extra polish for 5-column balance */
@media (min-width: 1200px) {
  .footer-premium .container .row > div {
    flex: 1 1 18%;
  }
}

/* Smooth hover glow */
.footer-premium a:hover {
  text-shadow: 0 0 6px rgba(0,191,166,0.3);
}

/* Footer glow animation (subtle ambient shimmer) */
@keyframes footerGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.footer-bg {
  background: linear-gradient(135deg, rgba(0,191,166,0.08), rgba(13,71,161,0.08), transparent);
  background-size: 200% 200%;
  animation: footerGlow 12s ease-in-out infinite;
}


/* =============================== */
/* 🐕 SERVICE SECTION — ToutouPunaise.fr */
/* =============================== */
.service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 82, 204, 0.15);
}

.service-title {
  font-size: 1.25rem;       /* Slightly larger than h5 but smaller than main h2 */
  font-weight: 600;
  color: var(--text, #0f172a);
  line-height: 1.4;
}

@media (min-width: 992px) {
  .service-title {
    font-size: 1.35rem;
  }
}

#services ul.list-inline li {
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

#services ul.list-inline li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,82,204,0.15);
}

#services ul.list-inline i {
  opacity: 0.9;
}


.icon-wrap i {
  display: inline-block;
  background: rgba(0, 82, 204, 0.08);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
}

.hover-up {
  transition: all 0.3s ease;
}

.hover-up:hover {
  transform: translateY(-5px);
}

/* Responsive touch */
@media (max-width: 767px) {
  .service-card {
    padding: 2rem 1.5rem;
  }
  .icon-wrap i {
    font-size: 2rem;
  }
}

/* =============================== */
/* 🧭 ENGAGEMENTS SECTION — ToutouPunaise.fr */
/* =============================== */
.eng-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.eng-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 82, 204, 0.15);
}

.eng-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text, #0f172a);
  line-height: 1.4;
}

.icon-wrap i {
  display: inline-block;
  background: rgba(0, 82, 204, 0.08);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .eng-card {
    padding: 2rem 1.5rem;
  }
  .eng-title {
    font-size: 1.15rem;
  }
}

/* =============================== */
/* 🩶 TEXT COLOR SYSTEM — ToutouPunaise.fr */
/* =============================== */

.text-soft {
  color: #64748b !important; /* slate-500 – softer than muted */
}

.text-medium {
  color: #475569 !important; /* slate-600 – better for secondary paragraphs */
}

.text-body {
  color: #0f172a !important; /* main dark tone (default text color) */
}

.text-light-muted {
  color: rgba(15, 23, 42, 0.6) !important; /* for subtle details like breeds */
}

.text-accent {
  color: #00bfa6 !important; /* brand teal accent */
}

.text-gold {
  color: #d4a017 !important;
}

/* =============================== */
/* 🐶 PREMIUM ÉQUIPE CANINE — ToutouPunaise.fr */
/* =============================== */

.dog-card-premium {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dog-card-premium:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 36px rgba(0, 82, 204, 0.18);
}

.dog-img-wrapper {
  position: relative;
  overflow: hidden;
}

.dog-img {
  object-fit: cover;
  width: 100%;
  height: 340px;
  transition: transform 0.6s ease, filter 0.3s ease;
  filter: brightness(0.9);
}

.dog-card-premium:hover .dog-img {
  transform: scale(1.08);
  filter: brightness(1);
}

.dog-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.dog-card-premium:hover .dog-overlay {
  opacity: 1;
}

/* Responsive */
@media (max-width: 767px) {
  .dog-img {
    height: 260px;
  }
}

/* =============================== */
/* 🗺️ ZONES D’INTERVENTION — ToutouPunaise.fr */
/* =============================== */
#zones {
  background: #f8fafc; /* soft neutral tone */
  color: #0f172a; /* dark text for readability */
}

.zone-badge {
  background: #ffffff;
  border: 1px solid rgba(13, 71, 161, 0.12);
  color: #0d47a1;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.zone-badge:hover {
  background: linear-gradient(90deg, #0d47a1, #00bfa6);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(13, 71, 161, 0.25);
  transform: translateY(-3px);
}

/* =============================== */
/* 📞 PREMIUM CALL SECTION — ToutouPunaise.fr */
/* =============================== */
#appel {
  color: #fff;
  overflow: hidden;
}

.text-gradient-light {
  background: linear-gradient(90deg, #ffffff, #d2fef3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-premium-call {
  background: linear-gradient(90deg, #ffffff, #eafaf8);
  color: #006d6a !important;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  border: none;
  transition: all 0.3s ease;
}

.btn-premium-call:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 191, 166, 0.4);
  background: linear-gradient(90deg, #ffffff, #cffff4);
}

.btn-premium-call i {
  color: #00bfa6;
  transition: transform 0.3s ease;
}

.btn-premium-call:hover i {
  transform: scale(1.2);
}

#appel p.lead {
  font-size: 1.15rem;
  color: #ffffff;
}

@media (max-width: 767px) {
  #appel h3 {
    font-size: 1.8rem;
  }
  .btn-premium-call {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
  }
}


/* =============================== */
/* 🧭 PROCESSUS DE DÉTECTION — Premium */
/* =============================== */

.step-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(13,71,161,0.1);
  position: relative;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(13,71,161,0.15);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  background: linear-gradient(90deg,#0d47a1,#00bfa6);
  box-shadow: 0 6px 16px rgba(13,71,161,0.25);
  z-index: 2;
  position: relative;
}

.step-line {
  position: absolute;
  top: 26px;
  left: calc(100% + 12px);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, #0d47a1, #00bfa6);
  opacity: 0.4;
  z-index: 1;
}

.text-soft {
  color: #475569 !important;
}

.subtext {
  font-size: 1.1rem;
  color: #334155;
}

@media (max-width: 767px) {
  .step-line { display: none; }
  .step-number { width:46px; height:46px; font-size:1rem; }
  .step-card { padding: 2rem 1.5rem; }
}

/* =============================== */
/* 💎 POURQUOI NOUS CHOISIR — SUPER ELEGANT */
/* =============================== */

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(13,71,161,0.25);
  transition: transform 0.3s ease;
}

.why-box {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(13,71,161,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0,191,166,0.15);
}

.icon-circle:hover {
  transform: scale(1.1);
}

/* =============================== */
/* ❓ FAQ — PREMIUM STYLE */
/* =============================== */

.premium-accordion .accordion-item {
  border: none;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.premium-accordion .accordion-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(13,71,161,0.1);
}

.premium-accordion .accordion-button {
  background: transparent;
  color: #0f172a;
  box-shadow: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.premium-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, #0d47a1, #00bfa6);
  color: #fff;
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 6px 18px rgba(0,191,166,0.2);
}

.premium-accordion .accordion-button i {
  transition: transform 0.3s ease;
}

.premium-accordion .accordion-button:not(.collapsed) i {
  transform: rotate(15deg);
  color: #fff !important;
}

.premium-accordion .accordion-button:focus {
  box-shadow: none;
}

.premium-accordion .accordion-body {
  background: #fff;
  border-top: 1px solid rgba(13,71,161,0.08);
  padding: 1.25rem 1.5rem;
  border-radius: 0 0 1rem 1rem;
  line-height: 1.6;
}

.premium-accordion i {
  transition: transform .3s ease;
}

.faq-pill {
  display: inline-block;
  padding: 10px 18px;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 50rem;
  background: #fff;
  text-decoration: none;
  transition: all .25s ease;
}
.faq-pill:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.faq-pill.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}


/* =============================== */
/* 🌙 PREMIUM DARK HEADER — MATCH FOOTER */
/* =============================== */

.header-premium {
  position: relative;
  background: #0f172a; /* same deep navy as footer */
  color: #e2e8f0;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  z-index: 999;
}

.header-bg {
  background: radial-gradient(circle at 70% 20%, rgba(0,191,166,0.08), transparent 70%),
              radial-gradient(circle at 20% 80%, rgba(13,71,161,0.08), transparent 70%);
  z-index: 0;
}

/* NAV LINKS */
.premium-nav .nav-link {
  color:#ffffff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.premium-nav .nav-link:hover,
.premium-nav .nav-link.active {
  color: var(--accent);
}

/* BRAND */
.navbar-brand {
  color: #fff !important;
  font-weight: 700;
  font-size: 1.35rem;
}
.navbar-brand i {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* PHONE CTA */
.premium-nav .btn {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border: none;
  color: #fff !important;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0,191,166,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.premium-nav .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,191,166,0.4);
}

/* SCROLL EFFECT — lighter glass tone when scrolling */
.premium-nav.scrolled {
  backdrop-filter: blur(12px);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.premium-nav.scrolled .nav-link {
  color: rgba(255,255,255,0.95);
}
.premium-nav.scrolled .nav-link.active,
.premium-nav.scrolled .nav-link:hover {
  color: var(--accent);
}

.header-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,71,161,0.25), rgba(0,191,166,0.15));
  pointer-events: none;
  z-index: 0;
}

/* =============================== */
/* 💎 PREMIUM CONTACT FORM — ToutouPunaise.fr */
/* =============================== */

.contact-form-premium {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(13, 71, 161, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.contact-form-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(13, 71, 161, 0.15);
}

.form-bg-gradient {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at center, rgba(0,191,166,0.15), transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

/* Form controls */
.form-control-premium,
.form-select.form-control-premium {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(13,71,161,0.15);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.03);
}

.form-control-premium:focus,
.form-select.form-control-premium:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.25rem rgba(0,191,166,0.15);
  background: #fff;
}

/* Labels */
.form-label {
  color: #0f172a;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

/* Checkboxes */
.form-check-input {
  border-radius: 0.4rem;
  border: 1px solid rgba(13,71,161,0.2);
  transition: all 0.25s ease;
}

.form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

/* Validation feedback */
.invalid-feedback {
  font-size: 0.85rem;
}

/* Character counter */
#charCount {
  color: var(--accent);
  font-weight: 600;
}

/* Button hover glow */
.gradient-btn {
  background: linear-gradient(90deg, #0d47a1, #00bfa6);
  border: none;
  color: #fff !important;
  transition: all 0.3s ease;
}

.gradient-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,191,166,0.3);
}

/* Subtle animation */
.contact-form-premium {
  animation: fadeUpForm 0.8s ease both;
}

@keyframes fadeUpForm {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}


.section-gap-alt {
  background-color: #f8fafc;
}

.glass-sm {
  backdrop-filter: blur(10px);
  background-color: rgba(255,255,255,0.85);
}

.icon-circle-lg {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .4s ease;
}

.icon-circle-sm {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}

.cert-card {
  transition: transform .3s ease, box-shadow .3s ease;
}
.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.cert-card:hover .icon-circle-lg {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 82, 204, 0.15);
}

.hover-up { transition: transform .3s ease, color .3s ease; }
.hover-up:hover { transform: translateY(-3px); }

/* =============================== */
/* 📱 PREMIUM MOBILE NAV ENHANCEMENTS — ToutouPunaise.fr */
/* =============================== */

@media (max-width: 991.98px) {

  /* Mobile Menu Panel */
  #navMenu.collapse.show {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    animation: mobileMenuFade 0.4s ease both;
  }

  /* Menu Animation */
  @keyframes mobileMenuFade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Nav Items */
  .premium-nav .navbar-nav .nav-item {
    margin-bottom: 0.75rem;
  }

  .premium-nav .nav-link {
    display: block;
    font-size: 1.05rem;
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
  }

  .premium-nav .nav-link:last-child {
    border-bottom: none;
  }

  .premium-nav .nav-link:hover {
    color: var(--accent);
    transform: translateX(4px);
  }

  /* CTA Button on Mobile */
  .premium-nav .btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 0.8rem;
    border-radius: 12px;
    margin-top: 1rem;
  }

  /* Toggler button (menu icon) */
  .navbar-toggler {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.4rem 0.6rem;
    transition: all 0.3s ease;
  }

  .navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
  }

  .navbar-toggler i {
    color: var(--accent);
    transition: transform 0.3s ease;
  }

  .navbar-toggler[aria-expanded="true"] i {
    transform: rotate(90deg);
  }

/* Subtle fade-in for all nav items */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
#navMenu .nav-item {
  animation: fadeSlideUp 0.35s ease forwards;
}
#navMenu .nav-item:nth-child(1) { animation-delay: 0.05s; }
#navMenu .nav-item:nth-child(2) { animation-delay: 0.1s; }
#navMenu .nav-item:nth-child(3) { animation-delay: 0.15s; }
#navMenu .nav-item:nth-child(4) { animation-delay: 0.2s; }
#navMenu .nav-item:nth-child(5) { animation-delay: 0.25s; }
