/*
Theme Name: Jardin'net - Élégant
Theme URI: https://sbc-conseils.fr
Author: SBC Conseils
Description: Thème élégant avec photos, section à propos et gestion de pages pour Jardin'net.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: jardinnet-elegant
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --vert: #3a7d1e;
  --vert2: #5aaa2e;
  --vert-pale: #eef6e8;
  --creme: #fafaf5;
  --noir: #1a1a1a;
  --gris: #555;
  --gris-light: #f2f2ef;
  --blanc: #fff;
  --gold: #c8a84b;
  --shadow: rgba(0,0,0,0.12);
}

body { font-family: 'Segoe UI', Georgia, sans-serif; color: var(--noir); background: var(--blanc); line-height: 1.8; }
a { color: var(--vert); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--vert2); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4 { line-height: 1.3; }

/* ===== HEADER ===== */
#masthead {
  background: var(--blanc);
  border-bottom: 1px solid #e5e5e0;
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 30px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.logo-wrap { display: flex; align-items: center; gap: 14px; }
.logo-img { width: 48px; height: 48px; object-fit: contain; }
.logo-placeholder {
  width: 48px; height: 48px; background: var(--vert);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; color: white;
}
.site-title { font-size: 1.5rem; font-weight: 800; color: var(--noir); letter-spacing: -0.5px; }
.site-title .accent { color: var(--vert); }
.tagline { font-size: 0.68rem; color: #999; letter-spacing: 1.5px; text-transform: uppercase; }

/* NAV */
.main-navigation ul { list-style: none; display: flex; gap: 8px; align-items: center; }
.main-navigation a {
  color: var(--gris); font-size: 0.88rem; font-weight: 600;
  padding: 7px 14px; border-radius: 6px; transition: all 0.2s;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  background: var(--vert-pale); color: var(--vert);
}
/* Bouton CTA dans menu */
.main-navigation li.menu-btn-cta > a {
  background: var(--vert) !important; color: white !important;
  padding: 8px 18px; border-radius: 20px; font-weight: 700;
}
.main-navigation li.menu-btn-cta > a:hover { background: var(--vert2) !important; }

.header-tel { font-weight: 700; font-size: 0.9rem; color: var(--vert) !important; white-space: nowrap; }
.menu-toggle { display: none; background: none; border: 2px solid #ddd; border-radius: 6px; cursor: pointer; padding: 6px 10px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--noir); margin: 4px 0; border-radius: 2px; }

/* ===== HERO AVEC PHOTO ===== */
.hero-section {
  min-height: 88vh;
  position: relative; display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a2e0a 0%, #2d5a1b 40%, #4a8c2e 100%);
}
.hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.4; mix-blend-mode: multiply;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(20,40,10,0.85) 40%, rgba(20,40,10,0.2) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 80px 30px;
  display: grid; grid-template-columns: 3fr 2fr; gap: 60px; align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9); padding: 6px 16px; border-radius: 20px;
  font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 25px; backdrop-filter: blur(4px);
}
.hero-text h1 {
  color: var(--blanc); font-size: 3.4rem; font-weight: 900;
  letter-spacing: -2px; line-height: 1.1; margin-bottom: 22px;
}
.hero-text h1 em { color: #9de06a; font-style: normal; }
.hero-text .intro {
  color: rgba(255,255,255,0.8); font-size: 1.05rem;
  margin-bottom: 38px; max-width: 480px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-vert {
  background: var(--vert2); color: white;
  padding: 14px 30px; border-radius: 8px; font-weight: 700; font-size: 0.92rem;
  transition: all 0.25s; box-shadow: 0 4px 14px rgba(90,170,46,0.35);
}
.btn-vert:hover { background: #4a9a22; color: white; transform: translateY(-2px); }
.btn-blanc {
  background: rgba(255,255,255,0.12); color: white;
  padding: 14px 30px; border-radius: 8px; font-weight: 700; font-size: 0.92rem;
  border: 1px solid rgba(255,255,255,0.35); transition: all 0.25s;
  backdrop-filter: blur(4px);
}
.btn-blanc:hover { background: rgba(255,255,255,0.22); color: white; }

/* Hero card droite */
.hero-card {
  background: rgba(255,255,255,0.95); border-radius: 16px;
  padding: 35px 30px; backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.hero-card h3 { font-size: 1rem; color: var(--vert); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--vert-pale); }
.hero-card ul { list-style: none; }
.hero-card ul li {
  padding: 10px 0; border-bottom: 1px solid #f0f0eb;
  display: flex; align-items: center; gap: 12px; font-size: 0.93rem; font-weight: 500;
}
.hero-card ul li .check {
  width: 22px; height: 22px; background: var(--vert); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; flex-shrink: 0;
}
.hero-card .tel-card {
  margin-top: 22px; padding-top: 18px; border-top: 2px solid var(--vert-pale);
  text-align: center;
}
.hero-card .tel-card a { font-size: 1.3rem; font-weight: 900; color: var(--vert); }
.hero-card .tel-card small { display: block; color: #999; font-size: 0.78rem; margin-bottom: 6px; }

/* ===== SECTION TITRE COMMUN ===== */
.section-titre { margin-bottom: 55px; }
.section-titre.centree { text-align: center; }
.section-titre .sur {
  font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--vert); font-weight: 700; margin-bottom: 8px; display: block;
}
.section-titre h2 { font-size: 2.3rem; font-weight: 900; letter-spacing: -1px; }
.section-titre p { color: var(--gris); margin-top: 12px; max-width: 580px; }
.section-titre.centree p { margin: 12px auto 0; }
.trait { width: 45px; height: 3px; background: var(--vert2); border-radius: 2px; margin-top: 14px; }
.section-titre.centree .trait { margin-left: auto; margin-right: auto; }

/* ===== SERVICES ===== */
.services-section { padding: 100px 30px; background: var(--creme); }
.services-wrap { max-width: 1200px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--blanc); border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow); transition: all 0.3s;
  border: 1px solid #ebebeb;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(58,125,30,0.15); }
.service-card-photo {
  height: 200px; background: var(--vert-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; overflow: hidden; position: relative;
}
.service-card-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.service-card-photo .emoji-placeholder { position: relative; z-index: 1; }
.service-card-body { padding: 28px 25px; }
.service-card-body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card-body p { color: var(--gris); font-size: 0.9rem; line-height: 1.7; }

/* ===== À PROPOS ===== */
.apropos-section { padding: 100px 30px; background: var(--blanc); }
.apropos-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.apropos-photo-wrap { position: relative; }
.apropos-photo {
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  aspect-ratio: 3/4; max-height: 520px;
  background: var(--vert-pale); display: flex; align-items: center; justify-content: center; font-size: 5rem;
}
.apropos-photo img { width: 100%; height: 100%; object-fit: cover; }
.apropos-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--vert); color: white;
  width: 100px; height: 100px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: 0 8px 25px rgba(58,125,30,0.4);
}
.apropos-badge .chiffre { font-size: 1.8rem; font-weight: 900; line-height: 1; }
.apropos-badge .label { font-size: 0.65rem; letter-spacing: 1px; opacity: 0.85; }
.apropos-texte .section-titre { margin-bottom: 25px; }
.apropos-texte .bio { color: var(--gris); font-size: 0.97rem; margin-bottom: 25px; }
.apropos-texte .certif {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--vert-pale); color: var(--vert);
  padding: 8px 16px; border-radius: 20px; font-size: 0.82rem; font-weight: 700;
  margin: 4px 4px 4px 0;
}

