/* ====== GLOBAL ====== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #1f2937;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ====== TITRES ====== */
h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 0.75em;
}

h1 {
  font-size: 2.2rem;
  color: #2563eb;
}

h2 {
  font-size: 1.6rem;
  color: #2563eb;
}

h3 {
  font-size: 1.3rem;
  color: #1f2937;
}

/* ====== BOUTONS ====== */
.btn {
  display: inline-block;
  padding: 0.7em 1.2em;
  border-radius: 0.5em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.btn-red {
  background-color: #dc2626;
  color: #fff;
}

.btn-red:hover {
  background-color: #b91c1c;
  transform: scale(1.05);
}

.btn-blue {
  background-color: #2563eb;
  color: #fff;
}

.btn-blue:hover {
  background-color: #1d4ed8;
  transform: scale(1.05);
}

.btn-outline {
  border: 2px solid #2563eb;
  color: #2563eb;
  background: transparent;
}

.btn-outline:hover {
  background-color: #2563eb;
  color: #fff;
}

/* ====== CARTES ====== */
.card {
  background: #fff;
  border-radius: 0.75em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 1.5em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* ====== FOOTER ====== */
/* ================================
   Style personnalisé Vitrier Local
   ================================ */

/* ----- Polices & variables ----- */
:root {
  --font-main: "Inter", "Segoe UI", Roboto, sans-serif;
  --blue-corporate: #0044cc;    /* Bleu principal */
  --blue-light: #f0f7ff;        /* Fond bleu clair */
  --red-action: #d62828;        /* Rouge artisanal (hover, CTA) */
  --gray-footer: #6b7280;       /* Gris neutre texte */
}

/* ----- Footer global ----- */
footer {
  font-family: var(--font-main);
  letter-spacing: 0.2px;
  line-height: 1.6;
  background-color: var(--blue-light);
  color: #333;
}

footer h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-corporate);
  margin-bottom: 0.75rem;
}

footer a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

footer a:hover {
  color: var(--red-action);
  text-decoration: underline;
}

footer p,
footer li {
  font-size: 0.9rem;
  color: var(--gray-footer);
}

/* ----- Bandeau cookies ----- */
#cookie-banner {
  font-family: var(--font-main);
  font-size: 0.85rem;
  border-top: 2px solid var(--blue-corporate);
}

#cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

#cookie-banner button {
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-main);
}

#cookie-banner #accept-cookies {
  background-color: var(--blue-corporate);
}

#cookie-banner #accept-cookies:hover {
  background-color: #003399;
}

#cookie-banner #decline-cookies {
  background-color: #4b5563; /* gris */
}

#cookie-banner #decline-cookies:hover {
  background-color: #374151;
}

/* ----- Bouton appel mobile ----- */
a[href^="tel:"] {
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  font-family: var(--font-main);
}

a[href^="tel:"].fixed {
  background-color: var(--red-action);
  transition: background 0.2s ease-in-out;
}

a[href^="tel:"].fixed:hover {
  background-color: #b91c1c;
}


/* ====== NAVIGATION ====== */
header nav a {
  font-weight: 500;
  color: #374151;
  transition: color 0.2s ease-in-out;
}

header nav a:hover {
  color: #2563eb;
}

/* ====== BOUTON FLOTTANT ====== */
.call-button {
  position: fixed;
  bottom: 1.5em;
  right: 1.5em;
  background: #dc2626;
  color: #fff;
  padding: 0.8em 1.5em;
  border-radius: 2em;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.2s ease-in-out;
  z-index: 999;
}

.call-button:hover {
  background: #b91c1c;
  transform: scale(1.05);
}

/* Mobile only */
@media (min-width: 768px) {
  .call-button {
    display: none;
  }
}
