/* ==================================================================
   DÉRATISEURS ÉCO — Coming soon
   Direction : Nature responsable · clarté · confiance
   Palette : ivoire #F7F4EC · teal #18605C · copper #CC8F51 · graphite #1A2624
   ================================================================== */

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

:root {
  --ivory: #f7f4ec;
  --ivory-warm: #efe9d9;
  --teal: #18605c;
  --teal-dark: #0f4440;
  --copper: #cc8f51;
  --copper-dark: #a87140;
  --graphite: #1a2624;
  --graphite-soft: #3a4946;
  --muted: #6b7470;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  background: var(--ivory);
  color: var(--graphite);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  position: relative;
  min-height: 100dvh;
}

/* Organic ambient shapes — painterly, out of the way */
.leaf {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

.leaf-1 {
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(24, 96, 92, 0.28) 0%, transparent 70%);
}

.leaf-2 {
  bottom: -140px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(204, 143, 81, 0.22) 0%, transparent 70%);
}

/* Layout */
.wrap {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding: clamp(28px, 5vw, 56px);
  gap: clamp(40px, 6vh, 72px);
  max-width: 1120px;
  margin: 0 auto;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  animation: fadeDown 1s 0.1s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
}

.logo {
  width: clamp(170px, 26vw, 240px);
  height: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(24, 96, 92, 0.04);
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(18px, 3vh, 28px);
  padding-top: clamp(16px, 4vh, 40px);
  animation: fadeUp 1.2s 0.4s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite-soft);
}

.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--copper);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 0 0 rgba(204, 143, 81, 0.6);
  animation: pulse 2.4s infinite;
}

.tagline {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 6.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--graphite);
  max-width: 14ch;
}

.highlight {
  color: var(--teal);
  font-weight: 600;
}

.lede {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.75;
  color: var(--graphite-soft);
  max-width: 56ch;
}

/* Three pillars */
.pillars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 32px);
  margin-top: clamp(16px, 3vh, 24px);
  padding-top: clamp(20px, 3vh, 28px);
  border-top: 1px solid rgba(26, 38, 36, 0.1);
}

.pillars li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pillar-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 300;
  color: var(--copper);
  letter-spacing: -0.02em;
}

.pillar-label {
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 500;
  color: var(--graphite);
  letter-spacing: 0.01em;
}

/* Contact */
.contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(20px, 3vh, 28px) 0;
  border-top: 1px solid rgba(26, 38, 36, 0.1);
  animation: fadeUp 1.2s 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
}

.contact-line {
  font-size: 14px;
  color: var(--graphite-soft);
}

.phone {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-bottom: 2px solid var(--copper);
  padding-bottom: 1px;
  margin-left: 6px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.phone:hover {
  color: var(--teal-dark);
  border-color: var(--copper-dark);
}

.zone {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Foot */
.foot {
  padding-top: 16px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  animation: fadeUp 1.2s 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(204, 143, 81, 0.5);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(204, 143, 81, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(204, 143, 81, 0);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .lede br {
    display: none;
  }
  .pillars {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pillars li {
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
  }
  .pillar-num {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulse {
    animation: none;
  }
  .brand,
  .hero,
  .contact,
  .foot {
    animation: none;
  }
}
