@charset "UTF-8";
/* Débouchage Evere (debouchage-evere.be) – Aquavlot Service
   Custom stylesheet – clean, professional, mobile-first */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

/* ───────────────────────────────────────────
   1. Design Tokens
   ─────────────────────────────────────────── */
:root {
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;

  --color-royal-blue: #0C419A;
  --color-royal-blue-dark: #082F72;
  --color-royal-blue-light: #1654C0;
  --color-amber-yellow: #FFB800;
  --color-amber-yellow-hover: #E5A400;
  --color-bg-light: #F8F9FB;
}

/* ───────────────────────────────────────────
   2. Base
   ─────────────────────────────────────────── */
body {
  font-family: var(--font-sans);
  color: #1e293b;
  background-color: var(--color-bg-light);
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* ───────────────────────────────────────────
   3. Color & Font Utility Overrides
   ─────────────────────────────────────────── */
.bg-royal-blue {
  background-color: var(--color-royal-blue) !important;
}

.bg-royal-dark {
  background-color: var(--color-royal-blue-dark) !important;
}

.bg-royal-hero {
  background: linear-gradient(160deg, #082F72 0%, #0C419A 55%, #1654C0 100%) !important;
}

.bg-amber-yellow {
  background-color: var(--color-amber-yellow) !important;
}

.hover\:bg-amber-yellow-hover:hover {
  background-color: var(--color-amber-yellow-hover) !important;
}

.text-royal-blue {
  color: var(--color-royal-blue) !important;
}

.text-amber-yellow {
  color: var(--color-amber-yellow) !important;
}

.hover\:text-amber-yellow:hover {
  color: var(--color-amber-yellow) !important;
}

.border-amber-yellow {
  border-color: var(--color-amber-yellow) !important;
}

.font-heading {
  font-family: var(--font-heading) !important;
}

.font-sans {
  font-family: var(--font-sans) !important;
}

/* ───────────────────────────────────────────
   4. Header & Navigation
   ─────────────────────────────────────────── */
header nav a {
  white-space: nowrap;
}

/* ───────────────────────────────────────────
   5. Announcement Bar – subtle, not aggressive
   ─────────────────────────────────────────── */

/* Kill the infinite ping on the dot — just show a steady dot */
.animate-ping {
  animation: none !important;
  opacity: 1 !important;
}

/* ───────────────────────────────────────────
   6. Hero Section – light background, dark text
   ─────────────────────────────────────────── */

/* Override hero background to clean light */
.bg-royal-hero {
  background: var(--color-bg-light) !important;
}

/* Hero text colors – dark on light */
.bg-royal-hero h1 {
  color: var(--color-royal-blue-dark) !important;
}

.bg-royal-hero h1 .text-amber-yellow {
  color: var(--color-amber-yellow) !important;
}

.bg-royal-hero p,
.bg-royal-hero .text-blue-100 {
  color: #475569 !important; /* slate-600 */
}

.bg-royal-hero .text-white {
  color: var(--color-royal-blue-dark) !important;
}

/* Hero badge stays amber */
.bg-royal-hero .bg-amber-yellow {
  color: #0f172a !important;
}

/* "Devis Gratuit" button – adjust for light bg */
.bg-royal-hero a.bg-white {
  border: 1px solid #e2e8f0;
}

/* Hero image – clean rounded with shadow */
.bg-royal-hero .rounded-2xl img {
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ───────────────────────────────────────────
   7. Remove dot pattern – clean backgrounds
   ─────────────────────────────────────────── */
.water-pattern-bg {
  background-image: none !important;
}

/* ───────────────────────────────────────────
   8. CTA Buttons – hover only, no infinite pulse
   ─────────────────────────────────────────── */
.animate-cta-pulse {
  animation: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.animate-cta-pulse:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
}

.animate-cta-pulse:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 184, 0, 0.3);
}

/* General CTA hover lift for all action buttons */
a[href^="tel:"] {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a[href^="tel:"]:hover {
  transform: translateY(-1px);
}

/* ───────────────────────────────────────────
   9. Service Card Icon Badge
   ─────────────────────────────────────────── */
.card-icon-badge {
  width: 44px;
  height: 44px;
  background-color: var(--color-royal-blue);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: -22px;
  left: 20px;
  box-shadow: 0 3px 10px rgba(12, 65, 154, 0.25);
  border: 2px solid #ffffff;
  transition: transform 0.2s ease, background-color 0.2s ease;
  font-size: 18px;
  line-height: 1;
}

.group:hover .card-icon-badge {
  transform: scale(1.05);
  background-color: var(--color-amber-yellow);
  color: #082F72;
}

/* ───────────────────────────────────────────
   10. Flow Step Circles (1-2-3 steps)
   ─────────────────────────────────────────── */
.flow-step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(12, 65, 154, 0.12);
  transition: transform 0.2s ease;
}

.flow-step-circle:hover {
  transform: translateY(-3px);
}

/* ───────────────────────────────────────────
   11. FAQ Accordion
   ─────────────────────────────────────────── */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.25s ease;
  opacity: 0;
}

.faq-answer.active {
  max-height: 600px;
  opacity: 1;
}

