/* ==========================================================================
   VARIABLES DE COULEURS & DESIGN SYSTEM
   ========================================================================== */
:root {
  --primary-teal: #0d7c7b;        /* Vert Sarcelle principal */
  --primary-teal-hover: #0a6362;  /* Teal plus foncé au survol */
  --text-dark: #1e293b;           /* Bleu très foncé / Noir pour le texte principal */
  --text-muted: #64748b;          /* Gris pour les sous-titres et descriptions */
  --bg-light-gray: #f1f5f9;       /* Fond des blocs gris clair */
  --border-color: #e2e8f0;        /* Couleurs des bordures/séparateurs */
  --white: #ffffff;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   RESET ET STYLES DE BASE
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: #f8fafc;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--white);
}

/* ==========================================================================
   HEADER / LOGO
   ========================================================================== */
header {
  margin-bottom: 40px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  /*background-color: var(--primary-teal);*/
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

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

.logo-title {
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.5px;
  color: #0d7c7b;
}

/* Cible uniquement la classe .france dans le titre */
.logo-title .france {
  color: #1e293b;
}

.logo-subtitle {
  font-size: 0.55rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   SECTION HERO (TEXTE + IMAGE)
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.hero-title span {
  color: var(--primary-teal);
  display: block;
}

.accent-line {
  width: 40px;
  height: 3px;
  background-color: var(--primary-teal);
  margin-bottom: 24px;
}

.hero-description p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.hero-features {
  display: flex;
  gap: 78px;
  margin-top: 28px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-item i {
  font-size: 1rem;
}

.hero-image-container {
  position: relative;
}

.hero-image {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   SECTION FONCTIONNALITÉS (6 COLONNES)
   ========================================================================== */
.features-section {
  margin-bottom: 50px;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.grid-card {
  text-align: center;
  padding: 0 8px;
  position: relative;
}

/* Trait vertical entre les cartes */
.grid-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: var(--border-color);
}

.card-icon-wrapper {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--primary-teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  color: var(--primary-teal);
  font-size: 1.2rem;
}

.card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.2;
}

.card-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   SECTION BANNIÈRE TÉLÉCHARGEMENT
   ========================================================================== */
.cta-banner {
  background-color: var(--bg-light-gray);
  border-radius: 12px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
  position: relative;
}

/*.preview-doc {
  width: 140px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.doc-mini-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-teal);
}

.doc-mini-sub {
  font-size: 0.5rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.doc-mini-desc {
  font-size: 0.45rem;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.doc-mini-footer {
  font-size: 0.4rem;
  font-weight: 700;
  color: var(--text-dark);
}
*/
/* Container reduit (format plaquette miniature) */
.preview-doc {
  position: relative;
  width: 210px;  /* Reduit de 280px a 210px */
  height: 285px; /* Reduit de 380px a 285px */
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  padding: 22px 18px 18px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  overflow: hidden;
  flex-shrink: 0;
}

/* Bande verticale d'accentuation */
.doc-accent-bar {
  position: absolute;
  top: 30px;
  left: 10px;
  width: 9px;
  height: 80px;
  background-color: #c2e2e0;
  border-radius: 2px;
}

/* Corps interne */
.doc-body {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* En-tete */
.doc-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #0d7c7b;
  line-height: 1.1;
  margin-bottom: 4px;
}
span.france{
  color: #1e293b;
}

.doc-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.58rem;
  color: #475569;
  line-height: 1.3;
  font-weight: 500;
}

/* Partie centrale */
.doc-middle {
  margin-top: 35px;
}

.doc-desc-title {
  font-size: 0.6rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3px;
  line-height: 1.2;
}

.doc-features {
  font-size: 0.55rem;
  font-weight: 600;
  color: #0d7c7b;
  margin-top: 10px;
}
/* Pied de la carte / Logo adapté */
.doc-footer {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.doc-logo-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

.doc-logo-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.doc-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.doc-logo-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0d7c7b;
  letter-spacing: -0.2px;
}

.doc-logo-title .france {
  color: #1e293b; /* Couleur sombre/noire pour FRANCE comme dans le logo principal */
}

/* Flèche SVG courbe */
.cta-arrow {
  width: 70px;
  height: 40px;
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 25px;
}

.cta-arrow svg {
  width: 100%;
  height: 100%;
}

.cta-content {
  flex-grow: 1;
}

.cta-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.cta-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
  max-width: 500px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary-teal);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease;
}

