/*
Theme Name:  LDA Plomberie 54
Theme URI:   https://lda-plomberie54.fr
Author:      GouerecDev
Author URI:  https://gouerec.dev
Description: Thème sur-mesure pour LDA Plomberie 54 — artisan plombier à Laxou & Nancy (54).
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lda-plomberie-54
Tags:        one-page, responsive, custom-colors
*/

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

:root {
  --navy:       #0B2545;
  --blue:       #134074;
  --sky:        #1B6CA8;
  --azure:      #2E9BE4;
  --mist:       #D6EAF8;
  --ice:        #EBF5FC;
  --white:      #FFFFFF;
  --off-white:  #F7FBFF;
  --text-dark:  #0B2545;
  --text-mid:   #2C4A6E;
  --text-light: #6B8BAF;
  --star:       #F59E0B;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  width: 1440px;
  overflow-x: hidden;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  height: 72px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11,37,69,0.08);
  box-shadow: 0 2px 24px rgba(11,37,69,0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 40px; height: 40px;
  background: var(--blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; fill: white; }
.logo-text {
  display: flex; flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: -0.3px;
}
.logo-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--sky);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

nav { display: flex; gap: 36px; align-items: center; }
nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: color .2s;
}
nav a:hover { color: var(--azure); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, transform .2s;
  letter-spacing: 0.2px;
}
.header-cta:hover { background: var(--navy); transform: translateY(-1px); }
.header-cta svg { width: 16px; height: 16px; fill: white; }

/* ── HERO ── */
.hero {
  margin-top: 72px;
  position: relative;
  height: 680px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11,37,69,0.88) 0%, rgba(19,64,116,0.75) 45%, rgba(27,108,168,0.45) 100%),
    url('https://images.unsplash.com/photo-1552321554-5fefe8c9ef14?w=1440&q=80') center/cover no-repeat;
}

/* Decorative wave bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 96px;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.3);
}

.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: 54px;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero h1 span {
  color: var(--azure);
}

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.80);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-call {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--azure);
  color: white;
  text-decoration: none;
  padding: 18px 36px;
  border-radius: 12px;
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  box-shadow: 0 8px 32px rgba(46,155,228,0.45), 0 2px 8px rgba(0,0,0,0.15);
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.btn-call::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
}
.btn-call:hover {
  background: #1e8fd8;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(46,155,228,0.55);
}
.btn-call-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.btn-call-icon svg { width: 22px; height: 22px; fill: white; }
.btn-call-text { display: flex; flex-direction: column; line-height: 1.2; }
.btn-call-text small { font-size: 11px; font-weight: 400; opacity: 0.85; letter-spacing: 0.3px; }
.btn-call-text strong { font-size: 17px; }

.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 12px 18px;
  backdrop-filter: blur(6px);
}
.stars { display: flex; gap: 2px; }
.stars span { font-size: 16px; }
.hero-rating-text { color: white; }
.hero-rating-text strong { display: block; font-size: 22px; font-weight: 700; line-height: 1; }
.hero-rating-text small { font-size: 11px; opacity: 0.75; }

/* ── SECTION TRUST BAR ── */
.trust-bar {
  background: var(--navy);
  padding: 18px 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 13.5px;
  font-weight: 500;
}
.trust-item svg { width: 18px; height: 18px; fill: var(--azure); flex-shrink: 0; }
.trust-sep { width: 1px; height: 24px; background: rgba(255,255,255,0.15); }

/* ── SECTIONS COMMON ── */
section { padding: 96px 96px; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 12px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--azure);
  border-radius: 2px;
}
.section-title {
  font-family: 'Sora', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 540px;
}

/* ── SERVICES / DÉPANNAGE ── */
.services {
  background: var(--off-white);
  padding: 96px 96px;
}
.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid rgba(11,37,69,0.06);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--azure), var(--sky));
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(11,37,69,0.10); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  background: var(--ice);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.service-card p {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.65;
}
.service-card .tag-react {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  background: var(--ice);
  color: var(--sky);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.service-card .tag-react::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--azure);
  border-radius: 50%;
}

/* ── SALLE DE BAIN ── */
.bathroom {
  background: var(--white);
  padding: 96px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.bathroom-img {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 520px;
}
.bathroom-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.bathroom-img .img-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--navy);
  color: white;
  border-radius: 12px;
  padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
}
.bathroom-img .img-badge svg { width: 24px; height: 24px; fill: var(--azure); }
.bathroom-img .img-badge div strong { display: block; font-size: 15px; font-weight: 700; }
.bathroom-img .img-badge div span { font-size: 12px; opacity: 0.7; }

