/* Base */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #06233b;
  background: linear-gradient(to bottom, #e8f2ff, #ffffff);
}

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

.container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */

.site-header {
  background: #0c2741;
  color: #f5fbff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-wrap {
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.logo {
  height: 80px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}

.brand-subtitle {
  font-size: 0.85rem;
  opacity: 0.9;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  color: #f5fbff;
  text-decoration: none;
  margin-left: 18px;
  font-size: 1rem;
  position: relative;
}

.main-nav a:first-child {
  margin-left: 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #ffd84a;
  transition: width 0.2s ease-out;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  min-height: 280px;
  background-image: url("img/hero-hiver-camion.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.45), transparent),
              linear-gradient(to bottom, rgba(5,27,49,0.7), rgba(5,27,49,0.4));
}

.hero-content {
  position: relative;
  padding: 50px 0;
  color: #f5fbff;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: 2.1rem;
}

.hero-lead {
  margin: 0;
  font-size: 1.05rem;
  max-width: 440px;
}

/* Sections */

.section {
  padding: 40px 0;
}

.section-alt {
  background: #f0f5ff;
}

h1, h2, h3 {
  margin-top: 0;
  color: #0c2741;
}

/* Tournée */

.tournee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.tournee-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(4, 33, 63, 0.12);
  border: 2px solid #d1e3ff;
}

.tournee-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.tournee-ville {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tournee-large {
  text-align: center;
}

/* Commande */

.commande-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.commande-contact {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 8px 20px rgba(4, 33, 63, 0.12);
  border: 2px solid #d1e3ff;
  font-size: 0.95rem;
}

.phone-link {
  font-weight: 600;
  color: #0c2741;
  text-decoration: none;
}

.phone-link:hover {
  text-decoration: underline;
}

.btn-primary {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffcc33;
  color: #0c2741;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

/* Carte */

.intro {
  max-width: 600px;
}

.carte-bloc {
  margin-top: 30px;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(to bottom, #fff7e1, #ffeccd);
  box-shadow: 0 8px 20px rgba(4, 33, 63, 0.08);
  border: 1px solid #f3d39e;
}

.carte-bloc h2 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #b85a12;
}

.pizza-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 24px;
}

.pizza-list li strong {
  font-size: 1rem;
}

.pizza-list li span {
  font-size: 0.92rem;
}

.note-prix {
  margin-top: 28px;
  font-size: 0.9rem;
  color: #43556b;
}

/* Footer */

.site-footer {
  background: #0c2741;
  color: #f5fbff;
  padding: 16px 0;
  margin-top: 30px;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive */

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    gap: 10px;
  }

  .logo {
    height: 70px;
  }

  .main-nav {
    margin-top: 4px;
    gap: 10px;
  }

  .main-nav a {
    margin-left: 0;
    margin-right: 12px;
  }

  .hero {
    min-height: 220px;
  }

  .hero-content {
    padding: 35px 0;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-lead {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .commande-grid {
    grid-template-columns: 1fr;
  }
}
