:root {
  --primary: #003366;
  --primary-dark: #001a33;
  --accent: #AA8844;
  --bg: #f5f5f5;
  --text: #222222;
  --muted: #666666;
  --white: #ffffff;
  --radius: 10px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: #ffffff;
  line-height: 1.6;
}

/* LAYOUT */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  padding: 4.5rem 0;
  background-color: var(--bg);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

.section-title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 2rem;
  margin: 0 0 0.75rem 0;
  color: var(--primary-dark);
}

.section-intro {
  margin: 0;
  color: var(--muted);
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to right, var(--primary-dark), var(--primary));
  color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #111;
  font-size: 0.95rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo-sub {
  font-size: 0.75rem;
  opacity: 0.9;
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
}

.main-nav a:hover {
  opacity: 1;
}

/* HERO */

.hero {
  background: radial-gradient(circle at top left, #004c99 0, #00152b 45%, #000e1f 100%);
  color: var(--white);
  padding: 5rem 0 4rem 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  margin: 0 0 0.75rem 0;
}

.h1-sub {
  display: block;
  font-size: 1.25rem;
  font-weight: 400;
  margin-top: 0.25rem;
}

.hero-tagline {
  font-size: 1.1rem;
  margin: 0 0 0.75rem 0;
  color: #f3f3f3;
}

.hero-meta {
  margin: 0 0 1.5rem 0;
  color: #cccccc;
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-aside {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.hero-card li + li {
  margin-top: 0.35rem;
}

/* GRID & CARDS */

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

/* TEXT ELEMENTS */

h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

p {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.list-check,
.list-bullet,
.list-steps {
  margin: 0;
  padding-left: 1.25rem;
}

.list-check li {
  list-style: none;
  position: relative;
  margin-bottom: 0.4rem;
}

.list-check li::before {
  content: "✔";
  color: var(--accent);
  position: absolute;
  left: -1.25rem;
}

.list-bullet li {
  margin-bottom: 0.4rem;
}

.list-steps {
  list-style: none;
  counter-reset: step-counter;
  padding-left: 0;
}

.list-steps li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 1rem;
}

.list-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background-color: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease, color 0.1s ease;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #c89e4b);
  color: #111111;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.btn-ghost {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.btn-small {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

/* FORM */

.contact-form {
  background-color: var(--bg);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 0.9rem;
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--primary-dark);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #cccccc;
  font-family: inherit;
  font-size: 0.95rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.15);
}

/* FOOTER */

.site-footer {
  background-color: var(--primary-dark);
  color: #e0e0e0;
  padding: 1.75rem 0;
  font-size: 0.85rem;
}

.footer-inner {
  text-align: center;
}

.footer-small {
  color: #bfbfbf;
  margin-top: 0.35rem;
}

/* LINKS */

a {
  color: var(--primary);
}

a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-aside {
    justify-content: flex-start;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .main-nav {
    display: none; /* simplification mobile (on peut faire mieux avec burger menu si besoin) */
  }
}

@media (max-width: 700px) {
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .section {
    padding: 3.5rem 0;
  }
  .section-alt {
    padding: 3.5rem 0;
  }
  .hero {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
  .hero-text h1 {
    font-size: 2.1rem;
  }
}
