/* La Villa Joya — feuille de style */
:root {
  --nuit: #14100D;
  --nuit-2: #1E1814;
  --creme: #F4EADB;
  --creme-2: #E9DCC7;
  --or: #C9A27A;
  --or-fonce: #A9814F;
  --texte: #2B241E;
  --doux: #7A6D60;
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: "Jost", system-ui, sans-serif; font-weight: 400; background: var(--creme); color: var(--texte); line-height: 1.7; font-size: 16.5px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; line-height: 1.08; }
.conteneur { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.surtitre { display: block; font-size: 12.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--or-fonce); margin-bottom: 16px; font-weight: 500; }
.filet { width: 56px; height: 1px; background: var(--or); margin: 26px 0; }

/* En-tête */
.entete { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; color: var(--creme); }
.entete.plein { background: rgba(20,16,13,.96); box-shadow: 0 1px 0 rgba(201,162,122,.18); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.entete .logo img { height: 34px; width: auto; }
.menu-nav { display: flex; gap: 32px; align-items: center; list-style: none; }
.menu-nav a { text-decoration: none; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.menu-nav a:hover { opacity: 1; color: var(--or); }
.menu-nav .reserver { border: 1px solid var(--or); padding: 9px 18px; color: var(--or); opacity: 1; }
.menu-nav .reserver:hover { background: var(--or); color: var(--nuit); }
.burger { display: none; background: none; border: 0; color: var(--creme); cursor: pointer; padding: 8px; margin-right: -8px; }
.burger svg { width: 26px; height: 26px; }

/* Boutons */
.bouton { display: inline-block; text-decoration: none; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; padding: 15px 28px; background: var(--or); color: var(--nuit); font-weight: 500; transition: background .2s; }
.bouton:hover { background: #D9B58F; }
.bouton.contour { background: transparent; color: var(--creme); box-shadow: inset 0 0 0 1px rgba(244,234,219,.6); }
.bouton.contour:hover { background: rgba(244,234,219,.1); }

/* Ouverture */
.ouverture { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--creme); background: var(--nuit) url("img/terrasse.jpg") center/cover no-repeat; }
.ouverture::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,13,.55) 0%, rgba(20,16,13,.25) 40%, rgba(20,16,13,.88) 100%); }
.ouverture .conteneur { position: relative; width: 100%; padding-bottom: 12vh; padding-top: 120px; }
.ouverture .logo-grand { width: min(340px, 70vw); margin-bottom: 28px; }
.ouverture h1 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 500; max-width: 15em; margin-bottom: 18px; }
.ouverture p { font-size: 18px; max-width: 34em; color: rgba(244,234,219,.82); margin-bottom: 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sections */
section { padding: 110px 0; }
.titre { font-size: clamp(36px, 5vw, 58px); color: var(--nuit); }

.histoire .conteneur { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.histoire .photos { position: relative; }
.histoire .photos img:first-child { width: 82%; aspect-ratio: 4/5; object-fit: cover; }
.histoire .photos img:last-child { position: absolute; right: 0; bottom: -48px; width: 46%; aspect-ratio: 3/4; object-fit: cover; border: 8px solid var(--creme); }
.histoire p + p { margin-top: 14px; }
.histoire .date { font-family: "Cormorant Garamond", serif; font-size: 22px; font-style: italic; color: var(--or-fonce); margin-top: 26px; }

.carte { background: var(--nuit); color: var(--creme); }
.carte .titre { color: var(--creme); }
.carte .entete-section { text-align: center; max-width: 44em; margin: 0 auto; }
.carte .entete-section p { color: rgba(244,234,219,.7); }
.carte .filet { margin: 26px auto; }
.plats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(201,162,122,.25); margin-top: 60px; border: 1px solid rgba(201,162,122,.25); }
.plats li { background: var(--nuit); padding: 40px 32px; text-align: center; }
.plats .type { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--or); }
.plats h3 { font-size: 28px; margin: 14px 0 10px; color: var(--creme); }
.plats .desc { font-size: 15px; color: rgba(244,234,219,.68); }
.plats .prix { display: block; margin-top: 18px; font-family: "Cormorant Garamond", serif; font-size: 26px; color: var(--or); }
.carte .precision { text-align: center; margin-top: 36px; font-size: 15px; color: rgba(244,234,219,.6); }
.bande-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 64px; }
.bande-photos img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }

