/* ============================================
   Professionnels — Page-specific styles
   ============================================ */

/* --- Animations (shared pattern from home.css) --- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Light variant helpers --- */
.section-title--light { color: var(--white); }
.section-subtitle--light { color: rgba(255,255,255,.8); }

/* ===== HERO ===== */
.pro-hero {
  background: var(--bg-cream);
  padding: 7rem 0 5rem;
}

.pro-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.pro-hero__badge {
  display: inline-block;
  background: rgba(201,168,76,.12);
  color: var(--accent-gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 30px;
  margin-bottom: var(--space-lg);
}

.pro-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1.15;
  color: var(--primary-dark);
  margin-bottom: var(--space-lg);
  letter-spacing: -.01em;
}

.pro-hero__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: var(--space-xl);
}

.pro-hero__visual {
  display: flex;
  justify-content: center;
}

.pro-hero__image-placeholder {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--primary-dark), #163b3a);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== OPPORTUNITE ===== */
.opportunite-section {
  background: var(--white);
  padding: var(--space-4xl) 0;
}

.opportunite-section .section-title {
  margin-bottom: var(--space-2xl);
}

.opportunite__highlight {
  background: var(--primary-dark);
  color: var(--white);
  border-radius: 20px;
  padding: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.opportunite__highlight h3 {
  font-family: var(--font-heading);
  color: var(--accent-gold);
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
}

.opportunite__highlight p {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.opportunite__highlight p:last-child {
  margin-bottom: 0;
  font-weight: 700;
  color: var(--accent-gold-light);
}

.opportunite__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.opportunite-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: var(--space-xl);
  transition: transform var(--transition), box-shadow var(--transition);
}

.opportunite-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(29,78,77,.1);
}

.opportunite-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(201,168,76,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--accent-gold);
}

.opportunite-card h3 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.opportunite-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
}

/* ===== POUR QUI ===== */
.pourqui-section {
  background: var(--bg-cream);
  padding: var(--space-4xl) 0;
}

.pourqui-section .section-title {
  margin-bottom: var(--space-sm);
}

.pourqui-section .section-subtitle {
  text-align: center;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent-gold);
  margin-bottom: var(--space-2xl);
}

.pourqui__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.pourqui-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 2px solid rgba(0,0,0,.06);
  border-radius: 40px;
  padding: .6rem 1.4rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--primary-dark);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.pourqui-badge:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201,168,76,.15);
}

.pourqui-badge svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.pourqui__note {
  text-align: center;
  color: var(--text-muted);
  font-size: .9rem;
  font-style: italic;
  line-height: 1.7;
}

/* ===== ÉCOSYSTÈME PSIO ===== */
.ecosysteme-section {
  background: var(--white);
  padding: var(--space-4xl) 0;
}

.ecosysteme-section .section-title {
  margin-bottom: var(--space-sm);
}

.ecosysteme-section .section-subtitle {
  text-align: center;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent-gold);
  margin-bottom: var(--space-2xl);
}

.ecosysteme-timeline {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Connector line */
.eco-connector {
  display: flex;
  justify-content: center;
  padding: var(--space-md) 0;
}

.eco-connector span {
  display: block;
  width: 2px;
  height: 48px;
  background: var(--accent-gold);
  border-radius: 1px;
}

/* Card base */
.eco-card {
  width: 100%;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(29,78,77,.08);
  overflow: hidden;
}

.eco-card--primary {
  border-left: 4px solid var(--primary-dark);
}

.eco-card--gold {
  border-left: 4px solid var(--accent-gold);
}

.eco-card__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl);
}

.eco-card__text {
  display: flex;
  flex-direction: column;
}

/* Badge pills */
.eco-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 30px;
  color: var(--white);
  margin-bottom: var(--space-md);
  width: fit-content;
}

.eco-badge--primary {
  background: var(--primary-dark);
}

.eco-badge--gold {
  background: var(--accent-gold);
}

.eco-card__title {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-size: 1.35rem;
  margin-bottom: var(--space-md);
}

.eco-card__desc {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.eco-card__points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.eco-card__points li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  color: var(--text-dark);
  font-weight: 500;
}

