/* =========================================================
   CABINET C. BOMBAND – Premium Real Estate Expertise
   Design System – Navy / Gold / Cream
   ========================================================= */

:root {
  --navy: #0B1D36;
  --navy-light: #132845;
  --navy-dark: #071422;
  --gold: #C9A227;
  --gold-light: #E0BC4A;
  --gold-dark: #A6851C;
  --purple: #5C3A8E;
  --cream: #F8F5F0;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --text: #1A1A1A;
  --text-muted: #5A5A5A;
  
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 29, 54, 0.05);
  --shadow: 0 4px 12px rgba(11, 29, 54, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 29, 54, 0.12);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  
  --container: 1180px;
  --header-h: 80px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--navy);
  color: white;
  padding: 12px 20px;
  z-index: 9999;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ========== TYPOGRAPHY ========== */
.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header--light .section-title { color: var(--white); }
.section-header--light .section-desc { color: rgba(255,255,255,0.75); }

.text-gold { color: var(--gold); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--full { width: 100%; }

.btn--whatsapp {
  background: #25D366;
  color: white;
  border-color: #25D366;
}
.btn--whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.logo__text { display: flex; flex-direction: column; }
.logo__name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.logo__tagline {
  font-size: 0.6875rem;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover { color: var(--navy); background: var(--gray-100); }
.nav__link--cta {
  background: var(--navy);
  color: white !important;
  margin-left: 8px;
}
.nav__link--cta:hover { background: var(--navy-light); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}
.header__phone:hover { color: var(--gold-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 50%, #1a3050 100%);
  color: white;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(92, 58, 142, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 8px 20px 8px 8px;
  margin-bottom: 32px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.hero__badge img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  max-width: 620px;
  margin-bottom: 36px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__contact-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.hero__contact-item:hover { color: var(--gold); }
.hero__contact-item svg { flex-shrink: 0; opacity: 0.7; }

/* ========== STATS ========== */
.stats {
  background: var(--cream);
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-200);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat__number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
}
.stat__suffix {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
}
.stat__label {
  display: block;
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========== WHY ========== */
.why {
  padding: 100px 0;
  background: var(--white);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.why-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.why-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.why-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== DOMAINES ========== */
.domaines {
  padding: 100px 0;
  background: var(--navy);
  color: white;
}
.domaines__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.domaine-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.domaine-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.domaine-card__number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 12px;
  line-height: 1;
}
.domaine-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.35;
}
.domaine-card p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}

/* ========== MÉTHODE ========== */
.methode {
  padding: 100px 0;
  background: var(--cream);
}
.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-300);
}
.timeline__item {
  display: flex;
  gap: 28px;
  padding-bottom: 40px;
  position: relative;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__marker {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  z-index: 1;
  border: 3px solid var(--cream);
}
.timeline__content h3 {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.timeline__content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ========== ÉQUIPE ========== */
.equipe {
  padding: 100px 0;
  background: var(--white);
}
.equipe__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.equipe__photo {
  position: relative;
}
.equipe__photo > img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.equipe__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  border-radius: 50%;
  padding: 8px;
  box-shadow: var(--shadow);
}
.equipe__badge img {
  width: 100px;
  height: auto;
  border-radius: 50%;
}
.equipe__role {
  font-size: 0.9375rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 20px;
}
.equipe__bio {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}
.equipe__credentials {
  margin-bottom: 28px;
}
.equipe__credentials li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--navy);
  font-weight: 500;
}
.equipe__credentials svg { color: var(--gold); flex-shrink: 0; }
.equipe__quote {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  line-height: 1.5;
}

