/* =========================================================
   WR PLOMBERIE - STYLE COMPLET
========================================================= */

:root {
  --navy: #071d2e;
  --navy-light: #0c2a40;
  --blue: #00b8e4;
  --blue-dark: #0098c1;
  --light-blue: #eaf9fd;
  --white: #ffffff;
  --background: #f6f8fa;
  --text: #152b3b;
  --muted: #647684;
  --border: #dce6ec;
  --shadow: 0 15px 40px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   BASE
========================================================= */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

nav {
  position: relative;
  width: min(1180px, 94%);
  min-height: 82px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 22px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;

  color: var(--white);

  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo img {
  width: 48px;
  height: 48px;

  margin-right: 11px;

  object-fit: contain;

  border-radius: 8px;

  background: var(--white);

  padding: 4px;
}

.logo span {
  margin-left: 5px;
  color: var(--blue);
}


/* =========================================================
   MENU ORDINATEUR
========================================================= */

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 20px;
}

.nav-links a {
  position: relative;

  color: var(--white);

  font-size: 0.83rem;
  font-weight: 700;

  white-space: nowrap;

  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.nav-links a.active::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -10px;

  height: 2px;

  background: var(--blue);
}


/* =========================================================
   TELEPHONE HEADER ORDINATEUR
========================================================= */

.nav-appel {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  padding: 12px 17px;

  border-radius: 7px;

  background: var(--blue);

  color: var(--navy) !important;

  font-size: 0.84rem !important;
  font-weight: 800 !important;

  white-space: nowrap;

  transition: 0.2s ease;
}

.nav-appel:hover {
  background: var(--white);
  color: var(--navy) !important;
}


/* =========================================================
   MENU MOBILE
========================================================= */

.menu-toggle {
  display: none;
}

.nav-mobile {
  display: none;
}


/* =========================================================
   BOUTONS
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;

  padding: 13px 23px;

  border: 2px solid var(--blue);
  border-radius: 7px;

  background: var(--blue);

  color: var(--navy);

  font-size: 0.9rem;
  font-weight: 800;

  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);

  background: var(--white);
  border-color: var(--white);

  color: var(--navy);
}

.btn-blanc {
  background: transparent;

  border-color: rgba(255,255,255,0.65);

  color: var(--white);
}

.btn-blanc:hover {
  background: var(--white);
  border-color: var(--white);

  color: var(--navy);
}

.btn-contour {
  background: transparent;

  border-color: var(--blue);

  color: var(--blue);
}

.btn-contour:hover {
  background: var(--blue);
  color: var(--navy);
}

.boutons {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 28px;
}


/* =========================================================
   PETIT TITRE
========================================================= */

.sur-titre {
  display: inline-block;

  margin-bottom: 13px;

  color: var(--blue);

  font-size: 0.74rem;
  font-weight: 800;

  letter-spacing: 0.15em;

  text-transform: uppercase;
}


/* =========================================================
   HERO ACCUEIL
========================================================= */

.hero {
  position: relative;

  min-height: 635px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background-image:
    linear-gradient(
      90deg,
      rgba(3,24,39,0.82) 0%,
      rgba(3,24,39,0.64) 45%,
      rgba(3,24,39,0.25) 100%
    ),
    url("images/vitrine.webp");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0,184,228,0.02),
      rgba(3,24,39,0.08)
    );

  pointer-events: none;
}

.hero-contenu {
  position: relative;
  z-index: 2;

  width: min(1120px, 90%);

  margin: 0 auto;

  padding: 90px 0;
}

.hero-texte {
  max-width: 720px;
}

.hero .sur-titre {
  padding: 6px 13px;

  border: 1px solid rgba(0,184,228,0.6);
  border-radius: 30px;

  color: #63ddf7;

  background: rgba(0,184,228,0.08);
}

.hero h1 {
  max-width: 760px;

  color: var(--white);

  font-size: clamp(3rem,6vw,5rem);

  line-height: 1.03;

  letter-spacing: -0.04em;
}

.hero h1 span {
  color: var(--blue);
}

.hero p {
  max-width: 680px;

  margin-top: 24px;

  color: #e7f1f5;

  font-size: 1.05rem;

  line-height: 1.8;
}


/* =========================================================
   INFOS RAPIDES
========================================================= */

