/* =============================================
   1pact invest — Charte graphique officielle
   Couleurs extraites du logo : bleu acier #4F7BA4, navy #1D2B3A
   ============================================= */

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

:root {
  /* Palette principale 1pact invest */
  --blue:      #4F7BA4;   /* Bleu acier du trapèze logo */
  --blue-dk:   #3A6189;   /* Bleu foncé hover */
  --blue-lt:   #EEF4FA;   /* Bleu très clair fond */
  --blue-mid:  #6A93B8;   /* Bleu intermédiaire */

  /* Fonds & textes */
  --navy:      #1D2B3A;   /* Navy profond — header, hero */
  --navy-2:    #243446;   /* Navy légèrement plus clair */
  --dark:      #2C3A4A;   /* Texte principal */
  --mid:       #5A6A7A;   /* Texte secondaire */
  --light:     #F5F7FA;   /* Fond gris très clair */
  --border:    #D8E4EF;   /* Bordures */
  --white:     #FFFFFF;

  /* UI */
  --radius:    10px;
  --shadow:    0 4px 20px rgba(29,43,58,0.08);
  --shadow-lg: 0 12px 40px rgba(29,43,58,0.14);
  --transition: 0.22s ease;
  --font:      'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

/* Accessibilité */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.sr-only--focusable:focus {
  position: fixed;
  top: 1rem; left: 1rem;
  width: auto; height: auto;
  clip: auto;
  background: var(--blue);
  color: var(--white);
  padding: .75rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  z-index: 9999;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }

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

/* ---- CONTAINER ---- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: var(--font);
  font-size: .95rem;
  letter-spacing: .2px;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  padding: .75rem 1.6rem;
}
.btn--primary:hover {
  background: var(--blue-dk);
  border-color: var(--blue-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(79,123,164,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
  padding: .75rem 1.6rem;
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn--outline-blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
  padding: .75rem 1.6rem;
}
.btn--outline-blue:hover {
  background: var(--blue);
  color: var(--white);
}
.btn--sm  { padding: .45rem .9rem; font-size: .85rem; }
.btn--lg  { padding: .95rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(29, 43, 58, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav--scrolled {
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav__logo img {
  height: 44px;
  width: auto;
  border-radius: 6px;
  background: var(--white);
  padding: 4px 8px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav__links a {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  font-size: .9rem;
  transition: color var(--transition);
  letter-spacing: .1px;
}
.nav__links a:hover { color: var(--white); }
.nav__links .nav__sep {
  width: 1px; height: 20px;
  background: rgba(255,255,255,0.15);
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: .25rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: var(--navy);
}
.nav__mobile a {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: .95rem;
}
.nav__mobile a:last-child { border-bottom: none; margin-top: .5rem; }
.nav__mobile.open { display: flex; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 70px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(150deg, rgba(19,30,42,0.82) 0%, rgba(29,43,58,0.65) 50%, rgba(26,48,80,0.55) 100%),
    url('https://images.unsplash.com/photo-1549224174-8c0e61705985?auto=format&fit=crop&w=1800&q=85') center 30%/cover no-repeat;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 55%, rgba(79,123,164,0.18) 0%, transparent 65%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(79,123,164,0.18);
  color: #A8C8E8;
  border: 1px solid rgba(79,123,164,0.4);
  padding: .4rem 1.1rem;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero__title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -.5px;
}
.hero__title .accent { color: #7DB5DC; }
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.68);
  margin-bottom: 2.5rem;
  line-height: 1.75;
  max-width: 620px;
}
.hero__cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.hero__tel-line {
  font-size: .9rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
}
.hero__tel {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: color var(--transition), border-color var(--transition);
}
.hero__tel:hover { color: #7DB5DC; border-color: #7DB5DC; }
.hero__trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255,255,255,0.65);
  font-size: .875rem;
  font-weight: 500;
}
.trust-icon { font-size: 1rem; }

/* ---- STATS ---- */
.stats {
  background: var(--blue);
  padding: 2.25rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat { padding: .5rem; }
.stat__number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.5px;
}
.stat__label {
  font-size: .825rem;
  color: rgba(255,255,255,0.78);
  margin-top: .35rem;
  font-weight: 500;
}

/* ---- SECTION SPLIT (photo + texte) ---- */
.section--split {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.split__img {
  position: relative;
  overflow: hidden;
}
.split__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.split__img:hover img { transform: scale(1.03); }
.split__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29,43,58,0.15) 0%, transparent 60%);
}
.split__content {
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
}
.split__content h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.3px;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.split__content h2 em {
  font-style: normal;
  color: #7DB5DC;
}
.split__content p {
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: .97rem;
}
.split__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin: 1.25rem 0 2rem;
}
.split__features li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .93rem;
  color: rgba(255,255,255,0.82);
}
.split__features li::before {
  content: '';
  width: 20px; height: 20px; min-width: 20px;
  background: rgba(79,123,164,0.3);
  border: 1.5px solid var(--blue-mid);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%237DB5DC' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---- SECTION SPLIT INVERSÉE ---- */
.section--split-reverse { grid-template-columns: 1fr 1fr; }
.section--split-reverse .split__img { order: 2; }
.section--split-reverse .split__content {
  order: 1;
  background: var(--light);
  color: var(--dark);
}
.section--split-reverse .split__content h2 { color: var(--navy); }
.section--split-reverse .split__content p { color: var(--mid); }
.section--split-reverse .split__content h2 em { color: var(--blue); }
.section--split-reverse .split__features li { color: var(--mid); }

/* ---- BANDEAU PAYSAGE ---- */
.bandeau {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.bandeau__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(29,43,58,0.88) 0%, rgba(29,43,58,0.6) 55%, rgba(29,43,58,0.35) 100%),
    url('https://images.unsplash.com/photo-1574015098562-14cb0478b832?auto=format&fit=crop&w=1800&q=85') center/cover no-repeat;
  transform: scale(1.03);
  transition: transform 8s ease;
}
.bandeau:hover .bandeau__bg { transform: scale(1); }
.bandeau__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 4rem 0;
}
.bandeau__content blockquote {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 1rem;
  letter-spacing: -.2px;
}
.bandeau__content blockquote span {
  color: #7DB5DC;
}
.bandeau__content cite {
  display: block;
  font-size: .9rem;
  color: rgba(255,255,255,0.6);
  font-style: normal;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
/* ---- PHOTO CARDS (biens) ---- */
.types-grid--visual {
  grid-template-columns: repeat(3, 1fr);
}
.type-card--visual {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy);
  text-align: left;
  position: relative;
  cursor: pointer;
}
.type-card--visual:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.type-card__photo {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.type-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.type-card--visual:hover .type-card__photo img { transform: scale(1.07); }
.type-card__photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(29,43,58,0.7), transparent);
}
.type-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.type-card--visual h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.type-card--visual p { color: rgba(255,255,255,0.65); font-size: .875rem; }
.type-card__cta {
  display: inline-block;
  margin-top: .75rem;
  font-size: .82rem;
  font-weight: 700;
  color: #7DB5DC;
  letter-spacing: .3px;
  transition: color var(--transition);
}
.type-card--visual:hover .type-card__cta { color: var(--white); }
.type-card--visual:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 3px;
}

