/* =====================================================
   AzurHome'Detect - CSS Principal
   Style fidèle au flyer : bleu profond, vague d'eau,
   typographie Barlow Condensed
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --blue-900: #0a1f5c;       /* bleu très foncé du flyer */
  --blue-800: #0f2d7a;
  --blue-700: #14389b;
  --blue-600: #1d4dd0;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --cyan: #00b4d8;
  --cyan-light: #4cc9f0;
  --white: #ffffff;
  --off-white: #f6f9ff;
  --gray-100: #eef2fa;
  --gray-200: #d8e0ee;
  --text-dark: #0a1f5c;
  --text-mid: #475569;
  --text-light: #94a3b8;
  --gold: #f5a623;
  --shadow-sm: 0 2px 8px rgba(10, 31, 92, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 31, 92, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 31, 92, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}

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

/* =====================================================
   LOGO SVG
   ===================================================== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.logo-mark {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--blue-900);
}
.logo-name .accent { color: var(--blue-600); }
.logo-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue-700);
  margin-top: 4px;
  text-transform: uppercase;
}

/* Variante logo sur fond foncé */
.logo--light .logo-name { color: white; }
.logo--light .logo-name .accent { color: var(--cyan); }
.logo--light .logo-sub { color: rgba(255,255,255,0.7); }

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  padding: 14px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s;
}
.nav .logo-mark { width: 44px; height: 44px; }
.nav .logo-name { font-size: 1.4rem; }
.nav .logo-sub { font-size: 0.55rem; }

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--blue-900);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover { background: var(--gray-100); color: var(--blue-600); }
.nav-links .btn-cta {
  background: var(--blue-600);
  color: white !important;
  padding: 10px 22px;
  font-weight: 700;
  margin-left: 8px;
}
.nav-links .btn-cta:hover { background: var(--blue-700); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--blue-900);
  cursor: pointer;
}

/* =====================================================
   HERO - reproduit la composition du flyer
   ===================================================== */
.hero {
  position: relative;
  padding: 140px 5% 0;
  background: var(--white);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 100px;
}
.hero-content { position: relative; z-index: 2; }
.hero-tag {
  display: inline-block;
  background: var(--blue-50, #e8efff);
  color: var(--blue-700);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--blue-900);
  margin-bottom: 28px;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}
.hero h1 .accent {
  color: var(--blue-600);
  display: block;
}
.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.65;
}
.hero-emphasis {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-emphasis::before {
  content: '';
  width: 30px;
  height: 3px;
  background: var(--blue-600);
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-badge-round {
  width: 240px;
  height: 240px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  box-shadow: 0 30px 80px rgba(10, 31, 92, 0.4);
  position: relative;
  animation: float 4s ease-in-out infinite;
}
.hero-badge-round .drop-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
}
.hero-badge-round h3 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.hero-badge-round .divider {
  width: 50px;
  height: 1px;
  background: rgba(255,255,255,0.4);
  margin: 6px 0;
}
.hero-badge-round h4 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
}

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

/* Vague d'eau (séparation hero / suite) */
.water-wave {
  position: relative;
  height: 80px;
  background: var(--blue-900);
}
.water-wave svg {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 80px;
}

/* =====================================================
   BOUTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-primary {
  background: var(--blue-600);
  color: white;
  box-shadow: 0 8px 24px rgba(29, 77, 208, 0.35);
}
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(29, 77, 208, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--blue-700);
  border: 2px solid var(--blue-700);
}
.btn-outline:hover { background: var(--blue-700); color: white; }
.btn-cyan {
  background: var(--cyan);
  color: var(--blue-900);
}
.btn-cyan:hover { background: var(--cyan-light); transform: translateY(-2px); }
.btn-white {
  background: white;
  color: var(--blue-700);
}
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }

/* =====================================================
   SECTIONS
   ===================================================== */
