/*
  Fichier de style principal pour le site de débarras.
  Vous pouvez modifier les variables de couleurs en haut pour adapter la charte graphique.
*/
:root {
  --primary-color: #0e9386; /* teinte verte/bleu rappelant le site d’inspiration */
  --secondary-color: #f5f7fa; /* arrière‑plan clair et doux */
  --accent-color: #ff8a00; /* orange pour les appels à l’action */
  --dark-color: #2f2f30; /* texte sombre */
  --grey-color: #666;
  --light-grey: #fafafa;
  --border-radius: 8px;
  --transition: 0.3s ease;
}

/* Généralités */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
  background-color: var(--secondary-color);
}

h1, h2, h3, h4 {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--grey-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 3px;
}

/* Navigation */
header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-list a {
  color: var(--dark-color);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}

.nav-list a:hover {
  color: var(--primary-color);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--dark-color);
  border-radius: 2px;
}

.cta-phone .btn-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: background var(--transition);
}

.cta-phone .btn-phone:hover {
  background: #067a6c;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: #067a6c;
}

.btn-secondary {
  background-color: var(--accent-color);
  color: #fff;
}

.btn-secondary:hover {
  background-color: #e57700;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #eef8f7 0%, #fcfbf6 100%);
  padding: 5rem 0;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.badge {
  background: var(--primary-color);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hero-buttons .btn {
  margin: 0.5rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
}



.service-image-wrap {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.service-image-svg {
  width: 100%;
  height: 260px;
  border-radius: 0;
  display: block;
}


.services-intro {
  text-align: center;
  max-width: 760px;
  margin: -0.5rem auto 2rem;
  font-size: 1.05rem;
}

.service-points {
  list-style: none;
  margin-top: 1rem;
  text-align: left;
  display: grid;
  gap: 0.45rem;
}

.service-points li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.92rem;
  color: #4b5563;
}

.service-points li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
}
/* Special Situations */
.special-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.special-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.special-list li {
  flex: 0 1 45%;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 1rem;
}

.special-list i {
  color: var(--accent-color);
  margin-top: 2px;
}

/* Process */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.step {
  flex: 1;
  min-width: 180px;
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-weight: 600;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.95rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-item:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-subtitle {
  text-align: center;
  color: var(--grey-color);
  max-width: 700px;
  margin: 0 auto;
}

/* Pricing */
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.pricing-card {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  text-align: center;
  border-top: 4px solid var(--primary-color);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.pricing-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.pricing-card ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.pricing-card ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
}

.pricing-note {
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
  color: var(--grey-color);
}

/* Eco */
.eco-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.eco-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  text-align: center;
}

.eco-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.testimonial {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  max-width: 350px;
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 0.75rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* FAQ */
.faq-list details {
  background: #fff;
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  position: relative;
  padding-right: 1.5rem;
}

.faq-list summary::after {
  content: '\002B';
  font-weight: bold;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateY(-50%);
  transition: transform var(--transition);
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* Contact */
.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-form {
  flex: 1;
  min-width: 280px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group.full {
  width: 100%;
}

.contact-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(14, 147, 134, 0.15);
}

.contact-info {
  flex: 1;
  min-width: 280px;
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.required {
  color: var(--accent-color);
  margin-left: 0.25rem;
}

/* Footer */
.footer {
  background: #0f1726;
  color: #fff;
  padding-top: 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 1rem;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  color: #ccc;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #22304a;
  text-align: center;
  padding: 1rem 0;
  margin-top: 1rem;
}

.footer-bottom p {
  color: #ccc;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 64px;
    right: -100%;
    height: calc(100% - 64px);
    width: 250px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1rem;
    gap: 1rem;
    transition: right var(--transition);
    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
  }

  .nav-list.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .cta-phone {
    display: none;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .contact-content {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}


/* Layout improvements */
body {
  background: #f7f8fb;
}

.section {
  padding: 5rem 0;
}

.nav-container {
  gap: 1rem;
}

.nav-list {
  gap: 2rem;
}

.nav-list a {
  font-size: 0.95rem;
}

.hero {
  padding: 6rem 0 5rem;
}

.hero-text {
  max-width: 840px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons .btn {
  min-width: 190px;
  text-align: center;
}

.services-grid {
  gap: 1.25rem;
}

.service-card {
  border: 1px solid #e8ecf2;
  height: 100%;
}

.process-steps {
  justify-content: center;
  gap: 1.5rem;
}

.step {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: var(--border-radius);
  padding: 1.25rem;
  max-width: 260px;
}

.pricing-card {
  max-width: 360px;
}

.contact-form,
.contact-info {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: var(--border-radius);
  padding: 1.5rem;
}

@media (max-width: 1024px) {
  .nav-list { gap: 1.25rem; }
  .hero { padding-top: 5rem; }
}

@media (max-width: 768px) {
  .hero { padding: 4.5rem 0 4rem; }
  .hero p { font-size: 1.05rem; }
  .service-card { padding: 1.5rem 1rem; }
}


/* Services refresh */
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card h3 {
  font-size: 1.3rem;
  line-height: 1.35;
}

.service-card p {
  font-size: 0.98rem;
  line-height: 1.7;
}


/* Pro services icons + layout tuning */
.services.section {
  background: linear-gradient(180deg, #f5f7fb 0%, #f2f4f8 100%);
}

.service-card {
  padding: 1.75rem 1.35rem;
}

.service-card h3 {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  justify-content: center;
}

.service-card h3 i {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 0.25rem;
}

/* Services layout refinement */
#services .container {
  max-width: 1240px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.service-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-card p {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

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

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

}


/* Tarifs */
.pricing-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pricing-card h3 i {
  color: var(--primary-color);
  margin-right: 0.35rem;
}

.pricing-desc {
  font-weight: 600;
  color: #374151;
}

.pricing-details,
.pricing-trust {
  margin-top: 1.5rem;
  background: #fff;
  border-radius: var(--border-radius);
  border: 1px solid #e8ecf2;
  padding: 1.25rem 1.5rem;
}

.pricing-details h3,
.pricing-trust h3 {
  margin-bottom: 0.6rem;
}

.pricing-details ul {
  margin-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

.pricing-reuse {
  margin-bottom: 1rem;
}

.pricing-trust .btn {
  margin-top: 0.35rem;
}

@media (max-width: 1024px) {
  .pricing-grid-three {
    grid-template-columns: 1fr;
  }
}
/* --- 2026 visual overhaul --- */
:root {
  --primary-700: #0a7066;
  --primary-600: #0e9386;
  --primary-500: #14b8a6;
  --accent-600: #ff8a00;
  --accent-500: #ffaf4b;
  --surface: #ffffff;
  --surface-alt: #f7fafc;
  --text-900: #0f172a;
  --text-700: #334155;
  --ring: 0 0 0 4px rgba(20, 184, 166, 0.2);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.11);
}

html { scroll-behavior: smooth; }
body {
  color: var(--text-900);
  background:
    radial-gradient(circle at 10% 0%, rgba(20,184,166,0.09), transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(255,138,0,0.08), transparent 35%),
    #f4f7fb;
}

.section { padding: 5.8rem 0; }
.section-title {
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem);
  margin-bottom: 2.6rem;
}

header {
  background: rgba(255,255,255,0.83);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148,163,184,0.22);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}
.logo a { letter-spacing: -0.01em; }
.nav-list a { position: relative; }
.nav-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--primary-600), var(--accent-600));
  transition: transform .25s ease;
}
.nav-list a:hover::after { transform: scaleX(1); }

.btn {
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
}
.btn-secondary {
  background: linear-gradient(135deg, var(--accent-600), #f97316);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 6rem;
  background: linear-gradient(135deg, #ecfffb 0%, #f7f8ff 45%, #fff4e8 100%);
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
}
.hero::before {
  width: 340px; height: 340px;
  background: rgba(20,184,166,0.18);
  top: -130px; left: -120px;
}
.hero::after {
  width: 280px; height: 280px;
  background: rgba(255,138,0,0.14);
  right: -120px; bottom: -100px;
}
.hero-text {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--radius-lg);
  padding: 2.3rem 2rem;
  box-shadow: var(--shadow-md);
}
.hero h1 { color: #0b655d; }
.hero p { color: var(--text-700); }
.badge {
  background: rgba(14,147,134,0.1);
  color: #0f766e;
  border: 1px solid rgba(14,147,134,0.25);
  border-radius: 999px;
  font-weight: 600;
  padding: .45rem .9rem;
}

.services.section,
.process.section,
.pricing.section,
.testimonials.section,
#contact.section {
  position: relative;
}

.service-card,
.pricing-card,
.testimonial,
.contact-info,
.contact-form,
.step,
.pricing-details,
.pricing-trust {
  border-radius: var(--radius-md);
  border: 1px solid #e6edf6;
  box-shadow: var(--shadow-sm);
}
.service-card:hover,
.pricing-card:hover,
.testimonial:hover,
.step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.service-image-svg {
  border-radius: 14px;
  height: 215px;
}
.service-card h3 { font-size: 1.18rem; }

.process-steps { gap: 1.2rem; }
.step {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: 1.5rem 1rem 1.25rem;
}
.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
}

.pricing-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}
.pricing-card:nth-child(2) {
  border: 2px solid rgba(20,184,166,0.36);
  transform: translateY(-6px);
}
.pricing-details,
.pricing-trust {
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid #d5deea;
  border-radius: 10px;
  padding: 0.78rem .9rem;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary-500);
  box-shadow: var(--ring);
}