/* ---- GARANTIES ---- */
.garanties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.garantie-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}
.garantie-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(79,123,164,0.5);
  transform: translateY(-2px);
}
.garantie-card__picto {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.garantie-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}
.garantie-card p {
  font-size: .875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}
.garantie-card strong { color: rgba(255,255,255,0.9); }

/* ---- PORTAILS ---- */
.portails {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2.5rem;
  text-align: center;
}
.portails__label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.portails__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.portail {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: .85rem;
  font-weight: 700;
  padding: .55rem 1.25rem;
  border-radius: 100px;
  letter-spacing: .3px;
  transition: all var(--transition);
}
.portail:hover {
  background: rgba(79,123,164,0.25);
  border-color: var(--blue-mid);
  color: var(--white);
}

/* ---- TÉMOIGNAGES VISUELS ---- */
.testimonials--visual {
  position: relative;
  padding: 5rem 0;
  background:
    linear-gradient(rgba(29,43,58,0.92), rgba(29,43,58,0.92)),
    url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat fixed;
  color: var(--white);
}
.testimonials--visual .section__header h2 { color: var(--white); }
.testimonials--visual .section__header p { color: rgba(255,255,255,0.65); }
.testimonials--visual .testimonial {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.testimonials--visual .testimonial::before { color: rgba(255,255,255,0.08); }
.testimonials--visual .testimonial blockquote p { color: rgba(255,255,255,0.8); }
.testimonials--visual .testimonial__author { color: rgba(255,255,255,0.55); }
.testimonials--visual .testimonial__stars { color: #7DB5DC; }

/* ---- DIVIDER ---- */
.divider {
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-mid) 50%, transparent 100%);
  opacity: .35;
}