.infos-rapides {
  position: relative;
  z-index: 5;

  margin-top: -42px;
}

.infos-grid {
  display: grid;

  grid-template-columns: repeat(3,1fr);

  overflow: hidden;

  border-radius: 12px;

  background: var(--white);

  box-shadow: var(--shadow);
}

.info-rapide {
  padding: 28px;

  text-align: center;

  border-right: 1px solid var(--border);
}

.info-rapide:last-child {
  border-right: none;
}

.info-icone {
  margin-bottom: 10px;

  color: var(--blue);

  font-size: 1.7rem;
}

.info-rapide strong {
  display: block;

  margin-bottom: 4px;

  color: var(--navy);

  font-size: 1.05rem;
}

.info-rapide span {
  color: var(--muted);

  font-size: 0.9rem;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
  padding: 90px 0;
}

.section-grise {
  background: var(--background);
}

.section-bleue {
  background: var(--navy);
  color: var(--white);
}

.titre-section {
  max-width: 730px;

  margin: 0 auto 48px;

  text-align: center;
}

.titre-section h2 {
  margin-bottom: 14px;

  color: var(--navy);

  font-size: clamp(2rem,4vw,3rem);

  line-height: 1.15;

  letter-spacing: -0.02em;
}

.titre-section p {
  color: var(--muted);
  font-size: 1rem;
}


/* =========================================================
   PRESENTATION
========================================================= */

.presentation {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 65px;

  align-items: center;
}

.presentation-image {
  overflow: hidden;

  border-radius: 12px;

  background: var(--navy);

  box-shadow: var(--shadow);
}

.presentation-image img {
  width: 100%;
  height: 500px;

  object-fit: cover;
}

.presentation-texte h2 {
  margin-bottom: 20px;

  color: var(--navy);

  font-size: clamp(2rem,4vw,3rem);

  line-height: 1.15;
}

.presentation-texte p {
  margin-bottom: 17px;

  color: var(--muted);
}


/* =========================================================
   SERVICES
========================================================= */

.services-grid {
  display: grid;

  grid-template-columns: repeat(3,1fr);

  gap: 22px;
}

.service-card {
  padding: 32px 27px;

  border: 1px solid var(--border);
  border-radius: 11px;

  background: var(--white);

  box-shadow: 0 8px 25px rgba(0,0,0,0.04);

  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);

  border-color: rgba(0,184,228,0.45);

  box-shadow: var(--shadow);
}

.service-icone {
  width: 54px;
  height: 54px;

  margin-bottom: 19px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: var(--light-blue);

  color: var(--blue-dark);

  font-size: 1.55rem;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 9px;

  color: var(--navy);

  font-size: 1.18rem;
}

.service-card p {
  color: var(--muted);

  font-size: 0.92rem;
}


/* =========================================================
   PAGES INTERIEURES
========================================================= */

.page-hero {
  padding: 90px 20px;

  background:
    linear-gradient(
      135deg,
      rgba(4,28,45,0.98),
      rgba(8,59,83,0.96)
    );

  text-align: center;
}

.page-hero .container {
  max-width: 800px;
}

.page-hero h1 {
  margin-bottom: 17px;

  color: var(--white);

  font-size: clamp(2.5rem,5vw,4.4rem);

  line-height: 1.05;
}

.page-hero p {
  color: #d5e6ef;
}


/* =========================================================
   TARIFS
========================================================= */

.tarifs-grid {
  display: grid;

  grid-template-columns: repeat(2,1fr);

  gap: 22px;

  max-width: 960px;

  margin: 0 auto;
}

.tarif-card {
  position: relative;

  padding: 30px;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 11px;

  background: var(--white);

  box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

.tarif-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background: var(--blue);
}

.tarif-card h3 {
  margin-bottom: 12px;

  color: var(--navy);

  font-size: 1.15rem;
}

.tarif-prix {
  margin-bottom: 13px;

  color: var(--blue-dark);

  font-size: 1.85rem;
  font-weight: 800;
}

.tarif-card p {
  margin-top: 5px;

  color: var(--muted);

  font-size: 0.9rem;
}

.mention-tarifs {
  max-width: 960px;

  margin: 35px auto 0;

  padding: 22px;

  border-left: 4px solid var(--blue);

  background: var(--light-blue);

  color: #405563;

  font-size: 0.9rem;
}