.footer {
  margin-top: 3rem;
  background: linear-gradient(120deg, #0b1d2e, #122741);
}

@media (max-width: 900px) {
  .hero-text { padding: 1.8rem 1.25rem; }
  .pricing-card:nth-child(2) { transform: none; }
}

@media (max-width: 768px) {
  .section { padding: 4.3rem 0; }
  .hero { padding: 5.4rem 0 4.2rem; }
  .hero-buttons .btn { width: 100%; max-width: 340px; }
}

/* --- visual polish pass 2 --- */
body { font-family: 'Plus Jakarta Sans', 'Open Sans', sans-serif; }
h1, h2, h3, h4, .logo a, .btn { font-family: 'Manrope', 'Poppins', sans-serif; }

p { color: #475569; }
.section-intro {
  max-width: 780px;
  margin: -1.1rem auto 2.3rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4b5563;
}

.container { max-width: 1240px; }

.hero-content { align-items: stretch; }
.hero-text {
  max-width: 940px;
  margin: 0 auto;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,255,255,.68));
}
.hero h1 {
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3.8rem);
  letter-spacing: -0.03em;
}
.hero p { font-size: 1.18rem; }

.hero-trust {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.trust-item {
  border: 1px solid rgba(14, 147, 134, 0.25);
  background: rgba(255,255,255,0.78);
  border-radius: 14px;
  padding: .7rem .8rem;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-size: 1.25rem;
  color: #0b655d;
  line-height: 1.1;
}
.trust-item span {
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #64748b;
}

.services.section,
.pricing.section,
.testimonials.section,
#contact.section {
  border-radius: 34px;
  margin: 0 auto 1.8rem;
  width: min(98%, 1440px);
  background: linear-gradient(180deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.7) 100%);
  border: 1px solid rgba(203,213,225,0.5);
}

.service-card { overflow: hidden; }
.service-image-wrap { margin: -0.3rem -0.2rem 1rem; }
.service-image-svg { height: 230px; }

.testimonial {
  border-left: 4px solid rgba(14,147,134,.35);
}
.testimonial-text { font-size: 1rem; line-height: 1.75; }

.contact-form .btn { width: 100%; }

@media (max-width: 768px) {
  .hero-trust { grid-template-columns: 1fr; }
  .section-intro { margin-bottom: 1.7rem; font-size: .98rem; }
  .services.section,
  .pricing.section,
  .testimonials.section,
  #contact.section {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 1rem;
  }
}

/* --- visual polish pass 3 (alignment + elegance) --- */
:root {
  --gold-soft: #f3b563;
  --teal-deep: #0b5d57;
}

.section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: linear-gradient(90deg, var(--teal-deep), #0f766e 55%, var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title::after {
  width: 86px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-600), var(--accent-600));
}

.hero-badges { justify-content: center; gap: .7rem; }
.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.hero-buttons .btn { margin: 0; }

.services-grid,
.pricing-grid-three,
.testimonials-grid {
  align-items: stretch;
}

.service-card,
.pricing-card,
.testimonial {
  height: 100%;
}

.service-card p,
.pricing-card ul li,
.testimonial-text,
.contact-info p {
  text-wrap: balance;
}

.process-steps {
  position: relative;
  gap: 1.4rem;
}
.process-steps .step {
  flex: 1 1 0;
  max-width: none;
}

.contact-content {
  align-items: stretch;
}
.contact-form,
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero-text { padding: 2.8rem 2.6rem; }
  .services-grid { gap: 1.6rem; }
  .section-intro { font-size: 1.08rem; }
}

@media (max-width: 768px) {
  .section-title { line-height: 1.2; }
}

