@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
  --blue: #0EA5E9;
  --blue-dark: #315c6c;
  --blue-light: #eaf2f4;
  --cream: #f7f7f4;
  --text: #000000;
  --title: #000000;
  --white: #ffffff;
  --line: #d8e1e3;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

p,
span,
li,
label,
input,
select,
textarea,
a,
strong,
b,
em,
small,
button {
  font-family: "Montserrat", sans-serif;
}

/* TITRES */

h1,
h2,
h3 {
  color: var(--title);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 22px;
}

h1 {
  font-size: clamp(46px, 6vw, 82px);
}

h2 {
  font-size: clamp(34px, 4vw, 54px);
}

h3 {
  font-size: 25px;
  margin-bottom: 10px;
}

/* STRUCTURE */

.container {
  max-width: var(--max-width);
  width: calc(100% - 48px);
  margin: 0 auto;
}

.section {
  padding: 95px 0;
}

/* MENU */

.header {
  background: var(--white);
  border-bottom: 1px solid #f0f0f0;
}

.header-inner {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 35px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--title);
  text-decoration: none;
  font-size: 46px;
  font-weight: 700;
}

.brand span {
  color: var(--title);
}

.brand .logo-image {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navigation a {
  color: var(--title);
  text-decoration: none;
  font-size: 20px;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
}

.navigation a:hover,
.navigation a.active {
  background: var(--blue);
  color: var(--white);
}

.menu-button {
  display: none;
  background: var(--blue);
  color: var(--white);
  border: 0;
  border-radius: 5px;
  padding: 9px 13px;
  font-size: 22px;
  cursor: pointer;
}

/* ACCUEIL */

.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--blue);
  color: #ffffff;
}

.hero-content {
  padding: 100px 0 110px;
}

/* Tout le texte à l'intérieur de la zone bleue est blanc pur */
.hero p,
.hero span,
.hero h1,
.hero h1 span,
.hero-description,
.hero-points,
.hero-points span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.tagline,
.section-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 20px;
}

.hero .tagline {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.section-label {
  color: var(--blue);
  margin-bottom: 17px;
}

.hero h1 {
  max-width: 750px;
}

.hero-description {
  font-size: 21px;
  max-width: 650px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  background: var(--white);
  color: var(--blue-dark);
  border: 2px solid var(--white);
  border-radius: 4px;
  padding: 13px 23px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}

/* Premier bouton : texte bleu sur fond blanc */
.hero .button {
  color: var(--blue-dark);
  -webkit-text-fill-color: var(--blue-dark);
}

/* Deuxième bouton : texte blanc sur fond transparent */
.hero .button-light {
  background: transparent;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.button:hover {
  background: var(--blue-dark);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.hero-points {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 30px;
  font-size: 14px;
}

/* A PROPOS */

.about {
  background: var(--white);
}

.about h2,
.services h2,
.testimonials h2 {
  max-width: 760px;
}

.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  max-width: 950px;
  font-size: 19px;
}

.about-columns p {
  margin: 0;
}

/* SERVICES */

.services {
  background: var(--cream);
}

.service-list {
  margin-top: 45px;
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 70px 1fr 130px;
  gap: 30px;
  align-items: center;
  padding: 29px 0;
  border-bottom: 1px solid var(--line);
}

.service-number {
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.service-item p {
  margin: 0;
  font-size: 17px;
}

.service-price {
   text-align: right;
  color: #000000; 
  font-weight: 700;
}

/* DIFFERENCE PRISTINE / IMAGE */

.visual-section {
  background: var(--blue-light);
}

.visual-content {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 75px;
}

.visual-placeholder {
  height: 430px;
  overflow: hidden;
  background: #d9e5e5;
}

.visual-placeholder img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.visual-text {
  padding: 50px 0;
}

.visual-text h2 {
  max-width: 500px;
}

.visual-text > p:not(.section-label) {
  font-size: 18px;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 25px;
  color: var(--blue-dark);
  font-size: 15px;
}

.check-list span {
  color: var(--blue-dark);
}

/* AVANTAGES */

.testimonials {
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 45px;
}

.testimonial {
  min-height: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
}

.quote {
  color: var(--blue);
  font-size: 50px;
  font-weight: 700;
}

.testimonial p {
  font-size: 17px;
}

.testimonial strong {
  color: var(--blue-dark);
  font-weight: 700;
}

/* CONTACT */

.contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.contact-information > p:not(.section-label) {
  max-width: 450px;
  font-size: 18px;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin: 30px 0;
}

.contact-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
}

.contact-links a:hover {
  color: var(--text);
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--text);
  border: 1px solid var(--blue);
  border-radius: 4px;
  padding: 8px 13px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.social-links a:hover {
  color: var(--text);
  background: var(--blue-light);
}

.contact-form {
  display: grid;
  gap: 17px;
  background: var(--white);
  padding: 34px;
  box-shadow: 0 8px 30px #315c6c18;
}

.contact-form label {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 13px;
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text);
  opacity: 0.65;
}

.contact-form option {
  color: var(--text);
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.contact-form .button:hover {
  background: var(--blue-dark);
  color: var(--white);
}

/* FOOTER */

.footer {
  background: var(--blue);
  color: #ffffff;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-title {
  margin: 0;
  color: #ffffff !important;
  font-size: 22px;
  font-weight: 700;
}

.footer p {
  margin: 0;
  color: #ffffff !important;
  font-size: 14px;
}

/* POPUP */

.popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  place-items: center;
  padding: 20px;
  background: #172f3699;
}

.popup.show {
  display: grid;
}

.popup-box {
  position: relative;
  max-width: 420px;
  background: var(--white);
  padding: 42px 35px;
  text-align: center;
  box-shadow: 0 15px 50px #0004;
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 15px;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 30px;
}

.popup-box p {
  margin: 0;
}

/* VERSION TABLETTE ET TELEPHONE */

@media (max-width: 800px) {
  .header-inner {
    min-height: 125px;
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;
  }

  .brand {
    gap: 12px;
    font-size: 28px;
  }

  .brand .logo-image {
    width: 58px;
    height: 58px;
  }

  .menu-button {
    display: block;
  }

  .navigation {
    display: none;
    position: absolute;
    top: 125px;
    left: 0;
    right: 0;
    z-index: 10;
    flex-direction: column;
    padding: 15px;
    background: var(--white);
    box-shadow: 0 5px 12px #0001;
  }

  .navigation.open {
    display: flex;
  }

  .navigation a {
    width: 100%;
    text-align: center;
    font-size: 17px;
  }

  .about-columns,
  .visual-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .visual-content {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .visual-placeholder {
    height: 380px;
  }

  .visual-text {
    padding: 0;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    grid-template-columns: 45px 1fr;
    gap: 15px;
  }

  .service-price {
    grid-column: 2;
    text-align: left;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 30px);
  }

  .section {
    padding: 65px 0;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-points {
    display: grid;
    gap: 8px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .visual-placeholder {
    height: 300px;
  }

  .footer-title {
    font-size: 20px;
  }
}