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

/* =====================
   VARIABLES
===================== */
:root {
  --black: #111111;
  --white: #ffffff;
  --pink: #ffcccc;
  --green: #c9d8c5;
  --wood: #f4efea;
  --soft-gray: #fafafa;
}

/* =====================
   BASE
===================== */
body {
  font-family: "Century Gothic", Arial, sans-serif;
  background-color: var(--white);
  color: var(--black);
  line-height: 1.7;
}

/* =====================
   CONTAINER
===================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =====================
   HERO
===================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(to bottom, var(--white), var(--wood));
  display: flex;
  align-items: center;
  justify-content: center; /* ⬅ centre horizontalement */
  text-align: center;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 100%;
  max-width: 520px; /* ← augmente ici */
  height: auto;
  margin: 0 auto 40px;
  display: block;
}

/* =====================
   TITRES
===================== */

/* Titre principal (MaPartenaireRH) */
h1 {
  display: inline-block;
  background-color: var(--black);
  color: var(--white);

  padding: 12px 26px;
  font-size: 2.6rem;
  font-weight: 500;

  margin-bottom: 30px;
  text-align: center;
}

/* Titres de sections */
.section h2 {
  display: block;            /* ⬅ pour bien centrer */
  background: none;          /* ⬅ enlève tout fond */
  color: var(--black);       /* ⬅ texte noir */

  font-size: 2rem;
  font-weight: 500;
  text-align: center;

  margin-bottom: 40px;
}



/* =====================
   TEXTE
===================== */
.tagline {
  max-width: 720px;
  margin: 0 auto 45px;
  font-size: 1.05rem;
  opacity: 0.9;
}

.center {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  opacity: 0.9;
}

/* =====================
   BUTTON (CTA)
===================== */
a.cta,
a.cta:visited {
  text-decoration: none;
  color: var(--black);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;

  padding: 16px 40px;
  border-radius: 999px;

  background-color: var(--pink);
  border: 2px solid var(--pink);

  font-weight: 600;
  cursor: pointer;

  transition: all 0.25s ease;
}

.cta:hover {
  background-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* =====================
   SECTIONS
===================== */
.section {
  padding: 110px 0;
}

.section.light {
  background-color: var(--soft-gray);
}

.section.nature {
  background-color: var(--wood);
}

.section-icon {
  width: 56px;              /* plus gros */
  height: auto;
  margin-bottom: 24px;      /* espace avant la ligne verte */
  opacity: 0.9;
}


/* =====================
   GRID
===================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

/* =====================
   CARDS
===================== */
.card {
  background-color: var(--white);
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.card h3::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background-color: var(--green);
  margin: 16px auto 20px;  /* centré, bien espacé */
  border-radius: 2px;
}


/* =====================
   MOBILE
===================== */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  @media (max-width: 768px) {
  .logo {
    max-width: 280px;
  }
}
   
  h1 {
    font-size: 2rem;
    padding: 10px 22px;
  }

  .section h2 {
    font-size: 1.6rem;
  }

  .section {
    padding: 90px 0;
  }

  .tagline {
    font-size: 1rem;
  }
}
