/* =============================================
   PIOU PIOU DÉBARRAS — Stylesheet
   Couleurs : Rouge #E63012 + Jaune #FFB800
   ============================================= */

:root {
  --red: #E63012;
  --red-dark: #C2280F;
  --yellow: #FFB800;
  --yellow-light: #FFD54F;
  --dark: #1A1A1A;
  --dark-2: #2C2C2C;
  --gray: #6B6B6B;
  --gray-light: #F5F5F5;
  --white: #FFFFFF;
  --border: #E8E8E8;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; width: 100%; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; width: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== CONTAINER ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section--light { background: var(--gray-light); }
.section__header { text-align: center; margin-bottom: 3rem; }
.section__title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: 0.02em; line-height: 1.1; color: var(--dark); }
.section__title--light { color: var(--white); }
.section__sub { color: var(--gray); margin-top: 0.75rem; font-size: 1.05rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.875rem 1.75rem; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); text-align: center; gap: 0.5rem;
}
.btn--primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(230,48,18,0.35); }
.btn--outline { background: transparent; color: var(--dark); border-color: var(--border); }
.btn--outline:hover { border-color: var(--dark); }
.btn--secondary { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }
.btn--secondary:hover { background: var(--yellow-light); }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white); border-bottom: 2px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

/* LOGO */
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo__icon { font-size: 2rem; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.05em; color: var(--red); }
.logo__sub { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray); }

/* NAV */
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__link { padding: 0.5rem 1rem; border-radius: 8px; font-weight: 500; font-size: 0.9rem; color: var(--gray); transition: all var(--transition); }
.nav__link:hover, .nav__link.active { color: var(--dark); background: var(--gray-light); }
.nav__cta { background: var(--red); color: var(--white) !important; padding: 0.5rem 1.25rem; }
.nav__cta:hover { background: var(--red-dark) !important; }

/* BURGER */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 8rem 0 4rem; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #FFF8F6 0%, #FFFBF0 50%, #F5F5F5 100%);
}
.hero__bg::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(230,48,18,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero__bg::after {
  content: ''; position: absolute;
  bottom: -50px; left: -50px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,184,0,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero__inner { position: relative; z-index: 1; max-width: 760px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--yellow); color: var(--dark);
  padding: 0.4rem 1rem; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeDown 0.6s ease both;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05; letter-spacing: 0.02em;
  color: var(--dark);
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero__accent { color: var(--red); }
.hero__desc {
  margin: 1.25rem 0 2rem;
  font-size: 1.1rem; color: var(--gray); line-height: 1.7;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero__actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}
.hero__tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 2rem;
  animation: fadeUp 0.7s 0.4s ease both;
}
.tag {
  background: var(--white); border: 1.5px solid var(--border);
  padding: 0.3rem 0.8rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 500; color: var(--gray);
}
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  font-size: 1.5rem; color: var(--gray); animation: bounce 2s infinite;
}

/* ===== ARGUMENTS ===== */
.args__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.arg {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: all var(--transition);
}
.arg:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow); }
.arg__icon { font-size: 2rem; margin-bottom: 1rem; }
.arg__title { font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.arg__text { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

/* ===== SERVICES GRID ===== */
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.service-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: all var(--transition); cursor: default;
}
.service-card:hover { border-color: var(--yellow); transform: translateY(-2px); box-shadow: var(--shadow); }
.service-card__emoji { font-size: 2rem; margin-bottom: 0.75rem; }
.service-card__title { font-weight: 700; margin-bottom: 0.5rem; font-size: 0.95rem; }
.service-card__text { color: var(--gray); font-size: 0.85rem; line-height: 1.6; }
.services__cta { text-align: center; margin-top: 2.5rem; }

/* ===== ZONE ===== */
.zone__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.zone__desc { color: rgba(255,255,255,0.8); margin-bottom: 0.75rem; font-size: 1rem; line-height: 1.7; }
.zone__desc strong { color: var(--yellow); }
.zone__visual { display: flex; justify-content: center; }
.zone__circle {
  width: 220px; height: 220px; border-radius: 50%;
  border: 3px solid var(--yellow);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.25rem; text-align: center;
  background: rgba(255,184,0,0.05);
}
.zone__km { font-family: var(--font-display); font-size: 3rem; color: var(--yellow); line-height: 1; }
.zone__around { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em; }
.zone__city { font-weight: 700; color: var(--white); font-size: 1.1rem; }
.zone__dept { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ===== TARIFS ===== */
.tarifs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.tarif-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 2rem; text-align: center;
}
.tarif-card--featured { border-color: var(--red); box-shadow: 0 0 0 4px rgba(230,48,18,0.06); }
.tarif-card--devis { background: var(--gray-light); }
.tarif-card__label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray); margin-bottom: 1rem; }
.tarif-card__price { font-family: var(--font-display); font-size: 3.5rem; color: var(--dark); line-height: 1; }
.tarif-card__price span { font-size: 1.5rem; color: var(--red); }
.tarif-card__unit { font-size: 0.85rem; color: var(--gray); margin: 0.25rem 0 1rem; }
.tarif-card__note { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }
.tarifs__note { text-align: center; margin-top: 1.5rem; font-size: 0.85rem; color: var(--gray); font-style: italic; }

