/* ===================================
   POLET PLAQUISTE PEINTRE JOINTEUR
   style.css - Artisan BTP
   =================================== */

:root {
  --charcoal: #2d2d2d;
  --orange: #ea580c;
  --orange-dark: #c2410c;
  --orange-light: #fb923c;
  --cream: #faf5eb;
  --cream-dark: #f5ede0;
  --white: #ffffff;
  --gray-light: #f4f4f4;
  --gray-mid: #888888;
  --text: #1a1a1a;
  --text-muted: #555555;
  --border: #e2d9cd;
  --shadow: 0 4px 24px rgba(45,45,45,0.12);
  --shadow-lg: 0 8px 40px rgba(45,45,45,0.18);
  --radius: 6px;
  --radius-lg: 12px;
  --font-main: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange-dark); }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--charcoal);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

/* ---- LAYOUT ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-dark { background: var(--charcoal); }
.section-orange { background: var(--orange); }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }

.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-white { color: var(--white); }

/* ---- SECTION HEADINGS ---- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.section-title {
  margin-bottom: 1.25rem;
}
.section-title span { color: var(--orange); }
.section-intro {
  max-width: 660px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ---- HEADER / NAV ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(45,45,45,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--orange);
  transition: var(--transition);
}

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

.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo img { height: 44px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.logo-tagline {
  font-size: 0.7rem;
  color: var(--orange-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--orange);
  background: rgba(234,88,12,0.12);
}
.main-nav .nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.main-nav .nav-cta:hover {
  background: var(--orange-dark);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ---- VIDEO HERO ---- */
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 0;
}

.hero-video .video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 45, 45, 0.88);
  z-index: 1;
}

.hero-video .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 820px;
}

/* ---- CSS HERO (non-video pages) ---- */
.hero-css {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: center center / cover no-repeat;
}
.hero-css .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45,45,45,0.88);
  z-index: 1;
}
.hero-css .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  max-width: 760px;
}

/* Hero shared content */
.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-content .hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.hero-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}
.badge {
  background: rgba(234,88,12,0.2);
  border: 1px solid var(--orange);
  color: var(--orange-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: var(--orange);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.2;
}
.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234,88,12,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.service-card h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.service-card p { font-size: 0.92rem; }
.service-card .btn { margin-top: 1.25rem; font-size: 0.85rem; padding: 0.6rem 1.25rem; }

/* ---- 2-COL LAYOUTS ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.two-col-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.two-col-text h2 { margin-bottom: 1rem; }
.two-col-text p { margin-bottom: 1.25rem; }
.two-col-text ul {
  list-style: none;
  margin-bottom: 1.75rem;
}
.two-col-text ul li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.two-col-text ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ---- BANNER CSS BG ---- */
.banner-bg {
  position: relative;
  background: url('../images/vue-larochelle.jpg') center center / cover no-repeat;
  padding: 6rem 0;
  text-align: center;
}
.banner-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(45,45,45,0.88);
}
.banner-bg .container { position: relative; z-index: 1; }
.banner-bg h2 { color: var(--white); margin-bottom: 1rem; }
.banner-bg p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---- STATS ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ---- BLOG GRID ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.blog-card-body { padding: 1.5rem; }
.blog-meta {
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.blog-card p { font-size: 0.88rem; margin-bottom: 1rem; }
.blog-card .read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.blog-card .read-more:hover { gap: 0.7rem; }

/* ---- ARTICLE ---- */
.article-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45,45,45,0.70);
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
}
.article-hero-overlay h1 {
  color: var(--white);
  max-width: 760px;
}
.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.article-body h2 { margin: 2.5rem 0 1rem; font-size: 1.6rem; }
.article-body h3 { margin: 2rem 0 0.75rem; }
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.article-body li { margin-bottom: 0.5rem; color: var(--text-muted); }
.article-mid-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
}
.article-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--gray-mid);
}
.article-meta span { display: flex; align-items: center; gap: 0.4rem; }
.article-tag {
  display: inline-block;
  background: rgba(234,88,12,0.1);
  color: var(--orange);
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-right: 0.4rem;
}

/* ---- CONTACT FORM ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.25rem; }
.contact-info p { margin-bottom: 1.5rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(234,88,12,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text h4 { margin-bottom: 0.2rem; font-size: 0.9rem; font-family: var(--font-main); font-weight: 600; }
.contact-item-text p { font-size: 0.88rem; margin: 0; }
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(234,88,12,0.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; justify-content: center; font-size: 1rem; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  background: var(--white);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.82rem;
}
.breadcrumb li { display: flex; align-items: center; gap: 0.4rem; color: var(--gray-mid); }
.breadcrumb li:not(:last-child)::after { content: '/'; }
.breadcrumb a { color: var(--orange); }

/* ---- FAQ ---- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-q {
  background: var(--white);
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--orange); }
.faq-a {
  background: var(--cream);
  padding: 1.2rem 1.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { max-width: 320px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--orange-light); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}
.footer-bottom p { color: rgba(255,255,255,0.45); margin: 0; }
.footer-badges { display: flex; gap: 0.75rem; }
.footer-badge {
  background: rgba(234,88,12,0.15);
  color: var(--orange-light);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
}

/* ---- SITEMAP ---- */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}
.sitemap-col h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--orange);
  color: var(--charcoal);
}
.sitemap-col ul { list-style: none; }
.sitemap-col ul li { margin-bottom: 0.5rem; }
.sitemap-col ul li a { font-size: 0.9rem; }

/* ---- 404 ---- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.error-number {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.error-page h1 { margin-bottom: 1rem; font-size: 2rem; }
.error-page p { margin-bottom: 2rem; }

/* ---- TRUST ICONS / USP BAR ---- */
.usp-bar {
  background: var(--orange);
  padding: 1rem 0;
}
.usp-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.usp-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--charcoal);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 0.75rem 1rem; }
  .hamburger { display: flex; }
  .section { padding: 3.5rem 0; }
  .hero-video { height: 100svh; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .btn { padding: 0.75rem 1.5rem; }
  .two-col-image img { height: 280px; }
  .contact-form { padding: 1.5rem; }
  .article-hero { height: 280px; }
  .error-number { font-size: 5rem; }
}
