/* ==========================================================================
   TECH4HOSPITAL — Feuille de styles principale
   Site vitrine — Ingénierie Hospitalière et Biomédicale
   ========================================================================== */

/* --- Variables CSS (palette extraite du logo) --- */
:root {
  --bleu-barbeau: #5472AE;
  --bleu-fonce: #3d5a8a;
  --fuchsia: #E91E8A;
  --fuchsia-fonce: #c4176f;
  --gris-anthracite: #5A5A5A;
  --rose-nymphe: #FDDDE6;
  --blanc: #FFFFFF;
  --gris-clair: #F8F9FA;
  --gris-border: #E2E8F0;
  --text-dark: #2D3748;
  --text-body: #4A5568;
  --text-light: #718096;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  line-height: 1.6;
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--bleu-barbeau);
  text-decoration: none;
  transition: color var(--transition);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Utilitaires --- */
.text-center { text-align: center; }
.text-bleu { color: var(--bleu-barbeau); }
.text-fuchsia { color: var(--fuchsia); }
.text-gris { color: var(--text-light); }

.section-padding {
  padding: 5rem 0;
}

.section-alt {
  background: var(--gris-clair);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--bleu-barbeau);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--fuchsia);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* --- Boutons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--fuchsia-fonce);
  color: var(--blanc);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--bleu-barbeau);
  border: 2px solid var(--bleu-barbeau);
}

.btn-outline:hover {
  background: var(--bleu-barbeau);
  color: var(--blanc);
  transform: translateY(-2px);
}

.btn-linkedin {
  background: #0A66C2;
  color: var(--blanc);
}

.btn-linkedin:hover {
  background: #004182;
  color: var(--blanc);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gris-border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.nav-logo img {
  height: 64px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--fuchsia);
  transition: width var(--transition);
}

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

.nav-links a.active {
  color: var(--bleu-barbeau);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-linkedin {
  display: inline-flex;
  align-items: center;
  color: #0A66C2;
  font-size: 1.4rem;
  transition: transform var(--transition);
}

.nav-linkedin:hover {
  transform: scale(1.15);
  color: #004182;
}

/* Menu hamburger mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 10rem 0 6rem;
  background-image: url('../img/hero-bg.svg');
  background-size: cover;
  background-position: center;
  background-color: var(--rose-nymphe);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(253,221,230,0.7) 50%, rgba(248,249,250,0.8) 100%);
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(233,30,138,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 750px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  color: var(--bleu-barbeau);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--fuchsia);
}

.hero .hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   CHIFFRES CLÉS
   ========================================================================== */
.stats {
  padding: 4rem 0;
  background: var(--bleu-barbeau);
  color: var(--blanc);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

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

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-family: 'Roboto Mono', monospace;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--blanc);
  display: block;
  line-height: 1.2;
}

.stat-number .accent {
  color: var(--rose-nymphe);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.5rem;
  display: block;
}

/* ==========================================================================
   CARTES (tiers, services, projets)
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gris-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card-icon.tier1 {
  background: rgba(84,114,174,0.1);
  color: var(--bleu-barbeau);
}

.card-icon.tier2 {
  background: rgba(233,30,138,0.1);
  color: var(--fuchsia);
}

.card-icon.tier3 {
  background: rgba(90,90,90,0.1);
  color: var(--gris-anthracite);
}

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

.card .card-price {
  font-family: 'Roboto Mono', monospace;
  color: var(--fuchsia);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card .card-delay {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-body);
  font-size: 0.95rem;
}

.card .paypal-badge-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--rose-nymphe);
  color: var(--fuchsia);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 1rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--bleu-barbeau);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.card-link:hover {
  color: var(--fuchsia);
  gap: 0.5rem;
}

/* ==========================================================================
   SECTION POURQUOI TECH4HOSPITAL
   ========================================================================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.advantage-item {
  text-align: center;
  padding: 2rem 1rem;
}

.advantage-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--rose-nymphe);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--fuchsia);
}

.advantage-item h4 {
  margin-bottom: 0.75rem;
  color: var(--bleu-barbeau);
}

.advantage-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ==========================================================================
   BANDEAU CLIENTS / LOGOS
   ========================================================================== */
.clients-band {
  padding: 3rem 0;
  border-top: 1px solid var(--gris-border);
  border-bottom: 1px solid var(--gris-border);
}

.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.client-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--gris-border);
  border-radius: var(--radius);
  background: var(--blanc);
  white-space: nowrap;
}

.client-logo-img {
  height: 40px;
  width: auto;
  opacity: 0.6;
  transition: opacity var(--transition);
  filter: grayscale(100%);
}

.client-logo-img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--bleu-barbeau) 0%, var(--bleu-fonce) 100%);
  color: var(--blanc);
  text-align: center;
}