/* ===== PRO ===== */
.pro__grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.pro__item {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 100px; padding: 0.6rem 1.25rem;
  font-weight: 600; font-size: 0.9rem;
  transition: all var(--transition);
}
.pro__item:hover { border-color: var(--yellow); background: var(--yellow); }

/* ===== CTA FINAL ===== */
.cta-final { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); }
.cta-final__inner { text-align: center; padding: 2rem 0; }
.cta-final__title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 1rem; }
.cta-final__sub { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 1rem; }
.cta-final__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== PAGE HERO ===== */
.page-hero { background: var(--gray-light); padding: 8rem 0 3rem; text-align: center; border-bottom: 2px solid var(--border); }
.page-hero__title { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); }
.page-hero__sub { color: var(--gray); margin-top: 0.75rem; font-size: 1.05rem; }

/* ===== DETAIL CARDS (Services page) ===== */
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.detail-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: all var(--transition);
}
.detail-card:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow); }
.detail-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.detail-card h3 { font-weight: 700; margin-bottom: 0.5rem; }
.detail-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

/* ===== CONTACT PAGE ===== */
.contact__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.contact__form-title, .contact__info-title { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 1.5rem; }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-weight: 600; font-size: 0.875rem; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 0.75rem 1rem; font-family: var(--font-body); font-size: 0.9rem;
  color: var(--dark); background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form__mention { font-size: 0.8rem; color: var(--gray); text-align: center; margin-top: 0.5rem; }

/* FORM SUCCESS */
.form-success { text-align: center; padding: 3rem 2rem; background: var(--gray-light); border-radius: var(--radius); }
.form-success__icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--gray); }

/* CONTACT INFO */
.contact__item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact__item-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact__item-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); margin-bottom: 0.25rem; }
.contact__item-value { font-weight: 500; line-height: 1.6; }
.contact__item-value a { color: var(--red); }
.contact__zone-box { background: var(--gray-light); border-radius: var(--radius); padding: 1.25rem; margin: 1.5rem 0; }
.contact__zone-box h3 { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.5rem; }
.contact__zone-box p { color: var(--gray); font-size: 0.85rem; line-height: 1.6; }
.contact__reassure { display: flex; flex-direction: column; gap: 0.5rem; }
.contact__reassure-item { font-size: 0.9rem; font-weight: 500; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 3rem 0 0; }
.footer__inner { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); align-items: start; }
.footer__brand { display: flex; align-items: center; gap: 0.75rem; }
.footer__name { font-family: var(--font-display); font-size: 1.2rem; color: var(--white); letter-spacing: 0.05em; }
.footer__info p { font-size: 0.85rem; line-height: 1.8; }
.footer__info a { color: var(--yellow); }
.footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links a { font-size: 0.9rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--yellow); }
.footer__bottom { text-align: center; padding: 1.25rem 0; font-size: 0.8rem; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: calc(1rem + env(safe-area-inset-bottom));
    right: 1rem;
    width: 52px;
    height: 52px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .zone__inner { grid-template-columns: 1fr; gap: 2rem; }
  .zone__visual { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1rem 1.5rem; border-bottom: 2px solid var(--border); box-shadow: var(--shadow); gap: 0.25rem; }
  .nav.open { display: flex; }
  .nav__link { width: 100%; padding: 0.75rem 1rem; }
  .burger { display: flex; }
  .hero { min-height: auto; padding: 6rem 0 3rem; }
  .hero__actions { flex-direction: column; }
  .section { padding: 3rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .tarifs__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .args__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
}

/* Ciblage direct de l'image pour la forcer à rétrécir */
.logo img, .logo__img-header, .logo__img-footer {
  height: 50px !important; /* Force la hauteur à 50px */
  width: auto !important;  /* Garde les proportions */
  max-height: 50px;
  object-fit: contain;
}