/* ===== ZONE ===== */
.zone-section { padding: 80px 30px; background: var(--vert); }
.zone-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.zone-inner .section-titre .sur { color: rgba(255,255,255,0.6); }
.zone-inner .section-titre h2 { color: white; }
.zone-inner .section-titre p { color: rgba(255,255,255,0.75); margin: 12px auto 0; }
.zone-inner .trait { background: rgba(255,255,255,0.4); margin-left: auto; margin-right: auto; }
.zone-tags { margin-top: 35px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.zone-tag {
  background: rgba(255,255,255,0.15); color: white;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 20px; border-radius: 20px; font-size: 0.9rem; font-weight: 600;
  transition: background 0.2s;
}
.zone-tag:hover { background: rgba(255,255,255,0.25); }

/* ===== AVANTAGES ===== */
.avantages-section { padding: 100px 30px; background: var(--gris-light); }
.avantages-wrap { max-width: 1200px; margin: 0 auto; }
.avantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.avantage-card {
  background: var(--blanc); border-radius: 14px; padding: 35px 25px; text-align: center;
  box-shadow: 0 2px 12px var(--shadow); transition: transform 0.3s;
}
.avantage-card:hover { transform: translateY(-4px); }
.avantage-card .icon { font-size: 2.2rem; margin-bottom: 16px; }
.avantage-card h4 { font-size: 1rem; margin-bottom: 10px; }
.avantage-card p { color: var(--gris); font-size: 0.88rem; }

/* ===== CONTACT ===== */
.contact-section { padding: 100px 30px; background: var(--blanc); }
.contact-wrap { max-width: 900px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 45px; }
.contact-card {
  background: var(--creme); border-radius: 14px; padding: 32px 25px; text-align: center;
  border: 1px solid #e8e8e0; transition: all 0.3s;
}
.contact-card:hover { border-color: var(--vert2); box-shadow: 0 5px 20px rgba(58,125,30,0.1); }
.contact-card .icon { font-size: 2rem; margin-bottom: 14px; }
.contact-card h4 { color: var(--gris); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.contact-card a { font-size: 1.05rem; font-weight: 800; color: var(--vert); }
.contact-card p { font-size: 0.92rem; font-weight: 600; color: var(--noir); }

/* ===== PAGES SUPPLÉMENTAIRES ===== */
.page-hero {
  background: var(--vert); padding: 80px 30px; text-align: center;
}
.page-hero h1 { color: white; font-size: 2.5rem; letter-spacing: -1px; }
.page-hero p { color: rgba(255,255,255,0.75); margin-top: 12px; font-size: 1.05rem; }
.page-content { max-width: 900px; margin: 0 auto; padding: 80px 30px; }
.page-content h2 { font-size: 1.8rem; margin: 40px 0 15px; }
.page-content p { color: var(--gris); margin-bottom: 18px; font-size: 0.97rem; }

/* ===== FOOTER ===== */
#colophon { background: var(--noir); color: rgba(255,255,255,0.4); padding: 35px 30px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; }
#colophon a { color: var(--vert2); }
.footer-nav { display: flex; gap: 20px; font-size: 0.82rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .avantages-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { grid-template-columns: 1fr; }
  .hero-card { display: none; }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-navigation {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: white; padding: 20px 30px; box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-top: 2px solid var(--vert-pale);
  }
  .main-navigation.active { display: block; }
  .main-navigation ul { flex-direction: column; gap: 5px; }
  .header-tel { display: none; }
  .hero-text h1 { font-size: 2.2rem; letter-spacing: -1px; }
  .services-grid { grid-template-columns: 1fr; }
  .apropos-inner { grid-template-columns: 1fr; }
  .apropos-badge { right: 10px; }
  .avantages-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}
