/* Pizza Hum — Luxe / Chic Italien */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --noir: #0a0a0a;
  --noir-soft: #1a1a1a;
  --or: #c9a961;
  --or-light: #e4c989;
  --bordeaux: #6b1414;
  --creme: #f7f3ed;
  --gris: #888;
  --border: rgba(201,169,97,0.2);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--creme);
  color: var(--noir);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 500; letter-spacing: 0.5px; }
a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; display: block; }

/* HEADER */
header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 5%;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
  transition: all 0.4s ease;
}
header.scrolled { background: rgba(10,10,10,0.95); backdrop-filter: blur(10px); padding: 14px 5%; }
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 600;
  color: #fff; letter-spacing: 2px;
}
.logo span { color: var(--or); font-style: italic; }
nav ul { display: flex; gap: 38px; list-style: none; }
nav a {
  color: #fff; font-size: 13px; text-transform: uppercase;
  letter-spacing: 2px; position: relative; padding: 6px 0;
}
nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--or); transition: width 0.3s ease;
}
nav a:hover::after, nav a.active::after { width: 100%; }
nav a:hover { color: var(--or); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 26px; height: 2px; background: #fff; transition: 0.3s; }

/* HERO */
.hero {
  height: 100vh; min-height: 600px;
  background: linear-gradient(rgba(10,10,10,0.55), rgba(10,10,10,0.7)), url('https://images.unsplash.com/photo-1565299624946-b28f40a0ae38?w=1920') center/cover;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; position: relative;
}
.hero-content { max-width: 900px; padding: 0 20px; animation: fadeUp 1.2s ease; }
.hero .subtitle {
  font-size: 13px; letter-spacing: 6px; text-transform: uppercase;
  color: var(--or); margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 92px); line-height: 1.05; margin-bottom: 24px;
  font-weight: 400;
}
.hero h1 em { color: var(--or); font-style: italic; }
.hero p { font-size: 17px; max-width: 600px; margin: 0 auto 40px; opacity: 0.9; }
.btn {
  display: inline-block; padding: 16px 42px;
  background: var(--or); color: var(--noir);
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 600; border: 1px solid var(--or);
  transition: all 0.3s ease; cursor: pointer;
}
.btn:hover { background: transparent; color: var(--or); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--noir); }
.btn-dark { background: var(--noir); color: var(--or); border-color: var(--noir); }
.btn-dark:hover { background: transparent; color: var(--noir); border-color: var(--noir); }

/* SECTIONS */
section { padding: 110px 5%; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 70px; }
.section-head .label {
  font-size: 12px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--or); margin-bottom: 16px; display: block;
}
.section-head h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.1; margin-bottom: 18px; }
.section-head h2 em { color: var(--bordeaux); font-style: italic; }
.section-head p { color: var(--gris); font-size: 16px; }

/* ABOUT */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-img { position: relative; }
.about-img img { width: 100%; height: 560px; object-fit: cover; }
.about-img::after {
  content: ''; position: absolute; top: 25px; left: 25px; right: -25px; bottom: -25px;
  border: 1px solid var(--or); z-index: -1;
}
.about-text .label { color: var(--or); font-size: 12px; letter-spacing: 5px; text-transform: uppercase; margin-bottom: 16px; display: block; }
.about-text h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 24px; line-height: 1.1; }
.about-text h2 em { color: var(--bordeaux); font-style: italic; }
.about-text p { color: #555; margin-bottom: 18px; font-size: 16px; }
.about-signature { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; color: var(--or); margin-top: 30px; }

/* SPECIALITES (sélection pizzas) */
.specialites { background: var(--creme); }
.pizza-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; max-width: 1200px; margin: 0 auto; }
.pizza-card { background: #fff; transition: all 0.4s ease; }
.pizza-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.pizza-card .img-wrap { position: relative; overflow: hidden; height: 280px; }
.pizza-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pizza-card:hover img { transform: scale(1.08); }
.pizza-card .info { padding: 28px 26px; text-align: center; }
.pizza-card h3 { font-size: 24px; margin-bottom: 8px; }
.pizza-card p { color: var(--gris); font-size: 14px; margin-bottom: 16px; min-height: 42px; }
.pizza-card .price { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--or); font-weight: 600; }

/* REASSURANCE */
.reassurance { background: var(--noir); color: #fff; padding: 80px 5%; }
.reassurance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto; text-align: center; }
.reass-item svg { color: var(--or); margin-bottom: 18px; }
.reass-item h4 { font-size: 20px; margin-bottom: 8px; }
.reass-item p { color: #aaa; font-size: 14px; }

/* CTA */
.cta {
  background: linear-gradient(rgba(10,10,10,0.7), rgba(10,10,10,0.85)), url('https://images.unsplash.com/photo-1571066811602-716837d681de?w=1920') center/cover fixed;
  text-align: center; color: #fff;
}
.cta h2 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 20px; }
.cta h2 em { color: var(--or); font-style: italic; }
.cta p { max-width: 600px; margin: 0 auto 36px; opacity: 0.9; }

