
:root {
  --bg: #f7f7fb;
  --card: #ffffff;
  --text: #222;
  --muted: #666;
  --primary: #2f7ae5;
  --primary-dark: #2262bb;
}

* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  padding-top: 70px;
}

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.app-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.app-logo:hover {
  color: var(--primary-dark);
}

.app-logo-emoji {
  font-size: 28px;
}
header {
  text-align: center;
  padding: 16px;
}
header h1 { margin: 0; }
header p { color: var(--muted); margin-top: 4px; }
ul { margin: 6px 0 0 18px; }

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px;
}

.card {
  background: var(--card);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.field { margin-bottom: 10px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

#from-autocomplete-container,
#to-autocomplete-container {
  width: 100%;
}

#from-autocomplete-container gmp-place-autocomplete,
#to-autocomplete-container gmp-place-autocomplete {
  width: 100%;
}

#from-autocomplete-container gmp-place-autocomplete input,
#to-autocomplete-container gmp-place-autocomplete input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}
.row { display: flex; gap: 8px; flex-wrap: wrap; }
button {
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  background: #eee;
  color: #111;
  font-weight: 600;
  cursor: pointer;
}
button:hover { filter: brightness(0.98); }
button.primary {
  background: var(--primary);
  color: white;
}
button.primary:hover { background: var(--primary-dark); }
button.large { width: 100%; padding: 14px 16px; font-size: 16px; border-radius: 12px; }
.price { font-size: 14px; font-weight: 600; margin-left: 8px; align-self: center; }
.note { color: var(--muted); margin-top: 8px; }

/* Encart tarification bleu */
.pricing-box {
  background: #eef4ff;
  border: 1px solid #d7e4ff;
  border-radius: 12px;
  padding: 14px;
  margin: 12px 0 8px;
}
.pricing-box__title {
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-box__title::before {
  content: "€";
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #2f7ae5;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.price-line { margin-top: 6px; color: #333; }

/* Footer amélioré */
footer {
  background: #f9fafc;
  padding: 24px 16px;
  margin-top: 24px;
  font-size: 14px;
  color: #444;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 16px;
  text-align: left;
}
footer h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: #2f7ae5;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 6px; }
footer a { text-decoration: none; color: #444; }
footer a:hover { color: #2f7ae5; }
.footer-bottom {
  border-top: 1px solid #ddd;
  padding-top: 12px;
  text-align: center;
  font-size: 13px;
  color: #666;
}

.nav-btn {
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s;
}
.nav-btn:hover {
  background: var(--primary-dark);
}