.btn-download:hover {
  background-color: var(--primary-teal-hover);
}

.cta-footnote {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ==========================================================================
   SECTION CONTACT / FOOTER
   ========================================================================== */
.contact-section {
  margin-top: 20px;
}

.contact-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  position: relative;
  display: block; /* Passage en block pour occuper toute la largeur */
}

.contact-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 30px;
  height: 2px;
  background-color: var(--primary-teal);
}

.contact-card {
  background-color: var(--bg-light-gray);
  border-radius: 8px;
  padding: 20px;
  display: grid; /* Passé de inline-grid à grid pour descendre naturellement */
  grid-template-columns: auto auto;
  column-gap: 40px;
  row-gap: 12px;
  align-items: center;
  margin-top: 15px; /* Espace entre le titre et la carte */
  width: fit-content; /* S'adapte au contenu (ou mettez 100% si vous voulez qu'elle prenne toute la largeur) */
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-item i {
  color: var(--primary-teal);
  font-size: 1rem;
}

.contact-item strong {
  color: var(--primary-teal);
  font-weight: 700;
}

.contact-item a {
  color: var(--primary-teal);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobiles & Tablettes)
   ========================================================================== */
@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 25px;
  }

  .grid-card:not(:last-child)::after {
    display: none;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .cta-text {
    max-width: 100%;
  }

  .cta-arrow{
    display: none;
  }

  .contact-card {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

@media (max-width: 550px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-features {
    flex-direction: column;
    gap: 10px;
  }
}
/* ==========================================================================
   RESPONSIVE DESIGN (Tablettes & Mobiles)
   ========================================================================== */

/* --- TABLETTES (Moins de 992px) --- */
@media (max-width: 992px) {
  .cta-banner {
    flex-direction: column; /* Empile le document et le texte verticalement */
    align-items: center;
    text-align: center;
    gap: 30px;
    padding: 40px 20px;
  }

  /* Maintenir le texte de la carte preview calé à gauche */
  .preview-doc,
  .preview-doc * {
    text-align: left !important;
  }

  .cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .btn-download {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* --- MOBILES (Moins de 576px) --- */
@media (max-width: 576px) {
  /* Ajustement de la carte document pour les petits écrans */
  .preview-doc {
    width: 190px;
    height: 260px;
    padding: 18px 14px 14px 22px;
    text-align: left !important;
  }

  .doc-accent-bar {
    top: 24px;
    left: 8px;
    width: 7px;
    height: 70px;
  }

  .doc-title {
    font-size: 1.1rem;
    text-align: left !important;
  }

  .doc-subtitle {
    font-size: 0.62rem;
    text-align: left !important;
  }

  .doc-middle {
    margin-top: 20px;
    text-align: left !important;
  }

  .doc-desc-title {
    font-size: 0.55rem;
    text-align: left !important;
  }

  .doc-features {
    font-size: 0.5rem;
    text-align: left !important;
  }

  .doc-footer {
    justify-content: flex-start !important;
  }

  .doc-logo-icon img {
    width: 18px;
    height: 18px;
  }

  .doc-logo-title {
    font-size: 0.68rem;
    text-align: left !important;
  }

  /* Ajustements des textes du CTA sur mobile */
  .cta-title {
    font-size: 1.4rem;
  }

  .cta-text {
    font-size: 0.9rem;
  }
}