/* === VARIABLES === */
:root {
  /* Couleurs - palette bleu clair & blanc (a ajuster avec le logo) */
  --color-primary: #2196F3;
  --color-primary-dark: #1565C0;
  --color-primary-light: #BBDEFB;
  --color-primary-bg: #E3F2FD;
  --color-white: #FFFFFF;
  --color-text: #1A1A2E;
  --color-text-light: #5A5A7A;
  --color-bg: #F8FAFF;
  --color-border: #E0E7F1;

  /* Typographie */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Espacements */
  --section-padding: 5rem 0;
  --container-width: 1200px;
  --gap: 2rem;
  --radius: 12px;

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

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

/* === TITRES DE SECTION === */
.section__title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.section__subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.125rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === BOUTONS === */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

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

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

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

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

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

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

.header__logo img {
  height: 60px;
  width: auto;
}

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

.nav__link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  transition: color 0.3s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--color-primary);
}

.nav__link--cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
}

.nav__link--cta::after {
  display: none;
}

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

/* Burger menu */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: linear-gradient(135deg, var(--color-primary-bg) 0%, var(--color-white) 100%);
  overflow: hidden;
}

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

.hero__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.hero__title span {
  color: var(--color-primary);
}

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

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

.hero__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero__background {
  position: relative;
  right: auto;
  top: auto;
  transform: none;
  width: 50%;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  opacity: 1;
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* === SERVICES === */
.services {
  padding: var(--section-padding);
  background: var(--color-white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.card--service {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
}

.card--service:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.card__icon {
  width: 100%;
  height: 200px;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
}

.card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card__icon img:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox--open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.card__text {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

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

.card__tags li {
  background: var(--color-primary-bg);
  color: var(--color-primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* === AVANTAGES === */
.avantages {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.avantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.avantage {
  text-align: center;
  padding: 2rem 1.5rem;
}

.avantage__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.avantage__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.avantage__text {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === ZONES === */
.zones {
  padding: var(--section-padding);
  background: var(--color-white);
}

.zones__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.zone {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--color-bg);
  border-radius: var(--radius);
}

.zone__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.zone__cities {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === TEMOIGNAGES === */
.temoignages {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.temoignages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.temoignage {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.temoignage__stars {
  color: #F59E0B;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.temoignage__text {
  font-style: italic;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  border: none;
  padding: 0;
}

.temoignage__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.temoignage__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary-light);
  flex-shrink: 0;
}

.temoignage__name {
  font-weight: 600;
  font-size: 0.95rem;
}

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

/* === CONTACT === */
.contact {
  padding: var(--section-padding);
  background: var(--color-white);
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--color-bg);
  border-radius: var(--radius);
}

.contact__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact__label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}

.contact__value {
  font-weight: 500;
  color: var(--color-text);
}

.contact__value:hover {
  color: var(--color-primary);
}

/* Formulaire de contact */
.form__hp {
  position: absolute;
  left: -9999px;
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__submit {
  width: 100%;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

.form__message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.form__message--success {
  background: #e8f5e9;
  color: #2e7d32;
}

.form__message--error {
  background: #fce4ec;
  color: #c62828;
}

.zones__iframe {
  border: 0;
  border-radius: var(--radius);
  width: 100%;
}

/* === FOOTER === */
.footer {
  background: var(--color-text);
  color: var(--color-white);
  padding: 3rem 0 1.5rem;
}

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

.footer__brand {
  grid-column: 1;
}

.footer__brand img {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(10);
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__links,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links h4,
.footer__contact h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--color-primary-light);
}

.footer__contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer__legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer__legal p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 768px) {
  .section__title {
    font-size: 1.75rem;
  }

  .header__nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .header__nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .header__burger {
    display: flex;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero {
    min-height: 70vh;
  }

  .hero__inner {
    flex-direction: column-reverse;
  }

  .hero__background {
    width: 100%;
  }

  .services__grid,
  .avantages__grid,
  .temoignages__grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__brand {
    grid-column: 1;
  }

  .footer__legal {
    grid-column: 1;
  }
}

/* Mobile small */
@media (max-width: 375px) {
  .hero__title {
    font-size: 1.75rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    text-align: center;
    width: 100%;
  }
}