/* ========== TÉMOIGNAGES ========== */
.temoignages {
  padding: 100px 0;
  background: var(--gray-50);
}
.temoignages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.temoignage-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.temoignage-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.temoignage-card__stars {
  color: var(--gold);
  font-size: 1.125rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.temoignage-card__text {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.temoignage-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.temoignage-card__avatar {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}
.temoignage-card__author strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--navy);
}
.temoignage-card__author span {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ========== FAQ ========== */
.faq {
  padding: 100px 0;
  background: var(--white);
}
.faq__list {
  max-width: 760px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--gray-200);
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq__item[open] .faq__question::after {
  content: "−";
}
.faq__question:hover { color: var(--gold-dark); }
.faq__answer {
  padding: 0 0 24px;
}
.faq__answer p {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========== CTA FINAL ========== */
.cta-final {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
  color: white;
}
.cta-final h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 16px;
}
.cta-final p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ========== CONTACT ========== */
.contact {
  padding: 100px 0;
  background: var(--cream);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__intro {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact__icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact__item strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.contact__item a, .contact__item span {
  font-size: 0.975rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.5;
}
.contact__item a:hover { color: var(--gold-dark); }

.contact__form-wrapper {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--gray-50);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
  background: white;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.form-group--checkbox input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--gold);
}
.form-group--checkbox label {
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0;
}
.form-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 16px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.logo--footer .logo__name { color: white; }
.logo--footer .logo__tagline { color: rgba(255,255,255,0.5); }
.footer__desc {
  margin-top: 20px;
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 280px;
}
.footer__col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.footer__col ul li { margin-bottom: 10px; }
.footer__col a {
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--gold); }
.footer__contact li {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 12px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8125rem;
}
.footer__legal {
  display: flex;
  gap: 24px;
}
.footer__legal a:hover { color: var(--gold); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .domaines__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav.active {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 16px;
    box-shadow: var(--shadow);
  }
  .nav.active .nav__list {
    flex-direction: column;
    align-items: stretch;
  }
  .nav.active .nav__link {
    display: block;
    padding: 14px 16px;
  }
  .nav-toggle { display: flex; }
  .header__phone span { display: none; }
  
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .domaines__grid { grid-template-columns: repeat(2, 1fr); }
  .equipe__grid { grid-template-columns: 1fr; gap: 40px; }
  .equipe__badge { right: 10px; bottom: -10px; }
  .temoignages__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --header-h: 70px; }
  .hero { padding: calc(var(--header-h) + 32px) 0 60px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__contact-bar { flex-direction: column; gap: 14px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .domaines__grid { grid-template-columns: 1fr; }
  .why, .domaines, .methode, .equipe, .temoignages, .faq, .contact { padding: 64px 0; }
  .contact__form-wrapper { padding: 28px 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-final__actions { flex-direction: column; align-items: center; }
  .cta-final__actions .btn { width: 100%; max-width: 320px; }
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== PERFORMANCE ========== */
img, picture { max-width: 100%; height: auto; }
.logo picture, .logo img { width: 48px; height: 48px; flex-shrink: 0; }
.hero__badge picture, .hero__badge img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: white; }

/* Faster initial paint for below-the-fold sections */
.domaines, .methode, .equipe, .temoignages, .faq, .contact, .footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

/* ========== SCROLL REVEAL ANIMATIONS (visible + replayable) ========== */
.reveal {
  opacity: 0;
  transform: translateY(56px);
  transition:
    opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cards: stronger rise + slight scale */
.why-card.reveal,
.domaine-card.reveal,
.temoignage-card.reveal,
.stat.reveal {
  transform: translateY(64px) scale(0.92);
}
.why-card.reveal.is-visible,
.domaine-card.reveal.is-visible,
.temoignage-card.reveal.is-visible,
.stat.reveal.is-visible {
  transform: translateY(0) scale(1);
}

/* Timeline: slide from left */
.timeline__item.reveal {
  transform: translateX(-56px);
  opacity: 0;
}
.timeline__item.reveal.is-visible {
  transform: translateX(0);
  opacity: 1;
}

/* Expert section: opposite directions */
.equipe__photo.reveal {
  transform: translateX(-72px);
  opacity: 0;
}
.equipe__content.reveal {
  transform: translateX(72px);
  opacity: 0;
}
.equipe__photo.reveal.is-visible,
.equipe__content.reveal.is-visible {
  transform: translateX(0);
  opacity: 1;
}

/* Section headers: larger movement */
.section-header.reveal {
  transform: translateY(48px);
}
.section-header.reveal.is-visible {
  transform: translateY(0);
}

/* Contact blocks */
.contact__info.reveal,
.contact__form-wrapper.reveal {
  transform: translateY(48px);
}
.contact__info.reveal.is-visible,
.contact__form-wrapper.reveal.is-visible {
  transform: translateY(0);
}

/* ========== FLOATING WHATSAPP BUTTON ========== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  animation: wa-pulse 2.4s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
  animation: none;
}
.wa-float:active {
  transform: scale(0.96);
}
.wa-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

@keyframes wa-pulse {
  0%, 100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0.15);
  }
}

@media (max-width: 600px) {
  .wa-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
  .wa-float svg {
    width: 28px;
    height: 28px;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .wa-float {
    animation: none;
  }
}
