/* =========================
   VARIABLES
========================= */
:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --dark: #0f172a;
  --light: #ffffff;
  --gray: #64748b;
  --gray-light: #e5e7eb;
  --bg-soft: #f8fafc;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
}

/* =========================
   GLOBAL
========================= */
h1, h2, h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: .5rem; }

p { color: var(--gray); }

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

ul {
  list-style: none;
  padding-left: 0;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 1rem;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all .25s ease;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

/* =========================
   HEADER / NAV
========================= */
header {
  background: white;
  border-bottom: 1px solid var(--gray-light);
}

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

.logo img {
  height: 42px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.nav-socials {
  display: flex;
  gap: .75rem;
}

.nav-socials img {
  width: 20px;
  height: 20px;
  opacity: .7;
  transition: opacity .2s;
}

.nav-socials img:hover {
  opacity: 1;
}

/* =========================
   HERO
========================= */
.hero {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f0f9ff, #ffffff);
}

.hero-small {
  padding: 3.5rem 0;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero-subtitle {
  margin-bottom: 2rem;
  max-width: 700px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =========================
   SECTIONS
========================= */
section {
  padding: 4rem 0;
}

section.alt {
  background: var(--bg-soft);
}

/* =========================
   SERVICES / CARDS
========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: white;
  border: 1px solid var(--gray-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,.05);
}

.service-card a {
  display: inline-block;
  margin-top: .75rem;
  color: var(--primary);
  font-weight: 600;
}

/* =========================
   LISTES
========================= */
.why-list,
.problem-list,
.solution-list,
.feature-list,
.benefits-list,
.contract-list {
  display: grid;
  gap: .75rem;
}

.why-list li::before,
.problem-list li::before,
.solution-list li::before,
.feature-list li::before,
.benefits-list li::before,
.contract-list li::before {
  content: "✔";
  color: var(--primary);
  margin-right: .5rem;
}

/* =========================
   GALLERY
========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-grid img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

/* =========================
   REVIEWS
========================= */
.review {
  background: white;
  border: 1px solid var(--gray-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* =========================
   CTA FINAL
========================= */
.cta-final {
  background: var(--dark);
  color: white;
  text-align: center;
}

.cta-final h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-final p {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #020617;
  color: #cbd5e1;
  padding: 2rem 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-socials a {
  margin-left: 1rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }

  .nav-links {
    display: none; /* menu mobile plus tard */
  }

  .hero {
    text-align: center;
  }

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

  .footer {
    text-align: center;
    justify-content: center;
  }
}

/* =========================
   VARIABLES
========================= */
:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --dark: #0f172a;
  --light: #ffffff;
  --gray: #64748b;
  --gray-light: #e5e7eb;
  --bg-soft: #f8fafc;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

/* 👇 espace réservé pour le bouton fixe */
body {
  font-family: "Inter", sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  padding-bottom: 110px;
}

/* =========================
   GLOBAL
========================= */
h1, h2, h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: .5rem; }

p { color: var(--gray); }

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

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 1rem;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all .25s ease;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

/* =========================
   HEADER / NAV
========================= */
header {
  background: white;
  border-bottom: 1px solid var(--gray-light);
}

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

.logo img {
  height: 38px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

/* =========================
   HERO
========================= */
.hero {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f0f9ff, #ffffff);
}

.hero-small {
  padding: 3.5rem 0;
}

.hero-subtitle {
  margin-bottom: 2rem;
  max-width: 700px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =========================
   SECTIONS
========================= */
section {
  padding: 4rem 0;
}

section.alt {
  background: var(--bg-soft);
}

/* =========================
   SERVICES
========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: white;
  border: 1px solid var(--gray-light);
  padding: 1.5rem;
  border-radius: var(--radius);
}
/* =========================
   FORMULAIRE DE CONTACT
========================= */

.contact-form {
  background: var(--bg-soft);
}

.form {
  max-width: 600px;
  margin: 2rem auto 0;
}

/* Groupe champ */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

/* Labels */
.form-group label {
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--dark);
}

/* Inputs & textarea */
.form-group input,
.form-group textarea {
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
}

/* Placeholder */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

/* Bouton envoyer */
.form button {
  margin-top: 0.5rem;
}

/* Texte sous le bouton */
.form-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--gray);
}

/* =========================
   MESSAGE DE CONFIRMATION
========================= */
.form-success {
  background: #ecfeff;
  border: 1px solid #67e8f9;
  color: #0369a1;
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* =========================
   RESPONSIVE FORMULAIRE
========================= */
@media (max-width: 768px) {
  .form {
    margin-top: 1.5rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 1rem;
  }
}

/* =========================
   PROCESS (SANS CHIFFRES)
========================= */
.process-steps {
  max-width: 700px;
  margin: 2rem auto 0;
  display: grid;
  gap: 1rem;
}

.process-steps li {
  background: var(--bg-soft);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
}

/* =========================
   CTA FINAL
========================= */
.cta-final {
  background: var(--dark);
  color: white;
  text-align: center;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #020617;
  color: #cbd5e1;
  padding: 4rem 1rem 3rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =========================
   BOUTON APPEL MOBILE (STABLE)
========================= */
a.call-mobile {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;

  background: rgba(14,165,233,0.75);
  color: #fff;

  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 1000;
}

a.call-mobile svg {
  width: 16px;
  height: 16px;
  fill: white;
}

/* Desktop OFF */
@media (min-width: 769px) {
  a.call-mobile {
    display: none;
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }

  .nav-links {
    display: none;
  }

  .hero {
    text-align: center;
  }

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

  .footer {
    justify-content: center;
    text-align: center;
  }
}

/* =========================
   MENU HAMBURGER
========================= */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1.2rem;
  }
}


/* =========================
   BOUTON APPEL MOBILE
========================= */
.call-mobile {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;

  background: rgba(14,165,233,0.85);
  color: #fff;

  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  z-index: 1000;
}

/* On cache sur desktop */
@media (min-width: 769px) {
  .call-mobile {
    display: none;
  }
}



.form-success {
  display: none;
}

