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

body {
  font-family: "Inter", Arial, sans-serif;
  background: #ffffff;
  color: #1f2937;
  line-height: 1.6;
  padding-top: 80px; /* sticky header offset */
}

/* HEADER */
header {
  background: white;
  color: black;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Phone text */
header .phone {
  font-weight: 700;
  font-size: 18px;
}

/* Navigation links */
nav a {
  color: black;
  margin-left: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

/* Logo */
.logo img {
  max-width: 300px;
  height: auto;
  display: block;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #0f172a, #2563eb);
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 38px;
  font-weight: 800;
  max-width: 900px;
  margin: auto;
}

.hero p {
  margin-top: 15px;
  font-size: 18px;
  opacity: 0.9;
}

.hero .btn {
  margin-top: 30px;
  background: #f97316;
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s ease;
}

.hero .btn:hover {
  background: #ea580c;
}

/* SERVICES */
.services .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.services .item {
  background: #f8fafc;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: 0.2s ease;
}

.services .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* ABOUT US */
.about-us {
  background: #f1f5f9;
  padding: 70px 20px;
  text-align: center;
}

.about-us h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

.store img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

/* PHOTOSERVICES */
#photoservices img {
  display: block;
  width: 600px;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* CONTACT */
.contact {
  background: #ffffff;
  padding: 70px 20px;
  text-align: center;
}

.contact p {
  text-align: center;
  max-width: 600px;
  margin: auto;
}

.contact h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
}

.contact form {
  max-width: 500px;
  margin: auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  margin-bottom: 15px;
  font-size: 15px;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: #2563eb;
}

/* LOCATION */
.location {
  background: #f1f5f9;
  padding: 70px 20px;
  text-align: center;
}

.location h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

#loc {
  display: block;
  margin: 20px auto;
  width: 600px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

iframe {
  width: 100%;
  max-width: 100%;
  height: 350px;
  border-radius: 12px;
  margin-top: 20px;
}

/* BUTTON */
.btn {
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  display: inline-block;
}

.btn:hover {
  background: #1d4ed8;
}

/* FOOTER */
.footer {
  background: #020617;
  color: #94a3b8;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 1024px) {
  .services .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  nav a {
    margin: 5px 0;
    font-size: 16px;
  }

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

  .hero p {
    font-size: 16px;
  }

  .btn {
    width: 90%;
    max-width: 300px;
    margin: 15px auto 0;
    display: block;
  }

  #photoservices img,
  #store,
  #loc {
    width: 100%;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }
}

/* ULTRA-SMALL MOBILE (under 400px) */
@media (max-width: 400px) {
  header {
    padding: 10px 15px;
  }

  header .phone {
    font-size: 16px;
  }

  nav a {
    margin: 4px 0;
    font-size: 14px;
  }

  .logo img {
    max-width: 100px;
  }

  .hero {
    padding: 60px 15px;
  }

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

  .hero p {
    font-size: 13px;
  }

  .hero .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .services .container {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 15px;
  }

  .services .item {
    padding: 20px 15px;
    font-size: 14px;
  }

  .about-us {
    padding: 50px 15px;
  }

  .about-us h2 {
    font-size: 26px;
  }

  .about-us p {
    font-size: 13px;
    line-height: 1.4;
  }

  .contact {
    padding: 50px 15px;
  }

  .contact h2 {
    font-size: 26px;
  }

  .contact input,
  .contact textarea {
    padding: 10px;
    font-size: 13px;
  }

  .btn {
    width: 95%;
    padding: 10px;
    font-size: 14px;
  }

  .location {
    padding: 50px 15px;
  }

  .location h2 {
    font-size: 26px;
  }

  #loc {
    width: 100%;
  }

  iframe {
    height: 250px;
  }

  .footer {
    font-size: 12px;
    padding: 15px;
  }
}



/* ===== Section Plans & SIM ===== */
section.plans {
  background-color: #f9f9f9; /* couleur légère pour distinguer */
  padding: 60px 20px;
  text-align: center;
  border-top: 2px solid #eee;
}

section.plans h2 {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: #333;
  font-weight: 700;
}

section.plans p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
  max-width: 800px;
  margin: 0 auto 20px auto;
}

section.plans ul {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 800px;
}

section.plans ul li {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px 20px;
  margin: 10px;
  font-size: 1em;
  font-weight: 500;
  color: #333;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  flex: 1 1 200px;
  transition: transform 0.3s, box-shadow 0.3s;
}

section.plans ul li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

section.plans p:last-of-type {
  margin-top: 30px;
  font-weight: 600;
}

@media (max-width: 768px) {
  section.plans ul {
    flex-direction: column;
    align-items: center;
  }

  section.plans ul li {
    flex: 1 1 80%;
  }
}

/* ===== Hero "Obtenir une soumission" button adjustment ===== */
.hero .scroll-to-contact {
  display: inline-block;       /* sit nicely next to text */
  margin-top: 30px;            /* spacing from hero text */
  background-color: #f97316;   /* orange button */
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  text-decoration: none;       /* if using <a> instead of <button> */
}

.hero .scroll-to-contact:hover {
  background-color: #ea580c;
  transform: translateY(-2px);
}