.cta-section h2 {
  color: var(--blanc);
  margin-bottom: 1rem;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: var(--fuchsia);
}

.cta-section .btn-primary:hover {
  background: var(--rose-nymphe);
  color: var(--fuchsia);
}

.cta-section .btn-outline {
  border-color: var(--blanc);
  color: var(--blanc);
}

.cta-section .btn-outline:hover {
  background: var(--blanc);
  color: var(--bleu-barbeau);
}

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */

/* Badge PayPal global */
.paypal-banner {
  background: linear-gradient(135deg, var(--rose-nymphe) 0%, #fef0f5 100%);
  border: 2px solid var(--fuchsia);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.paypal-banner-icon {
  font-size: 2rem;
  color: var(--fuchsia);
  flex-shrink: 0;
}

.paypal-banner h3 {
  color: var(--fuchsia);
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.paypal-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-body);
}

/* Tier sections */
.tier-section {
  margin-bottom: 4rem;
}

.tier-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gris-border);
}

.tier-badge {
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-badge.t1 {
  background: rgba(84,114,174,0.1);
  color: var(--bleu-barbeau);
}

.tier-badge.t2 {
  background: rgba(233,30,138,0.1);
  color: var(--fuchsia);
}

.tier-badge.t3 {
  background: rgba(90,90,90,0.1);
  color: var(--gris-anthracite);
}

.tier-header h2 {
  font-size: 1.5rem;
}

.tier-header h2::after {
  display: none;
}

/* Service block */
.service-block {
  background: var(--blanc);
  border: 1px solid var(--gris-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: box-shadow var(--transition);
}

.service-block:hover {
  box-shadow: var(--shadow-md);
}

.service-block h3 {
  color: var(--bleu-barbeau);
  margin-bottom: 0.75rem;
}

.service-tagline {
  font-style: italic;
  color: var(--fuchsia);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--fuchsia);
  padding-left: 1rem;
}

.service-desc {
  margin-bottom: 1.5rem;
  color: var(--text-body);
}

/* Grilles tarifaires */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.pricing-table thead {
  background: var(--bleu-barbeau);
  color: var(--blanc);
}

.pricing-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
}

.pricing-table th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.pricing-table th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.pricing-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gris-border);
}

.pricing-table tbody tr:hover {
  background: var(--gris-clair);
}

.pricing-table .price-original {
  text-decoration: line-through;
  color: var(--text-light);
  font-size: 0.85rem;
}

.pricing-table .price-paypal {
  color: var(--fuchsia);
  font-weight: 700;
  font-family: 'Roboto Mono', monospace;
}

.pricing-table .unit-price {
  font-family: 'Roboto Mono', monospace;
  color: var(--bleu-barbeau);
  font-weight: 600;
}

/* Workflow */
.workflow {
  padding: 4rem 0;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.workflow-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--gris-border);
  z-index: 0;
}

.workflow-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.workflow-step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bleu-barbeau);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}

.workflow-step:nth-child(even) .workflow-step-number {
  background: var(--fuchsia);
}

.workflow-step h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.workflow-step p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-intro {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}

.about-photo {
  width: 300px;
  height: 380px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bleu-barbeau), var(--fuchsia));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanc);
  font-size: 4rem;
  box-shadow: var(--shadow-md);
}

.about-text h2 {
  color: var(--bleu-barbeau);
  margin-bottom: 1rem;
}

.about-text h2::after {
  display: none;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gris-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--fuchsia);
  border: 2px solid var(--blanc);
  margin-left: -5px;
}

.timeline-item h4 {
  font-size: 1rem;
  color: var(--bleu-barbeau);
  margin-bottom: 0.25rem;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* Domaines d'expertise */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.expertise-item {
  background: var(--blanc);
  border: 1px solid var(--gris-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.expertise-item:hover {
  border-color: var(--fuchsia);
  box-shadow: var(--shadow-sm);
}

.expertise-item i {
  font-size: 2rem;
  color: var(--fuchsia);
  margin-bottom: 0.75rem;
  display: block;
}

.expertise-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.expertise-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* Entités */
.entities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.entity-card {
  background: var(--blanc);
  border: 1px solid var(--gris-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.entity-card h4 {
  color: var(--bleu-barbeau);
  margin-bottom: 0.5rem;
}

.entity-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* ==========================================================================
   PROJETS PAGE
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: var(--blanc);
  border: 1px solid var(--gris-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, var(--bleu-barbeau), var(--bleu-fonce));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanc);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-image .project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.3);
  color: var(--blanc);
  font-size: 0.8rem;
  font-weight: 600;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.project-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tag {
  background: var(--rose-nymphe);
  color: var(--fuchsia);
  padding: 0.2rem 0.65rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  background: var(--blanc);
  border: 1px solid var(--gris-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gris-border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--blanc);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bleu-barbeau);
  box-shadow: 0 0 0 3px rgba(84,114,174,0.1);
}

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

/* Honeypot anti-spam */
.form-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
}