/* --- hero split layout (logo left / presentation right) --- */
.hero-split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-logo-panel {
  background: linear-gradient(165deg, rgba(11, 93, 87, 0.95), rgba(14, 147, 134, 0.92));
  color: #fff;
  border-radius: 26px;
  padding: 2rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.hero-logo-mark {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  font-size: 2rem;
}

.hero-logo-name {
  color: #fff;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: .35rem;
}

.hero-logo-sub {
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  margin-bottom: 0;
}

.hero-presentation {
  text-align: left;
}
.hero-presentation h1 {
  color: #0b655d;
  font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem);
}
.hero-presentation p {
  max-width: 760px;
  margin-left: 0;
}
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(14, 147, 134, 0.09);
  border: 1px solid rgba(14, 147, 134, 0.2);
  border-radius: 999px;
  padding: .45rem .9rem;
  font-weight: 600;
}
.hero-note i { color: #0f766e; }
.hero-presentation .hero-buttons {
  justify-content: flex-start;
  margin-top: .4rem;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .hero-logo-panel { max-width: 420px; margin: 0 auto; }
  .hero-presentation,
  .hero-presentation p { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-presentation .hero-buttons { justify-content: center; }
}

/* --- hero logo same height + image-ready logo --- */
.hero-split {
  align-items: stretch;
}

.hero-logo-panel,
.hero-presentation {
  height: 100%;
}

.hero-logo-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.hero-logo-mark {
  position: relative;
  overflow: hidden;
}

.hero-logo-image {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
}

.hero-logo-image[src=""],
.hero-logo-image:not([src]) {
  display: none;
}

.hero-logo-fallback {
  display: none;
}

.hero-logo-image[src="" ] + .hero-logo-fallback,
.hero-logo-image:not([src]) + .hero-logo-fallback {
  display: block;
}

/* Si l'image logo n'existe pas encore, laisser l'icône visible en attendant */
.hero-logo-mark .hero-logo-fallback {
  font-size: 2rem;
  color: #fff;
}

@media (max-width: 900px) {
  .hero-logo-panel,
  .hero-presentation {
    height: auto;
  }
}


/* --- logo panel square --- */
.hero-logo-panel {
  width: min(320px, 100%);
  aspect-ratio: 1 / 1;
  justify-self: center;
}

.hero-logo-mark {
  width: 104px;
  height: 104px;
  border-radius: 18px;
}

.hero-logo-image {
  width: 76px;
  height: 76px;
}

@media (max-width: 900px) {
  .hero-logo-panel {
    width: min(300px, 100%);
    aspect-ratio: 1 / 1;
  }
}

/* --- logo replaces full square panel --- */
.hero-logo-panel {
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 24px;
  overflow: hidden;
}

.hero-logo-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.hero-logo-fallback-full {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  border: 1px dashed rgba(14, 147, 134, 0.45);
  background: linear-gradient(165deg, rgba(240, 253, 250, 0.95), rgba(226, 246, 244, 0.9));
  color: #0f766e;
  place-items: center;
  text-align: center;
  gap: .6rem;
  padding: 1rem;
}

.hero-logo-fallback-full i { font-size: 2rem; }
.hero-logo-fallback-full span { font-weight: 700; }

/* --- logo only, big --- */
.hero-logo-panel {
  display: grid;
  place-items: center;
  background: transparent;
}

.hero-logo-full {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}

.hero-logo-fallback-full {
  border: 2px dashed rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.6);
}
.hero-logo-fallback-full span { display: none; }

@media (min-width: 901px) {
  .hero-logo-panel {
    width: min(380px, 100%);
  }
}

/* --- enlarge logo + remove white card on right block --- */
.hero-split {
  grid-template-columns: minmax(360px, 430px) 1fr;
  gap: 2.2rem;
}

.hero-logo-panel {
  width: min(430px, 100%);
}

.hero-logo-full {
  transform: scale(1.08);
  transform-origin: center;
}

.hero-presentation {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0.5rem 0.25rem 0.5rem 0.25rem !important;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .hero-logo-panel {
    width: min(360px, 100%);
  }

  .hero-logo-full {
    transform: none;
  }
}

/* --- uniformisation fond coloré sur tout le site --- */
body {
  background: linear-gradient(135deg, #ecfffb 0%, #f7f8ff 45%, #fff4e8 100%);
  background-attachment: fixed;
}

.hero,
.services.section,
.process.section,
.pricing.section,
#contact.section,
.footer {
  background: transparent !important;
}

.services.section,
.process.section,
.pricing.section,
#contact.section {
  border: none;
  box-shadow: none;
}

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}


/* Logo image dans le header (sans texte) */
.logo a {
  display: inline-flex;
  align-items: center;
}

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

@media (max-width: 768px) {
  .header-logo-img {
    height: 56px;
  }
}

/* --- Refonte section Tarifs / Formules --- */
#tarifs .tarifs-wrap {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

#tarifs .tarifs-intro {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.8rem;
}

#tarifs .tarifs-cards {
  gap: 1.4rem;
  margin-bottom: 2.6rem;
}

#tarifs .pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding: 2rem 1.4rem;
  min-height: 100%;
}

#tarifs .pricing-card h3 i {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.55rem;
}

#tarifs .pricing-card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.65rem;
}

#tarifs .pricing-desc {
  max-width: 300px;
  margin: 0 auto 1rem;
  text-align: center;
}

#tarifs .pricing-card ul {
  margin: 0 auto;
  text-align: left;
  max-width: 280px;
}

#tarifs .pricing-card:nth-child(2) {
  border: 1px solid #e6edf6;
  transform: none;
}

#tarifs .pricing-card:hover {
  transform: translateY(-4px);
}

#tarifs .tarifs-details-card,
#tarifs .tarifs-trust-card,
#tarifs .tarifs-reassurance {
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e6edf6;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  padding: 2rem 1.6rem;
}

#tarifs .tarifs-criteria-grid,
#tarifs .tarifs-reassurance-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

#tarifs .tarifs-criteria-item,
#tarifs .tarifs-reassurance-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  border: 1px solid #dce6f3;
  background: #fff;
  font-weight: 600;
  color: #334155;
}

#tarifs .tarifs-trust-card .btn {
  margin-top: 0.5rem;
}

#tarifs .tarifs-reassurance h3 {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  #tarifs .tarifs-cards {
    gap: 1rem;
  }

  #tarifs .pricing-card,
  #tarifs .tarifs-details-card,
  #tarifs .tarifs-trust-card,
  #tarifs .tarifs-reassurance {
    padding: 1.35rem 1rem;
  }
}

/* --- Refonte visuelle Tarifs v2 (plus premium, plus aéré) --- */
#tarifs .tarifs-wrap {
  max-width: 1180px;
}

#tarifs .section-title {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

#tarifs .tarifs-intro {
  font-size: 1.06rem;
  line-height: 1.8;
  color: #475569;
  max-width: 700px;
  margin-bottom: 3.2rem;
}

