/* -------------------------------------------------------------------------- */
/* VARIABLES CSS - Palette et espacements modernes pour 2025 */
/* -------------------------------------------------------------------------- */
:root {
  --primary: #15426c;
  --primary-dark: #4e73c7;
  --primary-light: #795b95;
  --secondary: #f0c987;
  --secondary-dark: #d4a04d;
  --secondary-light: #5a5137;
  --accent: #a8d8ea;
  --accent-dark: #7ab4c7;
  --accent-light: #c1e4f0;
  --text: #f9f8f8;
  --text-light: #0c0707;
  --text-muted: #0e0707;
  --text-on-primary: #fff;
  --text-on-accent: #894444;
  --bg: #ff7aa5;
  --bg-light: #eb8d8d;
  --border: #e0e0e0;
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Quicksand", sans-serif;
  --font-display: "DM Serif Display", serif;
  --spacing-unit: 1rem;
  --spacing-md: calc(var(--spacing-unit) * 1.5);
  --spacing-lg: calc(var(--spacing-unit) * 2);
  --spacing-xl: calc(var(--spacing-unit) * 3);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-pill: 50px;
  --shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* -------------------------------------------------------------------------- */
/* RÉINITIALISATION ET STYLES DE BASE */
/* -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  color: var(--text);
  line-height: 1.7;
  background-color: var(--bg);
  overflow-x: hidden; /* Empêche le scroll horizontal */
  scroll-behavior: smooth; /* Navigation fluide entre les sections */
}

.site {
  max-width: 1300px; /* Plus large pour un design moderne */
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* -------------------------------------------------------------------------- */
/* HEADER - Moderne et épuré */
/* -------------------------------------------------------------------------- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--spacing-lg);
  position: sticky; /* Rend le header fixe en haut */
  top: 0;
  background-color: var(--bg); /* Fond pour éviter la transparence */
  z-index: 1000;
  backdrop-filter: blur(10px); /* Effet de flou derrière le header */
  -webkit-backdrop-filter: blur(10px); /* Pour Safari */
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.brand-logo-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}
.brand-logo-link:hover {
  transform: scale(1.05);
}

.brand-logo img {
  width: 60px; /* Plus petite pour un header moderne */
  height: 60px;
  border-radius: var(--radius-sm); /* Coins légèrement arrondis */
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--font-secondary);
  color: var(--text-muted);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Navigation */
.primary {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: var(--spacing-md);
  margin-left: var(--spacing-lg);
}

.menu-toggle {
  display: none; /* Caché par défaut, visible sur mobile */
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.menu-toggle:hover {
  background-color: var(--primary-light);
}
.hamburger-icon {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  position: relative;
  transition: background-color 0.3s ease;
}
.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  transition: transform 0.3s ease;
}
.hamburger-icon::before {
  top: -8px;
}
.hamburger-icon::after {
  bottom: -8px;
}

/* Style pour le menu ouvert (utilisé avec JS) */
.menu-toggle[aria-expanded="true"] .hamburger-icon {
  background-color: transparent;
}
.menu-toggle[aria-expanded="true"] .hamburger-icon::before {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger-icon::after {
  transform: translateY(-8px) rotate(-45deg);
}

/* -------------------------------------------------------------------------- */
/* BOUTONS - Style 2025, plus doux et engageants */
/* -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.8rem var(--spacing-md);
  border-radius: var(--radius-pill); /* Boutons arrondis */
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.02em; /* Légèrement espacé */
  cursor: pointer;
  border: none; /* Par défaut, pas de bordure pour les boutons primaires/accents */
  text-align: center;
  white-space: nowrap; /* Pour éviter le retour à la ligne */
}

.btn--primary {
  background-color: var(--primary);
  color: var(--text-on-primary);
}
.btn--primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 6px 15px rgba(74, 108, 90, 0.3); /* Ombre plus prononcée */
  transform: translateY(-3px);
}

.btn--accent {
  background-color: var(--accent);
  color: var(--text-on-accent);
}
.btn--accent:hover {
  background-color: var(--accent-dark);
  box-shadow: 0 6px 15px rgba(122, 180, 199, 0.3);
  transform: translateY(-3px);
}

.btn--ghost {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--ghost:hover {
  background-color: var(--primary-light);
  color: var(--text);
  transform: translateY(-3px);
}

.submit {
  /* Bouton d'envoi de formulaire */
  background-color: var(--secondary); /* Bouton distinctif */
  color: var(--text);
  padding: 0.9rem var(--spacing-lg);
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  border-radius: 50px;
}
.submit:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(212, 160, 77, 0.3);
}

