/*
Theme Name: Bonzai Dallaire
Theme URI: https://bonzaidallaire.com
Author: Bonzai Dallaire
Author URI: https://bonzaidallaire.com
Description: Thème professionnel pour Bonzai Dallaire — Excavation, Paysagement & Transport de vrac à Saint-Guy, Québec.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bonzai-dallaire
Tags: business, construction, green, one-page
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green:        #4CAF50;
  --green-dark:   #388E3C;
  --green-deeper: #2E7D32;
  --black:        #0f1a0d;
  --black-mid:    #1a2e17;
  --white:        #ffffff;
  --gray-100:     #f5f5f5;
  --gray-200:     #e8e8e8;
  --gray-600:     #555555;
  --text:         #1a1a1a;
  --text-muted:   #666666;
  --radius:       8px;
  --radius-lg:    12px;
  --shadow:       0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.14);
  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --transition:   0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 600;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--gray-100);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--green);
  color: #fff;
}
.btn--primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(76,175,80,0.35);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn--dark {
  background: var(--black);
  color: #fff;
}
.btn--dark:hover {
  background: #222;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--black);
  transition: box-shadow var(--transition);
}

#site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.3px;
}
.nav-logo span { color: #fff; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-menu a:hover { color: var(--green); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.nav-phone svg { color: var(--green); }

.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--green-dark) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  background: #111f0e;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 14px 1.5rem;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-mobile a:hover { color: var(--green); }
.nav-mobile .mobile-cta {
  margin: 1rem 1.5rem;
  display: block;
  text-align: center;
  background: var(--green);
  color: #fff;
  padding: 14px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  background: linear-gradient(155deg, #0c160a 0%, #1a2e17 55%, #2a4420 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 500px at 80% 50%, rgba(76,175,80,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 300px 300px at 20% 80%, rgba(76,175,80,0.04) 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(76,175,80,0.12);
  border: 1px solid rgba(76,175,80,0.3);
  color: #81c784;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.hero-title .accent { color: var(--green); }

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}
.hero-check {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(76,175,80,0.1);
  border: 1px solid rgba(76,175,80,0.2);
  color: #a5d6a7;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}
.hero-check svg { color: var(--green); flex-shrink: 0; }

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-card-main {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.hero-icon-row {
  display: flex;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.hero-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(76,175,80,0.2);
  border: 1px solid rgba(76,175,80,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-icon svg { color: var(--green); }

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 1.25rem;
}

.hero-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}
.hero-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--green);
  display: block;
}
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

/* Floating badge */
.hero-float {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--green);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 24px rgba(76,175,80,0.4);
}
.hero-float strong { display: block; font-size: 18px; font-weight: 800; }
.hero-float span { font-size: 11px; opacity: 0.9; }

/* ============================================================
   URGENCY BANNER
   ============================================================ */
#urgency-bar {
  background: var(--green-deeper);
  padding: 14px 0;
  overflow: hidden;
}

.urgency-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.urgency-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.urgency-item svg { color: #a5d6a7; flex-shrink: 0; }

.urgency-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  border-color: rgba(76,175,80,0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #edf7ed;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon-wrap svg { color: var(--green); }

.service-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.service-list {
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 5px 0;
}
.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ============================================================
   CONFIANCE
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.trust-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.trust-item:hover {
  border-color: rgba(76,175,80,0.4);
  box-shadow: var(--shadow);
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #edf7ed;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.trust-icon svg { color: var(--green); }

.trust-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.trust-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
#cta-section {
  background: var(--black);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
#cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 400px at 60% 50%, rgba(76,175,80,0.07) 0%, transparent 70%);
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-inner .section-label { color: #81c784; }
.cta-inner h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}
.cta-inner p {
  color: rgba(255,255,255,0.65);
  font-size: 17px;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  transition: all var(--transition);
}
.contact-item:hover {
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(76,175,80,0.1);
  transform: translateX(4px);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { color: #fff; }

.contact-item-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-item-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.contact-zone {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.contact-zone-title {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.contact-zone-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* ============================================================
   FORM
   ============================================================ */
.form-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.form-card-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-row {
  margin-bottom: 14px;
}
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  outline: none;
  transition: border var(--transition), box-shadow var(--transition);
  background: #fafafa;
  color: var(--text);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(76,175,80,0.12);
  background: #fff;
}
.form-row textarea {
  resize: vertical;
  min-height: 90px;
}

.form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-submit {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.form-submit:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.form-success {
  display: none;
  background: #edf7ed;
  border: 1px solid #c8e6c9;
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  color: var(--green-deep);
  font-size: 14px;
  margin-top: 12px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #0a120a;
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 1.5rem;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.footer-brand-name span { color: #fff; }
.footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 300px;
}
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: background var(--transition);
}
.footer-phone:hover { background: var(--green-dark); }

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--green); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: var(--green); }

/* ============================================================
   MOBILE STICKY CALL BAR
   ============================================================ */
#mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 10px 1rem;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: 10px;
}
#mobile-call-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.mobile-btn-call { background: var(--green); color: #fff; }
.mobile-btn-submit { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  #mobile-call-bar { display: flex; }
  body { padding-bottom: 68px; }
  .form-2col { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .urgency-inner { flex-direction: column; gap: 10px; }
  .urgency-sep { display: none; }
}
