/* =============================================
   Expert Nuisibles Habitat — Refonte 20/05/2026
   Charte : Méditerranée — bleu-vert sans noir ni marron
   ============================================= */

:root {
  --vert:    #1A6B6B;
  --vert-fonce: #0D4A4A;
  --ocre:    #2A8A7A;
  --ocre-fonce: #1E6E5E;
  --brun:    #7ACABA;
  --noir:    #0D4A4A;
  --gris:    #1E6E5E;
  --gris-clair: #EEF8F6;
  --bordure: #CFE8E3;
  --blanc:   #FFFFFF;
  --blanc-pur: #FFFFFF;
  --rouge:   #2A8A7A;
  --rouge2:  #1E6E5E;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--vert-fonce);
  background: var(--blanc);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- BOUTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s, transform .1s;
}

.btn-primary {
  background: var(--ocre);
  color: var(--blanc);
}
.btn-primary:hover { background: var(--ocre-fonce); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--blanc);
  border: 2px solid rgba(255,255,255,.75);
}
.btn-secondary:hover { background: rgba(255,255,255,.15); }

.btn-phone {
  background: var(--ocre);
  color: var(--blanc);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}
.btn-phone:hover { background: var(--ocre-fonce); }

/* --- HEADER --- */
.header {
  background: var(--vert);
  color: var(--blanc);
  padding: .75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(13,74,74,.3);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 4px;
  background: var(--blanc);
  padding: 2px;
}

.logo-text { display: flex; flex-direction: column; }

.logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--blanc);
}

.logo-tagline {
  font-size: .72rem;
  color: var(--ocre);
  font-weight: 600;
  margin-top: .05rem;
  letter-spacing: .02em;
}

/* --- HERO --- */
.hero {
  background: var(--vert);
  background: linear-gradient(135deg, var(--vert-fonce) 0%, var(--vert) 50%, var(--ocre) 100%);
  color: var(--blanc);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--ocre);
}

.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  max-width: 780px;
  margin: 0 auto .9rem;
  color: var(--blanc);
}

.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.8);
  max-width: 680px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- SERVICES --- */
.services {
  background: #EEF8F6;
  padding: 4.5rem 0;
}

.services h2, .why h2, .zone h2, .contact h2, .legal h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--vert-fonce);
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.services h2::after, .why h2::after, .zone h2::after,
.contact h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--ocre);
  margin: .6rem auto 0;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--blanc);
  border-radius: 8px;
  padding: 1.75rem;
  border: 1px solid #CFE8E3;
  border-top: 4px solid var(--ocre);
  box-shadow: 0 2px 8px rgba(13,74,74,.06);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(13,74,74,.1); }

.card-icon { width: 56px; height: 56px; margin-bottom: 1rem; }
.card-icon svg { width: 56px; height: 56px; display: block; }

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--vert);
  margin-bottom: .6rem;
}

.card p {
  color: var(--ocre-fonce);
  font-size: .92rem;
  margin-bottom: .9rem;
}

.card ul li {
  font-size: .9rem;
  padding: .25rem 0 .25rem 1.1rem;
  position: relative;
  color: var(--vert-fonce);
  border-bottom: 1px solid #CFE8E3;
}
.card ul li:last-child { border-bottom: none; }
.card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--ocre);
  font-weight: 700;
}

/* --- POURQUOI NOUS --- */
.why {
  background: var(--blanc);
  padding: 4.5rem 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid #CFE8E3;
  transition: border-color .2s;
}
.why-item:hover { border-color: var(--ocre); }

.why-icon { flex-shrink: 0; width: 28px; height: 28px; margin-top: .1rem; }
.why-icon svg { width: 28px; height: 28px; display: block; }

.why-item strong {
  display: block;
  font-size: .98rem;
  color: var(--vert-fonce);
  margin-bottom: .3rem;
  font-weight: 700;
}

.why-item p { font-size: .88rem; color: var(--ocre-fonce); }

/* --- ZONE D'INTERVENTION --- */
.zone {
  background: var(--vert-fonce);
  color: var(--blanc);
  padding: 4.5rem 0;
}

.zone h2 { color: var(--blanc); }
.zone h2::after { background: var(--ocre); }

.zone-intro {
  text-align: center;
  color: rgba(255,255,255,.8);
  max-width: 620px;
  margin: 0 auto 2rem;
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.zone-dept {
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 1.4rem;
  border: 1px solid rgba(255,255,255,.12);
  border-left: 4px solid var(--ocre);
}

.zone-dept h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--ocre);
  margin-bottom: .5rem;
}

.zone-dept p { font-size: .88rem; color: rgba(255,255,255,.8); }

.zone-note {
  text-align: center;
  font-size: .92rem;
  color: rgba(255,255,255,.7);
}
.zone-note strong { color: var(--blanc); }

/* --- CONTACT --- */
.contact {
  background: #EEF8F6;
  padding: 4.5rem 0;
  text-align: center;
}

.contact > .container > p { color: var(--ocre-fonce); margin-bottom: 1.5rem; }

.contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-line {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ocre);
  padding: .85rem 1.75rem;
  background: var(--blanc);
  border-radius: 8px;
  border: 2px solid var(--ocre);
  min-width: 320px;
  justify-content: center;
  transition: background .2s, color .2s;
}
.contact-line:hover {
  background: var(--ocre);
  color: var(--blanc);
}

.contact-horaires {
  font-size: .88rem;
  color: var(--ocre-fonce);
}

/* --- MENTIONS LÉGALES --- */
.legal {
  background: var(--blanc);
  padding: 3rem 0;
  border-top: 1px solid #CFE8E3;
}

.legal h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--vert-fonce);
  text-align: left;
  margin-bottom: 1rem;
}

.legal p {
  font-size: .85rem;
  color: var(--ocre-fonce);
  margin-bottom: .9rem;
  line-height: 1.7;
}

/* --- FOOTER --- */
.footer {
  background: var(--vert-fonce);
  color: var(--blanc);
  padding: 2rem 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-nap {
  font-size: .85rem;
  line-height: 1.8;
  color: rgba(255,255,255,.7);
}
.footer-nap strong { color: var(--blanc); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-links a:hover { color: var(--ocre); }

.footer-copy {
  text-align: center;
  padding: 1rem 0;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .header-inner { justify-content: space-between; }
  .logo-name { font-size: .95rem; }
  .contact-line { min-width: unset; width: 100%; }
  .footer-inner { flex-direction: column; }
}

/* --- CARD LINKS (maillage interne) --- */
.card-link {
  display: inline-block;
  margin-top: .75rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ocre);
  text-decoration: none;
  transition: color .2s;
}
.card-link:hover { color: var(--vert); text-decoration: underline; }
.card-links {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-top: .75rem;
}
