/*************************************
Guitar Play - css/site.css
Repris de la maquette guitarplay-maquette.html
Polices hebergees en local (zero appel externe)
Mise a jour : 07/2026
*************************************/

/* ===================================================================
   Polices locales (Playfair Display + Source Sans 3)
   Fichiers .woff2 a placer dans /fonts/ (voir note de livraison)
=================================================================== */
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-display-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-display-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-display-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('fonts/source-sans-3-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('fonts/source-sans-3-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('fonts/source-sans-3-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --rouge: #9b2c1a;
  --rouge-clair: #c0392b;
  --bois: #5c3317;
  --creme: #f8f4ef;
  --creme-clair: #fdf8f1;
  --beige: #ede8e0;
  --dark: #1a120b;
  --text: #2e1f14;
  --muted: #7a6a5a;
  --border: #ddd5c8;
  --blanc: #fff;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: var(--blanc);
  font-size: 18px;
  line-height: 1.6;
  width: 100%;
}

/* Wrapper generique : centre le contenu a 1800px max, le fond des sections reste plein ecran */
.wrap {
  max-width: 1800px;
  margin: 0 auto;
}

/* NAV */
.fil-ariane {
  margin: 0 0 20px;
}
.fil-ariane ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--muted);
}
.fil-ariane li {
  display: flex;
  align-items: center;
}
.fil-ariane li:not(:last-child)::after {
  content: "›";
  color: var(--muted);
  margin: 0 8px;
}
.fil-ariane a {
  color: var(--rouge);
  text-decoration: none;
}
.fil-ariane a:hover {
  text-decoration: underline;
}
.fil-ariane [aria-current="page"] {
  color: var(--text);
}
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--beige);
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.nav-inner {
  display: flex;
  align-items: center;
  padding: 0 32px;
  height: 62px;
  gap: 0;
  max-width: 1800px;
  margin: 0 auto;
}
.nav-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-right: auto;
  letter-spacing: .5px;
}
.nav-name a {
  color: inherit;
  text-decoration: none;
}
.nav-suffix {
  color: var(--rouge);
}
.nav-links {
  display: flex;
  gap: 0;
}
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  padding: 0 14px;
  height: 62px;
  display: flex;
  align-items: center;
  font-weight: 400;
  transition: color .15s;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a.active {
  color: var(--rouge);
  font-weight: 600;
}
.nav-tel {
  margin-left: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--rouge);
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

@media (max-width: 768px) {
  .nav-inner {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding: 14px 16px;
    row-gap: 10px;
  }
  .nav-name {
    flex: 0 0 100%;
    text-align: center;
    margin-right: 0;
  }
  .nav-links a {
    height: auto;
    padding: 4px 10px;
  }
  .nav-tel {
    margin-left: 8px;
  }
}

/* HERO */
.hero {
  position: relative;
  height: 410px;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,10,5,.82) 0%, rgba(20,10,5,.5) 55%, rgba(20,10,5,.15) 100%);
  display: flex;
  align-items: flex-start;
  padding: 20px 56px 0;
}
.hero-content {
  max-width: 1100px;
}
.hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
  font-weight: 400;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-title em {
  color: #e8a87c;
  font-style: normal;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  margin-bottom: 28px;
  font-weight: 300;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--rouge);
  color: #fff;
  padding: 13px 24px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}
.btn-primary:hover { background: var(--rouge-clair); }
button.btn-primary {
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.cookies-bouton-wrap {
  display: none;
  text-align: center;
  margin: 24px 0;
}
.main ul:not(.rayons-list) {
  list-style: none;
  margin: 0 0 20px 16px;
  padding: 0;
}
.main ul:not(.rayons-list) li {
  position: relative;
  padding: 0 0 12px 44px;
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}
.main ul:not(.rayons-list) li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background-color: var(--creme);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c3317' stroke-width='1.5'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 13px;
}
.btn-outline {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.35);
  padding: 13px 24px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
}