/* GALERIE */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1300px; margin: 0 auto; }
.gallery-grid .item { overflow: hidden; height: 320px; cursor: pointer; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-grid .item:hover img { transform: scale(1.1); }

/* TARIFS */
.tarifs-list { max-width: 900px; margin: 0 auto; }
.tarif-cat { margin-bottom: 60px; }
.tarif-cat h3 { font-size: 32px; color: var(--bordeaux); text-align: center; margin-bottom: 36px; font-style: italic; }
.tarif-item {
  display: flex; align-items: center; gap: 24px;
  padding: 22px 0; border-bottom: 1px dashed var(--border);
}
.tarif-item img { width: 110px; height: 110px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.tarif-info { flex: 1; }
.tarif-info h4 { font-size: 22px; margin-bottom: 6px; }
.tarif-info p { color: var(--gris); font-size: 14px; }
.tarif-prix { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--or); font-weight: 600; flex-shrink: 0; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1100px; margin: 0 auto; }
.contact-info h3 { font-size: 28px; margin-bottom: 24px; }
.contact-info .info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info .info-item svg { color: var(--or); flex-shrink: 0; margin-top: 3px; }
.contact-info .info-item strong { display: block; margin-bottom: 4px; }
.contact-info .info-item span { color: var(--gris); font-size: 15px; }
.contact-form { background: #fff; padding: 40px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; margin-bottom: 16px;
  border: 1px solid var(--border); background: var(--creme);
  font-family: inherit; font-size: 15px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--or); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.map-wrap { margin-top: 50px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.map-wrap iframe { width: 100%; height: 380px; border: 1px solid var(--border); filter: grayscale(30%); }

/* PAGE INTERIEURE HEADER */
.page-hero {
  height: 50vh; min-height: 360px;
  background: linear-gradient(rgba(10,10,10,0.6), rgba(10,10,10,0.75)), url('https://images.unsplash.com/photo-1513104890138-7c749659a591?w=1920') center/cover;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding-top: 70px;
}
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 12px; }
.page-hero h1 em { color: var(--or); font-style: italic; }
.page-hero p { font-size: 14px; letter-spacing: 4px; text-transform: uppercase; opacity: 0.8; }

/* FOOTER */
footer { background: var(--noir); color: #aaa; padding: 70px 5% 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; max-width: 1200px; margin: 0 auto 40px; }
footer h4 { color: #fff; font-size: 18px; margin-bottom: 18px; font-family: 'Cormorant Garamond', serif; letter-spacing: 2px; }
footer .logo { font-size: 26px; margin-bottom: 14px; }
footer p, footer a { font-size: 14px; color: #aaa; }
footer a:hover { color: var(--or); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
.socials { display: flex; gap: 14px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: all 0.3s;
}
.socials a:hover { background: var(--or); border-color: var(--or); color: var(--noir); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; font-size: 13px; color: #666; }

/* COOKIES */
.cookies {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  max-width: 600px; margin: 0 auto;
  background: var(--noir); color: #fff; padding: 20px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  z-index: 200; box-shadow: 0 10px 40px rgba(0,0,0,0.3); flex-wrap: wrap;
}
.cookies p { font-size: 14px; flex: 1; min-width: 200px; }
.cookies a { color: var(--or); text-decoration: underline; }
.cookies button { padding: 10px 22px; background: var(--or); color: var(--noir); border: none; cursor: pointer; font-weight: 600; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }

/* TOAST */
.toast {
  position: fixed; top: 30px; right: 30px; padding: 16px 24px;
  background: var(--noir); color: #fff; z-index: 9999;
  transform: translateX(120%); transition: transform 0.3s ease;
}
.toast.show { transform: translateX(0); }
.toast.error { background: #b22; }

/* LEGAL */
.legal-content { max-width: 900px; margin: 0 auto; }
.legal-content h2 { font-size: 28px; margin: 40px 0 16px; color: var(--bordeaux); }
.legal-content p, .legal-content li { color: #444; margin-bottom: 12px; font-size: 15px; }
.legal-content ul { padding-left: 24px; margin-bottom: 20px; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes revealFallback { to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.9s ease; animation: revealFallback 0.9s ease 0.3s forwards; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .pizza-grid { grid-template-columns: repeat(2, 1fr); }
  .reassurance-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 70px 5%; }
  nav ul {
    position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
    background: var(--noir); flex-direction: column; justify-content: center;
    align-items: center; gap: 30px; transition: right 0.4s ease;
  }
  nav ul.open { right: 0; }
  .hamburger { display: flex; z-index: 101; }
  .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }
  .pizza-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-img img { height: 400px; }
  .tarif-item { flex-wrap: wrap; }
  .tarif-item img { width: 80px; height: 80px; }
  .contact-form { padding: 26px; }
}
