/* ==========================================================================
   L'Artisan Sellier — polish.css
   Polish global : typo, container, buttons, forms, accordions, badges, lists
   Consolidé depuis mu-plugins/v6-polish.css + v6-fixes.css (oct 2026)
   ========================================================================== */

/* --- 1. CONTAINER max-width cohérent --- */
.container,
.entry-content > .wp-block-group > .wp-block-group__inner-container,
.entry-content > .container,
header > .container,
footer > .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- 2. TYPOGRAPHIE globale --- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1410;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1410;
}
em { font-style: italic; }

/* --- 3. ACCESSIBILITÉ - contrastes WCAG AA --- */
body, p, span, li, a {
  color: #1a1410;
}
.text-muted, .muted, .help, .meta {
  color: #5a4536;
}
p, .lead, .description {
  color: #3a2c20;
  line-height: 1.65;
}
small, .small {
  color: #5a4536;
}
a {
  color: #c2542a;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #a8431e;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* --- 4. HEADER - menu lisible --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 239, 230, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(62, 38, 20, 0.08);
}
.site-header .nav-list {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-header .nav-list a {
  display: inline-block;
  padding: 0.625rem 1rem;
  color: #1a1410;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: all 0.2s;
}
.site-header .nav-list a:hover,
.site-header .nav-list a[aria-current="page"] {
  color: #c2542a;
  background: rgba(194, 84, 42, 0.08);
}

/* --- 5. BUTTONS cohérence --- */
.btn, button.btn, a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
}
.btn-primary, .btn:not(.btn-secondary):not(.btn-outline) {
  background: #c2542a;
  color: white;
}
.btn-primary:hover, .btn:not(.btn-secondary):not(.btn-outline):hover {
  background: #a8431e;
  color: white;
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: #3e2614;
  border: 1.5px solid #3e2614;
}
.btn-secondary:hover {
  background: #3e2614;
  color: white;
}

/* --- 6. FORMS (Contact Form 7) --- */
.wpcf7-form {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
.wpcf7-form p { margin: 0; }
.wpcf7-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #3a2c20;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid rgba(62, 38, 20, 0.2);
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  background: white;
  color: #1a1410;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #c2542a;
  box-shadow: 0 0 0 3px rgba(194, 84, 42, 0.15);
}
.wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
}
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
  background: #c2542a;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  justify-self: start;
}
.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
  background: #a8431e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(194, 84, 42, 0.3);
}

