/* Boulangerie-Pâtisserie Julianne — direction "Faubourg Saint-Timothée" */

:root {
  --navy: #14293F;
  --navy-2: #1D3A57;
  --navy-3: #24466A;
  --cream: #FAF3E7;
  --cream-2: #F2E8D8;
  --paper: #FFFFFF;
  --ink: #241E19;
  --ink-soft: #55493F;
  --gold: #B9853A;
  --gold-dark: #8C6226;
  --raspberry: #A63A57;
  --line: rgba(36, 30, 25, 0.12);
  --shadow: 0 20px 45px -22px rgba(20, 41, 63, 0.35);
  --radius: 18px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Work Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* Reveal on scroll — gated by .js so content shows without JS */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transition: none; opacity: 1; transform: none; }
}

/* ---------- Checkerboard signature motif ---------- */
.tile-divider {
  height: 14px;
  background-image:
    linear-gradient(45deg, var(--navy) 25%, transparent 25%, transparent 75%, var(--navy) 75%),
    linear-gradient(45deg, var(--navy) 25%, transparent 25%, transparent 75%, var(--navy) 75%);
  background-size: 14px 14px;
  background-position: 0 0, 7px 7px;
  background-color: var(--cream-2);
  opacity: .85;
}
.tile-divider.on-navy { background-color: var(--navy-2); opacity: .5; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 243, 231, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 48px; height: 48px; }
.brand-word {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.15;
}
.brand-word small { display: block; font-family: 'Work Sans', sans-serif; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy);
  white-space: nowrap;
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.lang-switch { display: flex; gap: 6px; font-size: .78rem; font-weight: 700; }
.lang-switch a { padding: 3px 7px; border-radius: 6px; text-decoration: none; color: var(--ink-soft); }
.lang-switch a[aria-current="true"] { background: var(--navy); color: var(--cream); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: var(--cream); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--navy-3); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--cream); }
.btn-gold { background: var(--gold); color: #2B1C08; }
.btn-gold:hover { background: var(--gold-dark); color: var(--cream); }
.btn-sm { padding: 9px 16px; font-size: .82rem; }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.burger {
  display: none;
  width: 40px; height: 40px;
  border: none; background: none;
  flex-direction: column; justify-content: center; gap: 5px;
  align-items: center;
}
.burger span { width: 22px; height: 2px; background: var(--navy); display: block; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 88px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.15rem);
  line-height: 1.12;
  max-width: 15ch;
}
.hero h1 em { color: var(--gold-dark); font-style: italic; }
.hero-lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 46ch; }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 16px;
  text-decoration: none;
  margin: 18px 0 26px;
  box-shadow: var(--shadow);
}
.rating-badge .stars { display: flex; gap: 2px; }
.rating-badge .stars svg { width: 16px; height: 16px; fill: var(--gold); }
.rating-badge strong { color: var(--navy); font-size: .95rem; }
.rating-badge span { color: var(--ink-soft); font-size: .85rem; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-reassure {
  display: flex;
  gap: 22px;
  margin-top: 30px;
  flex-wrap: wrap;
  font-size: .86rem;
  color: var(--ink-soft);
}
.hero-reassure li { display: flex; align-items: center; gap: 7px; }
.hero-reassure svg { width: 17px; height: 17px; stroke: var(--gold-dark); flex-shrink: 0; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-ring {
  position: absolute;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  opacity: .55;
}
.hero-ring.r1 { width: 620px; height: 620px; top: -180px; right: -260px; }
.hero-ring.r2 { width: 420px; height: 420px; bottom: -180px; left: -220px; border-color: var(--navy); opacity: .18; }

/* ---------- Section shells ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--paper); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: var(--cream); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { background: transparent; border-color: var(--line); }
.section-navy .section-head .eyebrow { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: var(--gold); }
.section-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.section-head p { color: var(--ink-soft); }
.section-navy .section-head p { color: rgba(250,243,231,.75); }

/* ---------- Prestations ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-photo { aspect-ratio: 4/3; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-photo img { transform: scale(1.05); }
.card-body { padding: 20px 20px 24px; }
.card-body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card-body p { font-size: .9rem; color: var(--ink-soft); margin-bottom: 0; }
.badge-spec {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gold);
  color: #2B1C08;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  z-index: 2;
}

/* ---------- Occasions band ---------- */
.occasions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}
.occasions li {
  background: var(--cream-2);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Avis ---------- */
.grid-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-stars { display: flex; gap: 2px; }
.review-stars svg { width: 15px; height: 15px; fill: var(--gold); }
.review-text { font-size: .92rem; color: var(--ink); flex-grow: 1; }
.review-meta { display: flex; align-items: center; justify-content: space-between; font-size: .82rem; color: var(--ink-soft); }
.review-meta .g-mark {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: .95rem;
}
.g-blue{color:#4285F4}.g-red{color:#EA4335}.g-yellow{color:#FBBC05}.g-green{color:#34A853}
.reviews-cta { text-align: center; margin-top: 36px; }
.reviews-cta a { text-decoration: none; font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

/* ---------- Pourquoi nous ---------- */
.grid-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why-item { text-align: center; }
.why-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(250,243,231,.08);
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 26px; height: 26px; stroke: var(--gold); }
.why-item h3 { font-size: 1.02rem; }
.why-item p { font-size: .88rem; color: rgba(250,243,231,.75); }

/* ---------- Galerie teaser ---------- */
.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.teaser-grid a { border-radius: 14px; overflow: hidden; aspect-ratio: 1; }
.teaser-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.teaser-grid a:hover img { transform: scale(1.06); }
.teaser-cta { text-align: center; margin-top: 36px; }

/* ---------- Zone / adresse ---------- */
.zone-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.zone-rings {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
}
.zone-rings .ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
}
.zone-rings .ring:nth-child(2) { inset: 15%; opacity: .7; }
.zone-rings .ring:nth-child(3) { inset: 30%; opacity: .5; }
.zone-rings .pin {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.zone-rings .pin svg { width: 28px; height: 28px; stroke: var(--cream); }
.hours-table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; }
.hours-table td { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.hours-table td:last-child { text-align: right; color: var(--ink-soft); }
.hours-table tr.closed td { color: var(--raspberry); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; }
.contact-info li { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info svg { width: 22px; height: 22px; stroke: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-info a { text-decoration: none; color: var(--cream); font-weight: 600; }
.contact-info .muted { color: rgba(250,243,231,.7); font-weight: 400; font-size: .9rem; }
.contact-card {
  background: rgba(250,243,231,.06);
  border: 1px solid rgba(250,243,231,.18);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-card h3 { color: var(--cream); }
.contact-card .btn-primary { background: var(--gold); color: #2B1C08; width: 100%; justify-content: center; margin-top: 10px;}
.contact-card .btn-primary:hover { background: #D6A15A; }
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(250,243,231,.25);
  display: flex; align-items: center; justify-content: center;
}
.social-row svg { width: 19px; height: 19px; stroke: var(--cream); }

/* ---------- Footer ---------- */
.site-footer { background: #0F1E2F; color: rgba(250,243,231,.65); padding: 44px 0 26px; font-size: .86rem; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: rgba(250,243,231,.65); }
.footer-nav a:hover { color: var(--cream); }
.footer-bottom { border-top: 1px solid rgba(250,243,231,.12); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 34px; height: 34px; }

/* ---------- Floating call button ---------- */
.float-call {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--cream);
  padding: 15px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(20,41,63,.55);
}
.float-call svg { width: 19px; height: 19px; }

/* ---------- Gallery page ---------- */
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.chip {
  border: 1.5px solid var(--line);
  background: var(--paper);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .86rem;
  color: var(--navy);
}
.chip[aria-pressed="true"] { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.chip .count { opacity: .65; font-weight: 500; }

.masonry { column-count: 4; column-gap: 18px; }
.masonry figure {
  break-inside: avoid;
  margin: 0 0 18px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  cursor: zoom-in;
}
.masonry img { width: 100%; height: auto; display: block; }
.masonry figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(15,30,47,.88));
  color: var(--cream);
  font-size: .8rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.masonry figure:hover figcaption, .masonry figure:focus-within figcaption { opacity: 1; transform: none; }

dialog.lightbox {
  margin: auto;
  border: none;
  border-radius: 16px;
  padding: 0;
  background: var(--navy);
  max-width: min(90vw, 980px);
  max-height: 88vh;
}
dialog.lightbox::backdrop { background: rgba(15,25,38,.82); }
dialog.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; display: block; }
.lightbox-cap { color: var(--cream); padding: 14px 20px 18px; font-size: .9rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lightbox-close { background: rgba(250,243,231,.12); border: none; color: var(--cream); width: 34px; height: 34px; border-radius: 50%; font-size: 1.1rem; }
.gallery-hero { padding: 150px 0 40px; text-align: center; }
.gallery-hero h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-lg { margin-top: 48px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: .86rem; }
}
@media (max-width: 960px) {
  .burger { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .main-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .header-actions .btn-primary.header-call-btn { display: none; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; order: -1; }
  .grid-4, .grid-why { grid-template-columns: repeat(2, 1fr); }
  .grid-reviews { grid-template-columns: 1fr 1fr; }
  .zone-wrap, .contact-grid { grid-template-columns: 1fr; }
  .masonry { column-count: 3; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid-4, .grid-why, .grid-reviews, .teaser-grid { grid-template-columns: 1fr 1fr; }
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { column-count: 2; }
  .hero { padding: 44px 0 64px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .grid-reviews { grid-template-columns: 1fr; }
}