/* FRISE INFOS */
.frise-bg {
  background: var(--dark);
  width: 100%;
}
.frise {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1800px;
  margin: 0 auto;
}
.frise-cell {
  padding: 18px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  gap: 12px;
}
.frise-cell:last-child { border-right: none; }
.frise-icon {
  font-size: 22px;
  color: #e8a87c;
  flex-shrink: 0;
}
.frise-label {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.frise-val {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  font-weight: 600;
}

/* HERO + FRISE : responsive */
@media (max-width: 768px) {
  .hero {
    height: 420px;
  }
  .hero-overlay {
    padding: 32px 24px 0;
    align-items: flex-start;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }
  .hero-title {
    font-size: 32px;
    margin-bottom: 12px;
  }
  .hero-sub {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .hero-map-buttons {
    display: flex;
    gap: 10px;
    margin-top: 4px;
  }
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline {
    text-align: center;
  }

  .frise {
    grid-template-columns: 1fr;
  }
  .frise-cell {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 16px 20px;
  }
  .frise-cell:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 380px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-overlay {
    padding: 24px 20px;
  }
}

/* LAYOUT PRINCIPAL */
.layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  align-items: start;
  gap: 48px;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 20px;
  }
  .photos-section {
    padding: 20px 20px 12px;
  }
  .photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 10px;
  }
  .photo-grid img {
    height: 220px;
  }
  .photo-grid img:first-child {
    grid-row: auto;
  }
}

/* SECTION PHOTOS */
.photos-section {
  padding: 26px 32px 16px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--rouge);
  font-weight: 600;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .section-eyebrow {
    margin-top: 24px;
  }
  .main > .section-eyebrow:first-child {
    margin-top: 0;
  }
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 10px;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
  font-weight: 300;
  max-width: 860px;
}
.photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 10px;
}
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.photo-grid img:first-child {
  grid-row: span 2;
}

/* MAIN CONTENT */
.main {
  padding: 26px 0 0;
}
.main h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 10px;
}
.main p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
  font-weight: 300;
}
.main a,
.article-content a {
  color: var(--rouge);
  text-decoration: none;
}
.main a:hover,
.article-content a:hover {
  text-decoration: underline;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* RAYONS (plus magazine, moins e-commerce) */
.rayons-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 16px 0;
}
.rayon-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text);
}
.rayon-item:first-child { border-top: 1px solid var(--border); }
.rayon-item:last-child { border-bottom: none; }
.rayon-item::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background-color: var(--creme);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c3317' stroke-width='1.5'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}
.rayon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rouge);
  flex-shrink: 0;
}

/* WOODBRASS */
.wb-block {
  background: var(--creme);
  border-radius: 6px;
  padding: 20px;
  margin: 24px 0;
  border-left: 3px solid #e8a87c;
}
.wb-block p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}
.wb-block strong { color: var(--dark); }

/* FIDELITE */
.fidelite-block {
  background: var(--dark);
  border-radius: 6px;
  padding: 22px;
  margin: 24px 0;
}
.fidelite-block p {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
  font-weight: 300;
}
.fidelite-block a {
  color: #e8a87c;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

/* SIDEBAR */
.sidebar {
  padding: 26px 0 16px;
}

@media (max-width: 768px) {
  .sidebar {
    padding: 0 0 16px;
  }
}
.widget {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.widget:last-child {
  border-bottom: none;
}
.widget-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--rouge);
  font-weight: 600;
  margin-bottom: 14px;
}
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #1a6b2a;
  background: #e8f5e9;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.open-dot {
  width: 6px;
  height: 6px;
  background: #2e7d32;
  border-radius: 50%;
}
.open-badge.closed {
  color: #8a4a1f;
  background: #f5ece2;
}
.open-badge.closed .open-dot { background: #b06a2c; }
.hours-list {
  list-style: none;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.hours-list li:last-child { border: none; }
.hours-list li span:first-child { color: var(--dark); font-weight: 400; }
.hours-list .off { color: var(--muted); font-style: italic; }

.addr {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}
.addr strong {
  display: block;
  color: var(--dark);
  font-size: 15px;
  margin-bottom: 4px;
}
.addr a {
  color: var(--rouge);
  text-decoration: none;
  font-weight: 600;
}

.map-buttons {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}
.map-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--beige);
  border-radius: 5px;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: background .15s, border-color .15s;
}
.map-btn:hover {
  background: var(--creme);
  border-color: var(--bois);
}