/* --- 7. ACCORDION / FAQ --- */
.accordion, .faq {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.accordion details, .faq details {
  background: white;
  border: 1px solid rgba(62, 38, 20, 0.1);
  border-radius: 8px;
  padding: 0;
  transition: all 0.2s;
}
.accordion details[open], .faq details[open] {
  background: #f5efe6;
  border-color: #c2542a;
  box-shadow: 0 4px 12px rgba(62, 38, 20, 0.08);
}
.accordion summary, .faq summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1410;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.accordion summary::-webkit-details-marker, .faq summary::-webkit-details-marker {
  display: none;
}
.accordion summary::after, .faq summary::after {
  content: '+';
  color: #c2542a;
  font-size: 1.5rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.accordion details[open] summary::after, .faq details[open] summary::after {
  content: '−';
}
.accordion .content, .faq .content, .accordion > p, .faq > p {
  padding: 0 1.5rem 1.25rem;
  color: #3a2c20;
  line-height: 1.6;
}

/* --- 8. VALUES / ENGAGEMENTS list --- */
.values-list, .commitments {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.values-list li, .commitments li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(62, 38, 20, 0.08);
}
.values-list li::before, .commitments li::before {
  content: '✓';
  color: #c2542a;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(194, 84, 42, 0.1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}
.values-list strong, .commitments strong {
  color: #1a1410;
  display: block;
  margin-bottom: 0.25rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
}

/* --- 9. TAGS / PILLS --- */
.tag, .badge, .pill {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(194, 84, 42, 0.1);
  color: #c2542a;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0.125rem;
}

/* --- 10. LISTS cohérentes --- */
.entry-content ul, .entry-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: #3a2c20;
  line-height: 1.7;
}
.entry-content ul li, .entry-content ol li {
  margin-bottom: 0.5rem;
}
.entry-content ul li::marker {
  color: #c2542a;
}

/* --- 11. BLOCKQUOTE --- */
.entry-content blockquote {
  border-left: 3px solid #c2542a;
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #3a2c20;
}

/* --- 12. STATS / ATELIER-STRIP inline div --- */
div[style*="display:flex"][style*="gap"][style*="flex-wrap"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(62, 38, 20, 0.1);
  border-bottom: 1px solid rgba(62, 38, 20, 0.1);
}
div[style*="display:flex"][style*="gap"][style*="flex-wrap"] > div {
  text-align: center;
  padding: 0.5rem;
}
div[style*="display:flex"][style*="gap"][style*="flex-wrap"] > div > strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.5rem;
  color: #c2542a;
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 700;
  line-height: 1;
}
div[style*="display:flex"][style*="gap"][style*="flex-wrap"] > div > span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5a4536;
  font-weight: 500;
  line-height: 1.4;
  display: block;
}
@media (max-width: 880px) {
  div[style*="display:flex"][style*="gap"][style*="flex-wrap"] {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* === AMÉLIORATIONS DESIGN OCTOBRE 2026 === */

/* --- 1. Smooth scroll + transitions globales --- */
html {
  scroll-behavior: smooth;
}
* {
  -webkit-tap-highlight-color: transparent;
}

/* --- 2. Boutons CTA plus présents (cuivre + or) --- */
.btn,
.button,
a.button,
button.button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85em 1.75em;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary,
a.btn-primary,
button.btn-primary,
input[type="submit"] {
  background: linear-gradient(135deg, #c2542a 0%, #a8431e 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(194, 84, 42, 0.25);
}
.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
input[type="submit"]:hover {
  background: linear-gradient(135deg, #a8431e 0%, #8a3818 100%);
  box-shadow: 0 6px 16px rgba(194, 84, 42, 0.4);
  transform: translateY(-2px);
}
.btn-secondary,
a.btn-secondary {
  background: transparent;
  color: #3e2614;
  border: 1.5px solid #3e2614;
}
.btn-secondary:hover {
  background: #3e2614;
  color: #f5efe6;
}

/* --- 3. Liens internes (CTA inline dans lead) plus visibles --- */
.page-hero a,
.section a.cta-link,
.lead a {
  color: #c2542a;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 1px;
  transition: all 0.2s;
}
.page-hero a:hover,
.lead a:hover {
  color: #a8431e;
  border-bottom-width: 2px;
}

/* --- 4. Sélection de texte stylisée --- */
::selection {
  background: #c2542a;
  color: #fff;
}
::-moz-selection {
  background: #c2542a;
  color: #fff;
}

/* --- 5. Liens footer améliorés --- */
footer a {
  color: #f5efe6;
  text-decoration: none;
  transition: color 0.2s;
  opacity: 0.85;
}
footer a:hover {
  color: #e8b04b;
  opacity: 1;
}

/* --- 6. Process steps : icône dorée + meilleure lisibilité --- */
.section.process .process-step {
  text-align: left;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(232, 176, 75, 0.15);
  transition: all 0.3s;
  height: 100%;
}
.section.process .process-step:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(232, 176, 75, 0.3);
  transform: translateY(-2px);
}
.section.process .process-step .num {
  color: #e8b04b !important;
  font-weight: 700;
  font-size: 1.5rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* --- 7. Animations fade-in au scroll (simple) --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* --- 8. Espacement section-head amélioré --- */
.section-head {
  margin-bottom: 3rem;
  text-align: center;
}
.section-head .eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
}
.section-head h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  margin: 0 0 0.75rem;
  line-height: 1.2;
  color: #1a1410;
}
.section-head .lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #5a4536;
  max-width: 60ch;
  margin: 0 auto;
}

/* --- 9. Section sombre : section-head h2 en cream --- */
section[style*="--color-leather"] .section-head h2,
.section.process .section-head h2,
.section.dark .section-head h2 {
  color: #f5efe6 !important;
}
section[style*="--color-leather"] .section-head .lead,
.section.process .section-head .lead,
.section.dark .section-head .lead {
  color: rgba(245, 239, 230, 0.9) !important;
}
section[style*="--color-leather"] .section-head .eyebrow,
.section.process .section-head .eyebrow,
.section.dark .section-head .eyebrow {
  color: #e8b04b !important;
}


/* === FORMULAIRE CONTACT (CF7) AMÉLIORÉ === */
.wpcf7-form,
form.wpcf7-form {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(62, 38, 20, 0.08);
  border: 1px solid rgba(62, 38, 20, 0.06);
}
.wpcf7-form p,
.wpcf7-form .form-row {
  margin: 0 0 1.25rem;
}
.wpcf7-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #3e2614;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #1a1410;
  background: #f5efe6;
  border: 1.5px solid transparent;
  border-radius: 6px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  outline: none;
  background: white;
  border-color: #c2542a;
  box-shadow: 0 0 0 3px rgba(194, 84, 42, 0.1);
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #a89b88;
  font-weight: 400;
}
.wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
  font-family: inherit;
}
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}
.wpcf7-form .wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: #c2542a;
  margin-top: 0.3rem;
  font-weight: 500;
}
.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
}
/* Champs côte à côte (2-col responsive) */
.wpcf7-form .form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .wpcf7-form { padding: 1.5rem; }
  .wpcf7-form .form-row-2col { grid-template-columns: 1fr; }
}

/* === Section contact-section (la zone qui contient le form) === */
.contact-section {
  background: #f5efe6;
  padding: 3rem 0;
}
.contact-section .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-section .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* === FOOTER AMÉLIORÉ === */
footer {
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3e2614 0%, #c2542a 50%, #e8b04b 100%);
  opacity: 0.6;
}
footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
footer-brand .brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f5efe6;
  margin-bottom: 0.5rem;
  display: block;
}
footer-brand p {
  color: rgba(232, 220, 196, 0.75);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-top: 0.75rem;
  max-width: 32ch;
}
footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8b04b;
  margin-bottom: 1.25rem;
  font-weight: 700;
}
footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}
footer-col a {
  color: rgba(232, 220, 196, 0.75);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
footer-col a:hover {
  color: #e8b04b;
  padding-left: 0.25rem;
}
footer-bottom {
  border-top: 1px solid rgba(232, 220, 196, 0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(232, 220, 196, 0.6);
}
@media (max-width: 880px) {
  footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 540px) {
  footer-grid {
    grid-template-columns: 1fr;
  }
}


/* === CTA dans entête === */
.page-hero .hero-cta {
  grid-area: cta !important;
  justify-self: start !important;
  margin-top: 1.25rem !important;
  font-size: 0.95rem !important;
  padding: 0.85em 1.75em !important;
}
@media (max-width: 880px) {
  .page-hero .hero-cta {
    grid-area: cta !important;
    margin-top: 1rem !important;
  }
}
