/*
 * TextilePro Clean - Style Sheet
 *
 * Personnalisation rapide :
 * Modifiez les variables CSS ci‑dessous pour ajuster rapidement les couleurs,
 * la typographie ou la disposition sans parcourir tout le fichier. Par exemple,
 * changez --color-primary pour adapter l’accent principal du thème clair.
 */

/* ==========================================================================
   Variables de thème (light/dark)
   Utilisez ces variables pour contrôler la palette. Les modes clair et sombre
   partagent les mêmes noms de variables ; le sélecteur .dark-theme définit
   leurs valeurs pour le mode sombre.
   -------------------------------------------------------------------------- */

:root {
  /* Couleurs principales */
  --color-primary: #005ea8;
  --color-secondary: #f1f5f9;
  --color-accent: #007acc;
  --color-text: #333333;
  --color-background: #ffffff;
  --color-muted: #666666;
  --color-card-bg: #ffffff;
  --color-card-shadow: rgba(0, 0, 0, 0.05);
  /* Typographie */
  --font-family-base: 'Inter', sans-serif;
  --font-size-base: 16px;
  /* Espacements */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  /* Arrondis */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  /* Ombres */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Mode sombre : redéfinir uniquement les variables nécessaires. */
body.dark-theme {
  --color-primary: #5fa9d7;
  --color-secondary: #0c283a;
  --color-accent: #2b6cb0;
  --color-text: #f1f1f1;
  --color-background: #0a1928;
  --color-muted: #8fa2b3;
  --color-card-bg: #112d4e;
  --color-card-shadow: rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Configuration globale
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Limiter la largeur principale du contenu et appliquer un padding horizontal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
}

/* ==========================================================================
   Header et navigation
   -------------------------------------------------------------------------- */

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: var(--color-background);
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.logo img {
  width: 36px;
  height: 36px;
}

.logo-text {
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-md);
}

nav ul li a {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--color-text);
}

nav ul li a:hover {
  background-color: var(--color-secondary);
  color: var(--color-primary);
}

nav ul li a.active {
  background-color: var(--color-primary);
  color: var(--color-background);
}

body.dark-theme nav ul li a.active,
body.dark-theme .mobile-nav a.active {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.mobile-nav a.active {
  background-color: var(--color-primary);
  color: var(--color-background);
  border-radius: var(--radius-sm);
}

/* Bouton burger pour mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
}

.menu-toggle span {
  height: 2px;
  width: 100%;
  background-color: var(--color-text);
  margin-bottom: 6px;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Navigation mobile */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  right: 0;
  left: 0;
  background-color: var(--color-background);
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-sm);
}

.mobile-nav.open {
  display: flex;
}

.dark-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
  border-radius: 50%;
  background-color: var(--color-secondary);
  color: var(--color-text);
  transition: background-color 0.2s ease;
}

.dark-toggle:hover {
  background-color: var(--color-primary);
  color: var(--color-background);
}



.header-phone {
  white-space: nowrap;
}

.mobile-hint {
  display: none;
}

.legal-link {
  color: inherit;
  text-decoration: underline;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.contact-map {
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.mobile-call-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  background: var(--color-primary);
  color: var(--color-background);
  font-weight: 700;
}

.mobile-call-sticky svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Boutons et liens importants
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.16s ease;
}

.btn:active {
  transform: translateY(1px);
}

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

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

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

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

/* ==========================================================================
   Sections générales
   -------------------------------------------------------------------------- */

section {
  padding: var(--space-lg) 0;
}

section:nth-of-type(even) {
  background-color: var(--color-secondary);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

p {
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-background);
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--color-background);
  margin-bottom: var(--space-sm);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--color-background);
}

.hero .btn-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-badges {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 var(--space-sm);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-reassurance {
  margin-top: var(--space-sm);
  font-size: 0.95rem;
  opacity: 0.95;
}

/* Cartes et grilles */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.card {
  background-color: var(--color-card-bg);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 94, 168, 0.2);
}

.card h3 {
  margin-bottom: var(--space-xs);
}

.card p {
  color: var(--color-muted);
  margin-bottom: 0;
}

.sector-card {
  text-align: center;
}

.card-icon {
  width: 36px;
  height: 36px;
  color: var(--color-primary);
  margin: 0 auto var(--space-xs);
  display: block;
  transition: transform 0.2s ease;
}

.sector-card:hover .card-icon {
  transform: scale(1.06);
  opacity: 1;
}

.icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
}

/* Méthode en étapes */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.step {
  text-align: center;
  padding: var(--space-md);
}

.step .number {
  display: inline-block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-background);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.step h4 {
  margin-bottom: var(--space-xs);
}

/* Avant / Après */
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.before-after-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.before-after-grid figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 0.5rem;
  font-size: 0.875rem;
}

/* Témoignages */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.testimonial {
  background-color: var(--color-card-bg);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial::before {
  content: '“';
  font-size: 3rem;
  color: var(--color-primary);
  position: absolute;
  top: -10px;
  left: 10px;
}

.testimonial p {
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

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

/* Accordéons (FAQ) */
.accordion {
  border-top: 1px solid var(--color-secondary);
}

.accordion-item {
  border-bottom: 1px solid var(--color-secondary);
}

.accordion-title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  font-weight: 600;
  color: var(--color-primary);
}

.accordion-title::after {
  content: "▾";
  font-size: 1rem;
  line-height: 1;
  margin-left: var(--space-sm);
  transition: transform 0.2s ease;
}

.accordion-item.is-open .accordion-title::after {
  transform: rotate(180deg);
}

.accordion-title:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease;
  color: var(--color-text);
  padding-right: var(--space-sm);
  opacity: 0;
}

.accordion-item.is-open .accordion-content {
  padding-bottom: var(--space-sm);
  opacity: 1;
}

/* Formulaires */
form {
  display: grid;
  gap: var(--space-sm);
}

label {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}

input, select, textarea {
  width: 100%;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-secondary);
  background-color: var(--color-card-bg);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0, 94, 168, 0.2);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: #e53e3e;
  font-size: 0.875rem;
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.is-invalid {
  border-color: #e53e3e;
  box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.18);
}

.form-errors-summary {
  border-left: 3px solid #e53e3e;
  background-color: rgba(229, 62, 62, 0.08);
  color: #b83232;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
}

body.dark-theme .form-errors-summary {
  color: #feb2b2;
  background-color: rgba(229, 62, 62, 0.18);
}

.quick-form-layout {
  display: grid;
  gap: var(--space-md);
}