/* Boutons Waze/Plans dans le hero : caches en desktop, visibles en mobile uniquement */
@media (min-width: 769px) {
  .hero-map-buttons {
    display: none;
  }
}
.hero-map-buttons .map-btn {
  background: rgba(20,10,5,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 5px;
  padding: 9px 0;
  font-size: 13px;
}
.hero-map-buttons .map-btn:hover {
  background: rgba(20,10,5,.75);
  border-color: rgba(255,255,255,.7);
}

/* COURS DE GUITARE (widget sidebar) */
.cours-widget p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 10px;
}
.cours-widget p:last-child { margin-bottom: 0; }
.cours-widget strong { color: var(--dark); }

.tarifs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 14px 0 0;
}
.tarifs-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.tarifs-table tr:last-child td { border-bottom: none; }
.tarifs-table td:last-child {
  color: var(--dark);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
.tarifs-sub {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  display: block;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--creme);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 10px 12px;
  resize: vertical;
  width: 100%;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.contact-form .form-field {
  margin: 0;
}
@media (max-width: 560px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--bois);
}
.contact-submit.contact-submit {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--blanc);
  background: var(--rouge);
  border: none;
  border-radius: 5px;
  padding: 11px 28px;
  width: auto;
  align-self: flex-start;
  justify-self: start;
  display: inline-block;
  cursor: pointer;
  transition: background .15s;
}
.contact-submit.contact-submit:hover {
  background: var(--rouge-clair);
}
.contact-form .btn-sm {
  padding: 8px 20px;
  font-size: 13px;
  align-self: flex-start;
}
.champ-website {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.cgv-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.cgv-line input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
}

.social-row {
  display: flex;
  gap: 8px;
}
.social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
  transition: border-color .15s, color .15s;
}
.social-btn:hover { color: var(--bois); border-color: var(--bois); }

.article-list {
  list-style: none;
}
.article-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.article-list li:last-child { border: none; }
.article-list a {
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  gap: 10px;
  align-items: center;
  line-height: 1.45;
}
.article-list a:hover { color: var(--rouge); }
.article-list a::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background-color: var(--creme);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c3317' stroke-width='1.5'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}
.article-list-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.article-list-text strong {
  color: var(--dark);
  font-weight: 600;
}
.article-list-text .excerpt {
  color: var(--muted);
  font-weight: 400;
}

/* ARTICLES (cards 4 colonnes) */
.article-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

@media (max-width: 768px) {
  .article-cards {
    grid-template-columns: 1fr;
  }
}
.article-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .15s;
}
.main .article-card:hover { border-color: var(--bois); text-decoration: none; }
.article-card-teaser {
  cursor: default;
}
.main .article-card-teaser:hover {
  border-color: var(--border);
}
.article-card-img {
  aspect-ratio: 16 / 9;
  background: var(--creme);
  color: #cbb89a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  font-weight: 400;
  line-height: 1.4;
}
.article-card-body strong {
  display: block;
  margin-bottom: 4px;
  color: var(--dark);
}
.article-card-body p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
}
.article-card-body p:first-of-type {
  padding-bottom: 10px;
}
.article-card-body .article-card-meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-weight: 600;
  color: var(--text);
}
.article-card-body .article-card-stats {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

/* FICHE ARTICLE (blog) */
.article-image {
  width: 100%;
  border-radius: 6px;
  display: block;
  margin: 16px 0;
}
.article-content {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
}
.article-content p {
  margin-bottom: 14px;
}
.article-content img {
  max-width: 100%;
  border-radius: 4px;
  margin: 16px 0;
}
.article-content .cls-img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.article-content figure {
  margin: 24px 0;
}
.article-content figure img,
.article-content figure .cls-img {
  margin: 0;
}
.article-content figcaption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  font-style: italic;
  padding-top: 6px;
}
.article-content iframe {
  width: 100%;
  border: none;
  border-radius: 4px;
  display: block;
  margin: 20px 0;
}
.main > .ir-iframe-wrap,
.main > iframe.ir-iframe-rgpd,
.main > iframe {
  display: block;
  margin-bottom: 36px;
}

