/*
Diagnostic IDF - Style CSS
Identité visuelle : Industrial / Construction
Couleur principale : #F5A623 (Gold Yellow)
Fonts : Roboto Condensed + Roboto
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

/*
==============================================================================
IDENTITÉ VISUELLE (selon identité_visu.json)
==============================================================================
*/
:root {
  /* Colors */
  --accent: #F5A623;
  --accent-hover: #D48A10;
  --black: #111111;
  --dark-gray: #222222;
  --mid-gray: #444444;
  --body-gray: #555555;
  --light-gray: #888888;
  --border: #DDDDDD;
  --bg-light: #F5F5F5;
  --white: #FFFFFF;

  /* Overlays */
  --overlay-dark: rgba(0, 0, 0, 0.65);
  --overlay-card: #1A1A1A;
  --overlay-section: #2A2A2A;

  /* Fonts */
  --font-title: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;

  /* Spacing */
  --container-width: 1200px;
  --section-padding: 80px 0;
  --card-padding: 24px;
  --grid-gap: 30px;
  --nav-height: 70px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-gray);
  background-color: var(--white);
  overflow-x: hidden;
  padding-top: 155px;
}

@media (max-width: 768px) {
  body {
    padding-top: 130px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  text-transform: uppercase;
  margin: 0 0 1rem 0;
}

h1 {
  font-size: 46px;
  letter-spacing: 0.02em;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 20px;
}

p {
  margin: 0 0 1.2rem 0;
  color: var(--body-gray);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/*
==============================================================================
LAYOUT
==============================================================================
*/
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.section-pad {
  padding: var(--section-padding);
}

/*
==============================================================================
BUTTONS (Industrial style - sharp corners)
==============================================================================
*/
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  padding: 12px 28px;
  border: none;
  border-radius: 0;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  padding: 12px 28px;
  border: 2px solid var(--white);
  border-radius: 0;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--black);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--accent);
  padding: 10px 22px;
  border: 2px solid var(--accent);
  border-radius: 0;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

/*
==============================================================================
HEADER
==============================================================================
*/
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s ease;
}

#main-header.header-hidden {
  transform: translateY(-100%);
}

#main-header.header-visible {
  transform: translateY(0);
}

.header-top-bar {
  background: var(--black);
  color: var(--white);
  padding: 10px 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-bar a {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.header-top-bar a:hover {
  color: var(--accent);
}

.header-main {
  padding: 15px 0;
}

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

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo-wrap:hover {
  opacity: 0.8;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.logo-badge {
  width: 45px;
  height: 45px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.logo-text span {
  color: var(--accent);
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--light-gray);
  display: block;
}

#main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

#main-nav a {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black);
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: all 0.3s ease;
}

#main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

#main-nav a:hover::after,
#main-nav a.active::after {
  width: 100%;
}

#main-nav a:hover,
#main-nav a.active {
  color: var(--accent);
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 12px 24px;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

.header-tel:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}

.header-mobile-actions {
  display: none;
  gap: 15px;
  align-items: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 45px;
  height: 45px;
  justify-content: center;
  align-items: center;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive Desktop */
@media (min-width: 993px) {
  .mobile-nav {
    display: none !important;
  }
}

/* Responsive Tablet */
@media (max-width: 992px) {
  #main-nav {
    display: none;
  }

  .header-tel {
    display: none;
  }

  .header-mobile-actions {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .header-main {
    padding: 12px 0;
  }

  .logo-text {
    font-size: 16px;
  }

  .logo-tagline {
    display: none;
  }
}

/* Responsive Mobile */
@media (max-width: 768px) {
  .header-top-bar {
    padding: 8px 0;
    font-size: 10px;
  }

  .header-top-bar span {
    flex: 1;
    text-align: center;
  }

  .header-top-bar a {
    display: none;
  }

  .logo-badge {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .logo-text {
    font-size: 15px;
  }

  .header-inner {
    gap: 15px;
  }
}

/*
==============================================================================
MOBILE NAV
==============================================================================
*/
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 1001;
  padding: 0;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav.active {
  display: flex;
  flex-direction: column;
  opacity: 1;
  visibility: visible;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
}

.mobile-nav-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--black);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.mobile-nav-links a svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.mobile-nav-links a:hover {
  background: var(--bg-light);
  color: var(--accent);
}

.mobile-nav-links a.active {
  background: var(--bg-light);
  color: var(--accent);
  border-left-color: var(--accent);
}

.mobile-nav-links a.active svg {
  stroke: var(--accent);
}

.mobile-nav-links a:last-child {
  border-bottom: none;
}

.mobile-nav-footer {
  padding: 30px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
}

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.mobile-nav-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  padding: 16px 24px;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.mobile-nav-tel:hover {
  background: var(--accent-hover);
}

.mobile-nav-info {
  text-align: center;
  font-size: 12px;
  color: var(--light-gray);
}

.mobile-nav-info p {
  margin: 5px 0;
}

/* Body lock when menu is open */
body.menu-open {
  overflow: hidden;
}

@media (min-width: 993px) {
  .mobile-nav {
    display: none !important;
  }
}

/*
==============================================================================
HERO SECTION
==============================================================================
*/
#hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: -40px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay-dark);
}

