/*
Theme Name: Amenagement GO
Theme URI: https://amenagementgo.ca
Author: Amenagement GO
Description: Theme professionnel pour Amenagement GO - experts en pave uni au Quebec.
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.5
Requires PHP: 7.0
License: GNU General Public License v2 or later
Text Domain: amenagement-go
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Barlow:wght@300;400;500;600&display=swap');

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

:root {
  --green: #2d9e45;
  --green-dark: #1a6b2a;
  --green-light: #4dc968;
  --green-pale: #e8f5eb;
  --black: #0d0d0d;
  --dark: #111;
  --dark2: #1a1a1a;
  --gray: #666;
  --lgray: #ccc;
  --offwhite: #f7f7f5;
  --white: #fff;
  --font-title: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --radius: 10px;
  --shadow: 0 8px 32px rgba(0,0,0,.13);
  --transition: all .3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* BOUTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 6px;
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); border: 2px solid transparent;
  white-space: nowrap;
}
.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(45,158,69,.35); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: #fff; color: var(--dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #222; transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1rem; }

/* SECTION HELPERS */
.label {
  display: block; font-family: var(--font-title); font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--green); margin-bottom: 10px;
}
.section-title { font-family: var(--font-title); font-size: clamp(1.9rem,4vw,3rem); font-weight: 900; line-height: 1.1; margin-bottom: 14px; }
.section-title span { color: var(--green); }
.section-sub { font-size: 1rem; color: var(--gray); max-width: 540px; line-height: 1.7; }

