/* ============================================
   RATDICAL — Feuille de style principale
   ============================================ */

:root {
  --rouge: #c8102e;
  --rouge-fonce: #8f0c20;
  --noir: #181818;
  --noir-clair: #2a2a2a;
  --gris: #f4f4f4;
  --gris-fonce: #6b6b6b;
  --blanc: #ffffff;
  --bordure: #e5e5e5;
  --ombre: 0 10px 30px rgba(0, 0, 0, 0.08);
  --rayon: 10px;
  --transition: all 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--noir);
  line-height: 1.65;
  background: var(--blanc);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.25;
}

h2.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  text-align: center;
  margin-bottom: 8px;
}

p.section-sub {
  text-align: center;
  color: var(--gris-fonce);
  max-width: 640px;
  margin: 0 auto 44px;
  font-size: 1.05rem;
}

section {
  padding: 72px 0;
}

section.alt {
  background: var(--gris);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--rouge);
  color: var(--blanc);
  box-shadow: 0 8px 22px rgba(200, 16, 46, 0.35);
}

.btn-primary:hover {
  background: var(--rouge-fonce);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blanc);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-dark {
  background: var(--noir);
  color: var(--blanc);
}

.btn-dark:hover {
  background: var(--rouge);
}

/* ---------- Badge urgence top bar ---------- */
.topbar {
  background: var(--noir);
  color: var(--blanc);
  font-size: 0.85rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.topbar a {
  color: var(--blanc);
}

.topbar .topbar-phone {
  color: #ffb3bd;
  font-weight: 700;
}

.topbar .topbar-tags span {
  margin-right: 16px;
}

.topbar .topbar-tags span:before {
  content: "\2713";
  color: var(--rouge);
  margin-right: 4px;
  font-weight: 900;
}

/* ---------- Header / nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--blanc);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  color: var(--noir);
}

.logo .logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rouge);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.logo .logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.logo span {
  color: var(--rouge);
}

.logo small {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--gris-fonce);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

nav.main-nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--noir);
  position: relative;
  padding: 4px 0;
}

nav.main-nav a.active,
nav.main-nav a:hover {
  color: var(--rouge);
}

nav.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rouge);
  border-radius: 3px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta .phone-link {
  font-weight: 700;
  color: var(--noir);
  font-size: 0.95rem;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.burger span {
  width: 26px;
  height: 3px;
  background: var(--noir);
  border-radius: 3px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--noir) 0%, #33090f 55%, var(--rouge-fonce) 100%);
  color: var(--blanc);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  margin-bottom: 18px;
}

.hero h1 .accent {
  color: #ff5c72;
}

.hero p.lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-stats .stat b {
  display: block;
  font-size: 1.6rem;
  color: #ff9aa8;
}

.hero-stats .stat span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--rayon);
  padding: 26px;
  backdrop-filter: blur(6px);
}

.hero-card h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: #ff9aa8;
}

.hero-card ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  font-size: 0.94rem;
}

.hero-card ul li:last-child {
  border-bottom: none;
}

.hero-card ul li::before {
  content: "\2713";
  color: var(--rouge);
  background: var(--blanc);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  min-width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  margin-top: 2px;
}

/* ---------- Bandeau nuisibles rapide ---------- */
.pest-strip {
  background: var(--noir);
  color: var(--blanc);
  padding: 16px 0;
}

.pest-strip .container {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Cards génériques ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 30px 24px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ombre);
  border-color: transparent;
}

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(200, 16, 46, 0.1);
  color: var(--rouge);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--gris-fonce);
  font-size: 0.94rem;
}

.card ul {
  margin-top: 14px;
}

.card ul li {
  font-size: 0.88rem;
  color: var(--gris-fonce);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.card ul li::before {
  content: "\25B8";
  color: var(--rouge);
  position: absolute;
  left: 0;
}

/* ---------- Engagements (accueil) ---------- */
.engagements .card {
  text-align: center;
}

.engagements .card .icon {
  margin-inline: auto;
}

/* ---------- Chiffres clés ---------- */
.stats-band {
  background: var(--noir);
  color: var(--blanc);
}

.stats-band .grid-4 {
  text-align: center;
}

.stats-band .stat b {
  display: block;
  font-size: 2.4rem;
  color: var(--rouge);
  font-weight: 900;
}

.stats-band .stat span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Bloc image/texte ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.split .tag {
  display: inline-block;
  color: var(--rouge);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.split h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 16px;
}

.split p {
  color: var(--gris-fonce);
  margin-bottom: 18px;
}

.split ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
}

.split ul li::before {
  content: "\2713";
  background: var(--rouge);
  color: var(--blanc);
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  margin-top: 2px;
}

