html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
  padding-top: 120px;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #990000;
  margin-bottom: 10px;
}

h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

h3 {
  font-size: 1.4rem;
  margin-top: 10px;
  color: #C44740;
}

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

a[href^="tel"],
a[href^="mailto"] {
  text-decoration: underline;
  color: #990000;
  font-weight: bold;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

header {
  background-color: #111;
  padding: 15px 0;
  height: 100px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo img {
  height: 110px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: #fff;
  font-weight: bold;
  transition: color 0.3s;
  font-size: 1.6rem;
}

nav ul li a:hover {
  color: #990000;
}

#menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  position: absolute;
  top: 30px;
  right: 20px;
}

#mobile-menu {
  display: none;
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  background-color: #111;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  z-index: 1000;
}

#mobile-menu.show {
  display: flex;
}

#mobile-menu li a {
  color: #fff;
  font-size: 1.4rem;
  text-align: center;
}

.banner {
  background: url('images/sombre.jpg') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner-text {
  background-color: #2b2f31;
  padding: 50px;
  border-radius: 10px;
  margin: auto;
}

.banner-text h1 {
  font-size: 3.5rem;
  color: #C44740;
}

.banner-text p {
  color: #fff;
  font-size: 1.2rem;
  margin-top: 10px;
}

.histoire,
.produits,
.equipe,
.contact {
  padding: 60px 0;
}

.section-blanc {
  background-color: #ffffff;
}

.section-gris {
  background-color: #eeeeee;
}

.histoire-content,
.plats-content {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.histoire-content img,
.plats-content img {
  max-width: 45%;
  border-radius: 10px;
}

.texte-bloc {
  flex: 1;
  text-align: justify;
  font-size: 1.1rem;
}

.produits-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.produit {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.produit img {
  width: 100%;
  border-radius: 10px;
}

.produit p {
  font-size: 0.95rem;
  color: #555;
}

.equipe-grid {
  background-color: #f5f5f5;
  padding: 50px 0;
}

.grid-personnes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.personne {
  text-align: center;
}

.personne img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.personne p {
  margin: 5px 0;
  font-style: italic;
  color: #555;
}

form {
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;
  margin: 40px auto 0;
  padding: 20px;
  background-color: #2B2F31;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

form label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  color: #CC5E5A;
}

form input,
form textarea {
  text-align: center;
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
}

form button {
  background-color: #990000;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #c44740;
}

footer {
  background-color: #111;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .histoire-content,
  .plats-content {
    flex-direction: column;
  }

  .histoire-content img,
  .plats-content img {
    max-width: 100%;
  }

  nav ul {
    display: none;
  }

  #menu-toggle {
    display: block;
  }
}

.contact {
  padding: 60px 0;
  text-align: center;
}
.contact p, .contact h3, .contact form {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  margin: 0 10px;
  display: inline-block;
}

.social-icons img {
  width: 30px;
  height: 30px;
}
.btn{
  display:inline-block; padding:12px 20px; border-radius:9999px;
  background:#990000; color:#fff; font-weight:bold; transition:transform .12s, background .2s;
}
.btn:hover{ background:#c44740; transform:translateY(-1px); }
.section-cta{ text-align:center; margin-top:16px; }
.features .feature-tile{
  background:#f7f7f7; padding:10px 12px; border-radius:10px; font-weight:600;
}

/* Lien actif dans la nav (desktop + burger) */
nav ul li a.active,
#mobile-menu li a.active {
  color: #990000;
}

/* Galerie produits */
.gallery{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:16px;
}
.gallery img{
  width:100%;
  height:auto;
  border-radius:10px;
  object-fit:cover;
  aspect-ratio: 4 / 3; /* garde un ratio régulier, rend la grille propre */
}

.footer-links { margin-top: 8px; }
.footer-links a { color: #fff; text-decoration: underline; }
.footer-links a:hover { color: #c44740; }

.section-air { 
  padding: 90px 0;           
}
.section-air h2 { 
  margin-bottom: 28px;      
}
.section-air p { 
  margin-bottom: 22px;      
}
.section-air .section-cta { 
  margin-top: 28px;         
}
.section-air .btn { 
  margin: 0 12px;      
}

@media (max-width: 768px){
  .section-air { padding: 70px 0; }
  .section-air .btn { display:inline-block; margin:8px 8px; }
}
.section-pad { padding: 60px 0; }
@media (max-width:768px){ .section-pad { padding: 50px 0; } }

/* Section carte Contact */
.map-section { padding: 60px 0 30px; }         /* espace au-dessus et en dessous */
.map-wrap { max-width: 1100px; margin: 0 auto; } /* centre la carte et limite la largeur max */
.map-embed {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;  /* ratio propre et responsive */
  border: 0;
  border-radius: 12px;
}

/* Fallback anciens navigateurs (sans aspect-ratio) */
@supports not (aspect-ratio: 1) {
  .map-embed { height: 60vh; }
}

/* Mobile : un peu plus haut si tu veux */
@media (max-width: 768px) {
  .map-section { padding: 50px 0 24px; }
  .map-embed { aspect-ratio: 4 / 3; } /* optionnel : plus de hauteur sur mobile */
}