/* PAGE ARTICLE (fiche complete) */
.article-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 16px 0;
}
.article-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 20px;
}
.article-content p:first-of-type {
  font-size: 18px;
  font-style: italic;
  color: var(--dark);
  line-height: 1.7;
}
.article-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0 32px;
}
.article-meta-line1 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.article-meta strong {
  color: var(--dark);
  font-weight: 600;
}
.article-meta a {
  color: var(--rouge);
  text-decoration: none;
  font-weight: 600;
}
.article-meta a:hover {
  text-decoration: underline;
}
.comments-heading {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--dark);
  margin: 32px 0 16px;
}
/* PAGER BLOG */
.article-pager {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.article-pager a,
.article-pager-current {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 13px;
  text-decoration: none;
  color: var(--text);
}
.article-pager a:hover {
  border-color: var(--rouge);
  color: var(--rouge);
}
.article-pager-current {
  background: var(--rouge);
  color: var(--blanc);
  border-color: var(--rouge);
  font-weight: 600;
}

/* COMMENTAIRES (blog) */
.comment-item {
  display: flex;
  gap: 14px;
  background: var(--creme-clair);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.comment-item:last-child {
  margin-bottom: 0;
}
.comment-item.is-membre {
  background: var(--dark);
  border-color: var(--dark);
}
.comment-avatar-membre {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e8a87c;
  color: var(--dark);
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.comment-body {
  flex: 1;
  min-width: 0;
}
.comment-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.comment-num {
  color: var(--muted);
  font-weight: 600;
  margin-right: 2px;
}
.comment-sep {
  color: var(--border);
  margin: 0 2px;
}
.comment-auteur {
  color: var(--dark);
  font-weight: 700;
}
.comment-meta a {
  color: var(--muted);
  text-decoration: none;
}
.comment-meta a:hover {
  color: var(--rouge);
  text-decoration: underline;
}
.comment-texte {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}
.comment-item.is-membre .comment-num,
.comment-item.is-membre .comment-sep,
.comment-item.is-membre .comment-meta {
  color: rgba(255,255,255,.45);
}
.comment-item.is-membre .comment-auteur {
  color: var(--blanc);
}
.comment-item.is-membre .comment-meta a {
  color: #e8a87c;
}
.comment-item.is-membre .comment-meta a:hover {
  color: #fff;
}
.comment-item.is-membre .comment-texte {
  color: rgba(255,255,255,.85);
}

/* FOOTER */
footer {
  background: var(--beige);
  border-top: 1px solid var(--border);
  width: 100%;
}
.footer-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 32px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--dark);
}
footer p {
  font-size: 12px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 16px;
}
.footer-links a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--rouge); }

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    height: auto;
    padding: 24px 20px;
  }
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ── Recherche header (form + dropdown live) ─────────────────────────── */

.nav-inner {
  position: relative;
}

.nav-search {
  display: flex;
}

.nav-search input {
  width: 320px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--creme);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.nav-search input::placeholder { color: var(--muted); }
.nav-search input:focus {
  border-color: var(--bois);
}

/* Desktop : centré dans la nav, indépendamment de la largeur des liens */
@media (min-width: 769px) {
  .nav-search {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Mobile : 3e ligne, pleine largeur */
@media (max-width: 768px) {
  .nav-name  { order: 1; }
  .nav-links { order: 2; }
  .nav-tel   { order: 2; }
  .nav-search {
    order: 3;
    flex: 0 0 100%;
    justify-content: center;
  }
  .nav-search input {
    width: 100%;
    max-width: 400px;
  }
}

/* Dropdown de résultats */
.search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: 480px;
  max-width: 90vw;
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(26, 18, 11, 0.18);
  z-index: 999;
  overflow: hidden;
  text-align: left;
}

@media (max-width: 768px) {
  .search-dropdown {
    width: 100%;
    max-width: none;
  }
}

.search-dropdown-header {
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--creme);
}

.search-result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
  color: inherit;
}
.search-result:last-of-type { border-bottom: none; }
.search-result:hover { background: var(--creme); }

.search-result-thumb {
  width: 64px;
  height: 44px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--bois) 0%, var(--dark) 100%);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--creme-clair);
}
.search-result-thumb svg { opacity: .35; }
.search-result-thumb img { width: 100%; height: 100%; object-fit: cover; }