.galerie { padding-bottom: 80px; }
.galerie .entete-section { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.galerie-grille { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 12px; }
.galerie-grille img { width: 100%; height: 100%; object-fit: cover; }
.galerie-grille .haut { grid-row: span 2; }
.galerie-grille .large { grid-column: span 2; }
.lien-or { color: var(--or-fonce); text-decoration: none; border-bottom: 1px solid var(--or); padding-bottom: 2px; font-size: 15px; letter-spacing: .06em; }

.infos { background: var(--creme-2); }
.infos-grille { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 56px; margin-top: 50px; }
.infos h3 { font-size: 26px; color: var(--nuit); margin-bottom: 18px; }
.horaires { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.horaires th { text-align: left; font-weight: 500; padding: 9px 0; border-bottom: 1px solid rgba(43,36,30,.12); }
.horaires td { text-align: right; padding: 9px 0; border-bottom: 1px solid rgba(43,36,30,.12); color: var(--doux); }
.infos p { color: var(--doux); }
.infos p + p { margin-top: 10px; }
.infos .gros { font-family: "Cormorant Garamond", serif; font-size: 30px; color: var(--nuit); text-decoration: none; }
.infos .bouton { margin-top: 22px; }

/* Pied de page */
.pied { background: var(--nuit); color: rgba(244,234,219,.6); padding: 64px 0 34px; font-size: 14.5px; }
.pied .conteneur { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.pied img { height: 40px; width: auto; margin-bottom: 14px; }
.pied h4 { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--or); font-weight: 500; margin-bottom: 14px; }
.pied ul { list-style: none; display: grid; gap: 8px; }
.pied a { text-decoration: none; color: rgba(244,234,219,.82); }
.pied a:hover { color: var(--or); }
.pied .bas { grid-column: 1 / -1; border-top: 1px solid rgba(244,234,219,.1); padding-top: 22px; margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }

/* Tablette */
@media (max-width: 980px) {
  section { padding: 84px 0; }
  .histoire .conteneur { grid-template-columns: 1fr; gap: 90px; }
  .histoire .photos { max-width: 620px; }
  .plats { grid-template-columns: 1fr; }
  .plats li { padding: 32px 24px; }
  .bande-photos { gap: 8px; }
  .galerie-grille { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; }
  .galerie-grille .large { grid-column: span 1; }
  .galerie-grille .haut { grid-row: span 1; }
  .infos-grille { grid-template-columns: 1fr 1fr; gap: 40px; }
  .infos-grille > div:first-child { grid-column: 1 / -1; }
  .pied .conteneur { grid-template-columns: 1fr 1fr; }
  .pied .conteneur > div:first-child { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .burger { display: block; }
  .entete .conteneur { height: 64px; }
  .entete .logo img { height: 28px; }
  .menu-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--nuit); padding: 6px 22px 22px; }
  .menu-nav.ouvert { display: flex; }
  .entete.menu-ouvert { background: var(--nuit); }
  .menu-nav a { display: block; padding: 15px 0; border-bottom: 1px solid rgba(244,234,219,.1); font-size: 15px; }
  .menu-nav .reserver { margin-top: 16px; text-align: center; }
  section { padding: 68px 0; }
  .ouverture .conteneur { padding-bottom: 56px; }
  .ouverture p { font-size: 16.5px; }
  .actions .bouton { flex: 1 1 auto; text-align: center; }
  .histoire .photos img:last-child { bottom: -36px; }
  .bande-photos { gap: 8px; margin-top: 44px; }
  .bande-photos { grid-template-columns: repeat(2, 1fr); }
  .galerie-grille { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 8px; }
  .galerie-grille .haut { grid-row: span 2; }
  .infos-grille { grid-template-columns: 1fr; gap: 36px; }
  .pied .conteneur { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