.visual-panel {
  background: linear-gradient(160deg, var(--rouge), var(--rouge-fonce));
  border-radius: var(--rayon);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanc);
  font-weight: 900;
  font-size: 2.4rem;
  text-align: center;
  padding: 30px;
  box-shadow: var(--ombre);
}

.visual-panel.dark {
  background: linear-gradient(160deg, var(--noir), #3a0a12);
}

.visual-panel.photo {
  padding: 0;
  overflow: hidden;
}

.visual-panel.photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

/* ---------- Bannière photo pleine largeur ---------- */
.photo-banner {
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre);
  margin-bottom: 40px;
}

.photo-banner img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.photo-banner figcaption {
  background: var(--noir);
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 20px;
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Clients / secteurs ---------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.clients-grid .card {
  text-align: center;
}

/* ---------- Témoignage / CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--rouge), var(--rouge-fonce));
  color: var(--blanc);
  text-align: center;
  padding: 70px 0;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 30px;
}

.cta-band .hero-actions {
  justify-content: center;
}

.cta-band .btn-primary {
  background: var(--noir);
}

.cta-band .btn-primary:hover {
  background: #000;
}

/* ---------- Table ---------- */
table.table-clean {
  width: 100%;
  border-collapse: collapse;
  background: var(--blanc);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre);
}

table.table-clean th {
  background: var(--noir);
  color: var(--blanc);
  text-align: left;
  padding: 14px 18px;
  font-size: 0.88rem;
}

table.table-clean td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--bordure);
  font-size: 0.92rem;
  color: var(--noir-clair);
}

table.table-clean tr:last-child td {
  border-bottom: none;
}

/* ---------- Page hero secondaire ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--noir), var(--rouge-fonce));
  color: var(--blanc);
  padding: 60px 0 50px;
  text-align: center;
}

.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Service block (page services) ---------- */
.service-block {
  padding: 64px 0;
  border-bottom: 1px solid var(--bordure);
}

.service-block:nth-child(even) {
  background: var(--gris);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.service-header .icon-lg {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: var(--rouge);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.service-header h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.equip-card {
  background: var(--noir);
  color: var(--blanc);
  border-radius: var(--rayon);
  padding: 28px;
  margin-top: 20px;
}

.equip-card h4 {
  color: var(--rouge);
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.equip-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

/* ---------- Équipe ---------- */
.team-card {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 26px;
}

.team-card .role {
  color: var(--rouge);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.team-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.team-card .exp {
  display: inline-block;
  background: var(--gris);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.team-card p {
  color: var(--gris-fonce);
  font-size: 0.9rem;
}

/* ---------- Formulaire de contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: var(--noir);
  color: var(--blanc);
  border-radius: var(--rayon);
  padding: 34px;
}

.contact-info-card h3 {
  color: var(--rouge);
  margin-bottom: 18px;
}

.contact-info-card .info-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-card .info-item:last-of-type {
  border-bottom: none;
}

.contact-info-card .info-item .ico {
  color: var(--rouge);
  font-size: 1.2rem;
  min-width: 24px;
}

.contact-info-card .zones {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-info-card .zones span {
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
}

form.contact-form {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 34px;
  box-shadow: var(--ombre);
}

form.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

form.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 16px;
}

form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--bordure);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--gris);
}

form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--rouge);
  background: var(--blanc);
}

form.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

form.contact-form .btn {
  margin-top: 22px;
  width: 100%;
  justify-content: center;
  border: none;
}

.form-note {
  font-size: 0.78rem;
  color: var(--gris-fonce);
  margin-top: 10px;
}

.urgency-banner {
  background: #fdecee;
  border: 1px solid #f6c3ca;
  color: var(--rouge-fonce);
  padding: 16px 20px;
  border-radius: var(--rayon);
  margin-bottom: 28px;
  font-size: 0.92rem;
  display: flex;
  gap: 12px;
  align-items: center;
}

.urgency-banner b {
  font-size: 1rem;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--noir);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid h4 {
  color: var(--blanc);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-grid .logo {
  color: var(--blanc);
  margin-bottom: 14px;
}

.footer-grid p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-grid ul li {
  padding: 6px 0;
  font-size: 0.9rem;
}

.footer-grid ul li a:hover {
  color: var(--rouge);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner,
  .split,
  .contact-layout,
  .service-content {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  form.contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  nav.main-nav,
  .nav-cta .phone-link {
    display: none;
  }

  .burger {
    display: flex;
  }

  nav.main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blanc);
    flex-direction: column;
    padding: 20px 24px;
    box-shadow: var(--ombre);
  }

  nav.main-nav.open ul {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .grid-4,
  .grid-3,
  .clients-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar .container {
    justify-content: center;
    text-align: center;
  }

  .topbar .topbar-tags {
    display: none;
  }
}
