/* L'atelier d'Antoine — Style principal */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --vert-fonce: #4a7535;
  --vert: #8aab78;
  --vert-clair: #b8d4a8;
  --vert-pale: #e4f2d8;
  --beige: #FFF0D8;
  --beige-fonce: #f0ddb8;
  --bleu-nuit: #124150;
  --gris: #eef6e6;
  --gris-fonce: #4a5640;
  --texte: #2d3a28;
  --blanc: #ffffff;
}

body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--texte); background: var(--blanc); line-height: 1.6; }

/* NAV */
nav { background: var(--vert-fonce); padding: 0 20px; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { color: var(--beige); font-size: 1.15rem; font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.nav-logo-badge { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,240,216,.4); }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: rgba(255,240,216,.85); text-decoration: none; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--beige); }
.nav-tel { background: var(--beige); color: var(--vert-fonce) !important; padding: 8px 16px; border-radius: 6px; font-weight: 700; }
.nav-tel:hover { background: var(--beige-fonce) !important; color: var(--vert-fonce) !important; }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--beige); margin: 5px 0; }

/* HERO */
.hero { background: linear-gradient(135deg, var(--vert-fonce) 0%, #1e3a10 100%); color: var(--beige); padding: 80px 20px 60px; text-align: center; }
.hero-logo-big { height: 200px; width: auto; display: block; margin: 0 auto 20px; }
.hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.hero h1 span { color: var(--vert-clair); }
.hero p { font-size: 1.15rem; opacity: .9; max-width: 600px; margin: 0 auto 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 36px; }
.badge { background: rgba(255,240,216,.15); border: 1px solid rgba(255,240,216,.35); padding: 8px 16px; border-radius: 999px; font-size: .9rem; }
.btn-hero { display: inline-flex; align-items: center; gap: 10px; background: var(--beige); color: var(--vert-fonce); padding: 16px 32px; border-radius: 8px; font-size: 1.1rem; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s; }
.btn-hero:hover { background: var(--beige-fonce); transform: translateY(-2px); }
.btn-hero-sec { background: transparent; border: 2px solid rgba(255,240,216,.6); color: var(--beige); margin-left: 12px; }
.btn-hero-sec:hover { background: rgba(255,240,216,.1); transform: translateY(-2px); }

/* STATS */
.stats { background: var(--beige); color: var(--vert-fonce); padding: 28px 20px; }
.stats-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; }
.stat-label { font-size: .85rem; opacity: .7; }

/* SECTIONS */
section { padding: 64px 20px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-title { font-size: 1.9rem; font-weight: 800; color: var(--vert-fonce); margin-bottom: 12px; }
.section-sub { color: var(--gris-fonce); margin-bottom: 40px; font-size: 1.05rem; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: var(--vert-pale); border-radius: 12px; padding: 32px 28px; border-top: 4px solid var(--vert-clair); transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.service-icon { font-size: 2.4rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.2rem; color: var(--vert-fonce); margin-bottom: 10px; }
.service-card p { color: var(--gris-fonce); font-size: .95rem; }
.service-link { display: inline-block; margin-top: 14px; color: var(--vert); font-weight: 600; text-decoration: none; font-size: .9rem; }
.service-link:hover { text-decoration: underline; }

/* POURQUOI */
.why-bg { background: var(--gris); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; background: var(--blanc); padding: 24px; border-radius: 10px; }
.why-icon { font-size: 1.8rem; flex-shrink: 0; }
.why-item h4 { font-size: 1rem; color: var(--vert-fonce); margin-bottom: 6px; }
.why-item p { color: var(--gris-fonce); font-size: .9rem; }

/* ZONES */
.zones-list { display: flex; flex-wrap: wrap; gap: 10px; }
.zone-tag { background: var(--vert-fonce); color: var(--beige); padding: 8px 16px; border-radius: 6px; font-size: .9rem; }

/* AVIS */
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.avis-card { background: var(--gris); border-radius: 10px; padding: 24px; border-left: 3px solid var(--vert); }
.stars { color: #e6a817; font-size: 1.1rem; margin-bottom: 8px; }
.avis-texte { color: var(--gris-fonce); font-size: .95rem; margin-bottom: 12px; font-style: italic; }
.avis-auteur { font-weight: 700; font-size: .9rem; color: var(--vert-fonce); }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--vert-fonce), #1e3a10); color: var(--beige); text-align: center; padding: 64px 20px; }
.cta-section h2 { font-size: 2rem; margin-bottom: 16px; }
.cta-section p { opacity: .85; margin-bottom: 32px; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--beige); color: var(--vert-fonce); padding: 16px 32px; border-radius: 8px; font-size: 1.1rem; font-weight: 700; text-decoration: none; }
.btn-cta:hover { background: var(--beige-fonce); }
.btn-cta-white { background: rgba(255,240,216,.15); color: var(--beige); border: 2px solid rgba(255,240,216,.5); }
.btn-cta-white:hover { background: rgba(255,240,216,.25); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { font-size: 1.2rem; color: var(--vert-fonce); margin-bottom: 20px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-item-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item h4 { font-size: .9rem; color: var(--gris-fonce); margin-bottom: 4px; }
.contact-item a, .contact-item p { color: var(--texte); font-weight: 600; text-decoration: none; }
.contact-item a:hover { color: var(--vert); }
form { display: flex; flex-direction: column; gap: 16px; }
form input, form select, form textarea { padding: 12px 16px; border: 1.5px solid #c8d9be; border-radius: 8px; font-size: 1rem; font-family: inherit; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--vert); }
form textarea { height: 130px; resize: vertical; }
form button { background: var(--vert-fonce); color: var(--beige); border: none; padding: 14px; border-radius: 8px; font-size: 1rem; font-weight: 700; cursor: pointer; }
form button:hover { background: var(--vert); }

/* FOOTER */
footer { background: #1a2e14; color: rgba(255,240,216,.7); padding: 40px 20px 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-brand p { font-size: .9rem; margin-top: 10px; }
footer h4 { color: var(--beige); margin-bottom: 14px; font-size: .95rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer a { color: rgba(255,240,216,.7); text-decoration: none; font-size: .9rem; }
footer a:hover { color: var(--beige); }
.footer-bottom { border-top: 1px solid rgba(255,240,216,.15); padding-top: 20px; text-align: center; font-size: .85rem; }

/* PAGE INTERNE */
.page-hero { background: linear-gradient(135deg, var(--vert-fonce), #1e3a10); color: var(--beige); padding: 60px 20px 50px; text-align: center; }
.page-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p { opacity: .85; max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { max-width: 1100px; margin: 0 auto 0; display: flex; gap: 8px; font-size: .85rem; padding: 12px 0; }
.breadcrumb a { color: rgba(255,240,216,.7); text-decoration: none; }
.breadcrumb span { color: rgba(255,240,216,.5); }
.content-section { padding: 56px 20px; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.content-block h2 { font-size: 1.6rem; color: var(--vert-fonce); margin-bottom: 14px; }
.content-block p { color: var(--gris-fonce); margin-bottom: 14px; }
.content-block ul { margin-left: 20px; color: var(--gris-fonce); }
.content-block ul li { margin-bottom: 8px; }
.info-box { background: var(--gris); border-left: 4px solid var(--vert-fonce); padding: 24px; border-radius: 0 8px 8px 0; }
.info-box h3 { color: var(--vert-fonce); margin-bottom: 12px; }
.price-list { list-style: none !important; margin: 0 !important; }
.price-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #d8e8ce; font-size: .95rem; }
.price-list li:last-child { border-bottom: none; }
.faq { background: var(--gris); }
.faq-item { background: var(--blanc); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 18px 20px; font-weight: 700; color: var(--vert-fonce); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-a { padding: 0 20px 18px; color: var(--gris-fonce); font-size: .95rem; }

/* GALERIE RÉALISATIONS */
.gallery-masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.gallery-item { border-radius: 10px; overflow: hidden; position: relative; height: 240px; background: #d8e8ce; box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(26,46,20,.8)); color: var(--beige); padding: 28px 12px 10px; font-size: .8rem; font-weight: 600; letter-spacing: .01em; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--vert-fonce); padding: 20px; }
  .nav-links.open { display: flex; }
  .burger { display: block; }
  .hero h1 { font-size: 1.7rem; }
  .hero-logo-big { height: 130px; width: auto; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .avis-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .btn-hero-sec { margin-left: 0; }
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
}

/* LOGOS CERTIFICATIONS & MARQUES */
.logos-strip { background: var(--blanc); border-top: 1px solid #e0edcc; border-bottom: 1px solid #e0edcc; padding: 28px 20px; }
.logos-strip-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px; }
.logos-strip-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gris-fonce); font-weight: 600; width: 100%; text-align: center; margin-bottom: -8px; }
.logo-cert { height: 56px; width: auto; object-fit: contain; filter: none; transition: opacity .2s; }
.logo-cert:hover { opacity: .8; }
.logo-brand { height: 36px; width: auto; object-fit: contain; opacity: .75; filter: grayscale(30%); transition: opacity .2s, filter .2s; }
.logo-brand:hover { opacity: 1; filter: none; }
.trust-box { background: var(--gris); border-radius: 10px; padding: 20px 24px; margin-top: 16px; font-size: .88rem; color: var(--gris-fonce); }
.trust-box strong { color: var(--vert-fonce); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 8px; }

/* ============================
   ANIMATIONS
   ============================ */

/* Keyframes */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
@keyframes rotateBadge {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInBadge {
  from { opacity: 0; transform: translateX(-15px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes borderGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(168,196,151,.3); }
  50%       { box-shadow: 0 0 20px rgba(168,196,151,.7); }
}
@keyframes typing {
  from { width: 0; }
  to   { width: 100%; }
}

/* Hero animations */
.hero-logo-big { animation: floatLogo 4s ease-in-out infinite; }
.hero h1       { animation: fadeInDown .9s ease both; }
.hero p        { animation: fadeInUp .9s ease .2s both; }
.hero-badges   { animation: fadeInUp .9s ease .4s both; }
.hero .btn-hero { animation: fadeInUp .9s ease .6s both; }
.hero .btn-hero-sec { animation: fadeInUp .9s ease .7s both; }

/* CTA buttons — animated gradient pulse */
.btn-hero {
  background: var(--beige);
  background-size: 200% 200%;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.btn-cta {
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.btn-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transform: translateX(-100%);
  transition: transform .4s;
}
.btn-cta:hover::after { transform: translateX(100%); }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }

/* Nav links animated underline */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 100%;
  height: 2px;
  background: var(--beige);
  transition: right .3s ease;
}
.nav-links a:hover::after { right: 0; }

/* Stats — animate on entry */
.stats { animation: fadeInUp .8s ease both; }
.stat-num {
  display: inline-block;
  animation: countUp .6s ease both;
}
.stats-inner > div:nth-child(1) .stat-num { animation-delay: .1s; }
.stats-inner > div:nth-child(2) .stat-num { animation-delay: .2s; }
.stats-inner > div:nth-child(3) .stat-num { animation-delay: .3s; }
.stats-inner > div:nth-child(4) .stat-num { animation-delay: .4s; }

/* Service cards — staggered entrance + hover */
.service-card {
  animation: fadeInUp .7s ease both;
  transition: transform .25s ease, box-shadow .25s ease, border-top-color .25s;
}
.services-grid .service-card:nth-child(1) { animation-delay: .1s; }
.services-grid .service-card:nth-child(2) { animation-delay: .25s; }
.services-grid .service-card:nth-child(3) { animation-delay: .4s; }
.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 16px 40px rgba(58,95,38,.15);
  border-top-color: var(--vert-fonce);
}
.service-icon { transition: transform .3s; }
.service-card:hover .service-icon { transform: scale(1.2) rotate(-5deg); }

/* Why items */
.why-item { transition: transform .2s, box-shadow .2s; }
.why-item:hover { transform: translateX(6px); box-shadow: 4px 0 16px rgba(58,95,38,.12); }

/* Avis cards */
.avis-card { transition: transform .2s, box-shadow .2s; }
.avis-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }

/* FAQ items */
.faq-item { transition: transform .2s; }
.faq-item:hover { transform: translateX(4px); }
.faq-q { transition: color .2s; }
.faq-q:hover { color: var(--vert); }

/* Gallery items */
.gallery-item { transition: transform .3s, box-shadow .3s; }
.gallery-item:hover { transform: scale(1.02); box-shadow: 0 12px 32px rgba(0,0,0,.2); }

/* Logo certifications & marques */
.logo-cert { transition: transform .25s, opacity .25s; }
.logo-cert:hover { transform: scale(1.08); opacity: 1; }
.logo-brand { transition: transform .25s, opacity .25s, filter .25s; }
.logo-brand:hover { transform: scale(1.1); opacity: 1; filter: none; }

/* Logos strip entrance */
.logos-strip { animation: fadeInUp .8s ease .3s both; }

/* Zone tags */
.zone-tag { transition: transform .15s, background .15s; }
.zone-tag:hover { transform: scale(1.06); background: var(--vert); }

/* CTA section */
.cta-section h2 { animation: fadeInDown .8s ease both; }
.cta-section p  { animation: fadeInUp .8s ease .15s both; }
.cta-section .cta-btns { animation: fadeInUp .8s ease .3s both; }

/* Phone button pulse */
a[href^="tel"] .btn-cta,
.nav-tel { animation: pulse 2.5s ease-in-out infinite; }

/* Scroll-reveal class (added by JS) */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* LIGHTBOX */
.lightbox-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.92); z-index:9999; align-items:center; justify-content:center; cursor:zoom-out; }
.lightbox-overlay.active { display:flex; }
.lightbox-overlay img { max-width:92vw; max-height:92vh; object-fit:contain; border-radius:6px; box-shadow:0 8px 40px rgba(0,0,0,.6); }
.lightbox-close { position:fixed; top:20px; right:28px; color:#fff; font-size:2.5rem; cursor:pointer; line-height:1; z-index:10000; }
.gallery-item img { cursor:zoom-in; }
