/*
Theme Name:   Douceurs de Naomi
Theme URI:    https://douceursdenaomi.com
Description:  Thème enfant de Hello Elementor — Les Douceurs de Naomi
Author:       Les Douceurs de Naomi
Template:     hello-elementor
Version:      1.0.0
Text Domain:  douceurs-naomi
*/

/* ============================================================
   VARIABLES GLOBALES — Palette Les Douceurs de Naomi
   ============================================================ */
:root {
  --maple-dark:   #2C1505;
  --maple-brown:  #7B2D00;
  --maple-amber:  #BA7517;
  --maple-gold:   #FAC775;
  --maple-cream:  #FBF5EC;
  --maple-light:  #FAF0DC;
  --text-light:   #D3D1C7;
  --text-muted:   #B4B2A9;
  --white:        #FFFFFF;
  --green-pale:   #EAF3DE;
}

/* ============================================================
   TYPOGRAPHIE GLOBALE
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--maple-dark);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: var(--maple-dark);
  line-height: 1.3;
}

a {
  color: var(--maple-amber);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--maple-brown);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header,
header.entry-header,
.elementor-location-header {
  background-color: var(--maple-dark) !important;
  padding: 14px 0;
}

.site-branding .site-title,
.site-branding .site-title a {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--maple-gold) !important;
  text-decoration: none;
}

.main-navigation a,
nav.site-navigation a {
  color: var(--text-muted) !important;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.main-navigation a:hover,
nav.site-navigation a:hover {
  color: var(--maple-gold) !important;
}

/* ============================================================
   BOUTONS GLOBAUX
   ============================================================ */
.elementor-button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"],
.woocommerce .button,
.woocommerce button.button {
  background-color: var(--maple-gold) !important;
  color: var(--maple-dark) !important;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 6px;
  padding: 13px 28px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.elementor-button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.woocommerce .button:hover,
.woocommerce button.button:hover {
  background-color: var(--maple-amber) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Bouton secondaire (outline) */
.elementor-button.btn-outline {
  background-color: transparent !important;
  color: var(--maple-amber) !important;
  border: 2px solid var(--maple-amber) !important;
}

.elementor-button.btn-outline:hover {
  background-color: var(--maple-amber) !important;
  color: var(--white) !important;
}

/* ============================================================
   SECTION HERO
   ============================================================ */
.hero-section {
  background-color: #3B1A08;
  padding: 80px 20px;
  text-align: center;
}

.hero-section h1 {
  color: var(--maple-gold);
  font-size: 42px;
  margin-bottom: 16px;
}

.hero-section p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto 28px;
}

/* Badge localisation hero */
.hero-location-badge {
  display: inline-block;
  background-color: var(--maple-amber);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* Badges ronds hero */
.hero-badge {
  display: inline-block;
  background-color: rgba(186, 117, 23, 0.15);
  border: 1px solid rgba(186, 117, 23, 0.4);
  color: var(--maple-gold);
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 20px;
  margin: 4px;
}

/* Logo rond dans le hero */
.hero-logo-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--maple-gold);
  overflow: hidden;
  margin: 0 auto 24px;
  display: block;
}

.hero-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   SECTION AVANTAGES
   ============================================================ */
.section-avantages {
  background-color: #F5F5F5;
  padding: 60px 20px;
}

.elementor-icon-box-icon .elementor-icon i,
.elementor-icon-box-icon .elementor-icon svg {
  color: var(--maple-amber) !important;
  fill: var(--maple-amber) !important;
}

.elementor-icon-box-title {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: var(--maple-dark) !important;
}

/* ============================================================
   SECTION ÉTIQUETTE (petits textes de section)
   ============================================================ */
.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--maple-amber);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

/* ============================================================
   SECTION BOUTIQUE / WOOCOMMERCE
   ============================================================ */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product {
  background-color: var(--white);
  border: 1px solid #EEEEEE;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow 0.2s ease;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 4px 20px rgba(44, 21, 5, 0.10);
}

.woocommerce ul.products li.product img {
  width: 100px !important;
  height: 100px !important;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--maple-gold);
  margin: 0 auto 16px;
  display: block;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--maple-dark);
  margin-bottom: 8px;
}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price .amount {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: var(--maple-amber) !important;
}