#tarifs .tarifs-cards {
  gap: 1.6rem;
  margin-bottom: 3rem;
}

#tarifs .pricing-card {
  border-radius: 24px;
  padding: 2.1rem 1.6rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(203, 213, 225, 0.7);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.07);
}

#tarifs .pricing-card h3 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  font-size: 1.24rem;
}

#tarifs .pricing-card h3 i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #0b7b70;
  background: rgba(20, 184, 166, 0.14);
  font-size: 1.05rem;
  margin: 0;
}

#tarifs .pricing-desc {
  max-width: 320px;
  margin-bottom: 1.2rem;
  color: #334155;
}

#tarifs .pricing-card ul {
  width: 100%;
  max-width: 100%;
  margin-top: auto;
}

#tarifs .pricing-card ul li {
  border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
  padding: 0.48rem 0;
}
#tarifs .pricing-card ul li:last-child {
  border-bottom: none;
}

#tarifs .pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 34px rgba(15, 23, 42, 0.1);
}

#tarifs .tarifs-details-card,
#tarifs .tarifs-trust-card,
#tarifs .tarifs-reassurance {
  border-radius: 24px;
  padding: 2.2rem 2rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
  margin-bottom: 2.2rem;
}

#tarifs .tarifs-details-card h3,
#tarifs .tarifs-trust-card h3,
#tarifs .tarifs-reassurance h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

#tarifs .tarifs-criteria-grid,
#tarifs .tarifs-reassurance-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

#tarifs .tarifs-criteria-item,
#tarifs .tarifs-reassurance-grid span {
  min-height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(191, 219, 254, 0.9);
  font-weight: 700;
  font-size: 0.95rem;
}

#tarifs .tarifs-trust-card .pricing-reuse {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  #tarifs .tarifs-criteria-grid,
  #tarifs .tarifs-reassurance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #tarifs .tarifs-intro {
    margin-bottom: 2.1rem;
    font-size: 0.98rem;
  }

  #tarifs .pricing-card,
  #tarifs .tarifs-details-card,
  #tarifs .tarifs-trust-card,
  #tarifs .tarifs-reassurance {
    border-radius: 18px;
    padding: 1.3rem 1rem;
  }

  #tarifs .tarifs-criteria-grid,
  #tarifs .tarifs-reassurance-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Tarifs v3 : plus lisible, plus contrasté, plus premium --- */
#tarifs .section-title {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
}

#tarifs .tarifs-intro {
  font-size: 1.14rem;
  max-width: 760px;
  margin-bottom: 3.8rem;
}

#tarifs .tarifs-cards {
  gap: 1.9rem;
  margin-bottom: 3.3rem;
}

#tarifs .pricing-card {
  padding: 2.5rem 1.9rem;
  min-height: 410px;
  border-radius: 28px;
  background: linear-gradient(165deg, rgba(255,255,255,.96), rgba(247,250,255,.9));
  box-shadow: 0 18px 36px rgba(2, 8, 23, 0.1);
  border: 1px solid rgba(148,163,184,.35);
}

#tarifs .pricing-card h3 {
  font-size: 1.36rem;
}

#tarifs .pricing-card h3 i {
  width: 50px;
  height: 50px;
  font-size: 1.15rem;
}

#tarifs .pricing-desc,
#tarifs .pricing-card ul li,
#tarifs .tarifs-details-card p,
#tarifs .tarifs-trust-card p,
#tarifs .tarifs-reassurance p {
  font-size: 1.03rem;
}

#tarifs .tarifs-details-card,
#tarifs .tarifs-trust-card {
  max-width: 960px;
  padding: 2.5rem 2.2rem;
  border-radius: 26px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

#tarifs .tarifs-criteria-item,
#tarifs .tarifs-reassurance-grid span,
#tarifs .tarifs-trust-badges span {
  border-radius: 999px;
  min-height: 50px;
  padding: 0.7rem 1rem;
  font-size: 0.96rem;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

#tarifs .tarifs-criteria-item::before {
  content: '✓';
  margin-right: 0.45rem;
  color: #0f766e;
  font-weight: 800;
}

#tarifs .tarifs-reassurance {
  max-width: 980px;
  padding: 2.6rem 2.2rem;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(14,147,134,.12), rgba(255,255,255,.92));
  border: 1px solid rgba(20,184,166,.3);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

#tarifs .tarifs-reassurance h3 {
  font-size: 1.5rem;
}

#tarifs .tarifs-trust-badges {
  margin: 1rem auto 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 760px;
}

#tarifs .tarifs-trust-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(20,184,166,.28);
}

@media (max-width: 900px) {
  #tarifs .tarifs-trust-badges {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #tarifs .pricing-card {
    min-height: auto;
    padding: 1.6rem 1.1rem;
  }

  #tarifs .tarifs-intro,
  #tarifs .pricing-desc,
  #tarifs .pricing-card ul li,
  #tarifs .tarifs-details-card p,
  #tarifs .tarifs-trust-card p,
  #tarifs .tarifs-reassurance p {
    font-size: 0.98rem;
  }
}

/* --- Tarifs v4 : alignements cohérents, suppression des trous visuels --- */
#tarifs .tarifs-cards {
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#tarifs .pricing-card {
  min-height: 430px;
  height: 100%;
}

#tarifs .pricing-card ul {
  display: grid;
  gap: 0.35rem;
}

#tarifs .tarifs-details-card,
#tarifs .tarifs-trust-card,
#tarifs .tarifs-reassurance {
  margin-bottom: 1.5rem;
}

#tarifs .tarifs-criteria-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#tarifs .tarifs-reassurance-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#tarifs .tarifs-trust-badges {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#tarifs .tarifs-reassurance-grid span,
#tarifs .tarifs-trust-badges span,
#tarifs .tarifs-criteria-item {
  width: 100%;
}

@media (max-width: 1024px) {
  #tarifs .tarifs-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #tarifs .pricing-card {
    min-height: 390px;
  }

  #tarifs .tarifs-criteria-grid,
  #tarifs .tarifs-reassurance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #tarifs .tarifs-cards,
  #tarifs .tarifs-criteria-grid,
  #tarifs .tarifs-reassurance-grid,
  #tarifs .tarifs-trust-badges {
    grid-template-columns: 1fr;
  }

  #tarifs .pricing-card {
    min-height: auto;
  }
}

/* --- Tarifs v5 : tailles uniformes + suppression pointillés --- */
#tarifs .pricing-card {
  min-height: 440px;
}

#tarifs .pricing-card h3 {
  min-height: 86px;
  justify-content: center;
}

#tarifs .pricing-desc {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#tarifs .pricing-card ul {
  margin-top: 0.4rem;
}