.form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
}

.form-success.show {
  display: block;
}

.contact-info h3 {
  color: var(--bleu-barbeau);
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rose-nymphe);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fuchsia);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-detail h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-detail p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

.contact-map {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gris-border);
}

.contact-map iframe {
  width: 100%;
  height: 280px;
  border: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 44px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer h4 {
  color: var(--blanc);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanc);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--fuchsia);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ==========================================================================
   ANIMATIONS (fade-in au scroll)
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Page hero interne */
.page-hero {
  padding: 8rem 0 3rem;
  background: linear-gradient(135deg, var(--bleu-barbeau) 0%, var(--bleu-fonce) 100%);
  color: var(--blanc);
  text-align: center;
}

.page-hero h1 {
  color: var(--blanc);
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}

/* ==========================================================================
   DIAGRAMME INTERACTIF — Cycle projet (Services V1.1)
   ========================================================================== */
.cycle-diagram {
  margin: 2rem 0;
}

.cycle-phases {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding: 1rem 0;
}

.cycle-phase {
  flex: 1;
  min-width: 120px;
  text-align: center;
  cursor: pointer;
  position: relative;
  padding: 1rem 0.5rem;
  transition: all var(--transition);
}

.cycle-phase::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid var(--bleu-barbeau);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  z-index: 1;
}

.cycle-phase:last-child::after {
  display: none;
}

.cycle-phase-box {
  background: var(--bleu-barbeau);
  color: var(--blanc);
  border-radius: var(--radius);
  padding: 1rem 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--transition);
  position: relative;
}

.cycle-phase.active .cycle-phase-box {
  background: var(--fuchsia);
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.cycle-phase.disabled .cycle-phase-box {
  background: var(--gris-border);
  color: var(--text-light);
  cursor: default;
}

.cycle-phase.disabled::after {
  border-left-color: var(--gris-border);
}

.cycle-phase-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: var(--text-light);
  line-height: 1.3;
}

/* Panneau services associes a une phase */
.cycle-services-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  background: var(--gris-clair);
  border-radius: var(--radius-lg);
  margin-top: 1rem;
}

.cycle-services-panel.open {
  max-height: 2000px;
  opacity: 1;
  padding: 2rem;
}

.cycle-service-item {
  background: var(--blanc);
  border: 1px solid var(--gris-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: box-shadow var(--transition);
}

.cycle-service-item:last-child {
  margin-bottom: 0;
}

.cycle-service-item:hover {
  box-shadow: var(--shadow-sm);
}

.cycle-service-item h4 {
  color: var(--bleu-barbeau);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.cycle-service-item p {
  color: var(--text-body);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.cycle-service-item .btn {
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
}

/* Service description blocks (V1.1 — no pricing tables) */
.service-description {
  margin-bottom: 1.5rem;
  color: var(--text-body);
  line-height: 1.7;
}

.service-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-detail-item i {
  color: var(--fuchsia);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.service-detail-item span {
  font-size: 0.9rem;
  color: var(--text-body);
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--bleu-barbeau);
}

.breadcrumb span {
  margin: 0 0.5rem;
}

/* ==========================================================================
   V2 — Bandeau profil (remplace bandeau clients)
   ========================================================================== */
.profile-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.profile-band-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--fuchsia);
  flex-shrink: 0;
}

.profile-band-text {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.profile-band-text strong {
  color: var(--bleu-barbeau);
  font-weight: 700;
}

/* ==========================================================================
   V2 — Phone input group (indicatif pays)
   ========================================================================== */
.phone-input-group {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
}

.phone-input-group .phone-country-select,
.phone-input-group input[type="tel"] {
  width: auto;
}

.phone-country-select {
  width: 120px;
  flex-shrink: 0;
  padding: 0.75rem 0.5rem;
  border: 1px solid var(--gris-border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  background: var(--gris-clair);
  color: var(--text-dark);
  cursor: pointer;
}

.phone-country-select:focus {
  outline: none;
  border-color: var(--bleu-barbeau);
  box-shadow: 0 0 0 3px rgba(84,114,174,0.1);
}

.phone-input-group input[type="tel"] {
  flex: 1;
  width: auto;
  min-width: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ==========================================================================
   V2 — Email validation message
   ========================================================================== */
.email-validation-msg {
  display: block;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  min-height: 1.2em;
}

.email-validation-msg.valid {
  color: #28a745;
}

.email-validation-msg.invalid {
  color: #dc3545;
}