/* ---- SECTIONS ---- */
.section { padding: 5rem 0; }
.section--alt { background: var(--light); }
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--contact {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
}
.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section__tag {
  display: inline-block;
  background: var(--blue-lt);
  color: var(--blue-dk);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.section--dark .section__tag,
.section--contact .section__tag {
  background: rgba(79,123,164,0.2);
  color: #A8C8E8;
}
.section__header h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.3px;
  margin-bottom: .75rem;
}
.section--dark .section__header h2,
.section--contact .section__header h2 { color: var(--white); }
.section__header p {
  color: var(--mid);
  font-size: 1rem;
  line-height: 1.7;
}
.section--dark .section__header p,
.section--contact .section__header p { color: rgba(255,255,255,0.65); }

/* ---- CARDS POURQUOI ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 48px; height: 48px;
  background: var(--blue-lt);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--navy); }
.card p  { color: var(--mid); font-size: .9rem; line-height: 1.65; }

/* ---- ZONE ---- */
.zone__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.zone__map-placeholder {
  position: relative;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: var(--radius);
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.map__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.map__pin-group {
  position: relative;
  z-index: 2;
  text-align: center;
}
.map__center-pin { position: relative; display: inline-block; }
.pin-dot {
  width: 14px; height: 14px;
  background: var(--blue-mid);
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 0 0 4px rgba(79,123,164,0.3);
}
.pin-ripple {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(79,123,164,0.12);
  animation: ripple 2.2s infinite;
}
@keyframes ripple {
  0%   { transform: translate(-50%,-50%) scale(.5); opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(2.8); opacity: 0; }
}
.pin-label {
  display: block;
  margin-top: .75rem;
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.4;
}
.zone__dept-label {
  position: absolute;
  bottom: 1rem; right: 1rem;
  color: rgba(255,255,255,0.3);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.zone__communes h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.communes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.commune {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .9rem;
  color: var(--mid);
}
.commune em { font-size: .82rem; color: #8A9EAF; }
.commune--priority { color: var(--dark); font-weight: 600; }
.commune__dot {
  width: 7px; height: 7px; min-width: 7px;
  border-radius: 50%;
  background: var(--border);
  margin-top: .45rem;
}
.commune__dot--main { background: var(--blue); }

/* ---- STEPS ---- */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}
.step__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  font-size: 1.4rem;
  padding: 0 .25rem;
  margin-top: 1.5rem;
  flex-shrink: 0;
}
.step h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.step p  { font-size: .875rem; color: var(--mid); line-height: 1.65; }

/* ---- TYPES ---- */
.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.type-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: all var(--transition);
  text-align: center;
}
.type-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79,123,164,0.1);
  transform: translateY(-2px);
}
.type-card__icon { font-size: 2.2rem; margin-bottom: .75rem; }
.type-card h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.type-card p  { font-size: .85rem; color: var(--mid); line-height: 1.6; }

