/* ================================
   LE CORNÉLY - VERSION RESTAURANT CLASSE
   Bord de mer · élégant · moderne
================================ */

:root {
  --ink: #0f2430;
  --navy: #082434;
  --blue: #0f4f6b;
  --sea: #6fb5c8;
  --foam: #eef8fa;
  --cream: #fbf7ee;
  --sand: #d9c6a3;
  --gold: #c49b55;
  --white: #ffffff;
  --muted: #687780;
  --line: rgba(15, 79, 107, 0.14);
  --shadow: 0 24px 70px rgba(8, 36, 52, 0.16);
  --soft-shadow: 0 15px 38px rgba(8, 36, 52, 0.10);
  --radius: 28px;
  --ease: 220ms ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

/* HEADER */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(251, 247, 238, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 79, 107, 0.10);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  line-height: 1.05;
}

.brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.brand small {
  margin-top: 5px;
  color: var(--blue);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #445965;
  font-weight: 700;
  font-size: 0.93rem;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--ease);
}

.nav a:hover::after {
  width: 100%;
}

.reserve-btn {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(8, 36, 52, 0.18);
  transition: var(--ease);
}

.reserve-btn:hover {
  transform: translateY(-2px);
  background: var(--blue);
}

/* HERO */
.hero {
  min-height: 96vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 36, 52, 0.88) 0%, rgba(8, 36, 52, 0.62) 46%, rgba(8, 36, 52, 0.22) 100%),
    linear-gradient(0deg, rgba(8, 36, 52, 0.45), rgba(8, 36, 52, 0.06));
}

.hero-content {
  padding-top: 90px;
  color: var(--white);
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.3rem, 10vw, 9.3rem);
  line-height: 0.84;
  letter-spacing: -0.075em;
  margin-bottom: 28px;
}

.hero-text {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 900;
  transition: var(--ease);
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.btn-light:hover {
  background: var(--foam);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-map {
  background: var(--foam);
  color: var(--blue);
}

.hero-card {
  position: absolute;
  right: max(40px, calc((100vw - 1160px) / 2));
  bottom: 72px;
  width: min(320px, calc(100% - 40px));
  padding: 26px;
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
}

.hero-card .rating {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--white);
}

.hero-card p {
  color: rgba(255, 255, 255, 0.76);
  margin-top: 4px;
}

.hero-card hr {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.20);
  margin: 18px 0;
}

.hero-card strong {
  display: block;
  font-size: 1rem;
}

/* TITRES */
.section-heading {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading.light {
  color: var(--white);
}

.section-heading .section-kicker {
  justify-content: center;
}

.section-heading .section-kicker::after {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: clamp(2.45rem, 5vw, 4.75rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.section-heading p,
.intro-text p,
.menu-header p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading.light h2 {
  color: var(--white);
}

/* INTRO */
.intro-section {
  background:
    radial-gradient(circle at top left, rgba(111, 181, 200, 0.20), transparent 34%),
    var(--cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 80px;
  align-items: center;
}

.intro-text h2 {
  margin-bottom: 26px;
}

.intro-text p {
  margin-bottom: 18px;
}

.signature-row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.signature-row span {
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font-weight: 900;
  border: 1px solid var(--line);
}

.photo-stack {
  position: relative;
  min-height: 620px;
}

.photo-stack img {
  object-fit: cover;
  box-shadow: var(--shadow);
}

.photo-main {
  width: 78%;
  height: 560px;
  border-radius: 36px;
  margin-left: auto;
}

.photo-small {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45%;
  height: 310px;
  border: 12px solid var(--cream);
  border-radius: 30px;
}

/* DISHES */
.dishes-section {
  background: var(--white);
}

.dishes-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 22px;
}

.dish-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  background: var(--navy);
}

.dish-card.large {
  grid-row: span 2;
}

.dish-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.dish-card:hover img {
  transform: scale(1.06);
}

.dish-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 36, 52, 0.78), transparent 58%);
}

.dish-card div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: var(--white);
}

.dish-card p {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 5px;
}

.dish-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1;
}

/* MENU */
.menu-section {
  background:
    linear-gradient(180deg, var(--foam), var(--cream));
}

.menu-header {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 44px;
}

.menu-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.menu-column {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 79, 107, 0.11);
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--soft-shadow);
}

.menu-column h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--blue);
  font-size: 1.8rem;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px dashed rgba(15, 79, 107, 0.18);
}

.menu-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.menu-item h4 {
  color: var(--ink);
  font-size: 1.02rem;
  margin-bottom: 5px;
}

.menu-item p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.menu-item span {
  color: var(--gold);
  font-weight: 900;
}

/* GALERIE */
.gallery-section {
  background: var(--navy);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 235px;
  gap: 18px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  opacity: 0.96;
  transition: var(--ease);
}

.gallery img:hover {
  transform: translateY(-5px);
  opacity: 1;
}

.gallery img:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery img:nth-child(3) {
  grid-row: span 2;
}

/* AVIS */
.reviews-section {
  background: var(--cream);
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.reviews article {
  padding: 32px;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.reviews span {
  color: var(--gold);
  letter-spacing: 0.08em;
  font-weight: 900;
}

.reviews p {
  color: #40535e;
  margin: 18px 0 22px;
}

.reviews strong {
  color: var(--navy);
}

/* CONTACT */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 30px 0;
}

.contact-list p {
  padding: 18px 20px;
  border-radius: 22px;
  background: var(--foam);
  color: var(--muted);
  border: 1px solid var(--line);
}

.contact-list strong {
  display: block;
  color: var(--blue);
  margin-bottom: 4px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-wrap {
  min-height: 520px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
  border: 10px solid var(--cream);
}

.map-wrap iframe {
  width: 100%;
  min-height: 520px;
  height: 100%;
  border: 0;
}

/* FOOTER */
.footer {
  background: #061a26;
  color: rgba(255, 255, 255, 0.72);
  padding: 26px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .intro-grid,
  .menu-header,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .menu-board,
  .reviews {
    grid-template-columns: 1fr;
  }

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

  .dish-card.large {
    grid-row: auto;
    grid-column: span 2;
  }

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

  .gallery img:nth-child(1),
  .gallery img:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-card {
    position: static;
    margin: -130px auto 40px;
    z-index: 2;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 26px, 1160px);
  }

  .section {
    padding: 78px 0;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand span {
    font-size: 1.25rem;
  }

  .brand small {
    font-size: 0.62rem;
  }

  .reserve-btn {
    padding: 10px 15px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    padding-top: 55px;
  }

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

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .photo-stack {
    min-height: auto;
  }

  .photo-main {
    width: 100%;
    height: 380px;
  }

  .photo-small {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 18px;
    width: 100%;
    height: 270px;
    border: 0;
  }

  .dishes-grid,
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .dish-card.large {
    grid-column: auto;
  }

  .menu-column {
    padding: 26px 22px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 390px;
  }
}