#tarifs .pricing-card ul li {
  border-bottom: none !important;
  min-height: 36px;
  display: flex;
  align-items: center;
}

@media (max-width: 1024px) {
  #tarifs .pricing-card {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  #tarifs .pricing-card,
  #tarifs .pricing-card h3,
  #tarifs .pricing-desc {
    min-height: auto;
  }
}

/* --- Tarifs v6 : blocs strictement uniformes + suppression symbole vert --- */
#tarifs .pricing-card {
  min-height: 460px;
}

#tarifs .pricing-card ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 0;
}

#tarifs .pricing-card ul li {
  padding-left: 0;
  min-height: 52px;
  align-items: flex-start;
}

#tarifs .pricing-card ul li::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 1024px) {
  #tarifs .pricing-card {
    min-height: 440px;
  }
}

@media (max-width: 640px) {
  #tarifs .pricing-card {
    min-height: auto;
  }

  #tarifs .pricing-card ul li {
    min-height: auto;
  }
}

/* Ajustement global : réduire l'écart entre les sections */
.section {
  padding: 3.6rem 0;
}

.services.section,
.pricing.section,
#contact.section {
  margin-bottom: 0.9rem;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}

/* --- Optimisation mobile compacte (2026-05) --- */
.mobile-hint { display:none; }
.mobile-tabs { display:none; }

header {
  backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
  body { padding-bottom: 104px; }

  .nav-container { padding: 0.65rem 0; }
  #header.is-scrolled .nav-container { padding: 0.45rem 0; }
  .header-logo-img { max-height: 42px; width: auto; }

  .hero { padding: 2.4rem 0 2rem; }
  .hero h1 { font-size: clamp(1.4rem, 5.8vw, 1.8rem); line-height: 1.3; }
  .hero p {
    font-size: 0.98rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
  }

  .services-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(82%, 1fr);
    overflow-x: auto;
    gap: 0.8rem;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.4rem;
  }
  .services-grid .service-card { scroll-snap-align: start; }
  .service-card {
    padding: 1rem;
    border-radius: 14px;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  }
  .service-card p {
    margin-bottom: 0;
    display: block;
    overflow: visible;
  }
  .mobile-hint { display:block; font-size: .86rem; color:#6b7280; margin: -0.5rem 0 0.8rem; }

  .process-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
  }
  .step { min-width: 0; background:#fff; padding: 0.75rem 0.5rem; border-radius: 12px; }
  .step p { font-size: .83rem; margin-bottom: 0; }

  .mobile-tabs {
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 1rem 0 0.8rem;
  }
  .mobile-tab { border:1px solid #dce4ea; background:#fff; border-radius: 999px; padding: .5rem .4rem; font-weight:600; }
  .mobile-tab.is-active { background: var(--primary-color); color:#fff; border-color: var(--primary-color); }

  #tarifs .pricing-grid { margin-top:0; }
  #tarifs [data-tab-panel] { display:none; }
  #tarifs [data-tab-panel].is-active { display:block; max-width:100%; }

  .mobile-sticky-cta {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.7rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    z-index: 1200;
    transform: translateY(140%);
    opacity: 0;
    transition: .25s ease;
    pointer-events: none;
  }
  .mobile-sticky-cta.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-sticky-cta .btn { text-align:center; padding: 0.72rem 0.6rem; border-radius: 14px; box-shadow: 0 8px 20px rgba(0,0,0,.16); }
}

@media (min-width: 769px) {
  .mobile-sticky-cta { display:none; }
}

/* Mobile stability patch */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 2rem, 1240px);
  }

  .section-title,
  .section-intro,
  .step h3,
  .step p,
  .pricing-card h3,
  .pricing-desc,
  .pricing-card li,
  .contact-info p {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .section-intro {
    width: min(100%, 330px);
    margin-left: auto;
    margin-right: auto;
  }

  .nav-container {
    gap: 0.75rem;
  }

  .nav-list {
    top: 58px;
    height: calc(100dvh - 58px);
    max-width: calc(100vw - 2rem);
    overflow-y: auto;
  }

  .hero-split {
    width: 100%;
    gap: 1rem;
  }

  .hero-logo-panel {
    width: min(100%, 320px);
    max-height: 210px;
    justify-self: center;
  }

  .hero-logo-full {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .hero-presentation {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: center;
    padding-inline: 0 !important;
  }

  .hero h1,
  .hero p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero h1 {
    font-size: clamp(1.35rem, 5.2vw, 1.65rem);
  }

  .hero p {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
  }

  .hero-buttons {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 310px;
    min-width: 0;
    padding-inline: 0.75rem;
    overflow-wrap: anywhere;
  }

  .services-grid {
    grid-template-columns: none;
    grid-auto-columns: 84%;
    margin-inline: -0.15rem;
    padding-inline: 0.15rem;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .services-grid {
    scrollbar-width: none;
  }

  .services-grid::-webkit-scrollbar {
    display: none;
  }

  #services small {
    display: block;
    max-width: 300px;
    margin: 0.8rem auto 0;
    text-align: center;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.4;
  }

  .services-grid .service-card {
    height: auto;
    min-height: 0;
    justify-content: flex-start;
  }

  .service-card h3 {
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 1.08rem;
    line-height: 1.35;
  }

  .service-card p {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .service-card,
  .pricing-card,
  .contact-info,
  .step {
    min-width: 0;
  }

  .service-image-wrap {
    margin-inline: 0;
  }

  .service-image-svg {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .process-steps {
    align-items: stretch;
  }

  .step h3 {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .mobile-tab {
    min-width: 0;
    font-size: 0.8rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  #tarifs .section-title {
    max-width: 320px;
    font-size: clamp(1.75rem, 8vw, 2.15rem);
  }

  #tarifs .pricing-grid {
    display: block;
  }

  #tarifs [data-tab-panel].is-active {
    width: 100%;
  }

  #tarifs .tarifs-details-card,
  #tarifs .tarifs-trust-card,
  #tarifs .tarifs-reassurance {
    width: 100%;
    margin-bottom: 0;
    box-shadow: none;
  }

  #tarifs .tarifs-reassurance {
    padding: 1.2rem 1rem;
  }

  #tarifs .tarifs-reassurance h3 {
    font-size: 1.15rem;
    margin-bottom: 0.45rem;
  }

  #tarifs .tarifs-reassurance p {
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
  }

  #tarifs .tarifs-trust-badges,
  #tarifs .tarifs-reassurance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 0.75rem 0 0;
    max-width: none;
  }

  #tarifs .tarifs-trust-badges span,
  #tarifs .tarifs-reassurance-grid span {
    min-height: 42px;
    border-radius: 12px;
    padding: 0.55rem 0.65rem;
    font-size: 0.84rem;
    line-height: 1.15;
    box-shadow: none;
  }

  #tarifs .tarifs-criteria-item,
  #tarifs .tarifs-reassurance-grid span,
  #tarifs .tarifs-trust-badges span,
  .contact-info p {
    overflow-wrap: anywhere;
  }

  .footer-content {
    gap: 1.25rem;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero p {
    max-width: 315px;
    margin-left: auto;
    margin-right: auto;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .step {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 0.75rem;
    text-align: left;
    align-items: center;
    width: 100%;
    overflow: hidden;
  }

  .step h3,
  .step p {
    min-width: 0;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .step-number {
    grid-row: span 2;
    margin: 0;
  }

  .step p {
    font-size: 0.9rem;
    max-width: 245px;
    line-height: 1.4;
  }
}

/* Tarifs final presentation */
#tarifs .tarifs-wrap {
  max-width: 1120px;
}

#tarifs .section-title {
  max-width: 720px;
  margin-bottom: 0.95rem;
  font-size: clamp(2rem, 1.35rem + 2vw, 2.8rem);
  line-height: 1.08;
  text-align: center;
}

