/* =========================================
   LA FORCL'UP — STYLESHEET
   ========================================= */

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

:root {
  --navy:        #1a2e4a;
  --navy-mid:    #243d61;
  --blue:        #2563eb;
  --blue-light:  #dbeafe;
  --teal:        #0d9488;
  --teal-light:  #ccfbf1;
  --violet:      #7c3aed;
  --violet-light:#ede9fe;
  --amber:       #d97706;
  --amber-light: #fef3c7;
  --bg:          #f4f7fb;
  --white:       #ffffff;
  --text:        #1e293b;
  --text-muted:  #64748b;
  --border:      #e2e8f0;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.12);
  --radius:      12px;
  --radius-lg:   20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

ul { list-style: none; }

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

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   HEADER
   ========================================= */
.header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  transition: opacity .2s;
}

.logo:hover { opacity: .85; }

.logo img {
  height: 40px;
  width: auto;
  background: var(--white);
  border-radius: 8px;
  padding: 4px 10px;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav__link {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}

.nav__link:hover {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.nav__link--active {
  color: var(--white);
  background: rgba(255,255,255,.12);
}

/* =========================================
   HERO
   ========================================= */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1e4480 100%);
  padding: 96px 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(96,165,250,.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__inner {
  text-align: center;
  padding-bottom: 64px;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  background: rgba(96,165,250,.18);
  border: 1px solid rgba(96,165,250,.35);
  color: #93c5fd;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__title--accent {
  color: #60a5fa;
}

.hero__desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.72);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__wave {
  height: 80px;
  margin-top: -2px;
}

.hero__wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Page hero (contact) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1e4480 100%);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding-bottom: 56px;
}

.page-hero .hero__wave {
  height: 80px;
  margin-top: -2px;
}

.page-hero .hero__wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: .925rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  text-decoration: none;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}

.btn--primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,.45);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}

.btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--lg {
  font-size: 1rem;
  padding: 14px 36px;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* =========================================
   SECTION HEADER
   ========================================= */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header__label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-header__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}

.section-header__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* =========================================
   SERVICES
   ========================================= */
.services {
  padding: 88px 0;
  background: var(--bg);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

/* ---- CARD ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s, box-shadow .25s;
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__icon--blue   { background: var(--blue-light);   color: var(--blue);   }
.card__icon--teal   { background: var(--teal-light);   color: var(--teal);   }
.card__icon--violet { background: var(--violet-light); color: var(--violet); }
.card__icon--amber  { background: var(--amber-light);  color: var(--amber);  }

.card__title {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.card__desc {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.card__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .87rem;
  color: var(--text);
}

.card__features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--blue);
}

.card:nth-child(2) .card__features li::before { background: var(--teal); }
.card:nth-child(3) .card__features li::before { background: var(--violet); }
.card:nth-child(4) .card__features li::before { background: var(--amber); }

.card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 8px;
  transition: gap .2s, color .2s;
}

.card:nth-child(2) .card__btn { color: var(--teal); }
.card:nth-child(3) .card__btn { color: var(--violet); }
.card:nth-child(4) .card__btn { color: var(--amber); }

.card__btn::after {
  content: '';
  position: absolute;
  inset: 0;
}

.card__btn:hover { gap: 12px; }

/* =========================================
   CTA SECTION
   ========================================= */
.cta {
  background: linear-gradient(135deg, var(--navy) 0%, #1e4480 100%);
  padding: 80px 0;
}

.cta__inner {
  text-align: center;
}

.cta__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.cta__desc {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--navy);
  padding: 32px 0;
  margin-top: auto;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  color: rgba(255,255,255,.45);
  font-size: .83rem;
}

.footer__nav {
  display: flex;
  gap: 24px;
}

.footer__nav a {
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  font-weight: 500;
  transition: color .2s;
}

.footer__nav a:hover {
  color: var(--white);
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-section {
  padding: 80px 0 100px;
  background: var(--bg);
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

/* --- INFOS --- */
.contact-infos__title {
  font-family: 'Sora', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.info-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item__icon svg {
  width: 20px;
  height: 20px;
}

.info-item__icon--blue   { background: var(--blue-light);   color: var(--blue);   }
.info-item__icon--teal   { background: var(--teal-light);   color: var(--teal);   }
.info-item__icon--violet { background: var(--violet-light); color: var(--violet); }

.info-item__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.info-item__value {
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy);
  transition: color .2s;
}

a.info-item__value:hover {
  color: var(--blue);
}

.contact-services {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.contact-services__label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.contact-services__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform .2s, box-shadow .2s;
}

.service-tag:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.service-tag--blue   { background: var(--blue-light);   color: var(--blue);   }
.service-tag--teal   { background: var(--teal-light);   color: var(--teal);   }
.service-tag--violet { background: var(--violet-light); color: var(--violet); }
.service-tag--amber  { background: var(--amber-light);  color: var(--amber);  }

/* --- FORM --- */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}

.required {
  color: #ef4444;
}

.form-input {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

.form-input::placeholder {
  color: #b0bec5;
}

.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
  background: var(--white);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.form-note {
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .contact-section__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form-wrap {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .header__inner { height: 60px; }

  .hero { padding-top: 64px; }
  .hero__inner { padding-bottom: 48px; }

  .hero__actions { flex-direction: column; align-items: center; }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }
}

/* =========================================
   PAGES LÉGALES
   ========================================= */

.legal-section {
  padding: 60px 0 80px;
}

.legal-content {
  max-width: 800px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px 56px;
}

.legal-content h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin: 2rem 0 0.6rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text);
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.legal-content ul {
  margin: 0.4rem 0 0.8rem 1.4rem;
  color: var(--text);
  line-height: 1.7;
}

.legal-content ul li {
  margin-bottom: 0.3rem;
}

.legal-content a {
  color: var(--blue);
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-update {
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .legal-content {
    padding: 28px 20px;
  }
}