.bathroom-features { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.feature-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  background: var(--ice);
  border-radius: 12px;
}
.feature-item svg { width: 20px; height: 20px; fill: var(--azure); flex-shrink: 0; margin-top: 1px; }
.feature-item div strong { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.feature-item div span { font-size: 13px; color: var(--text-light); }

/* ── RÉALISATIONS ── */
.gallery {
  background: var(--navy);
  padding: 96px 96px;
}
.gallery .section-title { color: white; }
.gallery .section-tag { color: var(--azure); }
.gallery .section-sub { color: rgba(255,255,255,0.6); }
.gallery-header { margin-bottom: 48px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 240px 240px;
  gap: 14px;
}
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: attr(data-label);
  position: absolute;
  bottom: 14px; left: 14px;
  background: rgba(11,37,69,0.85);
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.3px;
}
.g1 { grid-column: span 5; }
.g2 { grid-column: span 4; }
.g3 { grid-column: span 3; }
.g4 { grid-column: span 3; }
.g5 { grid-column: span 5; }
.g6 { grid-column: span 4; }

/* ── AVIS ── */
.reviews {
  background: var(--ice);
  padding: 96px 96px;
}
.reviews-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 56px;
}
.rating-big {
  background: var(--white);
  border-radius: 24px;
  padding: 36px 44px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(11,37,69,0.08);
  min-width: 220px;
}
.rating-big .score {
  font-family: 'Sora', sans-serif;
  font-size: 72px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -3px;
}
.rating-big .score span {
  font-size: 36px;
  color: var(--text-light);
  font-weight: 400;
}
.rating-big .stars-big { display: flex; justify-content: center; gap: 4px; margin: 10px 0 6px; }
.rating-big .stars-big span { font-size: 22px; }
.rating-big .reviews-count { font-size: 13px; color: var(--text-light); }
.rating-big .google-badge {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 14px;
  font-size: 12px; font-weight: 600; color: var(--text-mid);
}
.rating-big .google-badge svg { width: 18px; height: 18px; }

.reviews-intro .section-sub { max-width: 100%; }
.reviews-intro .verified {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  background: #ECFDF5; border: 1px solid #6EE7B7;
  color: #065F46; font-size: 13px; font-weight: 500;
  padding: 8px 16px; border-radius: 20px;
}
.reviews-intro .verified svg { width: 14px; height: 14px; fill: #10B981; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--white);
  border-radius: 18px;
  padding: 28px 26px;
  border: 1px solid rgba(11,37,69,0.06);
  box-shadow: 0 4px 20px rgba(11,37,69,0.05);
}
.review-card .r-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.r-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.r-info strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.r-info small { font-size: 12px; color: var(--text-light); }
.r-stars { display: flex; gap: 2px; margin-bottom: 12px; }
.r-stars span { font-size: 14px; }
.review-card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; font-style: italic; }
.review-card .r-tag {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600;
  color: var(--sky);
  background: var(--ice);
  padding: 4px 10px; border-radius: 20px;
}

/* ── CTA STRIP ── */
.cta-strip {
  background: linear-gradient(135deg, var(--blue) 0%, var(--sky) 100%);
  padding: 72px 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-strip::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 200px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.cta-text h2 {
  font-family: 'Sora', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}
.cta-text p { font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.5; }
.cta-btn-large {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  color: var(--blue);
  text-decoration: none;
  padding: 20px 40px;
  border-radius: 14px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  transition: all .25s;
  position: relative; z-index: 1;
}
.cta-btn-large:hover { transform: translateY(-2px); box-shadow: 0 14px 50px rgba(0,0,0,0.25); }
.cta-btn-large svg { width: 24px; height: 24px; fill: var(--azure); }
.cta-btn-large span { display: flex; flex-direction: column; line-height: 1.2; }
.cta-btn-large span small { font-size: 12px; font-weight: 400; color: var(--text-light); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 64px 96px 32px;
  color: rgba(255,255,255,0.7);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-name { color: white; font-size: 18px; }
.footer-brand .logo-sub { color: var(--azure); }
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  color: rgba(255,255,255,0.55);
}
.footer-call {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  background: var(--blue);
  border-radius: 10px;
  padding: 14px 18px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 15px;
  transition: background .2s;
}
.footer-call:hover { background: var(--sky); }
.footer-call svg { width: 18px; height: 18px; fill: var(--azure); }

.footer-col h4 {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-info-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 14px;
  font-size: 13.5px;
}
.footer-info-item svg { width: 16px; height: 16px; fill: var(--azure); flex-shrink: 0; margin-top: 2px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 13.5px;
  transition: color .2s;
}
.footer-links a:hover { color: var(--azure); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ── CERT BADGE ── */
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 14px;
}
.cert-badge svg { width: 14px; height: 14px; fill: var(--star); }
