/* ================================================================
   clim-plomberie-brignoles.fr — Landing SEO
   Design autonome, inspiré de sebcp-signature.fr
   ================================================================ */

/* --- Variables --- */
:root {
  --gold:          #c9a84c;
  --gold-light:    #e0c06a;
  --gold-gradient: linear-gradient(135deg, #c9a84c 0%, #e8d08a 50%, #c9a84c 100%);
  --bg-main:       #0a0a0a;
  --bg-2:          #111111;
  --bg-card:       #161616;
  --text-1:        #f5f5f5;
  --text-2:        #b0b0b0;
  --text-3:        #707070;
  --border-dim:    rgba(255,255,255,0.07);
  --border-bright: rgba(201,168,76,0.4);
  --shadow-gold:   0 0 30px rgba(201,168,76,0.15);
  --font-sans:     'Inter', system-ui, sans-serif;
  --font-serif:    'Playfair Display', Georgia, serif;
  --r-sm:          6px;
  --r-md:          12px;
  --r-lg:          18px;
  --t-base:        0.22s ease;
  --nav-h:         76px;
  --gap-xs:        0.75rem;
  --gap-sm:        1.25rem;
  --gap-md:        2rem;
  --gap-lg:        3.5rem;
  --gap-xl:        5rem;
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-main);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--t-base); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Top bar --- */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dim);
}
.top-bar-main {
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

/* Bandeau de confiance sous la navbar */
.trust-bar {
  background: rgba(201,168,76,0.06);
  border-top: 1px solid rgba(201,168,76,0.12);
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  overflow: hidden;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  white-space: nowrap;
}
.trust-bar-item svg {
  width: 13px; height: 13px;
  stroke: var(--gold);
  flex-shrink: 0;
}
.trust-bar-sep { color: rgba(201,168,76,0.3); font-size: 0.6rem; }
.top-bar .container,
.top-bar-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.top-bar-logo img { height: 56px; width: auto; }
.top-bar-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.4rem;
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: opacity var(--t-base), transform var(--t-base);
  white-space: nowrap;
}
.top-bar-cta:hover { opacity: 0.9; transform: scale(1.03); }
.top-bar-cta svg { width: 16px; height: 16px; fill: #000; flex-shrink: 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--t-base);
  cursor: pointer;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold-gradient);
  color: #000;
}
.btn-gold:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-outline {
  border: 1.5px solid var(--border-bright);
  color: var(--gold-light);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold-light);
  color: #fff;
  background: rgba(201,168,76,0.08);
}

/* --- Section base --- */
section { padding: var(--gap-xl) 0; }
.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--text-1);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  color: var(--text-2);
  font-size: 1rem;
  max-width: 560px;
}
.section-header {
  text-align: center;
  margin-bottom: var(--gap-lg);
}
.section-header--left { text-align: left; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* var(--nav-h) = 76px navbar + ~28px trust-bar */
  padding-top: calc(var(--nav-h) + 28px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(201,168,76,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 80%, rgba(30,60,120,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  object-fit: cover;
  object-position: center;
  opacity: 0.30;
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: var(--gap-lg) var(--gap-sm);
}
.hero-logo {
  height: 160px;
  width: auto;
  margin: 0 auto var(--gap-md);
}
.hero-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  margin-bottom: var(--gap-sm);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text-1);
  line-height: 1.15;
  margin-bottom: var(--gap-sm);
}
.hero h1 em {
  font-style: normal;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto var(--gap-md);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: var(--gap-md);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: var(--gap-sm);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-3);
}
.trust-item svg { width: 14px; height: 14px; stroke: var(--gold); }

/* ================================================================
   SERVICES
   ================================================================ */
.section-services { background: var(--bg-2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
/* Photo couverture carte service */
.service-card-img {
  display: block;
  width: calc(100% + 2 * var(--gap-md));
  margin: calc(-1 * var(--gap-md)) calc(-1 * var(--gap-md)) var(--gap-sm);
  height: 190px;
  object-fit: cover;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-card-img { transform: scale(1.05); }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: var(--gap-md);
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.service-card:hover {
  border-color: var(--border-bright);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: rgba(201,168,76,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--gold); }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-1);
  margin-top: 0.25rem;
}
.service-card p {
  color: var(--text-2);
  font-size: 0.92rem;
  flex: 1;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.25rem;
}
.service-list li {
  font-size: 0.85rem;
  color: var(--text-2);
  padding-left: 1.1rem;
  position: relative;
}
.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: var(--gap-xs);
  transition: color var(--t-base), gap var(--t-base);
}
.service-link:hover { color: var(--gold); gap: 0.5rem; }

/* ================================================================
   POURQUOI NOUS
   ================================================================ */
