:root {
  --terra: #c07d6a;
  --terra-dark: #a35f4c;
  --blue: #2133de;
  --olive: #a59537;
  --cream: #fbf5ee;
  --ink: #2b2220;
  --muted: #6e5f5a;
  --line: #e8d9cd;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
a { color: var(--blue); }
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--terra);
  color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px;
  padding: 12px clamp(16px, 4vw, 40px);
}
.brand {
  color: #fff; text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem; font-weight: 700; letter-spacing: .02em;
}
.tabs { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.tabs a {
  color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 6px 12px; border-radius: 999px;
}
.tabs a:hover { background: rgba(255,255,255,.18); }
.tabs a.active { background: #fff; color: var(--terra-dark); }
main { margin: 0 auto; }
.wrap { max-width: 1040px; margin-left: auto; margin-right: auto; padding-left: clamp(16px, 4vw, 40px); padding-right: clamp(16px, 4vw, 40px); }
.view { display: none; padding-top: 32px; padding-bottom: 48px; }
.view.active { display: block; }
#accueil { padding-top: 0; padding-bottom: 0; }

/* Accueil */
.hero {
  background: var(--terra); color: #fff; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  padding: 8px clamp(16px, 4vw, 40px) 32px;
}
.badge { width: min(82vw, 380px); aspect-ratio: 1; overflow: hidden; margin: 8px 0 20px; }
.badge img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0) invert(1); }
.tagline {
  font-family: Georgia, serif; font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase;
  margin: 0 0 16px; max-width: 640px;
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.motif {
  height: 28px; margin: 0;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='28' viewBox='0 0 120 28'%3E%3Cpath d='M14 3 25 14 14 25 3 14z' fill='%232133de'/%3E%3Cpath d='M60 3 71 14 60 25 49 14z' fill='%23a59537'/%3E%3Cpath d='M106 3 117 14 106 25 95 14z' fill='%23fff' stroke='%23c07d6a' stroke-width='2'/%3E%3C/svg%3E") center / 120px 28px repeat-x;
  background-color: var(--terra);
  background-blend-mode: normal;
}
.motif { background-color: var(--cream); border-top: 0; }
.motif.small { height: 28px; width: 120px; background-color: transparent; margin: 0 auto 8px; background-repeat: no-repeat; }
.section-head { text-align: center; margin: 48px 0 24px; }
.title { font-family: Georgia, serif; font-size: 1.8rem; margin: 0 0 6px; color: var(--terra-dark); }
.concept { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.concept-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
}
.concept-card h3, .place h3 { font-family: Georgia, serif; font-size: 1.4rem; margin: 0; }
.concept-card p, .place p { margin: 0; color: var(--muted); }
.chip { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; color: #fff; }
.chip-blue { background: var(--blue); }
.chip-olive { background: var(--olive); }
.more { font-weight: 700; text-decoration: none; margin-top: 6px; }
.more:hover { text-decoration: underline; }
.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; padding-bottom: 56px; }
.place { background: var(--terra); color: #fff; border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.place p, .place .meta { color: #fff; }
.place .more { color: #fff; }

/* Pages */
h1 { font-family: Georgia, serif; font-size: 2rem; margin: 0 0 8px; color: var(--terra-dark); }
h2 { font-family: Georgia, serif; font-size: 1.4rem; margin: 0 0 8px; }
.lead { color: var(--muted); margin: 0 0 24px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; text-align: center;
  background: var(--blue); color: #fff; padding: 11px 20px; border-radius: 999px;
}
.btn:hover { filter: brightness(1.1); }
.btn-light { background: #fff; color: var(--terra-dark); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid #fff; padding: 9px 20px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 16px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.card.center { align-items: center; text-align: center; padding: 32px 20px; }
.card iframe { width: 100%; height: 260px; border: 0; border-radius: 12px; background: var(--line); }
.addr { font-size: 1.1rem; font-weight: 600; margin: 0; }
.meta { color: var(--muted); margin: 0; font-size: .95rem; }
.note { color: var(--muted); margin: 0 0 8px; }
.note.small { font-size: .85rem; margin-top: 28px; }
.formula { margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.formula h3 { font-family: Georgia, serif; font-size: 1.15rem; margin: 0 0 2px; color: var(--terra-dark); }
.formula ul { list-style: none; margin: 10px 0 0; padding: 0; }
.formula li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.formula li b { color: var(--terra-dark); white-space: nowrap; }
.shop-card { max-width: 560px; margin: 16px auto 0; }
.press { display: grid; gap: 16px; }
.press-item {
  display: block; text-decoration: none; color: inherit; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
}
.press-item:hover { border-color: var(--terra); }
.press-item .src { color: var(--olive); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.press-item h3 { margin: 4px 0; font-family: Georgia, serif; font-size: 1.15rem; color: var(--ink); }
.press-item .date { color: var(--muted); font-size: .9rem; }
.press-empty {
  background: #fff; border: 1px dashed var(--terra); border-radius: 14px; padding: 28px; text-align: center; color: var(--muted);
}
.site-footer { text-align: center; color: var(--muted); font-size: .9rem; padding: 24px 16px 40px; border-top: 1px solid var(--line); }
@media (max-width: 560px) {
  .brand { font-size: 1.15rem; }
  .tabs a { padding: 6px 10px; font-size: .9rem; }
  .title { font-size: 1.5rem; }
}
.social-img { width: 100%; max-width: 260px; aspect-ratio: 1; object-fit: cover; border-radius: 16px; display: block; }

.camel { width: min(92vw, 1380px); height: auto; display: block; margin: 0 0 2px; }
.where { font-family: Georgia, serif; font-size: 1.1rem; letter-spacing: .3em; text-transform: uppercase; margin: 0 0 8px; }

.camel-wrap { position: relative; display: inline-block; }
.reel-bubble {
  position: absolute; left: 100%; top: 14%; margin-left: 14px; width: 176px;
  background: #fff; color: var(--ink); border: 0; border-radius: 18px; padding: 12px 14px;
  font: inherit; font-weight: 700; font-size: .92rem; line-height: 1.3; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px; box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.reel-bubble::before {
  content: ''; position: absolute; left: -9px; top: 22px; width: 18px; height: 18px; background: #fff; transform: rotate(45deg); border-radius: 3px;
}
.reel-bubble small { color: var(--blue); font-size: .85rem; }
.reel-bubble .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.reel-bubble:hover { transform: translateY(-2px); }
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(43,34,32,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-box { position: relative; background: #fff; border-radius: 16px; padding: 12px; width: min(100%, 400px); max-height: 92vh; overflow: auto; }
.modal-box iframe { width: 100%; height: 620px; max-height: 80vh; border: 0; display: block; }
.modal-close { position: absolute; right: 8px; top: 4px; z-index: 2; background: #fff; border: 0; border-radius: 50%; width: 32px; height: 32px; font-size: 1.4rem; line-height: 1; cursor: pointer; }
@media (max-width: 760px) {
  .camel-wrap { display: flex; flex-direction: column; align-items: center; }
  .reel-bubble { position: static; margin: 10px 0 4px; width: min(86vw, 300px); flex-direction: row; align-items: center; justify-content: space-between; }
  .reel-bubble::before { display: none; }
}

.reel-card { position: absolute; left: 100%; top: 0; margin-left: 14px; width: 260px; background: #fff; border-radius: 18px; padding: 10px 10px 4px; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.reel-card::before { content: ''; position: absolute; left: -9px; top: 28px; width: 18px; height: 18px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.reel-card p { margin: 2px 4px 8px; font-weight: 700; font-size: .92rem; color: var(--ink); text-align: left; }
.reel-card iframe { width: 100%; height: 440px; border: 0; display: block; border-radius: 10px; }
@media (max-width: 760px) {
  .reel-card { position: static; margin: 10px 0 4px; width: min(88vw, 340px); }
  .reel-card::before { display: none; }
  .reel-card iframe { height: 500px; }
}

@media (min-width: 761px) {
  .reel-bubble, .reel-card { left: auto; right: 3%; margin-left: 0; }
}

.places .place:nth-child(1) { background: var(--olive); }
.places .place:nth-child(2) { background: var(--blue); }
.places .place h3, .places .place p { font-weight: 600; }

/* Chameau recadré (le fichier a de grandes marges transparentes) + bulle collée à droite, même hauteur */
.camel-crop { width: min(86vw, 420px); aspect-ratio: 610 / 455; overflow: hidden; flex: none; }
.camel-crop .camel { display: block; max-width: none; width: 163.93%; margin: -135.25% 0 0 -31.15%; }
@media (min-width: 761px) {
  .camel-wrap { display: flex; flex-direction: row; align-items: stretch; justify-content: center; gap: 22px; }
  .camel-crop { width: min(40vw, 520px); }
  .camel-wrap .reel-bubble, .camel-wrap .reel-card { position: relative; left: auto; right: auto; top: auto; margin: 0; }
  .camel-wrap .reel-card { width: 270px; display: flex; flex-direction: column; align-self: stretch; }
  .camel-wrap .reel-card iframe { flex: 1; min-height: 0; height: 100%; }
  .camel-wrap .reel-bubble { align-self: center; }
}

/* Bulle reel plus petite et plus éloignée du chameau */
@media (min-width: 761px) {
  .camel-wrap { gap: 56px; align-items: center; }
  .camel-wrap .reel-card { width: 210px; height: 320px; align-self: center; }
}

/* Police des textes sous le logo : Londrina Solid */
.tagline, .where { font-family: 'Londrina Solid', Georgia, serif; font-weight: 400; }
.tagline { font-size: 1.5rem; }
.where { font-size: 1.4rem; }

/* Bulle reel décalée vers la droite (environ 2,5 cm de plus sur ordinateur) */
@media (min-width: 761px) {
  .camel-wrap { gap: 150px; }
}

/* Chameau centré sur la page, bulle à sa droite (écart d'environ 225 px) */
@media (min-width: 761px) {
  .camel-wrap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: center; width: 100%; }
  .camel-wrap .camel-crop { grid-column: 2; grid-row: 1; }
  .camel-wrap .reel-bubble, .camel-wrap .reel-card { grid-column: 3; grid-row: 1; justify-self: start; margin-left: clamp(24px, calc((100vw - 520px) / 2 - 235px), 225px); }
}

/* Police de l'en-tête (nom + onglets) : Londrina Solid */
.brand, .tabs a { font-family: 'Londrina Solid', Georgia, serif; font-weight: 400; letter-spacing: .04em; }
.brand { font-size: 1.9rem; }
.tabs a { font-size: 1.25rem; }
@media (max-width: 560px) {
  .brand { font-size: 1.5rem; }
  .tabs a { font-size: 1.1rem; }
}

/* Les 4 cadres de l'accueil : texte centré + titres en Londrina Solid */
.concept-card, .place { align-items: center; text-align: center; }
.concept-card h3, .place h3 { font-family: 'Londrina Solid', Georgia, serif; font-weight: 400; font-size: 1.9rem; letter-spacing: .03em; }

/* Bulle reel plus grande : Instagram a besoin d'environ 330 px de large pour lire la vidéo sur place */
@media (min-width: 1200px) {
  .camel-wrap .reel-card { width: 340px; height: auto; align-self: center; }
  .camel-wrap .reel-card iframe { flex: none; height: 540px; min-height: 0; }
  .camel-wrap .reel-bubble, .camel-wrap .reel-card { margin-left: clamp(12px, calc((100vw - 520px) / 2 - 360px), 225px); }
}
@media (min-width: 761px) and (max-width: 1199px) {
  .camel-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .camel-wrap .reel-bubble, .camel-wrap .reel-card { margin: 0; align-self: center; }
  .camel-wrap .reel-card { width: 340px; height: auto; }
  .camel-wrap .reel-card iframe { flex: none; height: 540px; }
}
@media (max-width: 760px) {
  .reel-card { width: min(94vw, 340px); }
  .reel-card iframe { height: 540px; }
}

/* Bulle « tapis coup de cœur » : à gauche du chameau, plus basse que la bulle reel */
.rug-bubble { position: relative; display: flex; flex-direction: column; gap: 4px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; line-height: 1.3; text-align: left; border-radius: 18px; padding: 12px 14px; box-shadow: 0 6px 20px rgba(0,0,0,.18); width: 190px; }
.rug-bubble .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--olive); }
.rug-bubble small { color: var(--olive); font-size: .85rem; }
.rug-bubble::after { content: ''; position: absolute; right: -9px; bottom: 22px; width: 18px; height: 18px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.rug-bubble:hover { transform: translateY(-2px); }
@media (min-width: 1200px) {
  .camel-wrap .rug-bubble { grid-column: 1; grid-row: 1; justify-self: end; align-self: end; margin: 0 clamp(12px, calc((100vw - 520px) / 2 - 215px), 160px) 36px 0; }
}
@media (max-width: 1199px) {
  .camel-wrap .rug-bubble { position: static; margin: 0; width: min(86vw, 340px); flex-direction: row; align-items: center; justify-content: space-between; align-self: center; }
  .rug-bubble::after { display: none; }
}

/* Shop online : catalogue des tapis */
.shop-reserve { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 0 0 24px; text-align: center; }
.shop-reserve p { margin: 0 0 8px; }
.shop-reserve p:last-child { margin: 0; color: var(--muted); }
.rugs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.rugs a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.rugs img { display: block; width: 100%; height: auto; }

/* Catalogue : un tapis = une carte numérotée */
.rugs { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.rug { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; }
.rug-img { display: block; width: 100%; background-repeat: no-repeat; background-color: #fff; }
.rug-label { text-align: center; padding: 8px 10px 10px; font-family: 'Londrina Solid', Georgia, serif; font-size: 1.3rem; letter-spacing: .04em; color: var(--olive); }
.rug.sold .rug-img { opacity: .4; }
.rug-sold { position: absolute; top: 38%; left: 50%; transform: translateX(-50%) rotate(-8deg); background: var(--terra); color: #fff; padding: 6px 18px; border-radius: 999px; font-weight: 700; z-index: 2; }
.rug.flash { outline: 4px solid var(--blue); outline-offset: -4px; }
#rug-modal .modal-box { width: min(100%, 560px); }
.rug-cap { margin: 10px 4px 2px; text-align: center; font-weight: 700; }
.rug-pic { display: block; width: 100%; background-repeat: no-repeat; background-color: #fff; border-radius: 10px; }
@media (min-width: 1200px) {
  .camel-wrap .rug-bubble { width: 250px; margin: 0 clamp(12px, calc((100vw - 520px) / 2 - 275px), 160px) 36px 0; }
}
@media (max-width: 1199px) {
  .camel-wrap .rug-bubble { flex-direction: column; align-items: stretch; width: min(86vw, 300px); }
}

/* Bandeau cookies, cartes sur autorisation, mentions légales */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 100; max-width: 760px; margin: 0 auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.cookie-banner p { margin: 0 0 12px; font-size: .95rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-c { font: inherit; font-weight: 700; cursor: pointer; background: #fff; color: var(--blue); border: 2px solid var(--blue); border-radius: 999px; padding: 9px 20px; }
.btn-c:hover { background: #f1f2ff; }
.map-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; min-height: 160px; padding: 16px; border: 1px dashed var(--terra); border-radius: 12px; background: var(--cream); }
.map-ph p { margin: 0; color: var(--muted); }
.legal { max-width: 760px; padding-top: 32px; padding-bottom: 56px; }
.legal h2 { margin-top: 28px; color: var(--terra-dark); }
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin: 10px 0; }
.legal ul { padding-left: 20px; }
.legal-links { margin: 6px 0 0; font-size: .9rem; }

/* Fenêtre tapis : demander des informations */
.rug-ask { margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--line); text-align: center; }
.rug-ask h3 { margin: 0 0 6px; font-family: 'Londrina Solid', Georgia, serif; font-weight: 400; font-size: 1.5rem; color: var(--terra-dark); letter-spacing: .03em; }
.ask-shop { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 8px 0; }
.ask-shop b { width: 100%; font-size: .9rem; color: var(--muted); }
.ask-btn { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; font-size: .88rem; padding: 7px 14px; border-radius: 999px; }
.ask-btn:hover { filter: brightness(1.1); }
.rug-ask-note { text-align: center; margin: 10px 0 2px; color: var(--muted); font-weight: 700; }

/* Liens des cadres Mougins / Antibes : boutons aux couleurs inversées */
.places .place .more { display: inline-block; color: #fff; text-decoration: none; font-weight: 700; padding: 8px 18px; border-radius: 999px; margin-top: 8px; }
.places .place:nth-child(1) .more { background: var(--blue); }
.places .place:nth-child(2) .more { background: var(--olive); }
.places .place .more:hover { filter: brightness(1.1); text-decoration: none; }

.reel-note { font-style: normal; font-weight: 400; font-size: .72rem; line-height: 1.25; color: var(--muted); }

.tagline .tag-hl { color: var(--blue); font-size: 1.35em; }

.tagline .tag-green { color: var(--olive); }

.tagline .tag-green { background: #fff; padding: 2px 12px; border-radius: 999px; }

.tagline .tag-blue { color: #fff; background: var(--blue); padding: 2px 12px; border-radius: 999px; }

.tagline .tag-white { color: var(--terra); background: #fff; padding: 2px 12px; border-radius: 999px; }

.tagline span { white-space: nowrap; }
.tagline { line-height: 1.9; }

/* Mots Mougins / Antibes des cadres du bas : +50 % */
.places .place h3 { font-size: 2.85rem; line-height: 1.1; }

.tagline .tag-green, .tagline .tag-white, .tagline .tag-blue { font-size: 1.35em; }

/* Bannière du haut en bleu, pas trop haute */
.site-header { background: var(--blue); padding-top: 8px; padding-bottom: 8px; }
.tabs a.active { color: var(--blue); }

/* Titres des deux bulles : majuscules et un peu plus gros */
.reel-bubble span:not(.dot), .reel-card p, .rug-title { text-transform: uppercase; font-size: 1.05rem; letter-spacing: .03em; line-height: 1.2; }


.places .place h3 { font-weight: 400; }

/* Version téléphone : en-tête sur une seule ligne avec menu déroulant */
.nav-toggle { display: none; font-family: 'Londrina Solid', Georgia, serif; font-size: 1.3rem; letter-spacing: .04em; color: #fff; background: transparent; border: 2px solid #fff; border-radius: 999px; padding: 4px 14px; cursor: pointer; }
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 6px; }
  .site-header .tabs { display: none; width: 100%; flex-direction: column; gap: 2px; padding: 6px 0 8px; }
  .site-header.open .tabs { display: flex; }
  .tabs a { padding: 10px 14px; font-size: 1.35rem; border-radius: 12px; }
  .hero { padding-top: 4px; padding-bottom: 28px; }
  .tagline { font-size: 1.2rem; margin-bottom: 14px; }
}