#tarifs .tarifs-intro {
  max-width: 620px;
  margin: 0 auto 2.4rem;
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
}

#tarifs .tarifs-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: stretch;
  margin: 0 auto 2rem;
}

#tarifs .pricing-card {
  min-height: 0;
  padding: 1.85rem 1.45rem;
  border-radius: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#tarifs .pricing-card h3 {
  min-height: 0;
  margin: 0 0 0.7rem;
  font-size: 1.12rem;
  line-height: 1.25;
  color: #111827;
}

#tarifs .pricing-card h3 i {
  width: 44px;
  height: 44px;
  margin-bottom: 0.45rem;
  color: #0f766e;
  background: rgba(20, 184, 166, 0.14);
}

#tarifs .pricing-desc {
  min-height: 0;
  margin: 0 auto 1.1rem;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 700;
  color: #1f2937;
}

#tarifs .pricing-card ul {
  width: 100%;
  margin: auto 0 0;
  padding: 0;
  display: grid;
  gap: 0.62rem;
  list-style: none;
  text-align: center;
}

#tarifs .pricing-card ul li {
  min-height: 0;
  padding: 0.55rem 0.6rem;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.88rem;
  line-height: 1.3;
}

#tarifs .tarifs-info-block {
  max-width: 920px;
  width: 100%;
  margin: 0 auto 1rem;
}

#tarifs .tarifs-details-card,
#tarifs .tarifs-trust-card,
#tarifs .tarifs-reassurance {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.7rem 1.8rem;
  border-radius: 18px;
  border: 1px solid rgba(203, 213, 225, 0.85);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  text-align: center;
}

#tarifs .tarifs-details-card h3,
#tarifs .tarifs-trust-card h3,
#tarifs .tarifs-reassurance h3 {
  margin: 0 0 0.55rem;
  font-size: 1.18rem;
  line-height: 1.25;
  color: #111827;
}

#tarifs .tarifs-details-card p,
#tarifs .tarifs-trust-card p,
#tarifs .tarifs-reassurance p {
  max-width: 720px;
  margin: 0 auto 1rem;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #475569;
}

#tarifs .tarifs-criteria-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

#tarifs .tarifs-trust-badges {
  max-width: 720px;
  margin: 1rem auto 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

#tarifs .tarifs-reassurance-grid {
  max-width: 820px;
  margin: 0.75rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

#tarifs .tarifs-criteria-item,
#tarifs .tarifs-trust-badges span,
#tarifs .tarifs-reassurance-grid span {
  min-height: 42px;
  padding: 0.55rem 0.65rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  color: #1f2937;
  font-size: 0.84rem;
  line-height: 1.2;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
}

#tarifs .tarifs-criteria-item::before {
  content: none;
}

#tarifs .tarifs-trust-card .btn {
  margin-top: 0.35rem;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
}

@media (max-width: 900px) {
  #tarifs .tarifs-cards {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  #tarifs .tarifs-criteria-grid,
  #tarifs .tarifs-trust-badges,
  #tarifs .tarifs-reassurance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #tarifs .section-title {
    max-width: 330px;
    font-size: clamp(1.85rem, 8vw, 2.25rem);
  }

  #tarifs .tarifs-intro {
    width: min(100%, 330px);
    margin-bottom: 1.4rem;
    font-size: 0.96rem;
  }

  #tarifs .mobile-tabs {
    display: flex !important;
    width: min(100%, 330px) !important;
    max-width: 330px !important;
    margin: 0 auto 1rem !important;
    gap: 0.35rem !important;
    overflow: hidden;
  }

  #tarifs .mobile-tab {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0.5rem 0.2rem !important;
    font-size: 0.76rem !important;
  }

  #tarifs .tarifs-cards {
    display: block;
    margin-bottom: 1.1rem;
  }

  #tarifs .pricing-card {
    padding: 1.55rem 1.15rem;
    border-radius: 18px;
  }

  #tarifs [data-tab-panel]:not(.is-active) {
    display: none !important;
  }

  #tarifs [data-tab-panel].is-active {
    display: flex !important;
  }

  #tarifs .pricing-card h3 {
    font-size: 1.22rem;
  }

  #tarifs .pricing-card ul li {
    font-size: 0.92rem;
  }

  #tarifs .tarifs-info-block {
    margin-bottom: 0.85rem;
    max-width: 100%;
    overflow: hidden;
  }

  #tarifs .tarifs-details-card,
  #tarifs .tarifs-trust-card,
  #tarifs .tarifs-reassurance {
    padding: 1.25rem 1rem;
    box-shadow: none;
  }

  #tarifs .tarifs-details-card h3,
  #tarifs .tarifs-trust-card h3,
  #tarifs .tarifs-reassurance h3 {
    font-size: 1.08rem;
  }

  #tarifs .tarifs-details-card p,
  #tarifs .tarifs-trust-card p,
  #tarifs .tarifs-reassurance p {
    font-size: 0.9rem;
  }

  #tarifs .tarifs-criteria-grid,
  #tarifs .tarifs-trust-badges,
  #tarifs .tarifs-reassurance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  #tarifs .tarifs-criteria-item,
  #tarifs .tarifs-trust-badges span,
  #tarifs .tarifs-reassurance-grid span {
    min-height: 40px;
    border-radius: 12px;
    font-size: 0.78rem;
    box-shadow: none;
  }
}

/* Tarifs merged quote card */
#tarifs .tarifs-estimate-block {
  max-width: 900px;
  margin-bottom: 1rem;
}

#tarifs .tarifs-estimate-block .tarifs-details-card {
  padding: 1.8rem 1.8rem 1.65rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 252, 255, 0.92));
  border-color: rgba(186, 230, 253, 0.95);
}