.quick-form-card {
  background-color: var(--color-card-bg);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.pro-contact-list {
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.pro-contact-list li {
  margin: 0;
}

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

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

.toggle-complete-form {
  width: fit-content;
}

.complete-form-panel {
  display: none;
}

.complete-form-panel.is-open {
  display: block;
}

.before-booking {
  border-left: 4px solid var(--color-primary);
  background-color: var(--color-card-bg);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  box-shadow: var(--shadow-sm);
}

.before-booking ul {
  margin-left: 1.25rem;
}

.call-cta {
  margin-top: var(--space-sm);
}

/* Tableaux de forfaits */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.pricing-card {
  background-color: var(--color-card-bg);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 94, 168, 0.2);
}

.pricing-card h3 {
  margin-bottom: var(--space-xs);
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.pricing-card ul {
  list-style: none;
  margin-bottom: var(--space-md);
  padding-left: 0;
  color: var(--color-muted);
}

.pricing-card ul li {
  margin-bottom: var(--space-xs);
}

.pricing-card--featured {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-secondary);
  box-shadow: var(--shadow-md);
}

.corner-ribbon {
  position: absolute;
  top: 20px;
  right: -58px;
  width: 220px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #1f2937;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-align: center;
  padding: 0.3rem 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

@media (max-width: 540px) {
  .corner-ribbon {
    right: -64px;
    width: 210px;
    font-size: 0.68rem;
  }
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.image-card {
  background-color: var(--color-card-bg);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.image-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.map-placeholder {
  width: 100%;
  height: 260px;
  border-radius: var(--radius-md);
  background-color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.pro-main {
  position: relative;
  isolation: isolate;
}

.pro-main::before {
  content: "";
  position: absolute;
  inset: 8% auto auto -8%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 122, 204, 0.14) 0%, rgba(0, 122, 204, 0) 70%);
  filter: blur(8px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

.pro-main section {
  padding: clamp(2.25rem, 4.5vw, 3.5rem) 0;
}

.section + .section {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.section--soft {
  background: linear-gradient(180deg, rgba(0, 94, 168, 0.03), rgba(0, 94, 168, 0.01));
}

.benefits-compact-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-sm);
}

.compact-card {
  background: var(--color-card-bg);
  border: 1px solid rgba(0, 94, 168, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.compact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 94, 168, 0.24);
}

.compact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.compact-card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.compact-card-icon,
.card-icon {
  width: 30px;
  height: 30px;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
  opacity: 0.92;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.compact-card:hover .compact-card-icon,
.pricing-card:hover .card-icon,
.card:hover .card-icon {
  transform: scale(1.06);
  opacity: 1;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(0, 94, 168, 0.12);
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.pricing-ideal {
  margin: 0 0 var(--space-sm);
  font-size: 0.92rem;
  color: var(--color-text);
}

.sector-card--priority {
  border: 1px solid rgba(0, 94, 168, 0.35);
  box-shadow: var(--shadow-md);
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.form-note {
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.faq-compact {
  max-width: 860px;
}

/* Footer */
footer {
  background-color: var(--color-primary);
  color: var(--color-background);
  padding: var(--space-md) 0;
  margin-top: auto;
}

footer .footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

footer h4 {
  margin-bottom: var(--space-xs);
  color: var(--color-background);
}

footer ul {
  list-style: none;
  padding-left: 0;
  color: var(--color-background);
}

footer ul li {
  margin-bottom: var(--space-xs);
}

footer ul li a {
  color: var(--color-background);
  text-decoration: none;
}

footer ul li a:hover {
  text-decoration: underline;
}

footer .footer-bottom {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Animations et micro‑interactions
   -------------------------------------------------------------------------- */

/* Révélations au scroll */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 380ms ease, transform 380ms ease;
}

.reveal.is-visible,
.reveal.active {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] { transition-delay: 60ms; }
.reveal[data-delay="2"] { transition-delay: 120ms; }
.reveal[data-delay="3"] { transition-delay: 180ms; }
.reveal[data-delay="4"] { transition-delay: 240ms; }
.reveal[data-delay="5"] { transition-delay: 300ms; }
.reveal[data-delay="6"] { transition-delay: 360ms; }

/* Rotations ou translations personnalisées via data‑attributes */
[data-animate="slide-left"].reveal {
  transform: translateX(-8px);
}

[data-animate="slide-right"].reveal {
  transform: translateX(8px);
}

[data-animate="slide-up"].reveal {
  transform: translateY(8px);
}

[data-animate="slide-down"].reveal {
  transform: translateY(-8px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal.is-visible,
  .reveal.active {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0ms !important;
  }
}

/* Ajustement responsive */
@media (max-width: 768px) {
  .pro-page {
    background: #f5f8fc !important;
  }

  .pro-page::before {
    content: "";
    position: fixed;
    top: 120px;
    right: -120px;
    width: 320px;
    height: 320px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(0, 120, 255, 0.16), transparent 60%);
    filter: blur(2px);
    z-index: 0;
  }

  .pro-page main,
  .pro-page .container {
    position: relative;
    z-index: 1;
  }

  .pro-page .section {
    padding: 18px 0 !important;
  }

  .pro-page .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .pro-page h2 {
    font-size: clamp(20px, 5vw, 24px) !important;
    line-height: 1.15 !important;
    margin-bottom: 10px !important;
  }

  .pro-page p,
  .pro-page li {
    line-height: 1.35 !important;
  }

  .pro-page .mobile-hint {
    display: block !important;
    font-size: 12px !important;
    opacity: 0.72 !important;
    margin-top: -6px !important;
    margin-bottom: 10px !important;
  }

  .pro-page .benefits-compact-grid,
  .pro-page .pricing-table,
  .pro-page .cards.carousel-fade,
  .pro-page .process-grid {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 82% !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    padding-bottom: 10px !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .pro-page .benefits-compact-grid::-webkit-scrollbar,
  .pro-page .pricing-table::-webkit-scrollbar,
  .pro-page .cards.carousel-fade::-webkit-scrollbar,
  .pro-page .process-grid::-webkit-scrollbar {
    height: 0;
  }

  .pro-page .compact-card,
  .pro-page .pricing-card,
  .pro-page .sector-card {
    scroll-snap-align: start !important;
    border-radius: 14px !important;
  }

  .pro-page .compact-card,
  .pro-page .sector-card {
    padding: 14px !important;
    min-height: 0 !important;
  }

  .pro-page .pricing-card {
    padding: 16px !important;
  }

  .pro-page .pricing-card .price,
  .pro-page .pricing-card h3 {
    margin: 6px 0 !important;
  }

  .pro-page .carousel-fade {
    position: relative;
  }

  .pro-page .carousel-fade::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to left, rgba(245, 248, 252, 1), rgba(245, 248, 252, 0));
  }

  .pro-page .compact-card:active,
  .pro-page .pricing-card:active,
  .pro-page .sector-card:active {
    transform: scale(0.99) !important;
  }

  .pro-page .pro-form {
    padding: 14px !important;
  }

  .pro-page .pro-form input,
  .pro-page .pro-form select,
  .pro-page .pro-form textarea {
    height: 44px !important;
  }

  .pro-page .pro-form textarea {
    min-height: 88px;
  }

  .pro-page .pro-form form {
    gap: 10px !important;
  }

  .pro-page .form-note,
  .pro-page .form-subtitle {
    font-size: 12px !important;
  }

  .pro-page .accordion-title {
    padding: 12px !important;
  }

  .pro-page .accordion-item.is-open .accordion-content {
    padding: 0 12px 12px !important;
  }

  .pro-page .reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 360ms ease, transform 360ms ease;
  }

  .pro-page .reveal.is-visible,
  .pro-page .reveal.active {
    opacity: 1;
    transform: none;
  }

  .pro-page .reveal[data-delay="1"] { transition-delay: 60ms; }
  .pro-page .reveal[data-delay="2"] { transition-delay: 120ms; }
  .pro-page .reveal[data-delay="3"] { transition-delay: 180ms; }
  .pro-page .reveal[data-delay="4"] { transition-delay: 240ms; }

  .pro-page .reveal.is-visible .icon-pop,
  .pro-page .reveal.active .icon-pop {
    animation: iconPop 240ms ease;
  }

  @keyframes iconPop {
    0% { transform: scale(0.98); }
    100% { transform: scale(1); }
  }

  @media (prefers-reduced-motion: reduce) {
    .pro-page .reveal,
    .pro-page .reveal.is-visible,
    .pro-page .reveal.active {
      transition: none !important;
      transform: none !important;
      opacity: 1 !important;
    }

    .pro-page .icon-pop {
      animation: none !important;
    }
  }

  .pro-main::before {
    width: 180px;
    height: 180px;
    opacity: 0.45;
  }
  .pro-main section {
    padding: 2rem 0;
  }
  .benefits-compact-grid,
  .process-grid,
  .pricing-table {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .compact-card,
  .pricing-card,
  .card {
    padding: 0.9rem;
  }
  nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}


@media (max-width: 768px) {
  .header-phone {
    display: none;
  }

  .mobile-call-sticky {
    display: inline-flex;
  }

  body {
    padding-bottom: 64px;
  }
}

/* ==========================================================================
   Homepage refresh
   -------------------------------------------------------------------------- */
.home-main section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.home-main h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.4rem);
}

.home-main p {
  font-size: 1.125rem;
}

.home-hero {
  text-align: center;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content p {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

.home-section {
  text-align: center;
}

.section-subtitle {
  color: var(--color-muted);
}

.benefits-grid,
.audience-grid {
  display: grid;
  gap: var(--space-md);
}

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

.benefit-card,
.audience-card {
  background-color: var(--color-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md);
}

.benefit-card p,
.audience-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.home-before-after {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-before-after img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.2);
}

.before-image,
.after-image {
  object-position: center;
}

.comparison-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  background: rgba(0, 0, 0, 0.35);
}

.comparison-half {
  position: relative;
}

.comparison-divider {
  width: 2px;
  background: linear-gradient(180deg, #7cc1ff 0%, #00a6ff 100%);
  box-shadow: 0 0 10px rgba(124, 193, 255, 0.6);
}

.comparison-label {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}


.benefit-icon {
  width: 52px;
  height: 52px;
}

.audience-visual {
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 94, 168, 0.08), rgba(0, 122, 204, 0.16));
  padding: 0.5rem;
  margin-bottom: var(--space-sm);
}

.audience-visual svg,
.audience-visual img {
  width: 100%;
  height: 170px;
  display: block;
}

.audience-visual img {
  object-fit: cover;
}

.audience-photo {
  object-fit: contain;
  object-position: center;
  transform: scale(0.96);
  mix-blend-mode: multiply;
  isolation: isolate;
}

body.dark-theme .audience-photo {
  mix-blend-mode: normal;
}

.audience-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  text-align: left;
}

.audience-card .btn {
  margin-top: var(--space-sm);
}

.final-cta {
  background: var(--color-secondary);
}

.final-cta .container {
  text-align: center;
}

.final-cta h2 {
  margin-bottom: var(--space-md);
}

@media (max-width: 900px) {
  .benefits-grid,
  .home-before-after,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .audience-grid {
    text-align: center;
  }

  .home-main section {
    padding: 2.5rem 0;
  }

  .home-main h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
  }

  .home-main p {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .benefit-card,
  .audience-card {
    padding: 1.2rem;
  }

  .home-before-after img,
  .audience-visual svg,
  .audience-visual img {
    height: 200px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* Mobile version optimisée homepage */
@media (max-width: 768px) {
  .home-main section {
    padding: 1.9rem 0;
  }

  .home-hero h1 {
    font-size: 1.9rem;
    line-height: 1.2;
    margin-bottom: 0.7rem;
  }

  .hero-content p {
    max-width: 34ch;
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
    gap: 0.55rem;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    max-width: none;
    padding: 0.72rem 0.6rem;
    font-size: 0.94rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .benefits-grid .benefit-card:last-child {
    grid-column: 1 / -1;
  }

  .benefit-card {
    padding: 1rem;
  }

  .benefit-card h3 {
    font-size: 1.06rem;
    margin-bottom: 0.35rem;
  }

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

  .home-before-after {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .home-before-after img {
    height: 170px;
  }

  .audience-visual img {
    height: 98px;
  }


  .before-after-grid figcaption {
    font-size: 0.75rem;
  }

  .audience-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0.8rem;
    align-items: center;
    text-align: left;
  }

  .audience-visual {
    margin-bottom: 0;
    padding: 0.25rem;
  }

  .audience-visual svg,
  .audience-visual img {
    height: 98px;
  }

  .audience-card h3,
  .audience-card p,
  .audience-card .btn {
    grid-column: 2;
  }

  .audience-card .btn {
    width: fit-content;
    margin-top: 0.35rem;
  }

  .final-cta h2 {
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 520px) {
  .home-main h2 {
    font-size: 1.45rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .benefits-grid,
  .home-before-after {
    grid-template-columns: 1fr;
  }

  .benefits-grid .benefit-card:last-child {
    grid-column: auto;
  }

  .home-before-after img {
    height: 190px;
  }

  .audience-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .audience-visual svg,
  .audience-visual img {
    height: 130px;
  }

  .audience-card h3,
  .audience-card p,
  .audience-card .btn {
    grid-column: auto;
    justify-self: center;
  }
}

/* ==========================================================================
   Particuliers premium refresh
   -------------------------------------------------------------------------- */
.particuliers-main section {
  padding: clamp(2.3rem, 4.5vw, 3.5rem) 0;
}

.particuliers-main section:nth-of-type(even) {
  background-color: transparent;
}

.part-hero {
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.part-hero h1,
.part-hero p {
  color: var(--color-background);
}

.part-hero h1 {
  font-size: clamp(2rem, 4.8vw, 3rem);
  margin-bottom: 0.75rem;
}

.part-hero p {
  font-size: 1.1rem;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.section-centered {
  text-align: center;
}

.section-centered .pricing-table,
.section-centered .cards {
  margin-left: auto;
  margin-right: auto;
}

.before-after {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  width: min(100%, 920px);
  height: clamp(420px, 72vw, 760px);
  margin: 0 auto;
}

.before-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
  -webkit-clip-path: inset(0 50% 0 0);
}

.before-after-overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after-divider {
  position: absolute;
  inset: 0 auto 0 0;
  transform: translateX(-50%);
  width: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
}

.before-after-handle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.before-after-handle:focus-visible {
  outline: 3px solid rgba(0, 94, 168, 0.45);
  outline-offset: 2px;
}

.before-label,
.after-label {
  position: absolute;
  top: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.82rem;
}

.before-label { left: 0.8rem; }
.after-label { right: 0.8rem; }

.premium-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid rgba(0, 94, 168, 0.08);
}

.premium-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(8, 51, 88, 0.14);
  border-color: rgba(0, 94, 168, 0.24);
}

.pricing-note {
  margin-top: var(--space-sm);
  color: var(--color-muted);
  font-style: italic;
}

.benefits-premium-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.reassurance-card {
  display: grid;
  gap: 0.85rem;
  background: linear-gradient(160deg, rgba(0, 94, 168, 0.08), rgba(0, 122, 204, 0.01));
}

.contact-card {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.contact-card .btn {
  justify-self: start;
}


.reassurance-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
  list-style: none;
  margin-bottom: var(--space-sm);
}

.reassurance-list li::before {
  content: "✓";
  color: var(--color-primary);
  margin-right: 0.45rem;
}

.form-success {
  margin-top: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #157347;
  font-weight: 600;
}

.success-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
  animation: popIn 320ms ease;
}

.success-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@keyframes popIn {
  from { transform: scale(0.7); opacity: 0.4; }
  to { transform: scale(1); opacity: 1; }
}

@media (min-width: 900px) {
  .quick-form-layout {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
  }
}

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

  .before-after {
    height: clamp(320px, 95vw, 620px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .success-check {
    animation: none !important;
  }
}

/* PRO PAGE – SECTEURS & TIMELINE (FINAL PREMIUM) */
.pro-page .section-head {
  margin-bottom: 0.8rem;
}

.pro-page .section--timeline {
  background: linear-gradient(180deg, rgba(0, 94, 168, 0.02), rgba(0, 94, 168, 0));
}

.pro-page .section--soft + .section--timeline {
  border-top: 1px solid rgba(0, 94, 168, 0.1);
}

.pro-page .sector-pills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.pro-page .sector-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.88rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 94, 168, 0.14);
  background: #fff;
  box-shadow: 0 6px 18px rgba(10, 39, 66, 0.06);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.pro-page .sp-ico {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(0, 94, 168, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pro-page .sp-ico img {
  width: 20px;
  height: 20px;
  transition: transform 220ms ease;
}

.pro-page .sp-txt {
  min-width: 0;
  flex: 1;
}

.pro-page .sp-txt h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
}

.pro-page .sp-txt p {
  margin: 0.18rem 0 0;
  font-size: 0.88rem;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
}

.pro-page .sp-mark {
  position: absolute;
  right: 0.35rem;
  bottom: 0.2rem;
  opacity: 0.07;
  pointer-events: none;
}

.pro-page .sp-mark img {
  width: 24px;
  height: 24px;
}


.pro-page .sector-pill:focus-visible,
.pro-page .pt-step:focus-visible {
  outline: 2px solid rgba(0, 94, 168, 0.45);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .pro-page .sector-pill:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 94, 168, 0.32);
    box-shadow: 0 10px 24px rgba(10, 39, 66, 0.12);
  }

  .pro-page .sector-pill:hover .sp-ico img {
    transform: scale(1.05);
  }
}

.pro-page .pro-timeline {
  position: relative;
  padding-top: 0.2rem;
}

.pro-page .pt-line {
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 94, 168, 0.12), rgba(0, 94, 168, 0.28), rgba(0, 94, 168, 0.12));
}

.pro-page .pt-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.pro-page .pt-step {
  text-align: center;
  padding: 0;
  transition: transform 220ms ease;
}

.pro-page .pt-dot {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 94, 168, 0.26);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 94, 168, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.pro-page .pt-num {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}

.pro-page .pt-content h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.2;
}

.pro-page .pt-content p {
  margin: 0.2rem auto 0;
  max-width: 24ch;
  font-size: 0.88rem;
  color: var(--color-muted);
  opacity: 0.86;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .pro-page .pt-step:hover {
    transform: translateY(-2px);
  }

  .pro-page .pt-step:hover .pt-dot {
    background: rgba(0, 94, 168, 0.09);
    box-shadow: 0 0 0 4px rgba(0, 94, 168, 0.11);
  }
}

.pro-page .reveal-on-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.pro-page .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .pro-page .sector-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (min-width: 1080px) {
  .pro-page .sector-pills {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .pro-page .section-head {
    margin-bottom: 0.65rem;
  }

  .pro-page .sector-pills {
    gap: 0.55rem;
  }

  .pro-page .sector-pill {
    padding: 0.8rem 0.85rem;
    gap: 0.65rem;
  }

  .pro-page .sp-ico {
    width: 33px;
    height: 33px;
  }

  .pro-page .sp-ico img {
    width: 18px;
    height: 18px;
  }

  .pro-page .pro-timeline {
    padding-left: 0.1rem;
  }

  .pro-page .pt-line {
    top: 0;
    bottom: 0;
    left: 21px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(0, 94, 168, 0.12), rgba(0, 94, 168, 0.28), rgba(0, 94, 168, 0.12));
  }

  .pro-page .pt-steps {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .pro-page .pt-step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    text-align: left;
    column-gap: 0.7rem;
  }

  .pro-page .pt-dot {
    margin: 0;
  }

  .pro-page .pt-content p {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pro-page .sector-pill,
  .pro-page .sp-ico img,
  .pro-page .pt-step,
  .pro-page .pt-dot,
  .pro-page .reveal-on-scroll {
    transition: none !important;
    animation: none !important;
  }

  .pro-page .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}


/* PRO PAGE – FIX TEXT VISIBILITY (NO ELLIPSIS) */
.pro-page .sector-pills {
  grid-template-columns: 1fr;
}

.pro-page .sector-pill {
  grid-template-columns: auto 1fr;
  min-height: 72px;
}

.pro-page .sp-ico {
  position: relative;
  background: rgba(0, 94, 168, 0.08);
}

.pro-page .sp-ico::after {
  content: "";
  position: absolute;
  right: -0.45rem;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(0, 94, 168, 0.12);
}

.pro-page .sp-mark {
  opacity: 0.05;
  z-index: 0;
}

.pro-page .sp-txt,
.pro-page .pt-content {
  position: relative;
  z-index: 1;
}

.pro-page .sp-txt h3,
.pro-page .sp-txt p {
  display: block;
  overflow: visible;
  text-overflow: clip;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.pro-page .sp-txt h3 {
  font-size: 0.98rem;
  white-space: nowrap;
}

.pro-page .sp-txt p {
  font-size: 0.92rem;
  white-space: nowrap;
}

.pro-page .pt-steps {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 0.85rem;
}

.pro-page .pt-content h3 {
  white-space: nowrap;
}

.pro-page .pt-content p {
  display: block;
  text-overflow: clip;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  white-space: normal;
  line-height: 1.3;
  max-height: calc(1.3em * 2);
  overflow: hidden;
}

.pro-page .pt-line {
  height: 1px;
  top: 21px;
  background: linear-gradient(90deg, rgba(0, 94, 168, 0.08), rgba(0, 94, 168, 0.25), rgba(0, 94, 168, 0.08));
}

.pro-page .pt-dot {
  box-shadow: 0 0 0 4px rgba(0, 94, 168, 0.06), 0 2px 10px rgba(15, 46, 74, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  .pro-page .pt-step:hover .pt-content h3 {
    color: var(--color-primary);
  }
}

@media (min-width: 768px) {
  .pro-page .sector-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .pro-page .sector-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .pro-page .pro-timeline {
    padding-left: 0.1rem;
  }

  .pro-page .pt-line {
    top: 0;
    bottom: 0;
    left: 21px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(0, 94, 168, 0.08), rgba(0, 94, 168, 0.25), rgba(0, 94, 168, 0.08));
  }

  .pro-page .pt-steps {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .pro-page .pt-step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    text-align: left;
    column-gap: 0.7rem;
  }

  .pro-page .pt-dot {
    margin: 0;
  }

  .pro-page .pt-content p {
    max-height: calc(1.3em * 2);
  }
}

@media (max-width: 767px) {
  .pro-page .sector-pills {
    grid-template-columns: 1fr;
  }

  .pro-page .sp-txt h3 {
    white-space: normal;
    line-height: 1.25;
    max-height: calc(1.25em * 2);
    overflow: hidden;
  }

  .pro-page .sp-txt p {
    white-space: normal;
    line-height: 1.25;
    max-height: calc(1.25em * 2);
    overflow: hidden;
  }
}

/* PRO PAGE – CONTACT BLOCK (PRO SECTION REPLACEMENT) */
.pro-page .pro-contact-layout {
  display: grid;
  place-items: start;
}

.pro-page .pro-contact-card {
  width: min(640px, 100%);
  padding: 1.2rem;
}

.pro-page .pro-contact-list {
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.pro-page .pro-contact-list li {
  margin: 0;
}

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

.pro-page .pro-contact-list a:hover {
  text-decoration: underline;
}

.pro-page .pro-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pro-page .pro-socials a {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 94, 168, 0.18);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.pro-page .pro-socials a:hover {
  border-color: rgba(0, 94, 168, 0.35);
  background: rgba(0, 94, 168, 0.06);
}

.pro-page .pro-socials a:focus-visible {
  outline: 2px solid rgba(0, 94, 168, 0.45);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .pro-page .pro-contact-card {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