#hero .container {
  position: relative;
  z-index: 2;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 60px;
  align-items: center;
}

.hero-label {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 6px 16px;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.hero-inner h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-inner p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
}

.hero-feature svg {
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner h1 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .hero-form-wrap {
    display: none;
  }
}



/*
==============================================================================
HERO FORM
==============================================================================
*/
.hero-form-wrap {
  background: var(--overlay-card);
  padding: 35px;
}

.hero-form-wrap h3 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 18px;
}

.hero-form-wrap>p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 25px;
  font-size: 13px;
}

.champ {
  margin-bottom: 20px;
}

.champ label {
  display: block;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  color: var(--white);
}

.champ input,
.champ select,
.champ textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.champ input::placeholder,
.champ textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.champ select {
  cursor: pointer;
}

.champ select option {
  background: var(--overlay-card);
  color: var(--white);
}

.btn-form-hero {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  padding: 16px;
  border: none;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-form-hero:hover {
  background: var(--accent-hover);
}

.hero-form-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-top: 15px;
}

/*
==============================================================================
INFO BAR
==============================================================================
*/
.info-bar {
  background: var(--black);
  padding: 15px 0;
}

.info-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
}

.info-bar-inner a {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .info-bar-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/*
==============================================================================
SECTIONS
==============================================================================
*/
.section-label {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 5px 15px;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
}

.titre {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--black);
}

.sous-titre {
  font-size: 17px;
  color: var(--light-gray);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.entete-section {
  text-align: center;
  margin-bottom: 50px;
}

/* Centrage spécifique pour certaines sections */
#diagnostics .sous-titre,
#statistiques .sous-titre,
#tarifs .sous-titre,
#contact .sous-titre {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Alignement à gauche pour certaines sections */
.presentation-grid .sous-titre,
.zone-grid .sous-titre,
.pourquoi-inner .sous-titre {
  text-align: left;
  margin: 0;
  max-width: 100%;
}

/*
==============================================================================
PRESENTATION SECTION
==============================================================================
*/
.presentation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.presentation-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.presentation-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.presentation-images img:nth-child(3) {
  grid-column: span 2;
}

.action-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.action-buttons-center {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

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

/*
==============================================================================
SERVICES GRID
==============================================================================
*/
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.card-service {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
  position: relative;
}

.card-service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.card-icone-wrapper {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-service h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--black);
}

.card-service p {
  font-size: 15px;
  color: var(--light-gray);
  line-height: 1.6;
  margin-bottom: 15px;
}

.card-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 4px 10px;
  font-family: var(--font-title);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/*
==============================================================================
WHY US SECTION
==============================================================================
*/
#pourquoi {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

#pourquoi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.1) 0%, transparent 100%);
}

.pourquoi-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

.pourquoi-inner {
  position: relative;
  z-index: 2;
}

.pourquoi-inner .titre {
  color: var(--white);
}

.pourquoi-inner .sous-titre {
  color: rgba(255, 255, 255, 0.6);
}

.engagements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin: 50px 0;
}

.engagement {
  display: flex;
  gap: 20px;
}

.engagement-icone {
  width: 50px;
  height: 50px;
  background: rgba(245, 166, 35, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.engagement h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--white);
}

.engagement p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 992px) {
  .engagement {
    flex-direction: column;
    text-align: left;
  }

  .engagement-icone {
    width: 60px;
    height: 60px;
  }
}

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

/*
==============================================================================
STATISTICS SECTION
==============================================================================
*/
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid-gray);
  margin-bottom: 15px;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 1.5s ease-out;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stat-number {
    font-size: 36px;
  }
}

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

/*
==============================================================================
ZONE SECTION
==============================================================================
*/
.zone-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 50px;
  align-items: center;
}

.villes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 25px 0;
}

.ville {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.ville-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex-shrink: 0;
}

.zone-img {
  position: relative;
}

.zone-img img {
  width: 100%;
}

.zone-img-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--accent);
  color: var(--white);
  padding: 10px 20px;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

  .villes {
    grid-template-columns: 1fr;
  }
}

/*
==============================================================================
PRICING SECTION
==============================================================================
*/
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 35px 30px;
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--accent);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  padding: 6px 20px;
  font-family: var(--font-title);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pricing-header h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--black);
}

.pricing-from {
  font-size: 11px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pricing-price {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  margin: 10px 0 25px;
  font-family: var(--font-title);
}

.pricing-features {
  text-align: left;
  margin: 25px 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--body-gray);
}

