/*
Theme Name: MMA-GIFTS
Version: 1.0
*/

:root {
  --encre: #1B1815;
  --os: #EDE7DA;
  --toile: #E8E2D5;
  --toile-fonce: #DCD4C2;
  --ardoise: #4A453E;
  --bordeaux: #7A2E27;
  --bordeaux-survol: #8F382F;
  --or: #B8863B;
  --trait: rgba(27, 24, 21, 0.14);
  --trait-sombre: rgba(237, 231, 218, 0.18);
  --police-titre: "Anton", "Arial Narrow", sans-serif;
  --police-texte: "Roboto", Arial, sans-serif;
  --largeur-max: 1160px;
  --rayon: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--police-texte);
  color: var(--ardoise);
  background: var(--toile);
  line-height: 1.6;
  font-size: 1.0625rem;
}

h1, h2, h3 {
  font-family: var(--police-titre);
  font-weight: 400;
  color: var(--encre);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin: 0;
}

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

.container {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--or);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.site-header {
  background: var(--encre);
  color: var(--os);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--trait-sombre);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  font-family: var(--police-titre);
  font-size: 1.5rem;
  color: var(--os);
  text-decoration: none;
}

.logo span { color: var(--or); }

.primary-nav { display: none; }

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--os);
  border-bottom: 2px solid transparent;
  padding-bottom: 0.2rem;
  transition: border-color 0.15s ease;
}

.primary-nav a:hover { border-color: var(--or); }

@media (min-width: 800px) {
  .primary-nav { display: block; }
}

.hero {
  background: var(--encre);
  color: var(--os);
  padding: 3.5rem 0 3rem;
}

.hero .container {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
}

.hero-copy { animation: apparition 0.6s ease-out both; }

@keyframes apparition {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  color: var(--os);
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
  line-height: 1.3;
}

.hero-lede {
  margin: 1.4rem 0 0;
  max-width: 46ch;
  font-size: 1.1rem;
  color: var(--os);
  opacity: 0.92;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-block;
  font-family: var(--police-texte);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--rayon);
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--bordeaux);
  color: var(--os);
}
.btn-primary:hover { background: var(--bordeaux-survol); }

.btn-ghost {
  border-color: var(--trait-sombre);
  color: var(--os);
}
.btn-ghost:hover { border-color: var(--or); color: var(--or); }

.disclosure {
  margin-top: 1.6rem;
  font-size: 0.82rem;
  color: var(--os);
  opacity: 0.65;
  max-width: 46ch;
}

.corner-board {
  border: 1px solid var(--trait-sombre);
  padding: 1.5rem;
}

.corner-board p {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  color: var(--or);
  letter-spacing: 0.04em;
}

.weight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.weight-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--trait-sombre);
  padding-bottom: 0.55rem;
  font-size: 0.92rem;
}

.weight-list li:last-child { border-bottom: none; padding-bottom: 0; }

.weight-list b { font-family: var(--police-titre); font-weight: 400; }

section { padding: 3.5rem 0; }

.section-toile-fonce { background: var(--toile-fonce); }


.section-head h2 {
  font-size: clamp(1.6rem, 2.4vw + 1rem, 2.2rem);
  margin-bottom: 0.9rem;
}

.section-head p { margin: 0; }

.updated-note {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--ardoise);
  opacity: 0.75;
  margin-top: 0.6rem;
}

.section-canvas-deep-pillar {
  padding-top: 0;
}

.pillar-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .pillar-grid { grid-template-columns: repeat(4, 1fr); }
}

.pillar-card {
  background: var(--toile);
  border: 1px solid var(--trait);
  border-left: 4px solid var(--bordeaux);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-left-color 0.15s ease, transform 0.15s ease;
}

.pillar-card:hover {
  border-left-color: var(--or);
  transform: translateY(-2px);
}