.arguments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.argument-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  padding: var(--gap-md) var(--gap-sm);
  text-align: center;
  transition: border-color var(--t-base);
}
.argument-card:hover { border-color: var(--border-bright); }
.argument-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(201,168,76,0.08);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--gap-xs);
}
.argument-icon svg { width: 26px; height: 26px; stroke: var(--gold); }
.argument-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-1);
  margin-bottom: 0.4rem;
}
.argument-card p { color: var(--text-2); font-size: 0.87rem; }

/* Carte Google Maps zone */
.zone-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.25);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
  flex-shrink: 0;
  width: 400px;
  height: 380px;
  align-self: start;
  margin-top: 0.5rem;
}
.zone-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: contrast(1.05) saturate(1.1) brightness(0.92);
}

/* Séparateur décoratif wave entre sections */
.wave-sep {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  height: 50px;
  margin-bottom: -2px;
}
.wave-sep svg { display: block; width: 100%; height: 50px; }
.wave-sep--down { background: transparent; }

/* ================================================================
   ZONE
   ================================================================ */
.section-zone { background: var(--bg-2); }
.zone-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--gap-lg);
  align-items: start;
}
.zone-intro { color: var(--text-2); margin-bottom: var(--gap-sm); }
.zone-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 2rem;
  margin-bottom: var(--gap-sm);
}
.zone-list li {
  font-size: 0.9rem;
  color: var(--text-2);
  padding-left: 1.1rem;
  position: relative;
}
.zone-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}
.zone-note {
  color: var(--text-3);
  font-size: 0.85rem;
  margin-bottom: var(--gap-md);
}
.zone-badge {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, rgba(201,168,76,0.02) 60%, transparent 100%);
  border: 1px solid var(--border-bright);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-shrink: 0;
  position: relative;
}
.zone-badge svg { width: 32px; height: 32px; stroke: var(--gold); }
.zone-badge-city {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-1);
  font-weight: 600;
}
.zone-badge-region {
  font-size: 0.78rem;
  color: var(--text-3);
  letter-spacing: 0.08em;
}
.zone-badge-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.12);
}
.zone-badge-ring--1 { inset: -20px; }
.zone-badge-ring--2 { inset: -40px; }
.zone-badge-ring--3 { inset: -60px; }

/* ================================================================
   FAQ
   ================================================================ */
.section-faq { background: var(--bg-main); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-base);
}
.faq-item.open, .faq-item:hover { border-color: var(--border-bright); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  text-align: left;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-1);
  transition: color var(--t-base);
}
.faq-question:hover { color: var(--gold-light); }
.faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  stroke: var(--gold);
  transition: transform var(--t-base);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p {
  padding: 0 1.4rem 1.4rem;
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.75;
}
.faq-answer a { color: var(--gold-light); }

/* ================================================================
   CTA FINAL
   ================================================================ */
.section-cta-final {
  background: linear-gradient(135deg, #111 0%, #0a0a0a 100%);
  border-top: 1px solid var(--border-dim);
}
.cta-final-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-final-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: var(--gap-sm);
}
.cta-final-inner p { color: var(--text-2); margin-bottom: var(--gap-md); }
.cta-phone-big {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 999px;
  transition: opacity var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  margin-bottom: var(--gap-sm);
}
.cta-phone-big:hover { opacity: 0.9; transform: scale(1.03); box-shadow: var(--shadow-gold); }
.cta-phone-big svg { width: 22px; height: 22px; fill: #000; }
.cta-site-link {
  display: block;
  margin-top: var(--gap-xs);
  color: var(--text-3);
  font-size: 0.88rem;
}
.cta-site-link a { color: var(--gold-light); }
.cta-site-link a:hover { color: var(--gold); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: #080808;
  border-top: 1px solid var(--border-dim);
  padding: var(--gap-md) 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-copy { color: var(--text-3); font-size: 0.82rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  color: var(--text-3);
  font-size: 0.82rem;
  transition: color var(--t-base);
}
.footer-links a:hover { color: var(--text-2); }

/* ================================================================
   ANIMATIONS reveal-item
   ================================================================ */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .arguments-grid { grid-template-columns: 1fr 1fr; }
  .zone-content { grid-template-columns: 1fr; }
  .zone-badge { display: none; }
  .zone-map { width: 100%; height: 300px; }
  .trust-bar { gap: 0.8rem; }
}
@media (max-width: 600px) {
  section { padding: var(--gap-lg) 0; }
  .services-grid { grid-template-columns: 1fr; }
  .arguments-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 320px; justify-content: center; }
  .zone-list { grid-template-columns: 1fr; }
  .zone-map { height: 200px; }
  .top-bar-logo img { height: 46px; }
  .trust-bar { display: none; }
}
@media (max-width: 400px) {
  .arguments-grid { grid-template-columns: 1fr; }
}
