:root {
  --primary-dark: #0f172a;
  --secondary-dark: #1e293b;
  --accent-color: #3b82f6;
  --accent-hover: #2563eb;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.05);
  
  --color-green: #10b981;
  --color-red: #ef4444;
  --color-orange: #f59e0b;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-cta {
  background-color: var(--accent-color);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Scope aw- (Agence Web) */
.aw-scope {
  padding-top: 80px; /* Space for fixed header */
}

/* Section 1: Hero */
.aw-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
              radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
}

.aw-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&q=80') center/cover;
  opacity: 0.15;
  z-index: -1;
  filter: grayscale(100%) contrast(120%);
}

.aw-hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 1;
}

.aw-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeUp 0.8s ease-out;
}

.aw-hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  animation: fadeUp 1s ease-out;
}

.aw-cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeUp 1.2s ease-out;
}

.aw-btn-primary {
  background: var(--accent-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.aw-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.aw-kpi-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.aw-kpi-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s;
}

.aw-kpi-item:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Common Section Styles */
.aw-section {
  padding: 6rem 0;
}

.aw-section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.aw-section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Split Columns */
.aw-split {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
}

.aw-split-col {
  flex: 1 1 400px;
}

.aw-split img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  transition: transform 0.5s ease;
}

.aw-split img:hover {
  transform: scale(1.02);
}

/* Cards Grid */
.aw-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.aw-card {
  background: var(--secondary-dark);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.aw-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.aw-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.aw-card:hover::before {
  width: 8px;
}

.aw-card-orange::before { background: var(--color-orange); }
.aw-card-orange:hover { border-color: var(--color-orange); }

.aw-card-green::before { background: var(--color-green); }
.aw-card-green:hover { border-color: var(--color-green); }

.aw-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #fff;
}

/* Do / Don't List */
.aw-do-dont {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.aw-do, .aw-dont {
  flex: 1 1 300px;
  background: var(--secondary-dark);
  border-radius: 16px;
  padding: 2rem;
  border-top: 4px solid;
}

.aw-do { border-top-color: var(--color-green); }
.aw-dont { border-top-color: var(--color-red); }

.aw-list {
  list-style: none;
}

.aw-list li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.aw-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: bold;
}

.aw-dont .aw-list li::before {
  content: '✗';
  color: var(--color-red);
}

/* Stats */
.aw-stats-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aw-stat-item {
  background: var(--glass-bg);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  border-left: 4px solid var(--accent-color);
}

.aw-stat-value {
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

/* Pills */
.aw-pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.aw-pill {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 1rem;
  border-radius: 50px;
  text-align: center;
  transition: all 0.3s;
}

.aw-pill:hover {
  background: var(--accent-color);
  color: #fff;
}

/* Map */
.aw-map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Maillage Villes (Critical for SEO) */
.aw-maillage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.aw-ville-card {
  position: relative;
  background: var(--secondary-dark);
  border-radius: 12px;
  padding: 1.5rem;
  border-left: 4px solid var(--color-orange);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.aw-ville-card:hover {
  transform: translateY(-5px);
  background: rgba(245, 158, 11, 0.1);
}

.aw-ville-link {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  opacity: 0;
}

.aw-ville-card strong {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.aw-ville-card span.meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.aw-ville-card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.aw-ville-card span.cta {
  color: var(--color-orange);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Voisines Links */
.aw-voisines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.aw-voisine-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  transition: all 0.3s;
}

.aw-voisine-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-color);
}

/* FAQ */
.aw-faq details {
  background: var(--secondary-dark);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.aw-faq summary {
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.aw-faq summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-color);
}

.aw-faq details[open] summary::after {
  content: '-';
}

.aw-faq .faq-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

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

@media (max-width: 768px) {
  .aw-section { padding: 4rem 0; }
  .aw-hero h1 { font-size: 2rem; }
  .aw-split { gap: 2rem; }
}
