/* ═══════════════════════════════════════════════
   TEMPLATE VITRINE — styles.css
   ▸ Modifier uniquement les variables dans :root
   ▸ Les composants s'adaptent automatiquement
═══════════════════════════════════════════════ */

/* ── 1. VARIABLES À PERSONNALISER ────────────── */
:root {
  /* Couleurs — à adapter par projet */
  --brand-primary:      #0057A8;   /* couleur principale */
  --brand-primary-dark: #164975;   /* hover / ombre */
  --brand-accent:       #0F8FFF;   /* CTA, highlights */
  --brand-accent-dark:  #80C4FF;   /* hover accent */
  --brand-white:        #FFFFFF;
  --brand-light:        #E6F1FB;   /* fonds clairs */
  --brand-dark:         #00325E;   /* texte sombre, footer */
  --brand-dark-txt:     #1C5B92;
  --brand-bg:           #F6F8F9;   /* fond général */

  /* Fonts — remplacer les noms selon Google Fonts */
  --font-display: 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Espacements */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  3.5rem;
  --space-xl:  5rem;

  /* Rayons */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  /* Ombres */
  --shadow-card:  0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 28px rgba(0,0,0,0.14);

  /* Transition */
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);

  /* Container */
  --container-max: 900px;
}

/* ── 2. RESET ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.65; color: var(--brand-dark); background: var(--brand-bg); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

html {
  font-size: 16px;
}
/* ── 3. CONTAINER ────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

/* ── 4. BOUTONS ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: background-color var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--brand-white);
  color: var(--brand-accent);
}
.btn-primary:hover {
  background: var(--brand-white);
  color: var(--brand-accent);
}

.btn-secondary {
  background: var(--brand-primary-dark);
  color: var(--brand-white);
  padding: var(--space-sm) var(--space-md);
}
.btn-accent {
  background: var(--brand-accent);
  color: var(--brand-white);
}
.btn-accent:hover {
  background: var(--brand-white);
  color: var(--brand-accent);
}
.btn-accent:hover .btn-icon,
.btn-form:hover .btn-icon { transform: translateX(4px); }

.btn-lg { 
  padding: var(--space-sm) var(--space-lg); 
  font-size: 1.1rem; 
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  text-decoration-thickness: 1.5px;
}

.btn-icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--transition); }

.btn-form {
  width: 100%;
  justify-content: center;
  background: var(--brand-accent);
  color: var(--brand-white);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  transition: background-color var(--transition);
}
.btn-form:hover { background: var(--brand-primary); }

.top{
  background: url(src/img/camion-livraison-cslp-international.png);
  background-size: cover;
  background-position: 80% 100%;
  z-index: 1;
}

/* ── 5. HEADER ───────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246,248,249,0.05);
  backdrop-filter: blur(2px);
  border-bottom: 1px solid rgb(246,248,249,0.1) ;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo-container{
  display: flex;
}
.logo-font-nav{
  display: flex;
  flex-direction: column;
  padding: 4px;
  font-size: 0.6rem;
  color: var(--brand-white);
}
.logo { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.icone-nav{
  height: 1rem;
}


/* ── 6. HERO ─────────────────────────────────── */
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  color: var(--brand-white);
  padding-block: var(--space-xl);
}
.container.hero-content {
  /* border: 1px solid #2ecc71; */
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 5vw, 3.5rem);
  line-height: 1.6;
  letter-spacing: -3%;
  margin-bottom: var(--space-sm);
  color: #1C5B92;
}

.hero-title-2{
  color: var(--brand-accent);
}

.hero-title span {
  background-color: var(--brand-white); /* bleu foncé */
  padding: 2px 8px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-subtitle {
  font-size: 1 rem;
  color: var(--brand-white);
  line-height: 1.4;
  max-width: 560px;
  margin-bottom: var(--space-md);
}

.hero-subtitle span {
  background-color: #1C5B92;
  padding: 2px 8px;
}

/* ── 7. SECTIONS COMMUNES ────────────────────── */
.section { 
  padding-block: var(--space-lg); 
}

.section-eyebrow{
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--space-sm);
}
.eyebrow-title{
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 30%;
  font-weight: 500;
  color: var(--brand-accent-dark);
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--space-md);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--brand-white);
}

.section-rule { flex: 1; height: 2px; background: var(--brand-accent-dark); }
.section-rule-form { flex: 1; height: 2px; background: var(--brand-primary); }
.section-rule-zone { flex: 1; height: 2px; background: rgba(35,39,45,0.2); }

.section-intro {
  font-size: 0.875rem;
  line-height: 140%;
  margin-bottom: var(--space-md);
  color: var(--brand-dark);
}

