/* =====================================================================
   Les Sapins Bordelais - ajustements de la maquette
   Complète style.css du template "Christ" sans le modifier :
   - titres SEO (un seul H1 par page, sections en H2) avec le même rendu
   - voile sur les photos pour la lisibilité des textes blancs
   - composants ajoutés (étapes, communes, FAQ, réassurance, cartes)
   - accessibilité (lien d'évitement, focus clavier visible)
   ===================================================================== */

/* ---------- Accessibilité ---------- */
.lien-evitement {
  position: absolute; left: -9999px; top: 0; z-index: 100000;
  background-color: #4d4d4d; color: #ffffff; padding: 10px 18px; font-weight: 700;
}
.lien-evitement:focus { left: 10px; top: 10px; color: #ffffff; }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid #e11515 !important; outline-offset: 2px;
}
main.section { display: block; }

/* ---------- Header ---------- */
.header-logo .logo img { height: 110px; width: auto; }
@media only screen and (max-width: 767px) { .header-logo .logo img { height: 90px; } }
.header-bottom-logo .logo { width: 70px; }

.header-infos a { align-items: center; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.header-infos a i { margin-right: 8px; }
.account-menu ul > li > a i.fa-phone { margin-right: 6px; }

.header-appel { float: right; padding: 25px 0; color: #7d7d7d; }
.header-appel:hover { color: #e11515; }
.header-appel i { font-size: 20px; line-height: 30px; display: block; }
@media only screen and (max-width: 767px) {
  .header-appel { padding: 20px 0; }
  .stick .header-bottom-wrapper .header-appel { margin-right: 40px; }
}

/* ---------- Hero ---------- */
.hero-slider .hero-item { position: relative; }
.hero-slider .hero-item::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(18, 26, 18, 0.45) 0%, rgba(18, 26, 18, 0.6) 100%);
}
.hero-slider .hero-item .hero-content { position: relative; z-index: 1; }
.hero-slider .hero-item .hero-content h1,
.hero-slider .hero-item .hero-content p.hero-titre {
  font-size: 100px; font-weight: 700; color: #ffffff; line-height: 1;
  margin-bottom: 14px; text-transform: none;
}
.hero-slider .hero-item .hero-content .hero-sur {
  display: block; font-size: 50px; line-height: 1; margin-bottom: 3px;
}
.hero-slider .hero-item .hero-content .hero-grand { display: block; }
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hero-slider .hero-item .hero-content h1,
  .hero-slider .hero-item .hero-content p.hero-titre { font-size: 80px; }
  .hero-slider .hero-item .hero-content .hero-sur { font-size: 44px; }
}
@media only screen and (max-width: 767px) {
  .hero-slider .hero-item .hero-content h1,
  .hero-slider .hero-item .hero-content p.hero-titre { font-size: 50px; }
  .hero-slider .hero-item .hero-content .hero-sur { font-size: 30px; }
}
@media only screen and (max-width: 479px) {
  .hero-slider .hero-item .hero-content h1,
  .hero-slider .hero-item .hero-content p.hero-titre { font-size: 36px; }
  .hero-slider .hero-item .hero-content .hero-sur { font-size: 24px; }
}

/* ---------- Titres de section (H2 avec le rendu des H1 du template) ---------- */
.section-title h2 {
  font-size: 36px; font-weight: 700; line-height: 28px; color: #4d4d4d;
  margin: 0; padding: 20px 0;
  background-image: url("../img/section-title-bg.png");
  background-repeat: no-repeat; background-position: center center;
}
@media only screen and (max-width: 767px) { .section-title h2 { font-size: 30px; line-height: 34px; } }
@media only screen and (max-width: 479px) { .section-title h2 { font-size: 24px; line-height: 28px; } }

/* Bandeau de page : titres longs (articles, communes) */
.page-banner-section { position: relative; }
.page-banner-section::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-color: rgba(18, 26, 18, 0.45);
}
.page-banner-section .container { position: relative; z-index: 1; }
.page-banner-section .page-title h1 { line-height: 1.2; }
.page-banner-section .page-title p {
  color: #ffffff; font-size: 17px; line-height: 27px; max-width: 710px; margin: 18px auto 0;
}

