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

:root {
  --cream: #FAF7F2;
  --cream-dark: #F4EFE7;
  --green: #5C9E78;
  --green-light: #7BB898;
  --green-pale: #E8F3EE;
  --coral: #E8A08A;
  --coral-light: #F2C4B5;
  --lilac: #C4B8D4;
  --lilac-light: #DDD6EC;
  --yellow: #F0C040;
  --yellow-hover: #E0AD20;
  --text-dark: #2C2C2C;
  --text-mid: #666;
  --text-light: #999;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ===== NAV ===== */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

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

.logo-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  text-transform: uppercase;
}

.logo-tagline {
  font-size: 10px;
  color: var(--text-mid);
  font-style: italic;
  letter-spacing: 0.02em;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.active { color: var(--text-dark); }
.nav-links a.active::after { width: 100%; background: var(--coral); }

.btn-devis {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-devis:hover {
  background: var(--yellow-hover);
  transform: translateY(-1px);
}

.btn-devis .arrow { font-size: 16px; }

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  padding: 64px 48px 80px;
  position: relative;
  overflow: hidden;
  align-items: center;
  gap: 40px;
}

.hero-text { position: relative; z-index: 2; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 24px;
  max-width: 560px;
}

.hero-divider {
  width: 40px;
  height: 2px;
  background: var(--coral);
  margin-bottom: 28px;
  border-radius: 2px;
}

.hero-description {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

/* ===== ANIMATED CIRCLES & INFINITY ===== */
.hero-circles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}

.circle-coral {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(232,160,138,0.22) 0%, rgba(232,160,138,0.08) 60%, transparent 80%);
  top: -60px;
  right: -80px;
  animation: floatCircle1 8s ease-in-out infinite;
}

.circle-lilac {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(196,184,212,0.2) 0%, rgba(196,184,212,0.07) 60%, transparent 80%);
  bottom: -80px;
  right: 60px;
  animation: floatCircle2 10s ease-in-out infinite;
}

@keyframes floatCircle1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-12px, 18px) scale(1.04); }
  66% { transform: translate(8px, -10px) scale(0.97); }
}

@keyframes floatCircle2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(15px, -20px) scale(1.06); }
  70% { transform: translate(-8px, 12px) scale(0.95); }
}

/* Floating cards */
.hero-cards {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.hero-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 20px 28px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  max-width: 220px;
  position: relative;
  animation: cardFloat 6s ease-in-out infinite;
}

.hero-card:nth-child(2) {
  animation-delay: -3s;
  align-self: flex-end;
  margin-right: 10px;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.card-icon {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--coral);
}

.hero-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-dark);
  font-style: italic;
}

/* ===== INFINITY LOGO SVG (animated) ===== */
.infinity-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.12;
  animation: infinitySpin 20s linear infinite;
}

@keyframes infinitySpin {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.08); }
  100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}

/* ===== WAVE SECTION ===== */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -2px;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--cream);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.cta-banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-phone-icon {
  width: 40px;
  height: 40px;
  color: var(--coral);
  flex-shrink: 0;
}

.cta-banner-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.cta-banner-text p {
  font-size: 13px;
  color: var(--text-mid);
}

/* ===== SERVICES GRID ===== */
.services {
  padding: 64px 48px;
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius);
  padding: 36px 28px 32px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.service-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ===== SECTION HEADINGS ===== */
.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-divider {
  width: 40px;
  height: 2px;
  background: var(--coral);
  margin-bottom: 24px;
  border-radius: 2px;
}

/* ===== APPROACH SECTION ===== */
.approach {
  padding: 80px 48px;
  background: var(--cream-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.approach-values {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  margin-top: 7px;
  flex-shrink: 0;
}

.value-item h4 {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.value-item p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 48px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .logo-name { color: white; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.5); }

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 16px;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ===== ANIMATED WAVES ===== */
.waves-section {
  position: relative;
  height: 100px;
  overflow: hidden;
  background: var(--cream);
}

.animated-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
}

.wave-path {
  animation: waveMove 8s linear infinite;
}
.wave-path:nth-child(2) {
  animation-duration: 12s;
  animation-direction: reverse;
  opacity: 0.6;
}
.wave-path:nth-child(3) {
  animation-duration: 16s;
  opacity: 0.4;
}

@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== INFINITY ANIMATED ===== */
.infinity-svg-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.infinity-path {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: infinityDraw 3s ease forwards, infinityPulse 4s ease-in-out 3s infinite;
}

@keyframes infinityDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes infinityPulse {
  0%, 100% { opacity: 1; stroke-dashoffset: 0; }
  50% { opacity: 0.7; stroke-dashoffset: 40; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 48px 24px; }
  .hero-visual { min-height: 260px; }
  .services-grid { grid-template-columns: 1fr; }
  .approach { grid-template-columns: 1fr; padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { flex-direction: column; padding: 32px 24px; gap: 24px; }
  .services { padding: 48px 24px; }
}
