@font-face {
  font-family: 'Glamlips';
  src: url('font/Glamlips.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6fbf7;
  --text: #1f2c26;
  --muted: #5c7268;

  --green-light: #dff1e6;
  --green: #7fb99a;

  --salmon-light: #ffe2dc;
  --salmon: #f06c59;

  --border: rgba(0, 0, 0, .12);
  --shadow: 0 20px 40px rgba(0, 0, 0, .08);

  --radius: 22px;
  --radius-sm: 14px;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: linear-gradient(180deg, var(--green-light), var(--bg));
  color: var(--text);
}

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

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  background: rgba(246, 251, 247, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
  opacity: 0.9;
}

.header-inner {
  max-width: var(--max-width);
  margin: auto;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand h1 {
  margin: 0;
  font-family: 'Glamlips', serif;
  font-size: 32px;
  font-weight: normal;
  letter-spacing: 1px;
  line-height: 1.4;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;

  /* fond translucide (verre) */
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(0, 0, 0, 0.08);
}

.logo img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  display: block;
}

.brand p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.8;
}

.nav {
  display: flex;
  gap: 10px;
}

.nav-btn {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: white;
  font-weight: 600;
  font-size: 13px;
}

.nav-btn.accent {
  background: var(--salmon-light);
}

/* ===== Layout ===== */
.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 24px;
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  background: linear-gradient(135deg, var(--green-light), var(--salmon-light));
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-text h2 {
  font-size: 36px;
  margin: 12px 0;
}

.hero-text p {
  line-height: 1.6;
  color: var(--muted);
}

/* ===== Image du magasin (hero) ===== */
.hero-head {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-image {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow);
  background: white;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kicker {
  background: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  display: inline-block;
}

/* ===== CTA ===== */
.cta-group {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.cta {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: white;
  font-weight: 600;
}

.cta.primary {
  background: var(--green);
  color: white;
}

.cta.secondary {
  background: var(--salmon);
  color: white;
}

/* ===== Contact ===== */
.contact-card {
  background: white;
  padding: 18px;
  border-radius: var(--radius);
}

.contact-card hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 12px 0;
}

.owner {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

/* ===== Section générique (layout) ===== */
.section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  background: linear-gradient(135deg, var(--green-light), var(--salmon-light));
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 40px 0 20px;
}

/* ===== Horaires (compact + déroulant) ===== */
.hours { margin-top: 10px; }

.hours-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(0, 0, 0, .06);
  cursor: pointer;
  text-align: left;
}

.hours-head:focus {
  outline: 2px solid rgba(127, 185, 154, .55);
  outline-offset: 2px;
}

.hours-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.open-text { font-weight: 800; line-height: 1.1; }
.hours-today { font-size: 0.95rem; }

.chev {
  transition: transform .2s ease;
  user-select: none;
  opacity: .8;
}

.hours.is-open .chev { transform: rotate(180deg); }

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #999;
  box-shadow: 0 0 0 4px rgba(153, 153, 153, .15);
}

.dot.open {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
}

.dot.closed {
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, .18);
}

.hours-panel { margin-top: 10px; }

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  text-align: center;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .35);
  border: 1px solid rgba(0, 0, 0, .05);
  text-align: center;
}

.hours-list li span:first-child { font-weight: 600; }

.hours-list li.today {
  background: rgba(144, 238, 144, .16);
  border-color: rgba(34, 197, 94, .22);
}

/* ===== En savoir plus (accordion) ===== */
.more {
  margin-top: 14px;
  overflow: hidden;
  opacity: 0.8;
}

.more summary { cursor: pointer; }

.more summary::-webkit-details-marker { display: none; }

.more summary::after {
  transition: transform .2s ease;
  opacity: .85;
}

.more[open] summary::after { transform: rotate(180deg); }

.more-content {
  padding: 0 14px 14px;
  color: var(--muted);
  line-height: 1.6;
}

.more-content p { margin: 10px 0 0; }

/* ===== Highlight (typo) ===== */
.higtlight{
  font-family: 'Glamlips', serif;
  font-weight: normal;
  font-style: normal;
}