/* =========================================================
   INTERVENTIONS
========================================================= */

.interventions-grid {
  display: grid;

  grid-template-columns: repeat(3,1fr);

  gap: 22px;
}

.intervention-card {
  padding: 30px 26px;

  border: 1px solid var(--border);
  border-radius: 11px;

  background: var(--white);

  transition: 0.25s ease;
}

.intervention-card:hover {
  transform: translateY(-4px);

  border-color: rgba(0,184,228,0.45);

  box-shadow: var(--shadow);
}

.intervention-card h3 {
  margin-bottom: 9px;

  color: var(--navy);
}

.intervention-card p {
  color: var(--muted);

  font-size: 0.92rem;
}


/* =========================================================
   REALISATIONS
========================================================= */

.galerie {
  display: grid;

  grid-template-columns: repeat(3,1fr);

  gap: 22px;
}

.realisation {
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 11px;

  background: var(--white);

  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.realisation img {
  width: 100%;
  height: 320px;

  object-fit: cover;
}

.realisation-texte {
  padding: 20px;
}

.realisation-texte h3 {
  margin-bottom: 7px;

  color: var(--navy);
}

.realisation-texte p {
  color: var(--muted);

  font-size: 0.9rem;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 40px;
}

.contact-bloc {
  padding: 35px;

  border: 1px solid var(--border);
  border-radius: 11px;

  background: var(--white);

  box-shadow: var(--shadow);
}

.contact-bloc h2 {
  margin-bottom: 20px;

  color: var(--navy);
}

.contact-ligne {
  padding: 17px 0;

  border-bottom: 1px solid var(--border);
}

.contact-ligne:last-child {
  border-bottom: none;
}

.contact-ligne strong {
  display: block;

  margin-bottom: 4px;

  color: var(--navy);
}

.contact-ligne span,
.contact-ligne a {
  color: var(--muted);
}

.contact-ligne a:hover {
  color: var(--blue-dark);
}


/* =========================================================
   CTA
========================================================= */

.cta {
  position: relative;

  overflow: hidden;

  padding: 80px 20px;

  background:
    linear-gradient(
      135deg,
      var(--blue-dark),
      var(--blue)
    );

  color: var(--navy);

  text-align: center;
}

.cta .container {
  max-width: 760px;
}

.cta h2 {
  margin-bottom: 15px;

  font-size: clamp(2rem,4vw,3rem);

  line-height: 1.15;
}

.cta .boutons {
  justify-content: center;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  padding: 50px 20px;

  background: #041724;

  color: #aebfca;

  text-align: center;
}

.footer-logo {
  margin-bottom: 10px;

  color: var(--white);

  font-size: 1.3rem;
  font-weight: 800;
}

.footer-logo span {
  color: var(--blue);
}

footer p {
  font-size: 0.87rem;
}

.footer-liens {
  margin-top: 17px;
}

.footer-liens a {
  margin: 0 8px;

  color: #c5d3dc;

  font-size: 0.87rem;
}

.footer-liens a:hover {
  color: var(--blue);
}


/* =========================================================
   TABLETTE
========================================================= */

@media screen and (max-width: 1050px) {

  .presentation {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .services-grid,
  .interventions-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .galerie {
    grid-template-columns: repeat(2,1fr);
  }

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

}


/* =========================================================
   MENU MOBILE
========================================================= */

@media screen and (max-width: 800px) {

  header {
    position: sticky;
    top: 0;
  }

  nav {
    width: 100%;
    min-height: 74px;

    padding: 10px 18px;

    flex-direction: row;

    align-items: center;
    justify-content: space-between;

    gap: 10px;
  }


  /* LOGO */

  .logo {
    font-size: 1rem;

    white-space: nowrap;
  }

  .logo img {
    width: 46px;
    height: 46px;

    margin-right: 9px;
  }


  /* CACHE LE MENU ORDINATEUR */

  .nav-links,
  .nav-appel {
    display: none !important;
  }


  /* BOUTON ☰ */

  .menu-toggle {
    width: 46px;
    height: 46px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    flex-shrink: 0;

    padding: 0;

    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;

    background: rgba(255,255,255,0.06);

    cursor: pointer;
  }

  .menu-toggle span {
    display: block;

    width: 23px;
    height: 2px;

    border-radius: 5px;

    background: var(--white);

    transition: 0.25s ease;
  }

  .menu-toggle.ouvert span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.ouvert span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.ouvert span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }


  /* MENU QUI S'OUVRE */

  .nav-mobile {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    display: none;

    padding: 10px 18px 18px;

    background: var(--navy);

    border-top: 1px solid rgba(255,255,255,0.08);

    box-shadow: 0 15px 25px rgba(0,0,0,0.28);
  }

  .nav-mobile.ouvert {
    display: block;
  }

  .nav-mobile a {
    display: block;

    width: 100%;

    padding: 12px 5px;

    border-bottom: 1px solid rgba(255,255,255,0.08);

    color: var(--white);

    font-size: 0.9rem;
    font-weight: 700;
  }

  .nav-mobile a.active,
  .nav-mobile a:hover {
    color: var(--blue);
  }

  .nav-mobile .mobile-appel {
    margin-top: 12px;

    padding: 12px;

    border: none;
    border-radius: 7px;

    background: var(--blue);

    color: var(--navy);

    text-align: center;

    font-weight: 800;
  }


  /* HERO MOBILE */

  .hero {
    min-height: 570px;

    background-position: center center;
  }

  .hero-contenu {
    width: 88%;

    padding: 55px 0;
  }

  .hero .sur-titre {
    padding: 5px 10px;

    font-size: 0.61rem;

    letter-spacing: 0.09em;
  }

  .hero h1 {
    max-width: 100%;

    font-size: 2.5rem;

    line-height: 1.06;
  }

  .hero p {
    margin-top: 19px;

    font-size: 0.91rem;

    line-height: 1.65;
  }

  .hero .boutons {
    flex-direction: column;

    width: 100%;

    gap: 10px;
  }

  .hero .btn {
    width: 100%;

    min-height: 48px;

    padding: 11px 15px;

    font-size: 0.86rem;
  }


  /* INFOS */

  .infos-rapides {
    margin-top: 0;
  }

  .infos-grid {
    grid-template-columns: 1fr;

    border-radius: 0;
  }

  .info-rapide {
    padding: 21px;

    border-right: none;
    border-bottom: 1px solid var(--border);
  }


  /* SECTIONS */

  .section {
    padding: 62px 0;
  }

  .titre-section {
    margin-bottom: 34px;
  }

  .titre-section h2 {
    font-size: 1.8rem;
  }

  .titre-section p {
    font-size: 0.9rem;
  }


  /* PRESENTATION */

  .presentation-image img {
    height: auto;
  }

  .presentation-texte h2 {
    font-size: 1.8rem;
  }

  .presentation-texte p {
    font-size: 0.9rem;
  }


  /* CARTES */

  .services-grid,
  .interventions-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .intervention-card {
    padding: 26px 21px;
  }


  /* PAGES */

  .page-hero {
    padding: 62px 15px;
  }

  .page-hero h1 {
    font-size: 2.15rem;
  }

  .page-hero p {
    font-size: 0.9rem;
  }


  /* TARIFS */

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

  .tarif-card {
    padding: 25px 21px;
  }

  .tarif-prix {
    font-size: 1.6rem;
  }


  /* GALERIE */

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

  .realisation img {
    height: auto;
  }


  /* CONTACT */

  .contact-bloc {
    padding: 27px 21px;
  }


  /* CTA */

  .cta {
    padding: 60px 15px;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .cta p {
    font-size: 0.9rem;
  }

  .cta .boutons {
    flex-direction: column;
  }

  .cta .btn {
    width: 100%;
  }


  /* FOOTER */

  footer {
    padding: 40px 15px;
  }

}


/* =========================================================
   PETITS TELEPHONES
========================================================= */

@media screen and (max-width: 420px) {

  nav {
    min-height: 68px;

    padding: 8px 13px;
  }

  .logo {
    font-size: 0.92rem;
  }

  .logo img {
    width: 42px;
    height: 42px;

    margin-right: 8px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 550px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .hero p {
    font-size: 0.88rem;
  }

  .titre-section h2,
  .presentation-texte h2,
  .cta h2 {
    font-size: 1.6rem;
  }

  .page-hero h1 {
    font-size: 1.9rem;
  }

}