/* ── 8. À PROPOS ─────────────────────────────── */
.about { background: var(--brand-dark); }
.about .section-intro { color: var(--brand-light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: center;
}
.about-image img {
  border-radius: var(--radius-md);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

/* ── 9. SERVICES ─────────────────────────────── */
/* .section.services{
  padding-block: var(--space-lg) ;
} */
.services {
  background: var(--brand-primary-dark);
  border-radius: 60px 60px 0px 0px;
  z-index: 5;
  margin-top: -6%;
}
.services .section-intro { color: var(--brand-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.service-card {
  background: rgba(115,154,192,0.2);
  border: 1px solid rgba(102,153,204,0.5);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  transition: border-color var(--transition), transform var(--transition);
  cursor: pointer;
  filter: drop-shadow(0px 7px 16px rgba(0,0,0,0.1));
}

.service-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  margin-bottom: 1rem;
}
.service-heading{
  display: inline-flex;
  background-color: var(--brand-bg);
  align-items: center;
  gap: 10px;
  padding: var(--space-xs);
  border-radius: 2px;
  margin-bottom: var(--space-xs);
}
.service-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0em;
  color: var(--brand-dark-txt);
}
.service-body { 
  font-size: 0.75rem; 
  color: var(--brand-white); 
  line-height: 1.5;
  font-weight: 300; 
}

/* ── BANDEAU ─────────────────────────── */
.img-container{
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  margin-top: var(--space-lg);
}

.bandeau{
  display: block;
  width: 100%;
}

.overlay{
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: white;
  background: rgba(15,143,255,.4);
}

.big{
  font-size: 4rem;
  font-weight: 700;
}

.small{
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: -7%;
}

/* ── 10. Notre réseau ─────────────────────────── */
.reseau{
  color: var(--brand-primary-dark);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.06em; 
}

.testimonials { background: var(--brand-bg); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.testimonial-card {
  background: var(--brand-white);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  filter: drop-shadow(0px 1px 2px rgba(0,0,0,0.1));
}
.continent{
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-accent);
  padding-bottom: var(--space-xs);
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 140%;
  color: var(--brand-dark);
  letter-spacing: -3%;
}
.author-name {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-primary);
}
.author-role {
  display: block;
  font-size: 0.8rem;
  color: rgba(0,0,0,0.5);
}

/* ── 10. Valeurs ─────────────────────────── */
.valeurs{
    margin-top: 0%;
    background-color: var(--brand-primary-dark);
    z-index: 0;
}
.valeurs .section-intro {
  color: var(--brand-light);
}

.valeur-heading{
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.number{
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--brand-white);
}

.valeur-title{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0em;
  color: var(--brand-white);

}

.valeur-rule { 
  flex: 1; 
  height: 2px; 
  background: var(--brand-white);
  margin-bottom: 0.75rem;
}

/* ── 11. FORMULAIRE ──────────────────────────── */
.contact { background: var(--brand-dark); }
.contact .section-intro { color: var(--brand-light); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}
.form-full { grid-column: 1 / -1; }

.form-field label {
  display: block;
  font-size: 0.8rem;
  color: var(--brand-light);
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.6rem 0.9rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: var(--brand-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--brand-accent); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-field textarea { height: 120px; resize: none; }
.form-field input:disabled,
.form-field textarea:disabled { opacity: 0.5; cursor: not-allowed; }

.form-feedback {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-family: var(--font-display);
  text-align: center;
}
.form-feedback.error { color: #ee5342; font-weight: 700; }
.form-feedback.success { color: #2ecc71; font-weight: 700; }
.form-feedback.loading { color: var(--brand-light); }

/* ── 12. FOOTER ──────────────────────────────── */
.site-footer { background: var(--brand-dark); color: var(--brand-white); padding-block: var(--space-md); }

.footer-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: start;
  margin-bottom: var(--space-md);
}
.footer-logo { height: 40px; margin-bottom: var(--space-md); }

.contact-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: var(--space-sm); }
.contact-list li { display: flex; align-items: flex-start; gap: var(--space-xs); font-size: 0.875rem; color: var(--brand-light); }
.contact-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--brand-light); margin-top: 2px; }

.footer-map iframe { border-radius: var(--radius-lg); border: 2px solid var(--brand-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-links a:hover { color: var(--brand-accent); }

/* ── 13. RESPONSIVE ──────────────────────────── */
@media (max-width: 820px) {
  .services {
    margin-top: -10%;
  }
}

@media (max-width: 768px) {
  .about-grid,
  .footer-body { grid-template-columns: 1fr; }
  .services-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .services {
    margin-top: -15%;
  }
}

@media (max-width: 600px) {
  .logo { height: 36px; }
  .nav a:not(.btn) { display: none; }
  .icone-nav{
    height: 0.9rem;
  }
  .hero {
    padding-block: var(--space-lg);
  }
  .hero-title { font-size: 1.5rem; }
  .hero-subtitle { font-size: 1rem; }
  .btn-hero{
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
  .btn {
    font-size: 0.875rem;
    padding: 5px 10px;
    font-weight: 400;
  }
  .btn-primary {
    font-size: 0.875rem;
    padding: 5px 10px;
    font-weight: 600;
  }
  .btn-secondary{
  padding: var(--space-xs) var(--space-sm);
  } 
  .btn-lg { 
    font-size:0.875rem; 
    padding: var(--space-sm); 
    font-weight: 600;
  }

  .btn-form {
    font-weight: 600;
  }
  .section-rule {
    height: 1px;
  }
  .section-rule-zone { 
    height: 1px; 
  }
  .valeur-rule { 
    height: 1px; 
  }
  .service-title{
    font-size: 0.75rem;
  }

  .form-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-title { 
    font-size: 1.25rem; 
    letter-spacing: 0em;
    line-height: 120%;
  }

  .services {
    margin-top: -20%;
  }

  .testimonial-text {
    font-size: 0.875rem;
  }

  
}

/* ── 14. ANIMATIONS ──────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: fadeInUp 0.7s ease both; }