.eco-card__points li svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.eco-card__tarif {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.eco-card__btn {
  align-self: flex-start;
}

/* Visual / Image placeholder */
.eco-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-card__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, var(--primary-dark), #163b3a);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video embed */
.eco-card__video-wrapper {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
}

.eco-card__video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

/* Desktop: 2-column layout */
@media (min-width: 768px) {
  .eco-card__inner {
    grid-template-columns: 1fr 1fr;
    padding: var(--space-2xl);
  }

  .eco-card--reverse .eco-card__inner {
    direction: rtl;
  }

  .eco-card--reverse .eco-card__inner > * {
    direction: ltr;
  }
}

/* Fade-in animation for ecosystem cards */
.ecosysteme-timeline .eco-card[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.ecosysteme-timeline .eco-card[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== TARIFS ===== */
.tarifs-section {
  background: var(--white);
  padding: var(--space-4xl) 0;
}

.tarifs-section .section-title {
  margin-bottom: var(--space-sm);
}

.tarifs-section .section-subtitle {
  text-align: center;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent-gold);
  margin-bottom: var(--space-2xl);
}

.tarifs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.tarif-card {
  background: var(--white);
  border: 2px solid rgba(0,0,0,.06);
  border-radius: 20px;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.tarif-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(29,78,77,.1);
}

.tarif-card--featured {
  border-color: var(--accent-gold);
  position: relative;
}

.tarif-card__name {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-size: 1.15rem;
  margin-bottom: var(--space-md);
}

.tarif-card__price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: var(--space-lg);
}

.tarif-card__price--text {
  font-size: 1.4rem;
}

.tarif-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.tarif-card p:last-child {
  margin-bottom: 0;
}

.tarifs__rentabilite {
  background: var(--bg-cream);
  border-radius: 16px;
  padding: var(--space-xl);
  text-align: center;
}

.tarifs__rentabilite p {
  color: var(--primary-dark);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.tarifs__rentabilite p:last-child {
  margin-bottom: 0;
  font-weight: 700;
  color: var(--accent-gold);
}

/* ===== LEASING ===== */
.leasing-section {
  background: var(--primary-dark);
  color: var(--white);
  padding: var(--space-4xl) 0;
}

.leasing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.leasing__title {
  font-family: var(--font-heading);
  color: var(--accent-gold);
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
}

.leasing__desc {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.leasing__price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.leasing__note {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  font-style: italic;
  margin-bottom: var(--space-xl);
}

.leasing__advantages {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: var(--space-xl);
}

.leasing__advantages h3 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: var(--space-lg);
}

.leasing__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.leasing__list-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: rgba(255,255,255,.85);
  font-size: .92rem;
}

.leasing__list-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(201,168,76,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-gold);
}

/* ===== AMBASSADRICE ===== */
.ambassadrice-section {
  background: var(--bg-cream);
  padding: var(--space-4xl) 0;
}

.ambassadrice-section .section-title {
  margin-bottom: var(--space-sm);
}

.ambassadrice-section .section-subtitle {
  text-align: center;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent-gold);
  margin-bottom: var(--space-2xl);
}

.ambassadrice__timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
}

.timeline-step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.timeline-step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline-step__content h3 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.timeline-step__content p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
}

.ambassadrice__stats {
  background: var(--accent-gold);
  border-radius: 16px;
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.ambassadrice__stat {
  text-align: center;
  color: var(--primary-dark);
}

.ambassadrice__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.ambassadrice__stat-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: .25rem;
}

/* ===== TEMOIGNAGE ===== */
.temoignage-section {
  background: var(--white);
  padding: var(--space-4xl) 0;
}

.temoignage__card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.temoignage__quote-icon {
  margin: 0 auto var(--space-lg);
  opacity: .7;
}

.temoignage__card blockquote {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: var(--space-xl);
}

.temoignage__card footer {
  color: var(--text-muted);
  font-size: .9rem;
}

.temoignage__card footer strong {
  display: block;
  color: var(--primary-dark);
  font-size: .95rem;
  margin-bottom: .15rem;
}

/* ===== CTA FINAL ===== */
.pro-cta {
  background: var(--primary-dark);
  padding: var(--space-4xl) 0;
  text-align: center;
  color: var(--white);
}

.pro-cta h2 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
}

.pro-cta__subtitle {
  color: rgba(255,255,255,.75);
  margin-bottom: var(--space-xl);
  font-size: .95rem;
}

.pro-cta__phone {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: var(--space-sm);
  transition: color var(--transition);
}

.pro-cta__phone:hover {
  color: var(--accent-gold-light);
}

.pro-cta__email {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  margin-bottom: var(--space-xl);
  transition: color var(--transition);
}

.pro-cta__email:hover {
  color: var(--white);
}

/* ===== CONTACT ===== */
.pro-contact {
  background: var(--bg-cream);
  padding: var(--space-4xl) 0;
}

.pro-contact .section-title {
  margin-bottom: var(--space-2xl);
}

.pro-contact__form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: var(--space-xl);
  border-radius: 20px;
}

.pro-contact__form .form-group {
  margin-bottom: var(--space-md);
}

.pro-contact__form label {
  display: block;
  font-weight: 700;
  font-size: .82rem;
  color: var(--primary-dark);
  margin-bottom: .3rem;
}

.pro-contact__form input,
.pro-contact__form textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid rgba(0,0,0,.08);
  border-radius: 12px;
  font-size: .92rem;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.pro-contact__form input:focus,
.pro-contact__form textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(107,158,151,.15);
}

.pro-contact__form input::placeholder,
.pro-contact__form textarea::placeholder {
  color: #b5b0a8;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 767px) {
  .pro-hero__grid {
    display: flex;
    flex-direction: column-reverse;
  }

  .pro-hero {
    padding: 6rem 0 3rem;
  }

  .pro-hero__image-placeholder {
    aspect-ratio: 16/10;
  }

  .ambassadrice__stats {
    gap: var(--space-lg);
  }
}

@media (min-width: 768px) {
  .pro-hero h1 { font-size: 3rem; }
  .pro-hero__grid { grid-template-columns: 1fr 1fr; }
  .pro-hero { padding: 8rem 0 5rem; }

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

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

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

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

  .pro-cta h2 { font-size: 2rem; }
  .pro-cta__phone { font-size: 2.4rem; }
}

@media (min-width: 1024px) {
  .pro-hero h1 { font-size: 3.5rem; }
  .pro-hero { padding: 9rem 0 6rem; }

  .opportunite__highlight { padding: var(--space-2xl) var(--space-3xl); }
  .opportunite__highlight h3 { font-size: 2rem; }

  .leasing__price { font-size: 3rem; }
}

@media (min-width: 1280px) {
  .pro-hero h1 { font-size: 4rem; }
}