/* ---- TESTIMONIALS ---- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--blue-lt);
  font-family: Georgia, serif;
}
.testimonial__stars { color: #4F7BA4; font-size: 1rem; margin-bottom: .75rem; }
.testimonial blockquote {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--mid);
  font-style: italic;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.testimonial__author {
  font-size: .82rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: .1px;
}

/* ---- CONTACT ---- */
.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact__info h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -.3px;
}
.contact__info p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
  line-height: 1.75;
  font-size: .95rem;
}
.contact__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact__icon {
  width: 38px; height: 38px; min-width: 38px;
  background: rgba(79,123,164,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact__list strong {
  display: block;
  font-size: .75rem;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: .15rem;
}
.contact__list a, .contact__list span {
  color: var(--white);
  font-size: .95rem;
  font-weight: 500;
}
.contact__list a:hover { color: var(--blue-mid); }

/* ---- FORMULAIRE ---- */
.contact__form {
  background: var(--white);
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: .9rem;
}
.form-group label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: 7px;
  padding: .7rem .95rem;
  font-family: var(--font);
  font-size: .92rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79,123,164,0.15);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #C53030; }
.form-group--check {
  flex-direction: row;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: 1.25rem;
}
.form-group--check input[type="checkbox"] {
  margin-top: .2rem;
  flex-shrink: 0;
  width: 16px; height: 16px;
  accent-color: var(--blue);
}
.form-group--check label {
  font-size: .82rem;
  font-weight: 400;
  color: var(--mid);
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: 0;
}
.form-success {
  display: none;
  margin-top: 1rem;
  background: #EBF8FF;
  color: #2C5282;
  border: 1px solid #BEE3F8;
  border-radius: 7px;
  padding: .9rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
}
.form-success.visible { display: block; }

/* ---- FAQ ---- */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 1.2rem 1.5rem;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition);
}
.faq__q:hover { background: var(--blue-lt); }
.faq__q[aria-expanded="true"] { background: var(--blue-lt); color: var(--blue-dk); }
.faq__arrow {
  color: var(--blue);
  font-size: 1.1rem;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq__q[aria-expanded="true"] .faq__arrow { transform: rotate(180deg); }
.faq__a { padding: 0 1.5rem 1.2rem; background: var(--blue-lt); }
.faq__a[hidden] { display: none; }
.faq__a p { color: var(--mid); font-size: .9rem; line-height: 1.75; }

/* ---- FOOTER ---- */
.footer { background: var(--navy); color: rgba(255,255,255,0.55); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 1.5rem 3rem;
}
.footer__brand img {
  height: 44px;
  width: auto;
  border-radius: 6px;
  background: var(--white);
  padding: 4px 8px;
  margin-bottom: .85rem;
}
.footer__brand p { font-size: .875rem; line-height: 1.65; }
.footer__links, .footer__contact {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.footer__links h4, .footer__contact h4 {
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.footer__links a, .footer__contact a, .footer__contact span {
  font-size: .875rem;
  transition: color var(--transition);
}
.footer__links a:hover, .footer__contact a:hover { color: var(--blue-mid); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 1.5rem;
}
.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer__bottom span { font-size: .82rem; }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { font-size: .82rem; transition: color var(--transition); }
.footer__legal a:hover { color: var(--blue-mid); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .garanties-grid { grid-template-columns: repeat(2, 1fr); }
  .section--split,
  .section--split-reverse { grid-template-columns: 1fr; min-height: auto; }
  .section--split .split__img,
  .section--split-reverse .split__img { height: 300px; order: 0; }
  .section--split-reverse .split__content { order: 1; }
  .split__content { padding: 2.5rem 2rem; }
  .types-grid--visual { grid-template-columns: repeat(2, 1fr); }
  .cards-grid, .types-grid, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .zone__wrapper { grid-template-columns: 1fr; }
  .zone__map-placeholder { height: 260px; }
  .contact__wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .step__arrow { display: none; }
  .steps { flex-wrap: wrap; gap: 1rem; }
  .step { min-width: 45%; }
}
@media (max-width: 640px) {
  .garanties-grid { grid-template-columns: 1fr; }
  .types-grid--visual { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .cards-grid, .types-grid, .testimonials { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .hero__cta-group { flex-direction: column; }
  .hero__cta-group .btn { width: 100%; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact__form { padding: 1.5rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .steps { flex-direction: column; }
  .step { min-width: 100%; }
  .footer__bottom .container { flex-direction: column; align-items: flex-start; }
  .hero__trust { gap: 1rem; }
}
