/*
Theme Name: Plombier
Theme URI: https://ludosnts.fr
Author: Ludo SNTS
Author URI: https://ludosnts.fr
Description: Thème WordPress one page professionnel pour artisan plombier. Design moderne, responsive, orienté conversion.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Plombier
Tags: one-page, plombier, artisan, responsive, moderne
*/

/* ===== VARIABLES ===== */
:root {
  --primary: #0F5E9C;
  --primary-light: #2D8CDB;
  --accent-bg: #EAF4FC;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --text: #334155;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --radius: 0.75rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --dark-bg: #1E293B;
  --transition: all 0.3s;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}



.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: var(--transition);
  height: 70px;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}
.logo svg { width: 28px; height: 28px; }

.nav-desktop { display: flex; align-items: center; gap: 1.5rem; }
.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(51,65,85,0.8);
  transition: var(--transition);
}
.nav-desktop a:hover { color: var(--primary); }

.btn-primary {
  background: var(--primary);
  color: var(--white) !important;
  transition: var(--transition);
}
.btn-primary:hover { background: var(--primary-light); }


.burger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--text); }
.burger svg { width: 24px; height: 24px; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem;
  z-index: 99;
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0;
  color: rgba(51,65,85,0.8);
}
.mobile-menu a:hover { color: var(--primary); }

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .burger { display: block; }
  .btn-primary {
    display: block;
    text-align: center;
  }
}

/* ===== HERO ===== */
.hero {
  padding: 7rem 0 3rem;
  background-image: radial-gradient(circle at 20% 80%, rgba(15,94,156,0.03) 0%, transparent 50%),
                     radial-gradient(circle at 80% 20%, rgba(45,140,219,0.04) 0%, transparent 50%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  background: var(--accent-bg);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--primary); }
.hero-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-right { position: relative; }
.hero-img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}
.hero-overlay-card {
  position: absolute;
  bottom: -1.5rem;
  left: 1rem; right: 1rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.strength-item { display: flex; align-items: center; gap: 0.75rem; }
.strength-icon {
  width: 36px; height: 36px;
  border-radius: 0.5rem;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.strength-icon svg { width: 20px; height: 20px; color: var(--primary); }
.strength-item span { font-weight: 500; font-size: 0.9rem; }

.reassurance-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}
.reassurance-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-sm);
}
.reassurance-item svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
.reassurance-item span { font-size: 0.85rem; font-weight: 500; }

@media (max-width: 768px) {
  .hero { padding: 6rem 0 2rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.875rem; }
  .reassurance-bar { grid-template-columns: 1fr 1fr; }
}

/* ===== SECTIONS COMMON ===== */
.section { padding: 5rem 0; }
.section-alt { background: var(--accent-bg); }
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-intro {
  text-align: center;
  max-width: 640px;
  margin: -2rem auto 3.5rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-icon {
  width: 48px; height: 48px;
  border-radius: 0.75rem;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); }
.service-icon svg { width: 24px; height: 24px; color: var(--primary); transition: var(--transition); }
.service-card:hover .service-icon svg { color: var(--white); }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== WHY US ===== */
.whyus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.whyus-img {
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  max-width: 380px;
  margin: 0 auto;
}
.whyus-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.whyus-card {
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.whyus-card-icon {
  width: 40px; height: 40px;
  border-radius: 0.5rem;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.whyus-card-icon svg { width: 20px; height: 20px; color: var(--primary); }
.whyus-card h3 { font-size: 0.875rem; font-weight: 700; margin-bottom: 0.25rem; }
.whyus-card p { font-size: 0.75rem; color: var(--text-muted); line-height: 1.6; }
.whyus-intro { color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }

@media (max-width: 768px) {
  .whyus-grid { grid-template-columns: 1fr; }
  .whyus-cards { grid-template-columns: 1fr; }
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { background: rgba(0,0,0,0.4); }
.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay span { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== PROCESS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.process-step { text-align: center; position: relative; }
.process-num {
  font-size: 5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: rgba(15,94,156,0.1);
  line-height: 1;
}
.process-icon {
  width: 56px; height: 56px;
  border-radius: 1rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0rem auto 1rem;
}
.process-icon svg { width: 24px; height: 24px; color: var(--white); }
.process-step h3 { font-weight: 700; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.review-card {
  background: var(--white);
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.review-stars { display: flex; gap: 2px; margin-bottom: 0.75rem; }
.review-stars svg { width: 16px; height: 16px; fill: var(--primary); color: var(--primary); }
.review-card blockquote {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: normal;
}
.review-author { font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; }
.review-city { font-size: 0.75rem; color: var(--text-muted); margin-left: 0.5rem; }

@media (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== INTERVENTION ===== */
.intervention-content { max-width: 720px; margin: 0 auto; text-align: center; }
.intervention-text { color: var(--text-muted); line-height: 1.7; margin-bottom: 2.5rem; }
.intervention-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.intervention-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-bg);
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.intervention-badge svg { width: 24px; height: 24px; color: var(--primary); }
.intervention-badge span { font-size: 0.875rem; font-weight: 500; }

@media (max-width: 480px) {
  .intervention-badges { grid-template-columns: 1fr 1fr; }
}

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0 1.25rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  text-align: left;
}
.faq-question svg {
  width: 20px; height: 20px;
  transition: var(--transition);
  flex-shrink: 0;
  color: var(--text-muted);
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1rem;
}
.faq-answer p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 0.75rem;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; color: var(--primary); }
.contact-info-item .label { font-size: 0.8rem; color: var(--text-muted); }
.contact-info-item .value { font-weight: 600; }
.contact-text { color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-disclaimer { text-align: center; font-size: 0.75rem; color: var(--text-muted); margin-top: 1rem; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 3rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.footer-brand .footer-logo svg { width: 20px; height: 20px; }
.footer-brand .footer-sub { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  width: 100%;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-bottom: 0.25rem; }

@media (max-width: 768px) {
  .footer-top { flex-direction: column; text-align: center; gap: 1rem; }
  .footer-nav { justify-content: center; }
}
