body {
  margin: 0;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  background: #ffffff;
  color: #111111;
  background-image: none;
  background-repeat: repeat;
}
#bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
}
body > *:not(#bg-particles) {
  position: relative;
  z-index: 1;
}
.banner {
  background: linear-gradient(90deg, #000000 0%, #333333 100%);
  color: #ffffff;
  padding: 2rem 1rem 1rem 1rem;
  text-align: center;
  position: relative;
  will-change: background-position;
  background-attachment: fixed;
  background-position: center 0;
  transition: background-position 0.3s;
}
.slogan {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #dddddd;
}
nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: bold;
  transition: color 0.3s, background 0.4s, box-shadow 0.4s, transform 0.2s;
  position: relative;
  overflow: hidden;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  background: #000000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
nav a:hover {
  color: #000000;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15), 0 1.5px 8px rgba(0,0,0,0.2);
  transform: translateY(-2px) scale(1.07);
  text-shadow: none;
}
nav a::after {
  content: none;
}
nav a:hover::after {
  width: 200%;
  height: 200%;
}
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}
section {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 4px 16px rgba(0,0,0,0.15);
  margin-bottom: 3rem;
  padding: 2rem;
}
.menu-preview a, .contacto a {
  color: #b32d00;
  text-decoration: underline;
}
footer {
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}
/* Animations */
.anim-fadein, .anim-slidein {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 1.1s cubic-bezier(.4,0,.2,1), transform 1.1s cubic-bezier(.4,0,.2,1);
}
.anim-fadein.visible, .anim-slidein.visible {
  opacity: 1;
  transform: translateY(0) scale(1.03);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 6px 20px rgba(0,0,0,0.2);
}
.galeria-fotos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.photo-case {
  background: #f7f7f7;
  border: 2px solid #cccccc;
  border-radius: 10px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  font-size: 1.1rem;
  font-style: italic;
  transition: box-shadow 0.3s, background 0.3s;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.photo-case:hover {
  background: #eeeeee;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
h2 {
  position: relative;
  color: #000000;
  text-shadow: 0 1px 0 #ffffff;
  z-index: 1;
}
/* Séparateurs supprimés
.separator-motif {
  position: relative;
  width: 100%;
  height: 28px;
  margin: 2rem 0;
}
.separator-motif::before,
.separator-motif::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #000000;
  opacity: 0.35;
}
.separator-motif::before {
  top: 40%;
}
.separator-motif::after {
  top: 60%;
}
.separator-motif span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #000000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.55;
}
*/
.lista-especialidades {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0 0;
}
.icon-plat {
  font-size: 2rem;
  margin-right: 0.7rem;
  vertical-align: middle;
}
.testimonios {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2rem 0;
}
.testimonio {
  background: #fff8f0cc;
  border-left: 5px solid #e6c77b;
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  font-style: italic;
  box-shadow: 0 2px 8px #b32d0033;
  max-width: 600px;
}
.btn-flottant-redes {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-flottant-redes a {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px #b32d0033;
  padding: 6px;
  transition: box-shadow 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-flottant-redes a:hover {
  background: #e6c77b;
  box-shadow: 0 4px 16px #b32d0055;
}
.lang-switcher {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}
.lang-btn {
  background: #ffffff;
  color: #000000;
  border: 1.5px solid #cccccc;
  border-radius: 6px;
  padding: 0.3rem 0.8rem;
  font-weight: bold;
  margin-left: 0.2rem;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s, color 0.2s;
  outline: none;
  font-size: 1rem;
}
.lang-btn:focus {
  box-shadow: 0 0 0 3px #888888;
  background: #eeeeee;
  color: #000000;
}
.lang-btn:hover {
  background: #000000;
  color: #ffffff;
}
nav a, .lang-btn, button {
  z-index: 1;
}
.transition-page {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff8f0;
  opacity: 0;
  pointer-events: none;
  z-index: 2000;
  transition: opacity 0.7s;
}
.transition-page.active {
  opacity: 1;
  pointer-events: all;
}
#logo-casasidi {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 1.2s cubic-bezier(.4,0,.2,1), transform 1.2s cubic-bezier(.4,0,.2,1);
}
#logo-casasidi.visible {
  opacity: 1;
  transform: scale(1);
}
.logo-casasidi {
  width: 160px !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}
:root {
  --font-size: 16px;
}
html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}
.access-contraste {
  filter: contrast(1.2);
}
.access-bigtext {
  font-size: 1.15em;
}
/* Favicon */
/* À ajouter dans le <head> :
<link rel="icon" type="image/png" href="https://em-content.zobj.net/source/telegram/358/shallow-pan-of-food_1f958.png" />
*/
.redes-sociales {
  margin-top: 2.5rem;
  text-align: center;
}
.redes-sociales h3 {
  margin-bottom: 1rem;
  color: #000000;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}
.lista-redes {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.lista-redes li a img {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  transition: transform 0.25s cubic-bezier(.4,0,.2,1), box-shadow 0.25s;
  width: 38px;
  height: 38px;
}
.lista-redes li a:hover img {
  transform: scale(1.25);
  box-shadow: 0 4px 16px #e6c77b88;
  background: transparent;
}
.photo-crop {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  min-height: 140px;
  display: block;
}
.galeria-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.galeria-row:last-child {
  margin-bottom: 0;
}
.galeria-row .photo-case {
  flex: 1 1 0;
}
.photo-crop-large {
  width: 100%;
  aspect-ratio: 2/1;
  min-height: 140px;
}
.grid-facade {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 1.5rem;
}
.photo-grid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 10px;
  box-shadow: 0 2px 8px #b32d0033;
}
.photo-grid-img-large {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
  height: 320px;
  object-fit: contain;
  background: #fff;
  object-position: center;
  display: block;
  margin: 0 auto;
}
.photo-galerie-entiere {
  display: block;
  max-width: 100%;
  max-height: 400px;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
.menu-lista {
  max-width: 900px;
  margin: 2rem auto;
}
.menu-plats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 901px) {
  .menu-plats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .menu-plats li {
    font-size: 1.1rem;
  }
  .menu-plats .photo-case {
    width: 160px;
    height: 160px;
  }
  .photo-case-img {
    min-width: 160px;
    min-height: 160px;
    max-width: 160px;
    max-height: 160px;
  }
}
.menu-plats li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.3rem;
  background: #f7f7f7;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  padding: 1rem 1.2rem;
}
.menu-plats .photo-case {
  width: 200px;
  height: 200px;
  background: #ffffff;
  border: 2px solid #dddddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #111111;
  transition: box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.menu-plats .photo-case:hover {
  background: #eeeeee;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.photo-case-img {
  width: 100%;
  height: 100%;
  min-width: 200px;
  min-height: 200px;
  max-width: 200px;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.presentacion,
.presentacion.anim-fadein,
.presentacion.visible {
  opacity: 1 !important;
  transform: none !important;
  display: block !important;
}
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  margin: 0 auto 1rem auto;
  z-index: 1200;
}
.burger-menu span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #000000;
  border-radius: 2px;
  transition: all 0.3s;
}
.burger-menu.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger-menu.active span:nth-child(2) {
  opacity: 0;
}
.burger-menu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.burger-fixed {
  display: flex !important;
  position: fixed !important;
  top: 20px !important;
  left: 20px !important;
  z-index: 9999 !important;
  background: #ffffff;
  border: 2px solid #000000;
  padding: 10px;
  border-radius: 8px;
}
@media (min-width: 901px) {
  .burger-fixed {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
@media (max-width: 900px) {
  .burger-menu {
    display: flex !important;
  }
  nav#main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: #fff8f0ee;
    box-shadow: 0 4px 24px #b32d0033;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
    height: 100vh;
    width: 100vw;
    z-index: 1100;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
    opacity: 0;
  }
  nav#main-nav.open {
    transform: translateY(0);
    pointer-events: all;
    opacity: 1;
  }
  nav#main-nav a {
    display: block;
    margin: 1.5rem 0;
    font-size: 1.4rem;
    color: #fff;
    background: #b35c00;
    box-shadow: 0 2px 8px #b32d0033;
    border-radius: 0;
    text-align: center;
    width: 100%;
    padding: 0.7rem 0;
  }
  nav#main-nav a:hover {
    background: #ffe5c0;
    color: #b32d00;
    box-shadow: none;
    transform: none;
  }
  .banner nav#main-nav {
    margin-top: 0;
  }
  .main-nav {
    display: none;
  }
  .main-nav.open {
    display: flex;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    display: block;
    margin: 0.7rem 0;
    font-size: 1.2rem;
    color: #ffffff;
    background: #000000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border-radius: 12px;
    text-align: center;
    width: 100%;
    max-width: 340px;
    padding: 1.1rem 0.5rem;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 900px) {
  nav#main-nav {
    display: flex;
  }
  nav#main-nav:not(.open) {
    display: none;
  }
}
@media (max-width: 700px) {
  .grid-facade {
    grid-template-columns: 1fr;
    grid-template-rows: 160px 160px 160px;
  }
  .photo-grid-img-large {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    height: 220px;
  }
  .photo-galerie-entiere {
    max-height: 220px;
  }
  .galeria-fotos .photo-galerie-entiere {
    width: 100%;
    height: 240px;
    max-width: 100%;
    max-height: 240px;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
  }
  /* Navigation mobile adaptée */
  nav#main-nav a {
    font-size: 0.95rem;
    margin: 0.8rem 2rem;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    width: calc(100% - 4rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* Menu adapté pour mobile */
  .menu-plats li {
    font-size: 1rem;
    padding: 0.8rem 1rem;
    gap: 0.8rem;
  }
  .menu-plats .photo-case {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    max-width: 120px;
    max-height: 120px;
  }
  .photo-case-img {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    max-width: 120px;
    max-height: 120px;
  }
}
.footer-shortcuts {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer-btn {
  background: linear-gradient(90deg, #eeeeee 0%, #cccccc 100%);
  color: #000000;
  font-weight: bold;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.3s, color 0.3s, transform 0.2s;
  border: none;
  outline: none;
  display: inline-block;
}
.footer-btn:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
} 
.photo-galerie-entiere, .photo-case-img {
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
}
.photo-galerie-entiere:hover {
  transform: scale(1.09);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 2px 8px rgba(0,0,0,0.2);
  z-index: 2;
}
.photo-case-img:hover {
  transform: scale(1.16);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 2px 8px rgba(0,0,0,0.2);
  z-index: 2;
} 
@media (max-width: 700px) {
  .footer-shortcuts {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .footer-btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    font-size: 1rem;
    padding: 1rem 0.5rem;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    border-radius: 10px;
    box-sizing: border-box;
    display: block;
  }
} 