/*
Theme Name:        BP Cleaner - Hello Elementor Child
Theme URI:         https://www.bpcleaner.fr
Description:       Thème enfant de Hello Elementor pour BP Cleaner — Entreprise de nettoyage professionnel à Figeac et alentours (Lot).
Author:            BP Cleaner
Author URI:        https://www.bpcleaner.fr
Template:          hello-elementor
Version:           1.1.1
Requires at least: 5.9
Tested up to:      6.5
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       bpcleaner-child
Tags:              cleaning, professional, child-theme, elementor
*/

/* ================================================================
   BP CLEANER — DESIGN SYSTEM & VARIABLES GLOBALES
   ================================================================ */

:root {
  /* Palette (logo : bleu marine + blanc + touches bleu ciel) */
  --c-navy:         #0b2545;
  --c-navy-dark:    #071a34;
  --c-navy-mid:     #123a6b;
  --c-sky:          #4fa8e0;
  --c-sky-light:    #cfe8fb;
  --c-white:        #ffffff;
  --c-off-white:    #f6f9fc;
  --c-gray-50:      #f9fafb;
  --c-gray-100:     #eef2f6;
  --c-gray-200:     #dde4ec;
  --c-gray-400:     #98a3b3;
  --c-gray-600:     #5c6a7d;
  --c-text:         #16233b;
  --c-text-light:   #57667c;
  --c-gold:         #e0a940; /* accent discret pour badges/étoiles avis */

  /* Typo */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Layout */
  --section-py:  88px;
  --container:   1200px;
  --r:           12px;
  --r-lg:        22px;

  /* Ombres */
  --shadow-sm:  0 2px 10px rgba(11,37,69,.08);
  --shadow-md:  0 10px 34px rgba(11,37,69,.12);
  --shadow-lg:  0 24px 64px rgba(11,37,69,.18);

  --t: .25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset complémentaire ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--c-navy);
  line-height: 1.2;
  margin: 0 0 .5em;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* Masquer header/footer natifs Hello Elementor : on utilise les nôtres */
.site-header, .site-footer { display: none !important; }

#bpc-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}
#bpc-main { flex: 1; }

.bpc-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.bpc-section { padding: var(--section-py) 0; }
.bpc-section--tight { padding: 56px 0; }
.bpc-section--navy   { background: var(--c-navy); color: var(--c-white); }
.bpc-section--navy h1, .bpc-section--navy h2, .bpc-section--navy h3 { color: var(--c-white); }
.bpc-section--sky-tint { background: var(--c-sky-light); }
.bpc-section--off { background: var(--c-off-white); }

.bpc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-sky);
  margin-bottom: 12px;
}
.bpc-eyebrow::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--c-sky);
  display: inline-block;
}

.bpc-title-block { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.bpc-title-block h2 { font-size: clamp(28px, 4vw, 40px); }
.bpc-title-block p  { color: var(--c-text-light); font-size: 17px; }

/* Boutons */
.bpc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: var(--t);
  white-space: nowrap;
}
.bpc-btn--primary { background: var(--c-navy); color: var(--c-white); }
.bpc-btn--primary:hover { background: var(--c-navy-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.bpc-btn--sky { background: var(--c-sky); color: var(--c-white); }
.bpc-btn--sky:hover { background: #3b8fc4; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.bpc-btn--outline { background: transparent; border-color: var(--c-white); color: var(--c-white); }
.bpc-btn--outline:hover { background: var(--c-white); color: var(--c-navy); }
.bpc-btn--outline-navy { background: transparent; border-color: var(--c-navy); color: var(--c-navy); }
.bpc-btn--outline-navy:hover { background: var(--c-navy); color: var(--c-white); }

/* Cartes génériques */
.bpc-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}
.bpc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

/* Reveal animation */
.bpc-reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.bpc-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Grids utilitaires */
.bpc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.bpc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.bpc-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .bpc-grid-2, .bpc-grid-3, .bpc-grid-4 { grid-template-columns: 1fr; }
  :root { --section-py: 56px; }
}
@media (max-width: 480px) {
  .bpc-container { padding: 0 18px; }
  :root { --section-py: 44px; }
}
