/* MyLIS - Feuille de style commune */

:root {
  --primary: #0f4c81;
  --primary-dark: #0a3559;
  --accent: #14b8a6;
  --accent-dark: #0d9488;
  --bg-light: #f5f8fb;
  --bg-white: #ffffff;
  --text-dark: #1a2733;
  --text-muted: #5b6b78;
  --border: #e2e8f0;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(15, 76, 129, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / navigation */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
}

.logo .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
}

nav.main-nav a.active,
nav.main-nav a:hover {
  color: var(--accent-dark);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

.nav-cta:hover {
  background: var(--accent-dark);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--primary-dark);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 90px 0 100px;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 480px;
}

.hero-text .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
}

.hero-text h1 {
  font-size: 42px;
  line-height: 1.2;
  margin: 16px 0 20px;
}

.hero-text p {
  font-size: 17px;
  color: #dbe6f0;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-visual {
  flex: 1 1 380px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 28px;
}

.hero-visual .stat {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-visual .stat:last-child {
  border-bottom: none;
}

.hero-visual .stat strong {
  font-size: 24px;
  color: #fff;
  display: block;
}

.hero-visual .stat span {
  font-size: 13px;
  color: #cfe0ee;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  margin-left: 12px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

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

.btn-dark-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* Sections */
section {
  padding: 80px 0;
}

section.alt {
  background: var(--bg-light);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head .eyebrow {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
}

.section-head h2 {
  font-size: 32px;
  margin: 12px 0 14px;
  color: var(--primary-dark);
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Grids / cards */
.grid {
  display: grid;
  gap: 28px;
}

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

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  color: var(--primary-dark);
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

/* Pricing-ish / feature list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--text-muted);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Page hero (sous-pages) */
.page-hero {
  background: var(--bg-light);
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.page-hero .breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.page-hero h1 {
  font-size: 34px;
  color: var(--primary-dark);
  margin: 0 0 10px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0;
}

/* Timeline / valeurs */
.timeline {
  border-left: 2px solid var(--border);
  margin-left: 10px;
  padding-left: 30px;
}

.timeline .item {
  position: relative;
  padding-bottom: 34px;
}

.timeline .item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline .item .year {
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline .item h3 {
  margin: 6px 0 8px;
  color: var(--primary-dark);
}

.timeline .item p {
  color: var(--text-muted);
  margin: 0;
}

/* Team */
.team-card {
  text-align: center;
}

.team-card .avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.team-card h3 {
  margin: 0 0 4px;
  color: var(--primary-dark);
  font-size: 17px;
}

.team-card span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
}

/* Portfolio */
.project-card {
  overflow: hidden;
}

.project-thumb {
  height: 160px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  margin: -30px -30px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.tag {
  background: rgba(15, 76, 129, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

/* Blog */
.blog-card .meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card .meta .cat {
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 10px;
}

.blog-card a.read-more {
  font-size: 14px;
  font-weight: 600;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info .item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-info .icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info h4 {
  margin: 0 0 4px;
  color: var(--primary-dark);
  font-size: 16px;
}

.contact-info p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

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

form.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 6px;
}

form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 18px;
}

form.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

form.contact-form button {
  width: 100%;
}

.map-box {
  margin-top: 40px;
  height: 220px;
  border-radius: var(--radius);
  background: var(--bg-light);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}

.cta-band h2 {
  font-size: 28px;
  margin: 0 0 12px;
}

.cta-band p {
  color: #dbe6f0;
  margin: 0 0 28px;
}

/* Footer */
footer.site-footer {
  background: var(--primary-dark);
  color: #cfe0ee;
  padding: 56px 0 24px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 16px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: #cfe0ee;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #9fb6c9;
}

/* Responsive */
@media (max-width: 860px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  nav.main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    display: none;
    flex-direction: column;
    padding: 20px 24px;
  }
  nav.main-nav.open {
    display: flex;
  }
  nav.main-nav ul {
    flex-direction: column;
    gap: 16px;
  }
  .menu-toggle {
    display: block;
  }
  .hero-text h1 {
    font-size: 32px;
  }
  .grid-3,
  .grid-2,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .btn-outline {
    margin-left: 0;
    margin-top: 12px;
  }
}