/* ---------- Bannières ---------- */
.single-banner { overflow: hidden; }
.single-banner.voile::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1;
  background: linear-gradient(270deg, rgba(18, 26, 18, 0.7) 0%, rgba(18, 26, 18, 0.15) 75%);
}
.single-banner .banner-content { z-index: 2; }
.single-banner .banner-content h2.titre-banniere {
  font-size: 40px; line-height: 44px; margin-bottom: 23px;
}
.single-banner .banner-content h2.titre-banniere span {
  font-size: 30px; display: flex;
}
@media only screen and (max-width: 767px) {
  .single-banner .banner-content h2.titre-banniere { font-size: 30px; line-height: 34px; }
  .single-banner .banner-content h2.titre-banniere span { font-size: 24px; }
}
@media only screen and (max-width: 479px) {
  .single-banner .banner-content h2.titre-banniere { font-size: 24px; line-height: 24px; margin-bottom: 15px; }
  .single-banner .banner-content h2.titre-banniere span { font-size: 18px; }
}

/* ---------- Cartes sapins ---------- */
.product .image .label { background-color: rgba(255, 255, 255, 0.92); padding: 6px 8px 5px; border-bottom: 0; border-radius: 3px; top: 20px; right: 20px; line-height: 14px; }
.product .content .head .title-category .category:hover { color: #7d7d7d; }
.product .content .head .price span.prefixe { font-size: 14px; font-weight: 400; color: #7d7d7d; float: none; display: inline; line-height: 30px; margin-right: 4px; }
.product .content .head .price span.montant { float: none; display: inline; }

/* ---------- Étapes de livraison ---------- */
.etapes { counter-reset: none; }
.etape { text-align: center; }
.etape-numero {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background-color: #83a931; color: #ffffff; font-size: 22px; font-weight: 700;
  margin-bottom: 20px;
}
.etape h3 { font-size: 20px; line-height: 28px; margin-bottom: 10px; }
.etape p { font-size: 15px; line-height: 25px; color: #606060; max-width: 260px; margin: 0 auto; }

/* ---------- Communes livrées ---------- */
.liste-communes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.liste-communes li a,
.liste-communes li span {
  display: inline-flex; align-items: center; height: 44px; padding: 0 22px;
  background-color: #ffffff; border: 1px solid #d6dee7; border-radius: 5px;
  color: #4d4d4d; font-size: 15px; font-weight: 700;
}
.liste-communes li i { color: #83a931; margin-right: 10px; font-size: 16px; }
.liste-communes li a:hover { background-color: #83a931; border-color: #83a931; color: #ffffff; }
.liste-communes li a:hover i { color: #ffffff; }
.communes-note { text-align: center; margin-top: 30px; font-size: 15px; }
.communes-note a { color: #83a931; border-bottom: 1px solid #83a931; }

/* ---------- Bloc appel (remplace la newsletter) ---------- */
.bloc-appel .boutons-appel { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.bouton-vert {
  display: inline-flex; align-items: center; height: 45px; padding: 0 34px;
  background-color: #83a931; color: #ffffff; text-transform: uppercase; font-weight: 700;
  border-radius: 5px; letter-spacing: 0.5px;
}
.bouton-vert:hover, .bouton-vert:focus { background-color: #74952b; color: #ffffff; }
.bouton-vert i { margin-right: 10px; font-size: 18px; }
.bouton-contour {
  display: inline-flex; align-items: center; height: 45px; padding: 0 30px;
  border: 2px solid #4d4d4d; color: #4d4d4d; text-transform: uppercase; font-weight: 700;
  border-radius: 5px; letter-spacing: 0.5px;
}
.bouton-contour:hover, .bouton-contour:focus { background-color: #4d4d4d; color: #ffffff; }
.bouton-contour i { margin-right: 10px; font-size: 18px; }

/* ---------- Contenus texte (pages, articles, communes) ---------- */
.texte-riche h2 { font-size: 26px; line-height: 34px; margin: 35px 0 15px; }
.texte-riche h3 { font-size: 20px; line-height: 28px; margin: 25px 0 10px; }
.texte-riche p, .texte-riche li { font-size: 15px; line-height: 27px; color: #606060; }
.texte-riche p { margin-bottom: 15px; }
.texte-riche ul.liste-puces { margin: 0 0 20px; }
.texte-riche ul.liste-puces li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.texte-riche ul.liste-puces li::before {
  content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px;
  border-radius: 50%; background-color: #83a931;
}
.texte-riche a:not(.bouton-vert):not(.bouton-contour) { color: #83a931; border-bottom: 1px solid rgba(131, 169, 49, 0.5); }
.texte-riche a:not(.bouton-vert):not(.bouton-contour):hover { color: #4d4d4d; border-color: #4d4d4d; }
.texte-intro { max-width: 820px; margin: 0 auto; text-align: center; }
.texte-intro p { font-size: 17px; line-height: 29px; color: #606060; }

/* Section "à propos" réutilisée sur d'autres pages */
.about-content h2 { line-height: 38px; }
.about-content p { font-size: 15px; line-height: 27px; color: #606060; margin-bottom: 15px; }

/* ---------- Tableau des tailles ---------- */
.tableau-tailles { width: 100%; max-width: 760px; margin: 0 auto; background-color: #ffffff; border-collapse: collapse; }
.tableau-tailles th, .tableau-tailles td { padding: 14px 20px; border: 1px solid #e0e0e0; font-size: 15px; text-align: left; }
.tableau-tailles thead th { background-color: #4d4d4d; color: #ffffff; font-weight: 700; }
.tableau-tailles tbody tr:nth-child(even) td { background-color: #f4f4f4; }
.tableau-scroll { overflow-x: auto; }

/* ---------- Fiche sapin ---------- */
.single-product-content .product-price .prefixe { font-size: 18px; font-weight: 400; color: #7d7d7d; margin-right: 6px; }
.single-product-content .description p { margin-bottom: 12px; font-size: 15px; line-height: 26px; }
.single-product-content .titre-option {
  font-size: 16px; font-weight: 400; display: inline-block; border-bottom: 1px solid #cfd7e2;
  padding-bottom: 5px; margin-bottom: 12px; margin-top: 10px;
}
.liste-tailles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.liste-tailles li {
  border: 1px solid #cfd7e2; border-radius: 4px; padding: 5px 12px; font-size: 13px;
  color: #4d4d4d; background-color: #ffffff;
}
.single-product-content .product-quantity-cart { display: flex; flex-wrap: wrap; gap: 12px; }
.single-product-content .product-quantity-cart a.add-to-cart { display: inline-flex; align-items: center; color: #ffffff; }
.single-product-content .product-quantity-cart a.add-to-cart:hover { color: #ffffff; }
.single-product-content .product-quantity-cart .bouton-contour { height: 40px; padding: 0 24px; font-size: 13px; border-radius: 4px; }
.reassurance { margin-bottom: 24px; }
.reassurance li { display: flex; align-items: center; font-size: 13px; color: #606060; margin-bottom: 10px; }
.reassurance li i { font-size: 20px; color: #83a931; width: 30px; }
.pro-info-tab p { font-size: 15px; line-height: 27px; margin-bottom: 12px; }
.pro-info-tab .table td:first-child { font-weight: 700; color: #4d4d4d; width: 35%; }

/* ---------- Faits chiffrés (page Qui sommes-nous) ---------- */
.single-fact .wrap .fact-nombre { font-size: 24px; font-weight: 700; color: #4d4d4d; display: inline-block; }
.single-fact .wrap p { text-transform: none; font-size: 15px; }

/* Équipe : 2 personnes centrées */
.team-wrapper.justify-content-center { justify-content: center; }

/* Partenaire */
.partenaire { text-align: center; }
.partenaire p { font-size: 15px; margin-bottom: 20px; }
.partenaire img { max-width: 230px; height: auto; }

/* ---------- Blog / conseils ---------- */
.blog-item .content .title { line-height: 30px; }
.article-chapo { font-size: 17px !important; line-height: 29px !important; color: #4d4d4d !important; }
.encadre-conseil {
  background-color: #ffffff; border-left: 4px solid #83a931; padding: 20px 25px; margin: 25px 0 30px;
}
.encadre-conseil p { margin-bottom: 0 !important; color: #4d4d4d !important; }
.single-sidebar ul.sidebar-liens li { margin-bottom: 8px; }
.single-sidebar ul.sidebar-liens li a { color: #4d4d4d; font-size: 15px; }
.single-sidebar ul.sidebar-liens li a:hover { color: #83a931; }
.single-sidebar .bouton-vert { height: 40px; padding: 0 22px; font-size: 13px; margin-top: 15px; }

/* ---------- FAQ ---------- */
.faq-liste { max-width: 860px; margin: 0 auto; }
.faq-liste details { background-color: #ffffff; border: 1px solid #e3e7ec; border-radius: 5px; margin-bottom: 12px; }
.faq-liste summary {
  cursor: pointer; list-style: none; padding: 18px 50px 18px 22px; position: relative;
  font-size: 17px; font-weight: 700; color: #4d4d4d;
}
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: #83a931; font-weight: 400;
}
.faq-liste details[open] summary::after { content: "\2013"; }
.faq-liste details > div { padding: 0 22px 18px; }
.faq-liste details > div p { font-size: 15px; line-height: 26px; color: #606060; margin: 0; }

/* ---------- Contact ---------- */
.contact-info ul li { margin-bottom: 14px; line-height: 24px; }
.contact-info ul li span { display: block; }
.contact-info ul li a:hover { color: #83a931; }
.contact-form label { display: block; font-size: 13px; color: #4d4d4d; font-weight: 700; margin-bottom: 6px; }
.form-champ { margin-bottom: 18px; }
.contact-form .form-champ input, .contact-form .form-champ textarea { margin-bottom: 0; }
.form-note { font-size: 13px; margin-top: 15px; }
.cartes-stands { padding-top: 90px; }
.carte-stand h2 { font-size: 22px; margin-bottom: 8px; }
.carte-stand p { margin-bottom: 15px; }
.carte-stand iframe { display: block; width: 100%; height: 360px; border: 0; }

/* ---------- Footer ---------- */
.footer-widget .footer-logo { width: 130px; height: auto; }
.footer-widget ul li span.libelle { width: auto; float: none; display: inline; margin-right: 6px; }
.footer-widget ul.liste-coordonnees li { margin-bottom: 10px; }
.footer-widget ul.liste-coordonnees li a { display: inline; }
.footer-widget ul.liste-coordonnees li a:hover { margin-left: 0; }
.footer-widget ul li .sans-lien { color: #b5b5b5; }

/* ---------- Correctifs après contrôle visuel ---------- */
ol.etapes { list-style: none; padding-left: 0; margin-bottom: 0; }
.product .image .label { text-transform: none; }
.footer-widget ul li span.sans-lien { float: none; width: auto; display: block; font-weight: 400; color: #b5b5b5; }
/* Titre de bandeau non hiérarchique (pages où le H1 est ailleurs) */
.page-banner-section .page-title .titre-bandeau {
  font-size: 40px; line-height: 1.2; font-weight: 700; color: #ffffff; text-transform: uppercase; margin: 0;
}
@media only screen and (max-width: 767px) { .page-banner-section .page-title .titre-bandeau { font-size: 24px; } }
@media only screen and (max-width: 479px) { .page-banner-section .page-title .titre-bandeau { font-size: 18px; } }
/* Équipe : noms en H3 (même rendu que les H4 du template) */
.single-team .content h3 {
  margin-bottom: 30px; color: #ffffff; text-transform: uppercase; font-size: 18px; font-weight: 700;
  transition: all 0.3s ease 0s; opacity: 0;
}
.single-team:hover .content h3 { margin-bottom: 10px; opacity: 1; }
@media (hover: none) {
  /* Écrans tactiles : nom et rôle toujours visibles */
  .single-team::before { opacity: 0.55; }
  .single-team .content h3, .single-team .content span { opacity: 1; }
  .single-team .content h3 { margin-bottom: 10px; }
}

/* Contact : le bloc blanc chevauche la section des cartes (comme la carte du template) */
.cartes-stands { padding-top: 260px; }
@media only screen and (max-width: 767px) { .cartes-stands { padding-top: 70px; } }
.single-banner.voile-gauche::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(18, 26, 18, 0.72) 0%, rgba(18, 26, 18, 0.15) 75%);
}

/* Mobile : le template fige le conteneur à 300 px sous 480 px de large,
   ce qui laisse de grandes marges sur les téléphones actuels (390-430 px). */
@media only screen and (max-width: 767px) {
  .container { width: 100%; max-width: 540px; padding-left: 20px; padding-right: 20px; }
}
/* Typographie française : pas de majuscule à chaque mot */
.single-sidebar .sidebar-title, .single-sidebar .tag-cloud a { text-transform: none; }

/* =====================================================================
   V2 (PHP) - liens aléatoires, coordonnées du pied de page, pages légales
   ===================================================================== */

/* Barre latérale : liens aléatoires */
.single-sidebar ul.sidebar-liens li { position: relative; padding-left: 18px; }
.single-sidebar ul.sidebar-liens li::before {
  content: "\f105"; font-family: FontAwesome; position: absolute; left: 0; top: 0;
  color: #83a931; font-size: 15px; line-height: 24px;
}
.single-sidebar ul.sidebar-liens li a { line-height: 24px; display: inline-block; }

/* Pied de page : retour à la ligne après le nom du stand, adresses cliquables */
.footer-widget ul.liste-coordonnees li span.libelle.libelle-bloc { display: block; }
.footer-widget ul.liste-coordonnees li a:hover { color: #83a931; }

/* Bas de page : deux lignes (copyright, liens légaux) */
.footer-bottom p { margin-bottom: 4px; }
.footer-bottom p:last-child { margin-bottom: 0; }

/* Pages de texte (mentions légales, CGU, RGPD, plan du site) */
.page-texte { background-color: #ffffff; padding: 50px 60px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.06); }
.page-texte h2:first-of-type { margin-top: 10px; }
@media only screen and (max-width: 767px) { .page-texte { padding: 30px 22px; } }
.encadre-a-valider { background-color: #fff6e0; border-left: 4px solid #e0a800; padding: 16px 22px; margin-bottom: 30px; }
.encadre-a-valider p { margin-bottom: 0 !important; color: #4d4d4d !important; }
.liste-plan-site { columns: 2; column-gap: 40px; }
.liste-plan-site li { break-inside: avoid; position: relative; padding-left: 18px; margin-bottom: 10px; }
.liste-plan-site li::before { content: "\f105"; font-family: FontAwesome; position: absolute; left: 0; top: 0; color: #83a931; line-height: 27px; }
@media only screen and (max-width: 767px) { .liste-plan-site { columns: 1; } }

/* =====================================================================
   V3 - pied de page pleine largeur, cartes équipe
   ===================================================================== */

/* Pied de page en pleine largeur : les colonnes s'élargissent avec l'écran */
.footer-section .footer-pleine-largeur { padding-left: 4%; padding-right: 4%; }
@media only screen and (max-width: 767px) {
  .footer-section .footer-pleine-largeur { padding-left: 20px; padding-right: 20px; }
}
/* Liens aléatoires sur une seule ligne dès que la colonne est assez large */
@media only screen and (min-width: 1200px) {
  .footer-widget ul.liens-aleatoires li a { white-space: nowrap; }
}

/* Équipe : cartes avec photo ronde, nom et rôle toujours visibles */
.carte-equipe {
  background-color: #ffffff; padding: 35px 25px 30px; text-align: center; height: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.06); border-radius: 4px;
}
.carte-equipe-photo {
  width: 180px; height: 180px; border-radius: 50%; object-fit: cover;
  border: 5px solid #eff2f5; margin: 0 auto 22px; display: block;
}
.carte-equipe h3 { font-size: 22px; line-height: 28px; margin-bottom: 6px; color: #4d4d4d; }
.carte-equipe span {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #83a931;
}

/* =====================================================================
   V4 - corrections de l'affichage mobile
   ===================================================================== */

/* 1. Images : la hauteur suit la largeur. Les attributs width/height ne servent
      plus qu'à réserver le bon ratio pendant le chargement (pas de déformation). */
img { height: auto; }

/* 2. En-tête compact sur téléphone : le bouton d'appel de la barre de menu remplace
      la ligne « Stands » et les deux numéros, le logo est réduit. */
@media only screen and (max-width: 767px) {
  .header-top .header-infos, .header-top .account-menu { display: none; }
  .header-top-wrapper { padding: 10px 0; }
  .header-logo .logo img { height: 62px; }
}
/* Téléphones en paysage : même principe, l'écran ne fait que 350 à 450 px de haut */
@media only screen and (min-width: 568px) and (max-width: 991px) and (max-height: 500px) and (orientation: landscape) {
  .header-top .header-infos, .header-top .account-menu { display: none; }
  .header-top .header-logo { flex: 0 0 100%; max-width: 100%; }
  .header-top-wrapper { padding: 8px 0; }
  .header-logo .logo img { height: 52px; }
  .hero-slider .hero-item { padding-top: 60px; padding-bottom: 60px; }
}

/* 3. Formulaire : 16 px minimum dans les champs (sinon l'iPhone zoome à la saisie) */
@media only screen and (max-width: 991px) {
  .contact-form form input:not([type="submit"]), .contact-form form textarea { font-size: 16px; }
}

/* 4. Zones de tap d'au moins 44 px sur les commandes principales */
@media only screen and (max-width: 767px) {
  .header-appel { min-width: 44px; text-align: center; margin-right: -14px; }
  .stick .header-bottom-wrapper .header-appel { margin-right: 34px; padding-top: 33px; padding-bottom: 19px; }
  .mean-bar .meanmenu-reveal { width: 44px !important; height: 44px !important; padding: 7px 11px !important; margin: -7px -11px; }
}
.hero-slider .slick-dots li { position: relative; }
.hero-slider .slick-dots li::after { content: ""; position: absolute; top: -12px; right: -8px; bottom: -12px; left: -8px; }
/* (le bloc parent masque ce qui dépasse : la zone est agrandie vers le haut par un padding compensé) */
.blog-item .content a.read-more { padding-top: 14px; margin-top: -14px; }
.pro-info-tab-list li a::after { content: ""; position: absolute; top: -12px; right: -6px; bottom: -10px; left: -6px; }
.footer-widget ul.liste-coordonnees li a { position: relative; }
.footer-widget ul.liste-coordonnees li a::after { content: ""; position: absolute; top: -10px; right: -2px; bottom: -10px; left: -2px; }
@media only screen and (max-width: 767px) {
  .footer-widget ul li a { padding: 7px 0; }
  .footer-widget ul.liste-coordonnees li a { padding: 0; }
  .single-sidebar ul.sidebar-liens li a { padding: 8px 0; }
}

/* 5. Textes plus lisibles sur téléphone */
@media only screen and (max-width: 767px) {
  .hero-slider .hero-item .hero-content p { font-size: 15px; line-height: 24px; }
  .hero-slider .hero-item .hero-content a { font-size: 13px; height: 44px; line-height: 40px; padding: 0 24px; }
  .single-banner .banner-content a.button { font-size: 13px; height: 40px; line-height: 36px; }
  .about-content a.button { font-size: 13px; }
  .blog-item .content p, .contact-info p, .contact-info ul li, .carte-stand p { font-size: 15px; line-height: 25px; }
  .reassurance li, .liste-tailles li, .single-sidebar p, .contact-form label { font-size: 14px; }
  .pro-info-tab-list li a { font-size: 13px; }
}

/* 7. Images de fond allégées sur téléphone (800 px au lieu de 1920 px) */
@media only screen and (max-width: 767px) {
  .hero-item[style*="livraison-sapin-de-noel-a-domicile.webp"] { background-image: url("../img/hero/livraison-sapin-de-noel-a-domicile-mobile.webp") !important; }
  .hero-item[style*="reprise-du-sapin-apres-les-fetes.webp"] { background-image: url("../img/hero/reprise-du-sapin-apres-les-fetes-mobile.webp") !important; }
  .page-banner-section[style*="bandeau-sapin-de-noel.webp"] { background-image: url("../img/bg/bandeau-sapin-de-noel-mobile.webp") !important; }
  .page-banner-section[style*="bandeau-sapin-noel-ville.webp"] { background-image: url("../img/bg/bandeau-sapin-noel-ville-mobile.webp") !important; }
}

/* 8. Hauteur de l'en-tête réservée dès le premier affichage : le script du template
      applique ensuite la même valeur, la page ne saute plus au chargement. */
#main-wrapper { padding-top: 241px; }
@media only screen and (max-width: 767px) { #main-wrapper { padding-top: 153px; } }
@media only screen and (min-width: 568px) and (max-width: 767px) and (max-height: 500px) and (orientation: landscape) { #main-wrapper { padding-top: 139px; } }
@media only screen and (min-width: 768px) and (max-width: 991px) and (max-height: 500px) and (orientation: landscape) { #main-wrapper { padding-top: 149px; } }

/* =====================================================================
   V5 - tarifs de la saison, livraison incluse, sapins premium
   ===================================================================== */

/* Bandeau d'atouts sous le diaporama (accueil) */
.atouts-section { background-color: #5b7a1e; padding: 26px 0; }
.atouts { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.atouts li { flex: 1 1 25%; display: flex; align-items: center; padding: 8px 15px; }
.atouts li i { flex: 0 0 auto; width: 40px; margin-right: 12px; font-size: 28px; text-align: center; color: #ffffff; }
.atouts li p { margin: 0; font-size: 14px; line-height: 20px; color: #ffffff; }
.atouts li p strong { display: block; font-size: 16px; line-height: 22px; }
@media only screen and (max-width: 991px) {
  .atouts li { flex-basis: 50%; }
}
@media only screen and (max-width: 575px) {
  .atouts-section { padding: 14px 0; }
  .atouts li { flex-direction: column; text-align: center; padding: 10px 4px; }
  .atouts li i { width: auto; margin: 0 0 6px; font-size: 24px; }
  .atouts li p { font-size: 13px; line-height: 18px; }
  .atouts li p strong { font-size: 14px; line-height: 20px; }
}

/* Vignettes sapins : pastille de livraison sur la photo */
.product .image .badge-livraison {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: inline-flex; align-items: center; border-radius: 3px;
  background-color: #5b7a1e; color: #ffffff;
  padding: 7px 10px 6px; font-size: 13px; font-weight: 700; line-height: 16px;
}
.product .image .badge-livraison i { font-size: 15px; margin-right: 7px; }

/* Fiches sapin : mention sous le prix, prix par hauteur */
.single-product-content .prix-livraison {
  display: flex; align-items: center; margin: -2px 0 16px;
  font-size: 15px; font-weight: 700; color: #5b7a1e;
}
.single-product-content .prix-livraison i { font-size: 18px; margin-right: 9px; }
.liste-tailles li strong { margin-left: 6px; color: #5b7a1e; white-space: nowrap; }

/* Grille tarifaire (page Nos sapins de Noël) */
.tableau-tarifs { max-width: 560px; }
.tableau-tarifs th:last-child, .tableau-tarifs td:last-child { width: 32%; text-align: right; white-space: nowrap; }
.tableau-tarifs td:last-child { font-weight: 700; color: #4d4d4d; }
.tableau-tarifs .ligne-groupe th {
  width: auto; text-align: left; background-color: #eef2e4; color: #5b7a1e;
  font-size: 14px; letter-spacing: 0.5px; text-transform: uppercase;
}

/* FAQ : liens dans les réponses */
.faq-liste details > div p a { color: #83a931; border-bottom: 1px solid #83a931; }

/* Correctifs mobiles (défauts hérités de la V4) */
/* Image de présentation : ne dépasse plus de l'écran sur téléphone */
.about-image img { max-width: 100%; }
/* Diaporama : les deux diapositives prennent la hauteur de la plus haute
   (plus de bande claire sous la diapositive « On le reprend ») */
.hero-slider .slick-track { display: flex; }
.hero-slider .slick-track::before, .hero-slider .slick-track::after { display: none; }
.hero-slider .slick-slide { float: none; height: auto; flex-shrink: 0; }