.pillar-card i {
  display: block;
  font-size: 1.9rem;
  color: var(--bordeaux);
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.pillar-card p {
  margin: 0;
  font-size: 0.94rem;
}

.product-grid {
  margin-top: 20px;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  background: var(--toile);
  border: 1px solid var(--trait);
}

.product-photo {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(135deg, var(--toile-fonce) 0 10px, var(--toile) 10px 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--ardoise);
  border-bottom: 1px solid var(--trait);
}

.product-body { padding: 1.25rem; }

.price-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bordeaux);
  border: 1px solid var(--bordeaux);
  padding: 0.15rem 0.55rem;
  border-radius: var(--rayon);
  margin-bottom: 0.7rem;
}

.product-body h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }

.product-body p { font-size: 0.94rem; margin: 0 0 1rem; }

/* .product-cta {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--bordeaux);
  text-decoration: underline;
} */

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75rem 1.2rem;
  background: var(--bordeaux);
  color: var(--os);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--rayon);
  box-shadow: 0 2px 0 rgba(27, 24, 21, 0.25);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.product-cta::after {
  content: "\f08e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.8em;
}

.product-cta:hover {
  background: var(--bordeaux-survol);
  transform: translateY(-1px);
  box-shadow: 0 4px 0 rgba(27, 24, 21, 0.25);
}

.product-cta:active {
  transform: translateY(1px);
  box-shadow: none;
}

.product-links .product-cta { flex: 1 1 auto; }

.product-links .product-cta + .product-cta {
  background: transparent;
  color: var(--bordeaux);
  border: 1.5px solid var(--bordeaux);
  box-shadow: none;
}

.product-links .product-cta + .product-cta:hover {
  background: var(--bordeaux);
  color: var(--os);
}

.price-table-wrap { overflow-x: auto; }

table.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--toile);
  min-width: 560px;
}

.price-table th, .price-table td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--trait);
  font-size: 0.94rem;
  vertical-align: top;
}

.price-table thead th {
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: 1rem;
  color: var(--encre);
  border-bottom: 2px solid var(--encre);
}

.price-table tbody tr:last-child td { border-bottom: none; }

.faq-item {
  border-bottom: 1px solid var(--trait);
  padding: 1rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: 1.08rem;
  color: var(--encre);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--police-texte);
  font-size: 1.3rem;
  color: var(--bordeaux);
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  margin: 0.8rem 0 0;
  font-size: 0.98rem;
}

.trust-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

.byline {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.2rem;
}

.byline-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--encre);
  color: var(--or);
  font-family: var(--police-titre);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.criteria-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.criteria-list li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.96rem;
}

.criteria-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--bordeaux);
}

.site-footer {
  background: var(--encre);
  color: var(--os);
  padding: 2.6rem 0 1.6rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-grid .footer-titre {
  font-family: var(--police-titre);
  font-weight: 400;
  color: var(--or);
  font-size: 0.95rem;
  margin: 0 0 0.8rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-grid a { text-decoration: none; color: var(--os); }

.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--trait-sombre);
  font-size: 0.8rem;
  opacity: 0.7;
}


.primary-nav li { position: relative; }

.primary-nav li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 0.4em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.primary-nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--encre);
  border: 1px solid var(--trait-sombre);
  padding: 0.4rem 0;
  z-index: 30;
}

.primary-nav li:hover > ul,
.primary-nav li:focus-within > ul {
  display: block;
}

.primary-nav ul ul a {
  display: block;
  padding: 0.6rem 1.2rem;
  border-bottom: none;
  font-size: 0.9rem;
  white-space: nowrap;
}

.primary-nav ul ul a:hover {
  background: rgba(237, 231, 218, 0.08);
  border-color: transparent;
}

header .logo img,
footer .logo img {
  max-width: 240px;
}



.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
 
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--os);
}
 
@media (min-width: 800px) {
  .menu-toggle { display: none; }
}
 
@media (max-width: 799px) {
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--encre);
    border-top: 1px solid var(--trait-sombre);

    height: 80vh;
    overflow-y: scroll;
  }
 
  .primary-nav.nav-ouverte { display: block; }
 
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
  }
 
  .primary-nav li {
    border-bottom: 1px solid var(--trait-sombre);
  }
 
  .primary-nav a {
    display: block;
    padding: 1rem 1.5rem;
  }
 
  .primary-nav li.menu-item-has-children > a::after {
    display: none;
  }
 
  .primary-nav ul ul {
    position: static;
    display: block;
    background: rgba(237, 231, 218, 0.05);
    border: none;
    padding: 0;
  }
 
  .primary-nav ul ul a {
    padding-left: 2.5rem;
    white-space: normal;
  }
}