/* CTAs dans le hero */
.ctas {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

/* -------------------------------------------------------------------------- */
/* HERO SECTION - Visuel immersif et texte clair */
/* -------------------------------------------------------------------------- */
.hero {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  padding: 3rem 0;
  min-height: 70vh; /* Hauteur minimum pour un impact visuel */
  position: relative; /* Pour positionner le contenu */
  overflow: hidden; /* Important pour les effets */
}

.hero-content {
  flex: 1;
  max-width: 580px;
  background-color: rgba(
    255,
    255,
    255,
    0.85
  ); /* Légèrement transparent pour laisser voir l'arrière-plan */
  padding: var(--spacing-lg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px); /* Effet de flou sur le contenu */
  -webkit-backdrop-filter: blur(15px);
  z-index: 2; /* S'assure que le contenu est au-dessus de l'image */
}

.kicker {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary); /* Texte dans la couleur primaire */
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.03em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3rem; /* Plus grand pour un impact */
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  line-height: 1.15;
  color: var(--primary);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); /* Légère ombre pour la lisibilité */
}

.lead {
  margin-bottom: var(--spacing-lg);
  color: var(--text-light);
  font-size: 1.1rem;
  opacity: 0.9;
}

.visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0; /* Supprimer le rayon pour couvrir tout le header */
}

.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Assure que l'image couvre bien l'espace */
  display: block;
  filter: brightness(0.8) contrast(1.1); /* Ajustement pour une ambiance plus douce */
}

/* -------------------------------------------------------------------------- */
/* SECTIONS GÉNÉRALES - Espacement et titres impactants */
/* -------------------------------------------------------------------------- */
.section {
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg) 0;
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem; /* Titres plus grands */
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
  text-align: center;
  letter-spacing: -0.02em; /* Légère décélération pour les titres */
}

.section-lead {
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  text-align: center;
  font-size: 1.1rem;
  margin-left: auto;
  margin-right: auto;
}

/* Cartes communes */
.card {
  background: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.card--flat {
  /* Pour des cartes sans ombre/bordure, comme dans le contact */
  border-radius: 0;
  box-shadow: none;
  border: none;
  background: transparent;
}
.card--flat:hover {
  transform: none;
  box-shadow: none;
}

/* -------------------------------------------------------------------------- */
/* SECTION NOS ESPACES - Carrousel visuel */
/* -------------------------------------------------------------------------- */
.grid-tiles {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  ); /* Responsive grid */
  gap: var(--spacing-lg);
  margin-top: var(--spacing-md);
}

.tile {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pour que le contenu soit bien espacé */
}
.tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tile img {
  width: 100%;
  max-height: 250px; /* Limite la hauteur de l'image */
  object-fit: cover; /* Pour que l'image soit bien coupée */
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-md);
  display: block;
}

.tile h3 {
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
  font-size: 1.4rem;
  font-family: var(--font-secondary);
  font-weight: 700;
}

.tile p.muted {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: auto; /* Pousse le texte vers le bas si le contenu est court */
}

/* -------------------------------------------------------------------------- */
/* SECTION NOS ASSISTANTES - Portraits professionnels */
/* -------------------------------------------------------------------------- */
.assistantes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-md);
}

.assistante-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.assistante-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.assistante-img-wrapper {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 5px solid var(--primary-light); /* Bordure plus subtile */
  margin-bottom: var(--spacing-md);
  position: relative; /* Pour le pseudo-élément */
  display: flex;
  justify-content: center;
  align-items: center;
}
.assistante-img-wrapper::before {
  /* Effet de halo subtil */
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  opacity: 0.5;
  animation: pulse 2s infinite ease-in-out; /* Animation de pulsation */
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.3;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.6;
  }
}

.assistante-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  position: relative; /* Pour assurer que l'image est au-dessus du halo */
  z-index: 2;
}

.assistante-body {
  width: 100%;
}

.assistante-card .name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-secondary);
}

.assistante-card .role {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.assistante-card .desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* -------------------------------------------------------------------------- */
/* SECTION CONTACT - Design moderne avec formulaire épuré */
/* -------------------------------------------------------------------------- */
.contact-section {
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--accent-light) 100%
  ); /* Gradient subtil */
  padding: var(--spacing-xl) 0;
  border-radius: var(--radius);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}