.faq-icon {
  transition: transform 0.25s ease;
}

.faq-icon.active {
  transform: rotate(180deg);
}

/* ───────────────────────────────────────────
   12. Sticky Mobile Bottom Bar
   ─────────────────────────────────────────── */
.sticky-mobile-bar {
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}

/* ───────────────────────────────────────────
   13. Typography De-bolding
       Tone down secondary elements from extrabold
   ─────────────────────────────────────────── */

/* Section subtitle badges — semibold is enough */
span.text-xs.font-extrabold.uppercase {
  font-weight: 600 !important;
}

/* Form labels — medium weight, not extrabold */
label.font-bold,
label.font-extrabold {
  font-weight: 600 !important;
}

/* Footer link weight — normal, not bold */
footer ul a {
  font-weight: 400;
}

/* Footer heading — bold, not extrabold */
footer h4 {
  font-weight: 700 !important;
}

/* ───────────────────────────────────────────
   14. Focus States – accessibility & professionalism
   ─────────────────────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-amber-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ───────────────────────────────────────────
   15. Subtle Design Touches
   ─────────────────────────────────────────── */

/* Service cards – slightly asymmetric hover */
.group.flex.flex-col {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.group.flex.flex-col:hover {
  transform: translateY(-4px);
}

/* Pricing featured card – subtle glow instead of heavy shadow */
.bg-royal-blue.border-2.border-amber-yellow {
  box-shadow: 0 4px 20px rgba(12, 65, 154, 0.3);
}

/* Testimonial card – left accent border */
.bg-white.rounded-2xl.shadow-xl.border.border-slate-200.flex {
  border-left: 4px solid var(--color-amber-yellow) !important;
}

/* Stats section – cleaner separators */
.bg-royal-blue .border-y,
.bg-royal-blue .border-x {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* ───────────────────────────────────────────
   16. Mobile & Responsive Overhaul
   ─────────────────────────────────────────── */

/* Universal Box Sizing & Overflow Prevention */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  margin: 0;
  padding: 0;
}

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

img, video, iframe, svg, canvas {
  max-width: 100%;
  height: auto;
}

/* ── Small Mobile (≤ 480px) ── */
@media (max-width: 480px) {
  /* Announcement bar */
  .bg-royal-dark.text-xs {
    font-size: 11px !important;
    padding: 6px 10px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    flex-wrap: wrap !important;
  }

  /* Header compact brand */
  header a.group .font-heading span {
    font-size: 1.1rem !important;
  }
  header a.group span.text-\[10px\] {
    font-size: 8.5px !important;
  }
  header .flex.lg\:hidden a[href^="tel:"] {
    font-size: 11px !important;
    padding: 5px 8px !important;
  }

  /* Hero section typography */
  .bg-royal-hero {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  .bg-royal-hero h1 {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
    word-break: break-word;
  }
  .bg-royal-hero p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

  /* Full-width hero CTA buttons */
  .bg-royal-hero a.bg-amber-yellow,
  .bg-royal-hero a.bg-white {
    width: 100% !important;
    font-size: 0.9rem !important;
    padding: 0.75rem 1rem !important;
    text-align: center;
    justify-content: center;
  }

  /* Section heading sizes on small screens */
  h2.text-3xl,
  h2.text-4xl {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }

  /* Form padding */
  form.devis-form {
    padding: 1.25rem !important;
  }
}

/* ── Mobile & Tablet (≤ 768px) ── */
@media (max-width: 768px) {
  /* Prevent negative margin collision */
  section.-mt-10,
  section.lg\:-mt-16,
  .-mt-10,
  .-mt-16 {
    margin-top: 1.5rem !important;
  }

  /* Full container width on mobile */
  .max-w-7xl,
  .max-w-6xl,
  .max-w-5xl,
  .max-w-4xl,
  .max-w-2xl {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Stats grid cleanly divided */
  .bg-royal-blue.border-y {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
  .bg-royal-blue .grid.grid-cols-1.md\:grid-cols-3 > div {
    padding: 1rem 0.5rem !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  }
  .bg-royal-blue .grid.grid-cols-1.md\:grid-cols-3 > div:last-child {
    border-bottom: none !important;
  }

  /* Pricing cards layout */
  .grid.grid-cols-1.md\:grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .absolute.-top-3\.5 {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    display: inline-block;
    margin-bottom: 0.75rem;
  }

  /* Footer cleanly stacked */
  footer .grid.grid-cols-1 {
    gap: 2rem !important;
  }
}

/* ── Sticky Mobile Bar & Body Padding ── */
@media (max-width: 1023px) {
  body {
    padding-bottom: 74px !important;
  }
  .sticky-mobile-bar {
    padding: 8px 12px !important;
  }
  .sticky-mobile-bar a {
    font-size: 13px !important;
    padding: 8px 12px !important;
  }
}

/* ───────────────────────────────────────────
   17. Print Styles
   ─────────────────────────────────────────── */
@media print {
  .sticky-mobile-bar,
  .bg-royal-dark.text-xs,
  header,
  .animate-cta-pulse {
    display: none !important;
  }

  body {
    background: white;
    color: #000;
  }
}