.pricing-features li svg {
  flex-shrink: 0;
}

.btn-pricing {
  display: inline-block;
  width: 100%;
  padding: 14px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btn-pricing:hover {
  background: var(--accent);
}

.pricing-card.featured .btn-pricing {
  background: var(--accent);
}

.pricing-card.featured .btn-pricing:hover {
  background: var(--black);
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/*
==============================================================================
TESTIMONIALS SECTION
==============================================================================
*/
.note-globale {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.note-chiffre {
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-title);
  line-height: 1;
}

.note-etoiles {
  font-size: 24px;
  color: var(--accent);
}

.note-meta {
  font-size: 12px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.avis-card {
  background: var(--bg-light);
  padding: 25px;
}

.avis-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.avis-initiales {
  width: 45px;
  height: 45px;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
}

.avis-meta-auth strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.avis-meta-auth span {
  font-size: 11px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.etoiles-sm {
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 12px;
}

.avis-card p {
  font-size: 15px;
  line-height: 1.7;
}

.mention-google {
  text-align: center;
  font-size: 12px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-google {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  padding: 6px 16px;
  margin-left: 10px;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 992px) {
  .avis-grid {
    grid-template-columns: 1fr;
  }
}

/*
==============================================================================
FAQ SECTION
==============================================================================
*/
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.faq-img {
  position: relative;
}

.faq-img img {
  width: 100%;
  border: 3px solid var(--accent);
}

.accordeon {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.acc-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
}

.acc-item:hover {
  border-left-color: var(--accent);
}

.acc-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: none;
  border: none;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  cursor: pointer;
}

.acc-btn svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.acc-btn.active {
  color: var(--accent);
}

.acc-btn.active svg {
  transform: rotate(180deg);
}

.acc-corps {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 13px;
  color: var(--body-gray);
  transition: all 0.3s ease;
}

.acc-corps.open {
  max-height: 200px;
  padding-bottom: 18px;
}

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

  .faq-img {
    order: -1;
  }
}

/*
==============================================================================
CONTACT SECTION
==============================================================================
*/
.contact-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
}

.contact-infos {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-linke-link {
  text-decoration: none !important;
}

.info-ligne {
  padding: 20px;
  background: var(--bg-light);
  border-left: 3px solid var(--accent);
}

.info-icone {
  width: 35px;
  height: 35px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.info-texte strong {
  display: block;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black);
  margin-bottom: 5px;
}

.info-texte span {
  font-size: 13px;
  color: var(--body-gray);
}

.info-texte a {
  color: inherit;
}

.urgence-encart {
  background: var(--black);
  color: var(--white);
  padding: 25px;
}

.urgence-encart h4 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 16px;
}

.urgence-encart p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin-bottom: 15px;
}

.urgence-encart a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 10px 20px;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.formulaire {
  background: var(--bg-light);
  padding: 35px;
}

.formulaire h3 {
  color: var(--black);
  margin-bottom: 25px;
  font-size: 20px;
}

.champ-rangee {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.btn-envoyer {
  width: 100%;
  background: var(--black);
  color: var(--white);
  padding: 16px;
  border: none;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-envoyer:hover {
  background: var(--accent);
}

.formulaire .champ label {
  color: var(--black);
}

.formulaire .champ input,
.formulaire .champ select,
.formulaire .champ textarea {
  border-bottom-color: var(--border);
  color: var(--black);
}

.formulaire .champ input::placeholder,
.formulaire .champ textarea::placeholder {
  color: var(--light-gray);
}

.note-form {
  font-size: 11px;
  color: var(--light-gray);
  text-align: center;
  margin-top: 15px;
}

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

  .champ-rangee {
    grid-template-columns: 1fr;
  }
}

/*
==============================================================================
FOOTER
==============================================================================
*/
footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 20px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-brand {
  color: var(--white);
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-logo-badge {
  width: 35px;
  height: 35px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.footer-logo-text {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

.footer-logo-text span {
  color: var(--accent);
}

.footer-logo-img {
  height: 35px;
  width: auto;
  display: block;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-brand p:last-child {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bas {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-bas-links {
  display: flex;
  gap: 20px;
}

.footer-bas-links a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bas-links a:hover {
  color: var(--accent);
}

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

  .footer-bas {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/*
==============================================================================
FLOATING BUTTON
==============================================================================
*/
.btn-flottant {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.5);
  cursor: pointer;
  text-decoration: none;
  z-index: 1000;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.btn-flottant svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  animation: ring 1.5s ease-in-out infinite;
}

.btn-flottant:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 30px rgba(245, 166, 35, 0.6);
  transform: translateY(-3px);
}

@keyframes ring {

  0%,
  100% {
    transform: rotate(0deg);
  }

  10%,
  30% {
    transform: rotate(-10deg);
  }

  20%,
  40% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(0deg);
  }
}

@media (max-width: 768px) {
  .btn-flottant {
    bottom: 20px;
    right: 20px;
    padding: 12px 18px;
    min-width: 60px;
    justify-content: center;
  }

  .btn-flottant span {
    display: none;
  }

  .btn-flottant svg {
    width: 22px;
    height: 22px;
  }
}

/*
==============================================================================
ANIMATIONS
==============================================================================
*/
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.fade-in {
  transform: translateY(0);
}

.animate-on-scroll.slide-up {
  transform: translateY(40px);
}

.animate-on-scroll.slide-left {
  transform: translateX(-40px);
}

.animate-on-scroll.slide-right {
  transform: translateX(40px);
}

.animate-on-scroll.scale-in {
  transform: scale(0.95);
}

.animate-on-scroll.scale-in.visible {
  transform: scale(1);
}

/* Stagger delays for child elements */
.animate-stagger>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-stagger.visible>*:nth-child(1) {
  transition-delay: 0.1s;
}

.animate-stagger.visible>*:nth-child(2) {
  transition-delay: 0.2s;
}

.animate-stagger.visible>*:nth-child(3) {
  transition-delay: 0.3s;
}

.animate-stagger.visible>*:nth-child(4) {
  transition-delay: 0.4s;
}

.animate-stagger.visible>*:nth-child(5) {
  transition-delay: 0.5s;
}

.animate-stagger.visible>*:nth-child(6) {
  transition-delay: 0.6s;
}

.animate-stagger.visible>* {
  opacity: 1;
  transform: translateY(0);
}

/*
==============================================================================
BACKGROUND ALTERNATION
==============================================================================
*/
.bg-white {
  background: var(--white);
}

.bg-light {
  background: var(--bg-light);
}

.bg-dark {
  background: var(--black);
}

/*
==============================================================================
POPUP DEVIS
==============================================================================
*/
.popup-devis {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.popup-content {
  position: relative;
  max-width: 450px;
  width: 100%;
  z-index: 4;
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.popup-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.popup-close:hover {
  opacity: 0.7;
}

.popup-form-wrap {
  background: var(--overlay-card);
  padding: 35px;
}

.popup-form-wrap h3 {
  color: white;
}

@media (max-width: 576px) {
  .popup-content {
    max-width: 100%;
  }

  .popup-form-wrap {
    padding: 25px;
  }

  .popup-close {
    top: -40px;
  }
}

/*
==============================================================================
BANDEAU COOKIES
==============================================================================
*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--black);
  z-index: 9998;
  padding: 20px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cookie-banner-text p {
  color: var(--white);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 0;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-btn-accept {
  background: var(--accent);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background: var(--accent-hover);
}

.cookie-btn-refuse {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.cookie-btn-refuse:hover {
  background: var(--white);
  color: var(--black);
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    gap: 20px;
  }

  .cookie-banner-buttons {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1;
  }
}
/* Masquer les 3 premiers éléments de stats */
.stats-grid .stat-item:nth-child(1),
.stats-grid .stat-item:nth-child(2),
.stats-grid .stat-item:nth-child(3) {
  display: none;
}

/* Masquer la section avis */
section#avis {
  display: none;
}


/* Image du logo dans le menu mobile */
.mobile-nav-logo img {
  width: 45px;
  height: auto;
}

/* Conserver les styles existants pour logo-text et logo-tagline dans le menu mobile */
.mobile-nav-logo .logo-text {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
}

.mobile-nav-logo .logo-text span {
  color: var(--accent);
}

.mobile-nav-logo .logo-tagline {
  font-size: 10px;
  font-weight: 400;
  text-transform: none;
  color: var(--mid-gray);
  letter-spacing: 0.05em;
}


/* Réduire l'espace blanc dans le menu mobile */
.mobile-nav-links {
  padding: 10px 0 !important;
}

.mobile-nav-footer {
  padding: 15px 20px !important;
  margin-top: auto;
}

.mobile-nav-cta {
  margin-bottom: 10px !important;
  gap: 10px !important;
}

.mobile-nav-info {
  margin-top: 0 !important;
}

/* Enlever flex: 1 qui prend trop d'espace */
.mobile-nav-links {
  flex: 0 0 auto !important;
  padding: 5px 0 !important;
}

/* Réduire drastiquement les espaces dans le footer */
.mobile-nav-footer {
  padding: 10px 20px !important;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
  margin-top: 5px !important;
}

.mobile-nav-cta {
  margin-bottom: 5px !important;
  gap: 8px !important;
}

.mobile-nav-info {
  margin-top: 5px !important;
  padding-top: 5px !important;
}

.mobile-nav-info p {
  margin: 2px 0 !important;
}