.contact-content-wrapper {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  padding: 0 var(--spacing-md); /* Ajoute de la marge sur les côtés */
}
.contact-section .section-title {
  color: var(--primary-dark); /* Titre plus sombre sur le gradient */
}
.contact-section .section-lead {
  color: var(--text-light);
  opacity: 0.9;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Formulaire légèrement plus grand */
  gap: var(--spacing-xl);
  margin-top: var(--spacing-md);
  padding: 0 var(--spacing-md);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) 0;
  font-size: 1.1rem;
}

.contact-item .icon {
  font-size: 1.8rem; /* Icones plus grandes */
  color: var(--accent-dark);
  background-color: var(--accent-light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.contact-item:hover .icon {
  transform: scale(1.1);
  background-color: var(--accent);
}

.contact-item strong {
  color: var(--primary-dark);
  font-size: 1.15rem;
  display: block; /* Met le label sur une ligne */
  margin-bottom: 0.2rem;
}

.contact-item .muted {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.map-container {
  margin-top: var(--spacing-md);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  border: none;
  display: block; /* Pour éviter les espaces blancs */
}

.contact-form {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Formulaire */
.form-row {
  margin-bottom: var(--spacing-md);
}

.form-row.two {
  display: flex;
  gap: var(--spacing-md);
}

.form-row > div {
  flex: 1;
}

label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  padding: 0.9rem var(--spacing-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--text);
  background-color: var(--bg); /* Fond léger */
}
input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(106, 143, 123, 0.3); /* Ombre focus subtile */
}

textarea {
  resize: vertical;
  min-height: 140px; /* Hauteur plus grande */
}

.form-actions {
  margin-top: var(--spacing-lg);
  text-align: center;
}

/* -------------------------------------------------------------------------- */
/* FOOTER - Moderne et informatif */
/* -------------------------------------------------------------------------- */
footer {
  text-align: center;
  padding: var(--spacing-lg) 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: var(--spacing-xl);
}

footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Permet le retour à la ligne sur petit écran */
  gap: var(--spacing-md);
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
footer a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/* RESPONSIVE DESIGN - Adaptations pour tous les écrans */
/* -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero {
    flex-direction: column-reverse; /* Image en bas, contenu en haut */
    min-height: auto; /* Ajuste la hauteur */
    padding: 2rem 0;
  }
  .hero-content {
    max-width: 100%;
    margin-top: var(--spacing-lg);
    background-color: rgba(255, 255, 255, 0.9); /* Fond plus opaque */
    backdrop-filter: none; /* Pas besoin de flou ici */
  }
  .visual {
    position: relative; /* L'image n'est plus en position absolue */
    height: 400px; /* Hauteur fixe pour l'image */
  }
  .visual img {
    filter: brightness(0.9); /* Ajustement pour rester agréable */
  }
  .hero-title {
    font-size: 2.5rem; /* Titre légèrement réduit */
  }
  .ctas {
    flex-wrap: wrap; /* Les boutons se placent les uns sous les autres si besoin */
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr; /* Une seule colonne */
  }
  .contact-form {
    order: 1; /* Le formulaire vient après les infos */
  }
  .contact-info {
    order: 2;
  }
}

@media (max-width: 768px) {
  .header {
    padding: var(--spacing-md) 0;
  }
  .brand-logo img {
    width: 50px;
    height: 50px;
  }
  .brand-title {
    font-size: 1.5rem;
  }

  .menu-toggle {
    display: block; /* Afficher le bouton menu */
  }

  .nav-list {
    display: none; /* Caché par défaut */
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: var(--spacing-lg) 0;
    background: var(--bg-light);
    position: absolute;
    top: 100%; /* S'affiche juste en dessous du header */
    left: 0;
    border-radius: 0 0 var(--radius) var(--radius); /* Arrondi en bas */
    box-shadow: var(--shadow);
    backdrop-filter: blur(5px); /* Petit flou pour le menu */
    -webkit-backdrop-filter: blur(5px);
  }

  .nav-list.active {
    display: flex; /* Afficher le menu quand actif */
  }
  .nav-list a {
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: center;
    border-radius: 0; /* Pas d'arrondi sur les liens du menu */
    border-bottom: 1px solid var(--border); /* Séparateur entre les liens */
  }
  .nav-list a:last-child {
    border-bottom: none;
  }
  .nav-list a:hover {
    background-color: var(--primary-light);
    transform: none;
  }

  .section-title {
    font-size: 2rem;
  }
  .section-lead {
    font-size: 1rem;
  }

  .form-row.two {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .btn {
    width: 100%; /* Boutons pleine largeur */
    margin-bottom: var(--spacing-md);
  }
  .ctas {
    flex-direction: column;
  }
}
