:root {
  --blue: #062b9d;
  --blue-dark: #031758;
  --blue-light: #1265d8;

  --red: #ef1717;
  --yellow: #ffb900;

  --green: #1cab55;

  --white: #ffffff;
  --light: #f5f7fb;
  --gray: #667085;
  --dark: #111827;

  --radius: 20px;
  --shadow: 0 15px 45px rgba(0,0,0,.10);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

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

.container {
  width: min(1180px, 92%);
  margin: auto;
}


/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  box-shadow: 0 3px 20px rgba(0,0,0,.07);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 70px;
  max-height: 58px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  color: var(--blue);
  font-size: 20px;
}

.brand-text span {
  font-size: 13px;
  color: var(--gray);
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  font-weight: 700;
  font-size: 14px;
  transition: .2s;
}

nav a:hover {
  color: var(--red);
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 30px;
}


/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,185,0,.20), transparent 25%),
    radial-gradient(circle at 10% 70%, rgba(18,101,216,.14), transparent 30%),
    linear-gradient(135deg, #fff 0%, #f5f8ff 100%);
}

.hero-content {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: center;
  gap: 60px;
  padding-top: 75px;
  padding-bottom: 75px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
}

.hero h1 {
  max-width: 750px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -3px;
}

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

.hero-text > p {
  margin-top: 28px;
  max-width: 660px;
  color: var(--gray);
  font-size: 19px;
}

.hero-buttons {
  margin-top: 35px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 25px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: .25s;
}

.btn-primary {
  background: var(--red);
  color: white;
}

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

.btn-secondary {
  background: var(--blue);
  color: white;
}

.hero-info {
  margin-top: 45px;
  display: flex;
  gap: 35px;
}

.hero-info div {
  display: flex;
  flex-direction: column;
}

.hero-info strong {
  color: var(--blue);
}

.hero-info span {
  color: var(--gray);
  font-size: 13px;
}

.hero-card {
  position: relative;
  padding: 45px;
  border-radius: 30px;
  background: var(--blue);
  color: white;
  box-shadow: var(--shadow);
}

.electric-icon {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  background: var(--yellow);
  color: var(--blue);
  border-radius: 50%;
  font-size: 42px;
}

.hero-card h3 {
  font-size: 28px;
}

.hero-card p {
  margin: 15px 0 28px;
  color: rgba(255,255,255,.82);
}

.whatsapp-btn {
  display: block;
  padding: 15px;
  background: var(--green);
  border-radius: 12px;
  text-align: center;
  font-weight: 800;
}


/* SECTIONS */

.section {
  padding: 100px 0;
}

.section-title {
  max-width: 720px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-title > span,
.section-label {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title h2,
.about-content h2,
.quote-text h2 {
  margin-top: 10px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}

.section-title p {
  margin-top: 18px;
  color: var(--gray);
}


/* SERVICES */

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

.service-card {
  padding: 35px;
  border: 1px solid #e8ecf4;
  border-radius: var(--radius);
  background: white;
  transition: .25s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #eef4ff;
  font-size: 28px;
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--blue);
}

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


/* ABOUT */

.about-section {
  padding: 100px 0;
  background: var(--light);
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about-box {
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 35px;
  background:
    linear-gradient(145deg, var(--blue), var(--blue-dark));
  color: white;
  box-shadow: var(--shadow);
}

.about-box span {
  font-size: 70px;
  color: var(--yellow);
}

.about-box strong {
  font-size: 90px;
  line-height: 1;
}

.about-box small {
  font-size: 18px;
}

.about-content > p {
  margin-top: 20px;
  color: var(--gray);
}

.advantages {
  margin-top: 35px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.advantages div {
  padding: 20px;
  background: white;
  border-radius: 15px;
}

.advantages strong,
.advantages span {
  display: block;
}

.advantages strong {
  color: var(--blue);
}

.advantages span {
  margin-top: 7px;
  color: var(--gray);
  font-size: 14px;
}


/* REALISATIONS */

.works {
  background: white;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-placeholder {
  aspect-ratio: 4/3;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: linear-gradient(145deg, #edf3ff, #f9fbff);
  border: 1px solid #dce5f5;
}

.work-placeholder span {
  font-size: 50px;
}

.work-placeholder strong {
  margin-top: 15px;
  color: var(--blue);
  font-size: 19px;
}

.work-placeholder small {
  color: var(--gray);
}


/* DEVIS */

.quote-section {
  padding: 100px 0;
  background:
    linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
}

.quote-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
}

.quote-text > span {
  color: var(--yellow);
  font-weight: 900;
}

.quote-text p {
  margin-top: 20px;
  color: rgba(255,255,255,.75);
}

.quote-form {
  padding: 35px;
  border-radius: 25px;
  background: white;
  color: var(--dark);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.quote-form label {
  display: block;
  margin: 15px 0 7px;
  font-size: 14px;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #d9deea;
  border-radius: 10px;
  font: inherit;
  outline: none;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
}

.btn-full {
  width: 100%;
  margin-top: 20px;
}


/* CONTACT */

.contact-section {
  padding: 100px 0;
  background: #071332;
  color: white;
}

.section-title.light h2 {
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.contact-card {
  padding: 30px;
  border-radius: 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}

.contact-card > span {
  font-size: 35px;
}

.contact-card h3 {
  margin: 15px 0;
  color: var(--yellow);
}

.contact-card a {
  display: block;
  margin-top: 7px;
}


/* FOOTER */

footer {
  padding: 35px 0;
  background: #020a20;
  color: rgba(255,255,255,.7);
}

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

.footer-content strong {
  color: white;
}

.footer-content p {
  font-size: 13px;
}


/* WHATSAPP */

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;

  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  background: var(--green);
  color: white;

  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  font-size: 27px;
}


/* MOBILE */

@media (max-width: 850px) {

  .menu-btn {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 25px;
    flex-direction: column;
    align-items: stretch;
    background: white;
    box-shadow: 0 15px 30px rgba(0,0,0,.1);
  }

  nav.active {
    display: flex;
  }

  .hero-content,
  .about-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: auto;
    gap: 40px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-info {
    gap: 18px;
    flex-wrap: wrap;
  }

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

  .advantages,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

}


@media (max-width: 520px) {

  .brand-text {
    display: none;
  }

  .logo {
    width: 85px;
  }

  .section,
  .about-section,
  .quote-section,
  .contact-section {
    padding: 75px 0;
  }

  .hero-content {
    padding-top: 55px;
  }

  .hero-card {
    padding: 30px;
  }

}


/* =========================================
   PUBLICITE BAS DE PAGE
   ========================================= */

.ad-section {
  padding: 24px 0;
  background: #f7f8fb;
}

.ad-container {
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
}

.ad-label {
  margin-bottom: 7px;
  text-align: center;
  color: #98a2b3;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ad-slot {
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

/*
  Tant qu'aucune publicité n'est installée,
  le bloc reste invisible.
*/
.ad-slot:empty {
  display: none;
}

@media (max-width: 600px) {
  .ad-section {
    padding: 18px 0;
  }
}

/* Désactivé jusqu'à l'installation de la régie publicitaire */
.ad-section {
  display: none;
}

/* À activer lorsque la publicité sera prête */
.ad-section.ads-enabled {
  display: block;
}