#tarifs .tarifs-estimate-block .tarifs-details-card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.55rem;
}

#tarifs .tarifs-estimate-block .tarifs-details-card p {
  margin-bottom: 0.35rem;
}

#tarifs .tarifs-estimate-block .tarifs-criteria-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 1.15rem;
}

#tarifs .tarifs-estimate-block .tarifs-criteria-item {
  border-radius: 14px;
  min-height: 48px;
  padding: 0.62rem 0.7rem;
  background: #fff;
  border-color: rgba(125, 211, 252, 0.9);
}

#tarifs .tarifs-devis-inline {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
}

#tarifs .tarifs-devis-inline h4 {
  margin: 0 0 0.45rem;
  font-family: 'Manrope', 'Poppins', sans-serif;
  font-size: 1.08rem;
  line-height: 1.25;
  color: #0f766e;
}

#tarifs .tarifs-devis-inline p {
  margin-bottom: 0.2rem;
  font-size: 0.94rem;
}

#tarifs .tarifs-devis-inline .btn {
  margin-top: 0.85rem;
  padding: 0.78rem 1.3rem;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(14, 147, 134, 0.22);
}

@media (max-width: 900px) {
  #tarifs .tarifs-estimate-block .tarifs-criteria-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #tarifs .tarifs-estimate-block {
    margin-bottom: 0.85rem;
  }

  #tarifs .tarifs-estimate-block .tarifs-details-card {
    padding: 1.25rem 1rem;
  }

  #tarifs .tarifs-estimate-block .tarifs-details-card h3 {
    font-size: 1.14rem;
  }

  #tarifs .tarifs-estimate-block .tarifs-criteria-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem;
    margin-top: 0.95rem;
  }

  #tarifs .tarifs-estimate-block .tarifs-criteria-item {
    min-height: 42px;
    justify-content: center;
    width: 100%;
    font-size: 0.86rem;
  }

  #tarifs .tarifs-devis-inline {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  #tarifs .tarifs-devis-inline h4 {
    font-size: 1rem;
  }

  #tarifs .tarifs-devis-inline p {
    font-size: 0.88rem;
  }

  #tarifs .tarifs-devis-inline .btn {
    width: 100%;
    max-width: 280px;
    margin-top: 0.75rem;
  }
}

@media (max-width: 768px) {
  #tarifs .tarifs-info-block,
  #tarifs .tarifs-details-card,
  #tarifs .tarifs-reassurance {
    max-width: 100%;
    overflow: hidden;
  }

  #tarifs .tarifs-details-card h3,
  #tarifs .tarifs-reassurance h3,
  #tarifs .tarifs-details-card p,
  #tarifs .tarifs-reassurance p,
  #tarifs .tarifs-devis-inline p {
    width: min(100%, 300px);
    margin-left: auto;
    margin-right: auto;
  }

  #tarifs .tarifs-details-card h3,
  #tarifs .tarifs-reassurance h3,
  #tarifs .tarifs-devis-inline h4,
  #tarifs .tarifs-devis-inline p,
  #tarifs .tarifs-criteria-item,
  #tarifs .tarifs-trust-badges span,
  #tarifs .tarifs-reassurance-grid span {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }

  #tarifs .tarifs-criteria-item,
  #tarifs .tarifs-trust-badges span,
  #tarifs .tarifs-reassurance-grid span {
    display: inline-flex;
    min-width: 0;
    padding-inline: 0.45rem;
    line-height: 1.18;
  }

  #tarifs .tarifs-estimate-block .tarifs-criteria-item {
    font-size: 0.78rem;
  }

  #tarifs .tarifs-reassurance h3 {
    max-width: 270px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Process merged section */
.process.section {
  padding: 3.2rem 0;
}

.process .section-title {
  margin-bottom: 0.85rem;
}

.process-intro {
  max-width: 620px;
  margin: 0 auto 2rem;
  text-align: center;
  color: #475569;
  font-size: 1rem;
  line-height: 1.65;
}

.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1040px;
  margin: 0 auto;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 42px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, rgba(14, 147, 134, 0.18), rgba(255, 138, 0, 0.4), rgba(14, 147, 134, 0.18));
}

.process-steps .step {
  position: relative;
  min-width: 0;
  padding: 1.35rem 1.15rem 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.85);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  text-align: center;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.45rem;
}

.process-steps .step-number {
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 999px;
  background: #0e9386;
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 8px 18px rgba(14, 147, 134, 0.22);
  z-index: 1;
}

.process-steps .step-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-top: 0.15rem;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(14, 147, 134, 0.12), rgba(255, 138, 0, 0.12));
  font-size: 1.45rem;
  color: #0f766e;
}

.process-steps .step h3 {
  margin: 0.25rem 0 0;
  font-size: 1.12rem;
  line-height: 1.25;
  color: #111827;
}

