* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* HEADER */
header {
    background: #363535;
    color: #fff;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 95%;
    height: 50px;
    margin: auto;
}

header ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

header a {
    color: #fff;
    text-decoration: none;
}

/* CONTENU PRINCIPAL */
.container {
    max-width: 100%;
    margin: 2rem 2rem 0 2rem;
    padding: 1rem 0 0 0;
}

.hero {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.hero h3 {
    font-size: clamp(14px, 2vw, 20px);
    margin-bottom: 1rem;
    padding: 1.5rem 4.5rem;
    color: #c6c6c6;
}

.hero h2 {
    font-size: clamp(14px, 2vw, 20px);
    margin-bottom: 1rem;
    padding: 1.5rem 4.5rem;
    line-height: 1.5rem;
}

h1 {
    font-size: clamp(26px, 2vw, 34px);
    margin-bottom: 1rem;
    padding: 1.5rem 2.5rem 0 2.5rem;
    line-height: 1.5;
    overflow: visible; /* IMPORTANT */
}

.first {
    font-size: clamp(22px, 2vw, 34px);
    position: relative;
    display: inline-block;
    white-space: nowrap;
    z-index: 0;
}

.second {
    font-size: clamp(22px, 2vw, 34px);
    position: relative;
    z-index: 0;
}

.sat {
    position: absolute;
    left: 10%;
    bottom: -0.02em;
    transform: translateX(-50%);
    width: 1.5em;
    height: auto;
    pointer-events: none;
    z-index: -1;
}

.hero p {
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: #3498db;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}

.logo {
    max-width: 100%;
    height: auto;
    padding: 0 3.5rem;
}

.ponc {
    max-width: 60%;
    padding: 0 2.5rem;
}

td {
    text-align: justify;
    vertical-align: top;
}

/* FOOTER */
footer {
    background: #363535;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 0;
    height: 100vh;
    overflow-y: hidden;
    scroll-snap-type: y mandatory;
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;
}

.illus {
    width: 140%;
    overflow: hidden;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: none;
    margin: -300px 0 -10px 0;
}

.contact {
    scroll-snap-align: start;
    text-align: center;
    justify-content: space-between;
    align-items: center;
}

.cell1 {
    height: 50px;
    text-align: center;
    padding: 3.8rem;
}

.cell2 {
    height: 50px;
    text-align: center;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 2;
    padding: 2.7rem;
}
.intro-grid {
  display: grid;
  grid-template-columns: 22.5% 25% 5% 25% 22.5%;
  align-items: start;
}

.intro-text {
  line-height: 1.6;
	text-align: justify;
}

/* Responsive : 1 colonne */
@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 22.5% 55% 22.5%;
    row-gap: 2rem;
	padding-bottom: 3rem;
  }

  /* Les textes occupent UNIQUEMENT la colonne centrale */
  .intro-text {
    grid-column: 2;
  }

  /* On masque tout ce qui n'est pas du texte */
  .intro-grid > :not(.intro-text) {
    display: none;
  }
}

a:link,
a:visited {
    color: #ffed00;
    font-size: 18px;
}