section { padding: 90px 5%; }
.container { max-width: 1280px; margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 12px;
  padding: 4px 14px;
  background: rgba(29, 77, 208, 0.08);
  border-radius: 100px;
}
.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--blue-900);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-subtitle {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =====================================================
   SECTION SERVICES (fond bleu, 4 cercles)
   ===================================================== */
.services {
  background: var(--blue-900);
  color: white;
  position: relative;
}
.services .section-tag {
  background: rgba(255,255,255,0.1);
  color: var(--cyan);
}
.services .section-title { color: white; }
.services .section-subtitle { color: rgba(255,255,255,0.7); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.service-item {
  text-align: center;
  padding: 30px 20px;
}
.service-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}
.service-item:hover .service-icon {
  transform: scale(1.08) rotate(-5deg);
}
.service-icon svg {
  width: 42px;
  height: 42px;
  color: white;
}
.service-item h3 {
  font-size: 1.4rem;
  text-transform: uppercase;
  color: white;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.service-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* =====================================================
   SECTION TARIFS (4 cartes blanches sur fond bleu)
   ===================================================== */
.tarifs {
  background: var(--blue-900);
  padding-top: 0;
  padding-bottom: 100px;
}
.tarifs .section-tag {
  background: rgba(255,255,255,0.1);
  color: var(--cyan);
}
.tarifs .section-title { color: white; }
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tarif-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s;
  box-shadow: var(--shadow-md);
}
.tarif-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 180, 216, 0.3);
}
.tarif-icon {
  padding: 30px 0 18px;
}
.tarif-icon svg {
  width: 60px;
  height: 60px;
  color: var(--blue-600);
}
.tarif-card h3 {
  font-size: 1.05rem;
  color: var(--blue-900);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 16px 22px;
  line-height: 1.2;
  font-weight: 800;
  min-height: 70px;
}
.tarif-price {
  background: var(--blue-900);
  color: white;
  padding: 22px 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  letter-spacing: -1px;
  line-height: 1;
}
.tarif-price small {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-left: 6px;
  color: rgba(255,255,255,0.7);
}
.tarifs-note {
  text-align: center;
  color: rgba(255,255,255,0.55);
  margin-top: 24px;
  font-size: 0.88rem;
  font-style: italic;
}

/* =====================================================
   SECTION FEATURES (3 colonnes blanches)
   ===================================================== */
.features {
  background: var(--off-white);
  padding: 70px 5%;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--blue-600);
}
.feature-item h4 {
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--blue-900);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  font-weight: 800;
}
.feature-item p {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* =====================================================
   FORMULAIRE DE CONTACT
   ===================================================== */
.contact-section {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  position: relative;
}
.contact-section .section-tag {
  background: rgba(255,255,255,0.1);
  color: var(--cyan);
}
.contact-section .section-title { color: white; }
.contact-section .section-subtitle { color: rgba(255,255,255,0.7); }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}
.contact-info-card {
  color: white;
}
.contact-info-card h3 {
  font-size: 1.6rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.contact-info-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.9);
}
.contact-info-line .icn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-line .icn svg { width: 22px; height: 22px; color: var(--cyan); }
.contact-info-line strong { font-size: 1.05rem; display: block; }
.contact-info-line span { font-size: 0.86rem; opacity: 0.7; }
.contact-info-line a { color: white; text-decoration: none; }

.contact-form-card {
  background: white;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}
.contact-form-card h3 {
  font-size: 1.4rem;
  color: var(--blue-900);
  text-transform: uppercase;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: var(--off-white);
  transition: all 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue-600);
  background: white;
  box-shadow: 0 0 0 3px rgba(29, 77, 208, 0.1);
}
textarea.form-control {
  min-height: 110px;
  resize: vertical;
  font-family: 'Inter', sans-serif;
}
.form-success {
  background: #dcfce7;
  border: 1px solid #16a34a;
  color: #166534;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-weight: 600;
}
.form-error {
  background: #fee2e2;
  border: 1px solid #dc2626;
  color: #991b1b;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-weight: 600;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: #050d2a;
  color: rgba(255,255,255,0.6);
  padding: 40px 5% 20px;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer h4 {
  color: white;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer p, .footer a { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.6); text-decoration: none; }
.footer a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1280px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.5;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 60px; }
  .hero-visual { order: -1; }
  .hero-badge-round { width: 180px; height: 180px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tarifs-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow-md);
    gap: 8px;
  }
  .nav-links.open a { width: 100%; text-align: center; }
  .mobile-toggle { display: block; }
  section { padding: 60px 5%; }
  .hero { padding-top: 110px; }
  .hero h1 { font-size: 2.5rem; }
  .services-grid, .tarifs-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