.process-steps .step p {
  max-width: 260px;
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: 1fr;
    max-width: 560px;
    gap: 0.75rem;
  }

  .process-steps::before {
    top: 58px;
    bottom: 58px;
    left: 32px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(14, 147, 134, 0.18), rgba(255, 138, 0, 0.4), rgba(14, 147, 134, 0.18));
  }

  .process-steps .step {
    grid-template-columns: 42px 48px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    column-gap: 0.75rem;
    text-align: left;
    padding: 1rem;
  }

  .process-steps .step-number {
    width: 34px;
    height: 34px;
  }

  .process-steps .step-icon {
    width: 44px;
    height: 44px;
    margin: 0;
    font-size: 1.25rem;
  }

  .process-steps .step h3,
  .process-steps .step p {
    grid-column: 3;
  }

  .process-steps .step p {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .process.section {
    padding: 2.7rem 0;
  }

  .process .container {
    width: min(100% - 2rem, 1240px);
  }

  .process-intro {
    width: min(100%, 320px);
    margin-bottom: 1.3rem;
    font-size: 0.94rem;
  }

  .process-steps .step {
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-areas:
      "number title"
      "icon text";
    column-gap: 0.75rem;
    row-gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .process-steps .step-number {
    grid-area: number;
  }

  .process-steps .step-icon {
    grid-area: icon;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 1.05rem;
  }

  .process-steps .step h3 {
    grid-area: title;
    font-size: 1rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .process-steps .step p {
    grid-area: text;
    width: 100%;
    min-width: 0;
    max-width: 250px;
    font-size: 0.9rem;
    line-height: 1.42;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .process-steps::before {
    left: 28px;
  }
}

/* Final layout consistency pass */
:root {
  --site-shell: min(100% - 2rem, 1120px);
  --site-bg: linear-gradient(135deg, #ecfffb 0%, #f7f8ff 48%, #fff4e8 100%);
  --footer-soft: linear-gradient(135deg, #0f5f58 0%, #14786f 58%, #31515a 100%);
}

body {
  background: var(--site-bg);
  background-attachment: fixed;
}

.hero {
  width: var(--site-shell);
  margin-inline: auto;
  border-radius: 0 0 24px 24px;
  background: transparent !important;
}

.services.section,
.pricing.section,
.process.section,
#contact.section {
  width: var(--site-shell);
  margin-inline: auto;
}

.services.section > .container,
.pricing.section > .container,
.process.section > .container,
#contact.section > .container {
  width: 100%;
  max-width: 1120px;
}

.hero .container {
  width: 100%;
  max-width: 1120px;
}

#services small {
  display: block;
  margin: 0.9rem auto 0;
  text-align: center;
  color: #475569;
}

.header-logo-img {
  object-fit: contain;
}

.footer {
  width: var(--site-shell);
  margin: 1rem auto 0;
  padding: 2rem 0 0;
  border-radius: 22px 22px 0 0;
  background: var(--footer-soft) !important;
  border-top: 0;
  color: #f8fafc;
}

.footer-content {
  width: min(100% - 2rem, 1120px);
  margin: 0 auto;
}

.footer-col h3,
.footer-col h4 {
  color: #ffffff;
}

.footer-col p,
.footer-bottom p {
  color: #e6fffb;
}

.footer-col ul a {
  color: #f8fafc;
}

.footer-col ul a:hover {
  color: #fed7aa;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

@media (max-width: 900px) {
  :root {
    --site-shell: min(100% - 1.25rem, 1120px);
  }

  .hero-logo-panel {
    width: min(100%, 300px) !important;
    max-height: none;
    aspect-ratio: 1 / 0.86;
    margin-inline: auto;
  }

  .hero-logo-full {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  :root {
    --site-shell: min(100% - 1rem, 1120px);
  }

  .hero {
    width: 100%;
    border-radius: 0 0 18px 18px;
  }

  .header-logo-img {
    height: auto !important;
    max-height: 44px;
    max-width: 86px;
  }

  .logo a {
    max-width: 92px;
    overflow: visible;
  }

  .services.section,
  .pricing.section,
  .process.section,
  #contact.section {
    border-radius: 18px;
  }

  .footer {
    width: 100%;
    border-radius: 18px 18px 0 0;
    margin-top: 0.75rem;
  }

  .footer-content {
    display: grid;
    gap: 1.35rem;
  }

  .footer-col,
  .footer-col p,
  .footer-col a,
  .footer-bottom p,
  .mobile-hint {
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .mobile-hint {
    text-align: center;
  }
}

/* --- Uniformiser la largeur des sections --- */
.container {
  width: min(100% - 2rem, 1240px);
}

#tarifs .tarifs-wrap,
#tarifs .tarifs-info-block {
  max-width: 100%;
}

/* --- Fond uniforme sur tout le site (demande client) --- */
:root {
  --site-bg-uniform: #f4f7fb;
}

body,
header,
.hero,
.services.section,
.process.section,
.pricing.section,
.testimonials.section,
#contact.section,
.footer {
  background: var(--site-bg-uniform) !important;
}

/* garder la lisibilité du footer avec le fond clair */
.footer,
.footer-col h3,
.footer-col h4,
.footer-col ul a,
.footer-bottom p {
  color: #334155;
}

.footer-col ul a:hover {
  color: #0f766e;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.45);
}

/* --- Bandeau de fond couleurs sur toute la largeur --- */
body {
  background: linear-gradient(135deg, #ecfffb 0%, #f7f8ff 45%, #fff4e8 100%) !important;
  background-attachment: fixed;
}

header,
.hero,
.services.section,
.process.section,
.pricing.section,
.testimonials.section,
#contact.section,
.footer {
  background: transparent !important;
}

/* --- Ajustements demandés: bandeau hero pleine largeur + footer vert --- */
.hero {
  background: linear-gradient(135deg, #ecfffb 0%, #f7f8ff 45%, #fff4e8 100%) !important;
  width: 100%;
}

/* le dernier bloc (footer) redevient vert */
.footer {
  background: linear-gradient(120deg, #0b1d2e, #122741) !important;
}

.footer,
.footer-col h3,
.footer-col h4,
.footer-col p,
.footer-col ul a,
.footer-bottom p {
  color: #e2e8f0 !important;
}

.footer-col ul a:hover {
  color: #ffffff !important;
}

/* --- Hero: le bandeau coloré descend jusqu'en bas de l'écran --- */
.hero {
  min-height: calc(100vh - 96px);
  display: flex;
  align-items: stretch;
}

.hero .hero-content {
  width: 100%;
}

@media (max-width: 768px) {
  .hero {
    min-height: calc(100vh - 76px);
  }
}

/* --- Ajustements finaux: réduire l'écart des sections + footer moins foncé --- */
.hero {
  margin-bottom: 0 !important;
  padding-bottom: 2.5rem !important;
}

.services.section {
  margin-top: 0 !important;
  padding-top: 2.5rem !important;
}

/* bloc de bas de page plus clair */
.footer {
  background: linear-gradient(120deg, #0f766e, #14b8a6) !important;
}

/* --- Ajustement demandé: réduire encore l'écart Hero -> Services --- */
.hero {
  min-height: auto !important;
  padding-bottom: 1rem !important;
}

.services.section {
  padding-top: 1.25rem !important;
}

/* Footer: teinte plus douce */
.footer {
  background: linear-gradient(120deg, #6aaea7, #8fcac4) !important;
}

/* --- Ajustement fin: réaugmenter légèrement l'écart entre les 2 sections --- */
.hero {
  padding-bottom: 1.75rem !important;
}

.services.section {
  padding-top: 1.9rem !important;
}

/* --- Ajustement demandé: encore un peu plus d'espace entre Hero et Services --- */
.hero {
  padding-bottom: 2.2rem !important;
}

.services.section {
  padding-top: 2.35rem !important;
}

/* --- Ajustement fin demandé: augmenter encore un peu l'espace --- */
.hero {
  padding-bottom: 2.6rem !important;
}

.services.section {
  padding-top: 2.75rem !important;
}

/* --- Harmonisation couleur du bloc bas de page avec le reste du site --- */
.footer {
  background: linear-gradient(135deg, #dff3f1 0%, #cfe8e5 100%) !important;
  border-top: 1px solid rgba(14, 147, 134, 0.22);
}

.footer,
.footer-col h3,
.footer-col h4,
.footer-col p,
.footer-col ul a,
.footer-bottom p {
  color: #1f4f4a !important;
}

.footer-col ul a:hover {
  color: #0f766e !important;
}