.search-result-body { flex: 1; min-width: 0; }
.search-result-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
}
.search-result-cat {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .7px;
  padding: 2px 7px;
  border-radius: 8px;
  color: var(--blanc);
  white-space: nowrap;
}
.search-result-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Playfair Display', serif;
}
.search-result-excerpt {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-dropdown-footer {
  display: block;
  padding: 10px 14px;
  font-size: 11px;
  color: var(--rouge);
  font-weight: 600;
  text-align: center;
  background: var(--creme);
  border-top: 1px solid var(--border);
  text-decoration: none;
  transition: color .15s;
}
.search-dropdown-footer:hover { color: var(--rouge-clair); }

.search-spinner,
.search-empty {
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* INFINICOOKIES */
.bandeau-cookies {
  background: var(--beige);
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
}
.bandeau-cookies a, .bandeau-cookies a:visited {
  color: var(--rouge);
  text-decoration: underline;
}
.bandeau-cookies a:hover { color: var(--rouge-clair); }
.toggle {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  width: 42px;
  height: 24px;
  margin: 0;
  border-radius: 12px;
  background: var(--border);
  cursor: pointer;
  vertical-align: middle;
  transition: background .2s ease;
}
.toggle::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blanc);
  box-shadow: 0 1px 2px rgba(0,0,0,.3);
  transition: transform .2s ease;
}
.toggle:checked { background: var(--rouge); }
.toggle:checked::before { transform: translateX(18px); }
.infinicookies-exemple {
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  margin: 4px 0 0;
}
.cls-iframe {
  background: var(--creme);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.otp-boxes {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.contact-form input.otp-box {
  width: 44px;
  height: 52px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--creme);
  color: var(--text);
}
.contact-form input.otp-box:focus {
  outline: none;
  border-color: var(--rouge);
}
.avis-otp-boxes {
  gap: 6px;
}
.contact-form input.otp-box-sm {
  width: 34px;
  height: 42px;
  font-size: 18px;
}
.otp-countdown {
  font-size: 13px;
  color: var(--muted);
}
.otp-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}
.cls-msg {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 15px;
  font-weight: 500;
  color: var(--rouge);
}
.cls-msg2 {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 15px;
  font-weight: 500;
  color: var(--rouge);
}
.oubli-titre {
  margin-top: 16px;
}
.ir-iframe-facade .contact-submit.contact-submit {
  align-self: center;
  justify-self: center;
}
.avis-incitation {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin: 0 0 12px;
}
.avis-dernier {
  padding: 12px;
  background: var(--creme);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin: 0 0 8px;
}
.avis-dernier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px;
}
.avis-dernier-header strong {
  font-size: 14px;
  color: var(--dark);
}
.avis-etoiles {
  color: var(--rouge);
  font-size: 14px;
  letter-spacing: 1px;
}
.avis-dernier-texte {
  font-size: 13px;
  line-height: 19px;
  color: var(--text);
  margin: 0;
}
.avis-voir-tous {
  display: block;
  font-size: 13px;
  color: var(--rouge);
  text-decoration: underline;
  margin: 12px 0 0;
}
.avis-form-wrap {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}
.avis-form-wrap.is-open {
  max-height: 900px;
  opacity: 1;
  margin-top: 16px;
}
.avis-etoiles-form {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
  height: 26px;
  overflow: hidden;
  font-size: 26px;
  line-height: 1;
}
.avis-etoiles-form input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.avis-etoiles-form label {
  cursor: pointer;
  color: var(--border);
}
.avis-etoiles-form input:checked ~ label,
.avis-etoiles-form label:hover,
.avis-etoiles-form label:hover ~ label {
  color: var(--rouge);
}
.avis-liste-heading {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
}
.avis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.avis-item {
  padding: 20px;
  background: var(--creme);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}
.avis-item--alt {
  background: var(--creme-clair);
}
.avis-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}
.avis-item-prenom {
  font-size: 14px;
  color: var(--dark);
}
.avis-item-etoiles {
  color: var(--rouge);
  font-size: 14px;
  letter-spacing: 1px;
}
.avis-item-date {
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
}
.avis-item-texte {
  font-size: 14px;
  line-height: 21px;
  color: var(--text);
  margin: 0;
}

@media (max-width: 768px) {
  .avis-grid {
    grid-template-columns: 1fr;
  }
}
.avis-pager {
  display: flex;
  justify-content: space-between;
  margin: 24px 0 0;
}
.avis-pager-lien {
  font-size: 14px;
  color: var(--rouge);
  text-decoration: underline;
}