/* ============ NAV ============ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,13,13,.96); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}
#nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.5); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 42px; width: auto; }
.nav-logo-name { font-family: var(--font-title); font-size: 1.25rem; font-weight: 800; color: #fff; }
.nav-logo-name span { color: var(--green-light); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 8px 13px; color: rgba(255,255,255,.72); font-size: .88rem; font-weight: 500; border-radius: 5px; transition: var(--transition); }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-phone { color: var(--green-light); font-weight: 700; font-size: .9rem; display: flex; align-items: center; gap: 6px; transition: var(--transition); }
.nav-phone:hover { color: #fff; }
.nav-cta-btn { background: var(--green); color: #fff; padding: 9px 18px; border-radius: 5px; font-size: .85rem; font-weight: 700; transition: var(--transition); }
.nav-cta-btn:hover { background: var(--green-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.hamburger span { display: block; width: 23px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.mobile-menu { display: none; flex-direction: column; padding: 14px 24px 22px; gap: 2px; border-top: 1px solid rgba(255,255,255,.07); }
.mobile-menu a { color: rgba(255,255,255,.78); padding: 11px 0; font-size: .97rem; border-bottom: 1px solid rgba(255,255,255,.05); transition: var(--transition); }
.mobile-menu a:hover { color: var(--green-light); padding-left: 6px; }
.mobile-menu .m-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.sticky-btn {
  display: none; position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  z-index: 999; background: var(--green); color: #fff; padding: 13px 26px; border-radius: 50px;
  font-weight: 700; font-size: .92rem; box-shadow: 0 6px 20px rgba(45,158,69,.45);
  align-items: center; gap: 8px; transition: var(--transition);
}
.sticky-btn:hover { background: var(--green-dark); }

/* ============ HERO ============ */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; background: var(--dark); padding-top: 70px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,13,13,.93) 0%, rgba(13,13,13,.6) 55%, rgba(13,13,13,.35) 100%),
    url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&q=80') center/cover no-repeat;
}
.hero-glow { position: absolute; top: 15%; right: 3%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(45,158,69,.15) 0%, transparent 70%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding: 80px 0; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(45,158,69,.18); border: 1px solid rgba(77,201,104,.3);
  color: var(--green-light); padding: 7px 15px; border-radius: 50px;
  font-size: .78rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 26px;
}
.hero-badge-dot { width: 7px; height: 7px; background: var(--green-light); border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.3)} }
.hero-title { font-family: var(--font-title); font-size: clamp(2.6rem,6vw,4.8rem); font-weight: 900; line-height: 1; color: #fff; margin-bottom: 20px; }
.hero-title .green { color: var(--green-light); display: block; }
.hero-sub { font-size: clamp(.95rem,2vw,1.15rem); color: rgba(255,255,255,.7); max-width: 540px; line-height: 1.7; margin-bottom: 28px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-check { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500; }
.check-icon { width: 21px; height: 21px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; flex-shrink: 0; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.stat-num { font-family: var(--font-title); font-size: 2.1rem; font-weight: 900; color: var(--green-light); line-height: 1; }
.stat-lbl { font-size: .78rem; color: rgba(255,255,255,.48); margin-top: 3px; }

/* ============ BANNER ============ */
.banner { background: var(--green-dark); padding: 13px 0; overflow: hidden; }
.banner-track { display: flex; gap: 55px; animation: scroll 22s linear infinite; white-space: nowrap; width: max-content; }
.banner-item { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.88); font-size: .82rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.banner-dot { width: 5px; height: 5px; background: var(--green-light); border-radius: 50%; }
@keyframes scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ============ SERVICES ============ */
#services { padding: 96px 0; background: var(--offwhite); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .section-sub { margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.service-card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid rgba(0,0,0,.06); transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::after { content:''; position:absolute; bottom:0;left:0;right:0;height:3px; background:linear-gradient(90deg,var(--green-dark),var(--green-light)); transform:scaleX(0); transition:var(--transition); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card:hover::after { transform: scaleX(1); }
.svc-icon { width: 52px; height: 52px; background: var(--green-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; transition: var(--transition); }
.service-card:hover .svc-icon { background: var(--green-dark); }
.svc-name { font-family: var(--font-title); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.svc-desc { font-size: .88rem; color: var(--gray); line-height: 1.65; }

/* ============ REALISATIONS ============ */
#realisations { padding: 96px 0; background: var(--dark); }
#realisations .section-title, #realisations .label { color: rgba(255,255,255,.9); }
#realisations .section-title { color: #fff; }
#realisations .section-sub { color: rgba(255,255,255,.55); }
.real-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 26px; margin-bottom: 44px; }
.real-card { background: var(--dark2); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.06); transition: var(--transition); }
.real-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.5); border-color: rgba(77,201,104,.2); }
.ba-wrap { position: relative; height: 230px; overflow: hidden; cursor: col-resize; user-select: none; }
.ba-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-before { z-index: 1; filter: grayscale(70%); }
.img-after { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; z-index: 3; }
.ba-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 38px; height: 38px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #111; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.ba-labels { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 12px; z-index: 4; pointer-events: none; }
.ba-tag { background: rgba(0,0,0,.6); color: #fff; font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; letter-spacing: .8px; }
.ba-tag.after { background: rgba(45,158,69,.8); }
.real-info { padding: 18px 20px; }
.real-title { font-family: var(--font-title); font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 5px; }
.real-loc { font-size: .82rem; color: rgba(255,255,255,.4); display: flex; align-items: center; gap: 5px; }

/* ============ CONFIANCE ============ */
#confiance { padding: 96px 0; background: #fff; }
.confiance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.conf-img-wrap { position: relative; }
.conf-img { width: 100%; height: 480px; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.conf-badge { position: absolute; bottom: -20px; right: -20px; background: var(--green); color: #fff; padding: 20px 24px; border-radius: var(--radius); box-shadow: 0 10px 36px rgba(45,158,69,.4); min-width: 150px; }
.conf-badge-num { font-family: var(--font-title); font-size: 2.6rem; font-weight: 900; line-height: 1; }
.conf-badge-txt { font-size: .76rem; font-weight: 600; opacity: .85; margin-top: 3px; line-height: 1.3; }
.reasons { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.reason { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--radius); transition: var(--transition); border: 1px solid transparent; }
.reason:hover { background: var(--offwhite); border-color: rgba(0,0,0,.05); }
.reason-icon { width: 46px; height: 46px; background: var(--green-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0; transition: var(--transition); }
.reason:hover .reason-icon { background: var(--green); }
.reason-title { font-weight: 700; font-size: .97rem; margin-bottom: 3px; }
.reason-txt { font-size: .86rem; color: var(--gray); line-height: 1.6; }

/* ============ SECTEURS ============ */
#secteurs { padding: 64px 0; background: var(--dark2); }
.sect-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.sect-inner .section-title { color: #fff; margin-bottom: 6px; }
.sect-inner .label { color: var(--green-light); }
.sect-inner p { color: rgba(255,255,255,.5); font-size: .9rem; }
.sect-pills { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.sect-pill { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11); color: rgba(255,255,255,.82); padding: 9px 18px; border-radius: 50px; font-size: .87rem; font-weight: 600; display: flex; align-items: center; gap: 7px; transition: var(--transition); }
.sect-pill:hover { background: var(--green); border-color: var(--green); color: #fff; }
.sect-dot { width: 7px; height: 7px; background: var(--green-light); border-radius: 50%; }

/* ============ TEMOIGNAGES ============ */
#temoignages { padding: 96px 0; background: var(--offwhite); }
.temo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.temo-card { background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: 0 2px 12px rgba(0,0,0,.07); border: 1px solid rgba(0,0,0,.05); transition: var(--transition); }
.temo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars { color: #f5a623; font-size: .95rem; letter-spacing: 2px; margin-bottom: 14px; }
.temo-txt { font-size: .92rem; color: #444; line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.temo-author { display: flex; align-items: center; gap: 11px; border-top: 1px solid rgba(0,0,0,.07); padding-top: 18px; }
.temo-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--green-pale); display: flex; align-items: center; justify-content: center; font-family: var(--font-title); font-weight: 800; font-size: 1rem; color: var(--green-dark); flex-shrink: 0; }
.temo-name { font-weight: 700; font-size: .9rem; }
.temo-loc { font-size: .78rem; color: var(--gray); margin-top: 2px; }

/* ============ CTA ============ */
#cta { padding: 96px 0; background: linear-gradient(135deg, var(--green-dark), var(--dark)); position: relative; overflow: hidden; }
#cta::before { content:''; position:absolute; top:-40%; left:-8%; width:550px; height:550px; border-radius:50%; background:rgba(77,201,104,.07); pointer-events:none; }
.cta-inner { text-align: center; position: relative; z-index: 2; }
.cta-title { font-family: var(--font-title); font-size: clamp(2rem,4vw,3.3rem); font-weight: 900; color: #fff; margin-bottom: 14px; line-height: 1.1; }
.cta-title span { color: var(--green-light); }
.cta-sub { font-size: 1.05rem; color: rgba(255,255,255,.65); margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.cta-perks { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.cta-perk { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.6); font-size: .86rem; }
.cta-perk-icon { color: var(--green-light); }

/* ============ CONTACT ============ */
#contact { padding: 96px 0; background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 68px; align-items: start; }
.contact-info-items { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.c-item { display: flex; gap: 15px; align-items: flex-start; }
.c-icon { width: 46px; height: 46px; background: var(--green-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.c-lbl { font-size: .75rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; font-weight: 600; }
.c-val { font-size: 1rem; font-weight: 600; }
.c-val a { color: var(--green-dark); }
.c-val a:hover { color: var(--green); }
.form-box { background: var(--dark); border-radius: 16px; padding: 40px 36px; color: #fff; }
.form-title { font-family: var(--font-title); font-size: 1.55rem; font-weight: 800; margin-bottom: 4px; }
.form-sub { font-size: .87rem; color: rgba(255,255,255,.45); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { margin-bottom: 16px; }
.fg label { display: block; font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .7px; margin-bottom: 7px; }
.fg input, .fg select, .fg textarea {
  width: 100%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11);
  color: #fff; padding: 12px 15px; border-radius: 6px; font-family: var(--font-body); font-size: .93rem;
  transition: var(--transition); outline: none; appearance: none;
}
.fg select option { background: #1a1a1a; color: #fff; }
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.28); }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--green); background: rgba(45,158,69,.09); }
.fg textarea { resize: vertical; min-height: 105px; }
.form-btn {
  width: 100%; padding: 15px; background: var(--green); color: #fff; border: none;
  border-radius: 6px; font-family: var(--font-body); font-size: .97rem; font-weight: 700;
  cursor: pointer; transition: var(--transition); margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-btn:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(45,158,69,.35); }
#form-msg { display: none; padding: 11px 15px; border-radius: 6px; font-size: .88rem; margin-bottom: 12px; }
#form-msg.ok { background: rgba(45,158,69,.18); color: var(--green-light); border: 1px solid rgba(77,201,104,.3); }
#form-msg.err { background: rgba(220,50,50,.18); color: #ff7070; border: 1px solid rgba(220,50,50,.3); }

/* ============ FOOTER ============ */
#footer { background: var(--dark); color: #fff; padding: 68px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 52px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-logo { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.footer-logo img { height: 38px; }
.footer-logo-name { font-family: var(--font-title); font-size: 1.2rem; font-weight: 800; }
.footer-logo-name span { color: var(--green-light); }
.footer-desc { font-size: .86rem; color: rgba(255,255,255,.42); line-height: 1.65; margin-bottom: 22px; max-width: 280px; }
.footer-contacts { display: flex; flex-direction: column; gap: 9px; }
.footer-contact-link { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.55); font-size: .87rem; transition: var(--transition); }
.footer-contact-link:hover { color: var(--green-light); }
.footer-col-title { font-family: var(--font-title); font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .87rem; transition: var(--transition); }
.footer-links a:hover { color: var(--green-light); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: .79rem; color: rgba(255,255,255,.27); }

/* ============ ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.on { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media(max-width:960px) {
  .confiance-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .conf-badge { bottom: 14px; right: 14px; }
}
@media(max-width:768px) {
  .nav-links, .nav-cta-btn, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: flex; }
  .sticky-btn { display: flex; }
  body { padding-bottom: 72px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sect-inner { flex-direction: column; }
  .hero-stats { gap: 18px; }
  .real-grid { grid-template-columns: 1fr; }
}
@media(max-width:480px) {
  .container { padding: 0 16px; }
  .hero-btns, .cta-btns { flex-direction: column; align-items: flex-start; }
  .cta-btns { align-items: center; }
  .contact-grid { gap: 36px; }
  .form-box { padding: 26px 18px; }
}
