/* =======================
   VARIABLES GLOBALES
======================= */
:root {
  --bg: #fff9f4;
  --text: #3d2f2a;
  --muted: #7b6f6a;
  --accent: #faefdd;
  --accent-2: #f8cbe6;
  --radius: 12px;
  --max-width: 1100px;
  --gap: 2rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'arsenal', sans-serif;
  font-size: 16px;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

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

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

/* =======================
   HEADER & NAV
======================= */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  position: relative;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header__titles {
  display: flex;
  flex-direction: column;
}

.site-header__name {
  font-size: 1.25rem;
  font-weight: 600;
}

.site-header__role {
  font-size: 0.9rem;
  color: var(--muted);
}

/* NAVIGATION */
.site-nav {
  font-family: 'eurostilebold';
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease-in-out;
}

.site-nav__link {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
}

.site-nav__link:hover {
  background: rgba(0, 0, 0, 0.03);
}

/* BURGER MENU */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  margin-right: 10px;
  cursor: pointer;
}

.burger__line {
  width: 100%;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* =======================
   HERO
======================= */
.hero {
  padding: 1rem 0;
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero__content {
  flex: 1;
  min-width: 280px;
}

.hero__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero__lead {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
}

/* =======================
   SECTIONS
======================= */
.section {
  padding: 1rem 0;
}

.section__title {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  text-align: center;
}

.section--about {
  background-color: #fff;
}

.section--cta {
  background-color: var(--accent);
  text-align: center;
  border-radius: var(--radius);
  margin: 1rem auto;
  padding: 1rem 1rem;
}

/* =======================
   ABOUT
======================= */
.about {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.about__img {
  flex: 1;
  max-width: 320px;
}

.about__text {
  flex: 1;
}

.about__card {
  background-color: #fdfaf8;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 10px;
  width: 98%;
}
/* =======================
   GRID & CARDS
======================= */
.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background-color: var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 10px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.card h3 {
  margin-bottom: 0.8rem;
  color: var(--text);
}

.service-duration,
.service-deliverable {
  font-size: 0.9rem;
  color: var(--muted);
}

.service-deliverable::before {
  content: "📄 ";
}

.service-duration::before {
  content: "⏱️ ";
}

/* =======================
   CTA
======================= */
.cta__title {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.cta__text {
  margin-bottom: 1.5rem;
}

/* =======================
   BUTTONS
======================= */
.btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn--primary {
  background-color: var(--accent-2);
  color: var(--text);
}

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

.btn--secondary {
  background-color: transparent;
  border: 2px solid var(--text);
  color: var(--text);
}

.btn--secondary:hover {
  background-color: var(--text);
  color: #fff;
}

.btn--ghost {
  background-color: transparent;
  border: 1px solid var(--muted);
  color: var(--muted);
}

.btn--ghost:hover {
  border-color: var(--text);
  color: var(--text);
}

/* =======================
   FOOTER
======================= */
footer {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 880px) {
  .burger {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 60%;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-radius: var(--radius);
    transform: translateY(-200%);
    transition: transform 0.3s ease-in-out;
    z-index: 9;
    display: flex; /* nav toujours présente */
  }

  .site-nav--open {
    transform: translateY(0);
  }
    .site-nav.active {
    /*display: flex;*/
    transform: translateY(0);
  }

  .burger.active .burger__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger.active .burger__line:nth-child(2) {
    opacity: 0;
  }
  .burger.active .burger__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* HERO responsive */
  .hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__visual img {
    max-width: 60%;
    margin: 0 auto;
  }
/*ABOUT*/
  .about {
    flex-direction: column;
    align-items: center; /* centre l'image et le texte */
    text-align: center;  /* si tu veux que le texte soit centré */
  }

  .about__img,
  .about__text {
    max-width: 100%;
    flex: unset; /* supprime le flex initial */
  }

  .about__img img {
    height: 300px;
    margin-bottom: 1rem; /* espace entre l'image et le texte */
  }
}