.page-template-template-produits h1 {
  margin-bottom: 20px;
}
.page-template-template-produits #produits {
  padding-top: 0;
  padding-bottom: 20px;
}
.page-template-template-produits .breadcrumb {
  margin-top: 10px;
}
.page-template-template-produits .page-intro {
  padding-bottom: 0;
}
.page-template-template-produits .section-subpages {
  padding-top: 0;
}
.page-template-template-produits .section-subpages ul {
  list-style-type: none;
  padding:0;
}


main.simple-page {
  margin-top: 50px;
  margin-bottom: 50px;
}

.gform_wrapper {
  margin: 0 auto!important;
  max-width: 700px!important;
}
 
.gform_wrapper .gform_fields {
  list-style: none!important;
  margin: 0!important;
  padding: 0!important;
  display: grid!important;
  gap: 1.2rem!important;
}
 
.gform_wrapper .gfield_label {
  display: block!important;
  font-family: var(--police-texte)!important;
  font-weight: 600!important;
  font-size: 0.92rem!important;
  color: var(--ardoise)!important;
  margin-bottom: 0.4rem!important;
}
 
.gform_wrapper .gfield_required {
  color: var(--bordeaux)!important;
  margin-left: 0.2em!important;
}
 
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper textarea,
.gform_wrapper select {
  width: 100%!important;
  font-family: var(--police-texte)!important;
  font-size: 1rem!important;
  color: var(--encre)!important;
  background: var(--toile)!important;
  border: 1px solid var(--trait)!important;
  border-radius: var(--rayon)!important;
  padding: 0.7rem 0.9rem!important;
  outline:none!important;
  background-color: white!important;
}
 
.gform_wrapper textarea {
  min-height: 140px!important;
  resize: vertical!important;
}
 
.gform_wrapper input:focus-visible,
.gform_wrapper textarea:focus-visible,
.gform_wrapper select:focus-visible {
  outline: 3px solid var(--or)!important;
  outline-offset: 2px!important;
  border-color: var(--bordeaux)!important;
}
 
.gform_wrapper .gfield_description {
  font-size: 0.85rem!important;
  color: var(--ardoise)!important;
  opacity: 0.75!important;
  margin-top: 0.35rem!important;
}
 
.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error textarea,
.gform_wrapper .gfield_error select {
  border-color: #C0392B!important;
}
 
.gform_wrapper .validation_message {
  color: #C0392B!important;
  font-size: 0.85rem!important;
  margin-top: 0.35rem!important;
}
 
.gform_wrapper .validation_error {
  border: 1px solid #C0392B!important;
  background: rgba(192, 57, 43, 0.06)!important;
  padding: 0.9rem 1.1rem!important;
  margin-bottom: 1.2rem!important;
  font-size: 0.92rem!important;
  color: #C0392B!important;
}
 
.gform_wrapper .gform_footer {
  margin-top: 1.6rem!important;
}
 
.gform_wrapper .gform_button {
  display: inline-block!important;
  font-family: var(--police-texte)!important;
  font-weight: 600!important;
  font-size: 0.98rem!important;
  background: var(--bordeaux)!important;
  color: var(--os)!important;
  border: none!important;
  border-radius: var(--rayon)!important;
  padding: 0.8rem 1.6rem!important;
  cursor: pointer!important;
  outline:none!important;
}
 
.gform_wrapper .gform_button:hover {
  background: var(--bordeaux-survol)!important;
}
 
.gform_wrapper .gform_confirmation_wrapper {
  border: 1px solid var(--trait)!important;
  background: var(--toile-fonce)!important;
  padding: 1.2rem 1.4rem!important;
  font-family: var(--police-texte)!important;
  color: var(--encre)!important;
}

p.gform_required_legend {
  display: none!important;
}