/* Image */
.side-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.side-img img {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.35s ease,
              box-shadow 0.35s ease,
              border 0.35s ease;
}

.side-img img:hover {
  transform: scale(1.035);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

/* responsive */
@media (max-width: 768px) {
  .side-img img { max-width: 100%; }
}

/* =========================
   MOBILE / TELEPHONE
   ========================= */
@media (max-width: 768px) {

  .container { padding: 16px; }

  .header { position: sticky; top: 0; opacity: 1; }

  .header-inner {
    padding: 12px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .brand h1 { font-size: 26px; line-height: 1.2; }

  .logo { width: 44px; height: 44px; border-radius: 12px; }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 10px 12px;
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }

  .hero-text h2 { font-size: 28px; margin: 8px 0; }
  .hero-head { gap: 12px; }

  .hero-image {
    width: 92px;
    height: 92px;
    border-radius: 18px;
  }

  .cta-group { flex-direction: column; gap: 10px; }
  .cta { width: 100%; text-align: center; }

  .contact-card { padding: 16px; border-radius: 18px; }

  .section {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }

  .hours-head { padding: 10px 12px; }
  .hours-list li { padding: 10px 12px; }

  .side-img { justify-content: flex-start; }
  .side-img img { max-width: 100%; }
}

@media (max-width: 420px) {
  .brand h1 { font-size: 24px; }
  .hero-text h2 { font-size: 26px; }
  .nav-btn { min-width: 120px; }
}

/* ===== Actualités dynamiques (site) ===== */
.news-head{
  grid-column: 1 / -1;
}

.section#news{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* bloc en grand */
.news-feature{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
}

.news-feature-media{
  min-height: 220px;
  background: rgba(0,0,0,.04);
}
.news-feature-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-feature-body{
  padding: 16px;
}
.news-feature-meta{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.tag{
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.tag.green { background: var(--green-light); }
.tag.salmon { background: var(--salmon-light); }
.tag.blue { background: #e3ebff; }

.date{
  font-size: 11px;
  color: var(--muted);
}

.news-feature h3{
  margin: 6px 0 10px;
}
.news-feature p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* petites cartes */
.news-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.news-card{
  background: white;
  padding: 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .15s ease;
}
.news-card:hover{ transform: translateY(-2px); }

.news-card h4{ margin: 8px 0; }

.news-card p{
  font-size: 14px;
  color: var(--muted);
}

.news-card .thumb{
  width: 100%;
  height: 140px;
  border-radius: 14px;
  background: rgba(0,0,0,.04);
  overflow: hidden;
  margin-bottom: 10px;
}
.news-card .thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card.is-active{
  outline: 2px solid rgba(127,185,154,.55);
  outline-offset: 3px;
}

/* responsive */
@media (max-width: 900px){
  .news-grid{ grid-template-columns: repeat(2, 1fr); }
  .news-feature{ grid-template-columns: 1fr; }
}
@media (max-width: 520px){
  .news-grid{ grid-template-columns: 1fr; }
}


/* ===== Modal ===== */
.hidden { display: none !important; }

.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 9999;
}

.modal-card{
  width: min(920px, 96vw);
  max-height: 90vh;
  overflow: auto;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.22);
  border: 1px solid rgba(0,0,0,.08);
  position: relative;
}

.modal-close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.9);
  cursor: pointer;
  font-size: 18px;
  display: grid;
  place-items: center;
}

.modal-media{
  width: 100%;
  height: 340px;
  background: rgba(0,0,0,.04);
  overflow: hidden;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
.modal-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-body{
  padding: 16px;
}

.modal-meta{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

/* Responsive modal */
@media (max-width: 700px){
  .modal-media{ height: 220px; }
}

/* Flèches modal */
.modal-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  font-size: 26px;
  display: grid;
  place-items: center;
  z-index: 2;
}

.modal-nav.prev{ left: 12px; }
.modal-nav.next{ right: 12px; }

@media (max-width: 700px){
  .modal-nav{ top: auto; bottom: 12px; transform: none; }
  .modal-nav.prev{ left: 12px; }
  .modal-nav.next{ right: 12px; }
}
