/*************************************
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;
  --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: 16px;
  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 */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blanc);
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.nav-inner {
  display: flex;
  align-items: center;
  padding: 0 2rem;
  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;
}

/* HERO */
.hero {
  position: relative;
  height: 560px;
  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: center;
  padding: 0 3.5rem;
}
.hero-content {
  max-width: 520px;
}
.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); }
.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;
}

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

/* SECTION PHOTOS */
.photos-section {
  padding: 3.5rem 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--rouge);
  font-weight: 600;
  margin-bottom: 8px;
}
.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: 2rem;
  font-weight: 300;
  max-width: 560px;
}
.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: 3rem 0;
}
.main h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 10px;
}
.main p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
  font-weight: 300;
}

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

/* RAYONS (plus magazine, moins e-commerce) */
.rayons-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.5rem 0;
}
.rayon-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 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-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: 1.5rem 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: 1.5rem 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: 48px 0 0;
}
.widget {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  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(--border); 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(--rouge);
}

/* 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;
}
.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;
}

/* Formulaire de contact : le div.champ-website (honeypot InfiniCaptcha)
   doit rester invisible mais accessible, jamais display:none (les bots
   filtrent ce pattern) */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-form input,
.contact-form textarea {
  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;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--bois);
}
.contact-submit {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--blanc);
  background: var(--rouge);
  border: none;
  border-radius: 5px;
  padding: 11px 0;
  cursor: pointer;
  transition: background .15s;
}
.contact-submit:hover {
  background: var(--rouge-clair);
}
.champ-website {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  overflow: hidden;
}

.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(--rouge); border-color: var(--rouge); }

.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: flex-start;
  line-height: 1.45;
}
.article-list a:hover { color: var(--rouge); }
.vignette {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--creme);
  color: #cbb89a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vignette svg {
  width: 16px;
  height: 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 3 colonnes) */
.article-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 1.5rem 0;
}
.article-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .15s;
}
.article-card:hover { border-color: var(--bois); }
.article-card-img {
  aspect-ratio: 16 / 9;
  background: var(--creme);
  color: #cbb89a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-card-body {
  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 .article-card-meta {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-weight: 600;
  color: var(--text);
}

/* FICHE ARTICLE (blog) */
.article-image {
  width: 100%;
  border-radius: 6px;
  display: block;
  margin: 1rem 0;
}
.article-content {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
}
.article-content p {
  margin-bottom: 14px;
}
.article-content img {
  max-width: 100%;
  border-radius: 4px;
  margin: 1rem 0;
}

/* PAGER BLOG */
.article-pager {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 2rem 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 {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.comment-item:last-child {
  border-bottom: none;
}
.comment-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}
.comment-meta a {
  color: var(--rouge);
  text-decoration: none;
  font-weight: 600;
}
.comment-texte {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* FOOTER */
footer {
  background: var(--blanc);
  border-top: 1px solid var(--border);
  width: 100%;
}
.footer-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.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); }