.woocommerce ul.products li.product .button {
  background-color: var(--maple-dark) !important;
  color: var(--maple-gold) !important;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 6px;
  width: 100%;
  display: block;
  margin-top: 14px;
  transition: background-color 0.2s ease;
}

.woocommerce ul.products li.product .button:hover {
  background-color: var(--maple-brown) !important;
  color: var(--white) !important;
}

/* Produit populaire — 2e carte */
.woocommerce ul.products li.product:nth-child(2) {
  border: 2px solid var(--maple-amber) !important;
  position: relative;
}

.woocommerce ul.products li.product:nth-child(2)::before {
  content: "Meilleure valeur";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--maple-amber);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ============================================================
   BANDEAU PAYPAL
   ============================================================ */
.paypal-bandeau {
  background-color: var(--green-pale);
  border-radius: 10px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.paypal-bandeau p {
  margin: 0;
  font-size: 14px;
  color: #27500A;
}

/* ============================================================
   SECTION LIVRAISON
   ============================================================ */
.section-livraison {
  background-color: var(--maple-cream);
  border: 2px solid var(--maple-gold);
  border-radius: 12px;
  padding: 32px;
}

.elementor-icon-list-icon i {
  color: var(--maple-amber) !important;
}

.elementor-icon-list-text {
  font-size: 14px;
  color: #5C3317;
  line-height: 1.6;
}

/* ============================================================
   SECTION HISTOIRE (fond sombre)
   ============================================================ */
.section-histoire {
  background-color: var(--maple-dark);
  padding: 70px 20px;
}

.section-histoire h2 {
  color: var(--maple-gold) !important;
}

.section-histoire h3 {
  color: var(--text-muted) !important;
}

.section-histoire p,
.section-histoire .elementor-text-editor {
  color: var(--text-light) !important;
  font-size: 15px;
  line-height: 1.8;
}

/* Cartes générations */
.gen-card {
  background-color: rgba(250, 199, 117, 0.10);
  border: 1px solid rgba(250, 199, 117, 0.25);
  border-radius: 8px;
  padding: 16px 12px;
  text-align: center;
}

.gen-card .gen-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--maple-gold);
  margin-bottom: 4px;
}

.gen-card .gen-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* Citation */
.histoire-quote {
  border-left: 4px solid var(--maple-amber);
  padding-left: 18px;
  margin-top: 24px;
  font-style: italic;
  color: var(--maple-gold) !important;
  font-size: 15px;
  line-height: 1.7;
}

.histoire-quote cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ============================================================
   SECTION CONTACT
   ============================================================ */
.section-contact {
  background-color: #F5F5F5;
  padding: 60px 20px;
  text-align: center;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--maple-dark);
  color: var(--maple-gold) !important;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.contact-email-btn:hover {
  background-color: var(--maple-brown);
  color: var(--white) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer,
footer.site-footer,
.elementor-location-footer {
  background-color: #1A0D03 !important;
  padding: 36px 20px;
  text-align: center;
}

.site-footer .site-info,
.site-footer p,
.elementor-location-footer p {
  color: #888780;
  font-size: 12px;
  margin: 0;
}

.site-footer a,
.elementor-location-footer a {
  color: #888780;
  font-size: 12px;
  text-decoration: none;
  margin: 0 10px;
}

.site-footer a:hover,
.elementor-location-footer a:hover {
  color: var(--maple-gold);
}

.footer-logo {
  color: var(--maple-gold) !important;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-location {
  color: #B4B2A9;
  font-size: 13px;
  margin-bottom: 16px;
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 767px) {

  .hero-section h1 {
    font-size: 28px;
  }

  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }

  .elementor-column {
    width: 100% !important;
  }

  .hero-logo-circle {
    width: 90px;
    height: 90px;
  }

  .section-livraison {
    padding: 20px;
  }
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
.text-center { text-align: center; }
.text-maple  { color: var(--maple-amber) !important; }
.text-gold   { color: var(--maple-gold) !important; }
.text-light  { color: var(--text-light) !important; }
.bg-dark     { background-color: var(--maple-dark) !important; }
.bg-cream    { background-color: var(--maple-cream) !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
